:root{--bg:#f6f4f0;--white:#fff;--ink:#2d2a26;--muted:#77746e;--subtle:#a39c90;--line:#e7e2d9;--line2:#ece9e3;--gold:#866536;--goldsoft:#f5efe4;--peach:#fcf4ec;--blush:#fff1f4;--dark:#282724;--sage:#e7f1eb;--orange:#e49b58;--shadow:0 15px 50px rgba(41,36,29,.065);--r:16px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.5 Inter,'Segoe UI',Arial,sans-serif;letter-spacing:.01em}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}.hidden{display:none!important}strong{font-weight:650}h1,h2,h3,h4,p{margin:0}h1,h2,h3{letter-spacing:-.035em;line-height:1.22}h1{font-size:39px}h2{font-size:27px}h3{font-size:20px}.muted{color:var(--muted)}.eyebrow,.nav-label{font-size:10px;font-weight:800;letter-spacing:.16em;color:var(--subtle)}.mark{background:#3a3026;color:#fff;width:40px;height:40px;border-radius:12px;font-family:Georgia,serif;display:grid;place-items:center;font-size:23px}.mark span{color:#cb9d63}.mark.large{width:65px;height:65px;font-size:33px;margin-bottom:42px}.auth-layout{min-height:100vh;display:grid;grid-template-columns:52% 48%;background:#f8f5ef}.login-brand{background:#342c25;color:#fff;padding:12vh 12%;position:relative;overflow:hidden}.login-brand:after{content:'';position:absolute;right:-150px;bottom:-250px;width:520px;height:520px;border:1px solid #967c5d;border-radius:50%;box-shadow:0 0 0 70px #342c25,0 0 0 71px #907451,0 0 0 145px #342c25,0 0 0 146px #6d5941;opacity:.4}.login-brand .eyebrow{color:#d6b88d}.login-brand h1{font-size:clamp(44px,5vw,80px);font-weight:450;margin:30px 0}.login-brand h1 em{color:#d5b58d;font-weight:400;font-family:Georgia,serif}.login-brand p{color:#c8beb3;max-width:375px;font-size:17px}.auth-foot{position:absolute;bottom:45px;color:#a99987;font-size:10px;letter-spacing:.2em}.login-wrap{display:flex;justify-content:center;align-items:center;padding:30px}.login-card{width:min(430px,100%);background:#fff;padding:48px;border:1px solid #ece5d9;border-radius:22px;box-shadow:var(--shadow)}.login-card h2{margin:12px 0}.login-card p{margin:0 0 30px}.login-note{font-size:12px;color:var(--muted);margin:20px 0 0!important}.error{color:#a94436;font-size:13px;min-height:18px;margin-top:12px}.shell{display:flex;min-height:100vh}.sidebar{width:250px;min-width:250px;background:#fff;border-right:1px solid #eae6df;display:flex;flex-direction:column;height:100vh;position:sticky;top:0;z-index:20}.sidebar-head{display:flex;align-items:center;gap:12px;padding:28px 20px 24px}.sidebar-head strong{display:block;font-size:16px}.sidebar-head small{display:block;letter-spacing:.13em;color:#a09789;font-size:9px;margin-top:3px;font-weight:700}.sidebar-block{padding:6px 13px 14px}.nav-label{padding:7px 12px 10px}.nav{border:0;display:flex;align-items:center;gap:11px;width:100%;padding:10px 12px;border-radius:9px;background:transparent;color:#665f55;font-size:13px;text-align:left;font-weight:500;margin:2px 0}.nav:hover{background:#f7f4ee}.nav.active{background:#f3ede3;color:#684a25;font-weight:750}.nav-icon{width:19px;font-size:16px;text-align:center;color:#978470}.sidebar-bottom{margin-top:auto;padding:18px;border-top:1px solid var(--line)}.signed-user{display:flex;gap:9px;align-items:center}.signed-user small{display:block;color:var(--subtle);font-size:11px}.grow{flex:1}.avatar{width:30px;height:30px;min-width:30px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:12px;font-weight:800}.avatar.gold{background:#957441}.avatar.rose{background:#c76d97}.avatar.orange{background:#d9782a}.avatar.black{background:#252423}.avatar.gray{background:#938777}.work-area{min-width:0;flex:1}.topbar{height:77px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:rgba(255,255,255,.76);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10;backdrop-filter:blur(9px)}.crumb{font-size:13px;color:#8b847a}.crumb span{padding:0 9px;color:#cac2b8}.topbar-actions{display:flex;align-items:center;gap:20px}.privacy{font-size:10px;letter-spacing:.13em;color:#5d7c66;font-weight:750}.privacy:first-letter{color:#6b9b75}.main{max-width:1640px;padding:37px 38px 75px;margin:auto}.page-head{display:flex;align-items:end;justify-content:space-between;gap:15px;margin-bottom:25px}.page-head .eyebrow{margin-bottom:8px}.page-head p{margin-top:10px;color:var(--muted)}.date-label{font-size:12px;color:#8b8175}.primary,.secondary,.ghost,.subtle-btn,.danger{border-radius:9px;border:1px solid transparent;padding:10px 14px;font-weight:680;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:7px}.primary{background:#383028;color:#fff}.primary:hover{background:#604c34}.primary.small{padding:10px 15px}.primary.full{width:100%;justify-content:space-between;margin-top:10px}.secondary{background:#fff;border-color:#ddd5c8;color:#544531}.secondary:hover{background:#faf4e9}.ghost{background:transparent;color:#77716a}.ghost:hover{background:#f6f1e9}.subtle-btn{background:#f5f0e9;color:#685239}.danger{background:#fff0eb;color:#a33b30}.tiny{padding:5px 7px}.white-card{background:#fff;border:1px solid var(--line);border-radius:var(--r);box-shadow:0 6px 22px rgba(54,45,31,.015)}.hero-card{background:#302923;border-radius:19px;padding:27px 30px;color:#fff;display:grid;grid-template-columns:1fr auto;gap:15px;margin-bottom:23px;position:relative;overflow:hidden}.hero-card:after{content:'';border:1px solid #927451;border-radius:50%;width:310px;height:310px;position:absolute;right:-140px;top:-160px;opacity:.45}.hero-card h2{font-family:Georgia,serif;font-weight:400;font-size:29px;max-width:670px;margin:7px 0 10px}.hero-card .eyebrow{color:#d1ac79}.hero-card p{color:#d0c6ba;max-width:640px}.hero-card .primary{background:#b18b5c;position:relative;z-index:1;height:fit-content;align-self:end}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:23px}.stat{padding:20px 22px}.stat .eyebrow{letter-spacing:.08em}.stat .number{font-size:30px;font-weight:640;letter-spacing:-.04em;margin:7px 0 1px}.stat .desc{color:#9f9589;font-size:11px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:25px 0 13px}.section-head h3{font-size:17px}.split{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr);gap:20px}.panel{padding:20px}.list-row{display:flex;align-items:center;gap:13px;border-top:1px solid #f0ece6;padding:14px 0;min-width:0}.list-row:first-child{border:0}.list-row .content{min-width:0;flex:1}.list-row .content strong{display:block;font-size:13px;font-weight:650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.list-row .content small{display:block;color:#a09991;font-size:11px;margin-top:3px}.open-row{border:0;background:none;text-align:left;color:inherit;cursor:pointer;min-width:0;flex:1}.open-row:hover strong{color:#9a6c37}.mini-date{background:#f6f3ee;color:#7e6e59;padding:8px;border-radius:8px;text-align:center;min-width:49px;line-height:1.15}.mini-date strong{display:block;font-size:16px}.mini-date small{display:block;font-size:9px;text-transform:uppercase}.pill{border-radius:6px;padding:4px 8px;background:#f4f0e9;color:#887452;font-size:10px;font-weight:750;white-space:nowrap}.pill.warn{background:#fff2df;color:#a8752b}.pill.ok{background:#e7f3e8;color:#43764c}.pill.bad{background:#fdebe7;color:#b15046}.pill.info{background:#eaf0f7;color:#536983}.pill.gray{background:#f1f0ed;color:#7c7a74}.label-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.mini-person{display:flex;align-items:center;gap:6px;color:#777;font-size:11px}.empty{padding:50px 25px;text-align:center;color:#938b80}.empty strong{display:block;color:var(--ink);font-size:15px;margin:9px 0}.toolbar{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:15px;align-items:center}.toolbar input,.toolbar select{background:#fff;border:1px solid #e6ded3;border-radius:9px;padding:10px 11px;color:#473e34;max-width:100%}.toolbar input{min-width:190px;flex:1}.task-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.task-table thead{background:#f9f7f3}.task-table th{text-align:left;color:#817a70;font-size:10px;text-transform:uppercase;letter-spacing:.1em;padding:15px 13px;white-space:nowrap}.task-table td{border-top:1px solid #f2eee7;padding:13px;font-size:12px;vertical-align:middle}.task-table .task-title{font-weight:650;color:#35302c;max-width:410px;white-space:normal}.task-table tr:hover td{background:#fffcf7}.clickable{cursor:pointer}.progress-track{background:#ede7dd;height:6px;border-radius:5px;overflow:hidden;margin-top:11px}.progress-fill{height:100%;background:#9d7b52;border-radius:5px}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.project-card{padding:22px;cursor:pointer;min-height:170px;display:flex;flex-direction:column}.project-card:hover{border-color:#c6b49a}.project-card h3{margin:16px 0 6px;font-size:19px}.project-card p{color:#8c837a;font-size:12px}.project-meta{margin-top:auto;color:#948674;font-size:11px;padding-top:15px}.calendar-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.calendar-title{font-size:19px;font-weight:650}.calendar-controls{display:flex;gap:7px}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;background:#ebe4d8;border:1px solid #ebe4d8;border-radius:14px;overflow:hidden}.dayname{background:#eee9e1;color:#877a69;font-size:11px;font-weight:800;padding:10px;text-align:center}.calday{background:#fff;min-height:112px;padding:9px;cursor:pointer;min-width:0}.calday:hover{background:#fffdf7}.calday.out{background:#faf8f4;color:#c3beb7}.calday.selected{outline:2px solid #a47c45;outline-offset:-2px}.caldate{font-size:12px;font-weight:680}.cal-event{padding:4px 6px;border-radius:4px;font-size:10px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#f6ece0;color:#7e623f}.cal-event.live{background:#e9e6f7;color:#7564a3}.cal-event.done{background:#e5f1e7;color:#52785a}.detail-header{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:10px 0}.drawer-backdrop{position:fixed;inset:0;background:rgba(30,26,22,.42);z-index:80}.drawer{position:fixed;right:0;top:0;bottom:0;width:min(660px,100%);background:#fff;z-index:90;box-shadow:-10px 0 60px rgba(0,0,0,.13);display:flex;flex-direction:column}.drawer-top{display:flex;justify-content:space-between;align-items:center;padding:19px 28px;border-bottom:1px solid var(--line)}.drawer-content{padding:27px 30px 50px;overflow:auto;flex:1}.drawer-content h2{font-size:25px;margin-bottom:13px}.drawer-actions{display:flex;gap:7px;flex-wrap:wrap;margin:17px 0}.drawer-section{padding:19px 0;border-top:1px solid var(--line)}.drawer-section h4{font-size:13px;margin-bottom:12px}.source-tag{display:inline-block;font-size:10px;letter-spacing:.06em;padding:4px 7px;border-radius:5px;background:#f5f0e9;color:#796242;font-weight:700}.source-tag.gpt{background:#ebebeb;color:#444}.field{margin-bottom:14px}.field label,.login-card label{font-size:11px;font-weight:750;color:#62594e;display:block;margin:0 0 7px}.field input,.field select,.field textarea,.login-card input{width:100%;border:1px solid #ddd8d1;border-radius:9px;padding:11px 12px;outline:0;background:#fff;color:#302d29}.field textarea{resize:vertical;min-height:100px;line-height:1.55}.field input:focus,.field select:focus,.field textarea:focus,.login-card input:focus{border-color:#9f7b52;box-shadow:0 0 0 3px #f3e8d9}.login-card input{margin-bottom:16px;margin-top:8px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.body-copy{font-size:13px;line-height:1.8;white-space:pre-wrap;color:#4e4942;background:#faf8f4;border:1px solid #f0ebe5;border-radius:10px;padding:16px}.survey-q{padding:13px 0;border-top:1px solid var(--line2)}.survey-q strong{display:block;font-size:12px;margin-bottom:7px}.survey-q small{color:#827569;display:block}.warning{background:#fff7eb;border:1px solid #efdfc6;border-radius:10px;padding:12px;color:#80633c;font-size:12px}.tip{background:#f6f3ee;border:1px solid #ebe4dc;padding:11px 14px;border-radius:9px;color:#655c51;font-size:12px}.toast-wrap{position:fixed;bottom:22px;right:24px;z-index:150;display:flex;flex-direction:column;gap:8px}.toast{background:#332c26;color:#fff;padding:12px 18px;border-radius:10px;box-shadow:0 6px 20px #0002;max-width:380px;font-size:12px}.toast.error{background:#95443d}.source-explain{font-size:12px;color:#7e756a;max-width:610px}.history-list{padding:0 18px}.history-list li{padding:12px 0;border-bottom:1px solid #eee9e3;list-style:none;font-size:12px}.idea-card{padding:18px;margin:9px 0}.ideas-intro{background:#ede5d7;padding:25px;border-radius:16px;margin-bottom:18px}.ideas-intro h3{margin-bottom:8px}.ideas-intro p{color:#75634c}.setting-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.settings-card{padding:20px}.settings-card h3{font-size:17px;margin-bottom:8px}.settings-card p{margin-bottom:15px;color:var(--muted);font-size:12px}.settings-card pre{white-space:pre-wrap;word-break:break-all;background:#f8f4ec;padding:11px;font-size:11px;border-radius:8px}.helper{font-size:11px;color:#9b9389;margin-top:7px}.mobile-menu{display:none}
@media(max-width:1200px){.stat-grid{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}.sidebar{width:230px;min-width:230px}.main{padding:29px}.topbar{padding:0 29px}}
@media(max-width:800px){.sidebar{position:fixed;transform:translateX(-110%);transition:transform .2s;box-shadow:20px 0 50px rgba(0,0,0,.12)}.sidebar.open{transform:translateX(0)}.mobile-menu{display:inline-flex}.main{padding:20px 15px 50px}.topbar{height:63px;padding:0 12px}.crumb{font-size:11px}.privacy span{display:none}.topbar-actions{gap:7px}.page-head{align-items:start}.hero-card{grid-template-columns:1fr}.stat-grid{grid-template-columns:repeat(2,1fr)}.project-grid{grid-template-columns:1fr}.calendar{overflow:auto}.calday{min-height:83px;padding:5px}.cal-event{font-size:8px}.drawer-content{padding:18px}.setting-grid{grid-template-columns:1fr}.auth-layout{grid-template-columns:1fr}.login-brand{min-height:30vh;padding:30px}.login-brand .mark{margin-bottom:15px}.login-brand h1{font-size:35px;margin:15px 0}.login-brand p{font-size:13px}.auth-foot{display:none}.login-wrap{padding:18px;align-items:start}.login-card{padding:25px}.task-table{display:block;overflow:auto}.grid2{grid-template-columns:1fr}}
.q-edit-row{background:#faf8f5;border:1px solid #eee8e0;border-radius:12px;padding:13px;margin:12px 0}.q-edit-row .field:last-of-type{margin-bottom:4px}.q-edit-row [data-remove-question]{color:#9a7564;font-size:11px;padding:5px}

/* Rotina 26/10 — agenda com check, ficha, conteúdo, funcionários e biblioteca */
.agenda-row{display:flex;align-items:center;gap:12px;border-top:1px solid #f0ece6;padding:12px 0;min-width:0}
.agenda-row:first-child{border-top:0}
.agenda-row .open-row small{display:block;color:var(--muted);font-size:12px}
.agenda-row .time{color:#74644a}
.agenda-row.is-done .open-row strong{text-decoration:line-through;color:var(--subtle)}
.agenda-row.is-late .open-row small{color:#a8752b}
.check{position:relative;display:inline-flex;flex:0 0 auto;cursor:pointer}
.check input{position:absolute;opacity:0;width:26px;height:26px;margin:0;cursor:pointer}
.check span{width:26px;height:26px;border:2px solid #cbbfae;border-radius:8px;background:#fff;display:grid;place-items:center;transition:.15s}
.check input:checked+span{background:#43764c;border-color:#43764c}
.check input:checked+span:after{content:'✓';color:#fff;font-weight:800;font-size:15px}
.check input:focus-visible+span{outline:2px solid var(--gold);outline-offset:2px}
.defer-btn{flex:0 0 auto;font-size:12px;border:1px solid var(--line);border-radius:8px}
.ficha{padding:6px 0 14px}
.ficha-meta{color:var(--muted);font-size:12.5px;margin-bottom:10px}
.ficha-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 14px}
.ficha-done{background:#e7f3e8;color:#43764c;border-radius:10px;padding:10px 12px;margin:10px 0 14px;font-weight:600}
.ficha-block{border-top:1px solid var(--line);padding:14px 0}
.ficha-block h4{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px;font-size:14px}
.ficha-block ul{margin:0;padding-left:20px}
.step{display:flex;gap:10px;align-items:flex-start;padding:8px 0;border-bottom:1px dashed #efe9df;cursor:pointer}
.step input{width:20px;height:20px;margin-top:2px;flex:0 0 auto;accent-color:#43764c}
.step input:checked~span:last-child{text-decoration:line-through;color:var(--subtle)}
.step-n{background:var(--goldsoft);color:var(--gold);border-radius:6px;font-size:11px;font-weight:800;min-width:22px;height:22px;display:grid;place-items:center;flex:0 0 auto}
.rot{background:#faf8f4;border:1px solid var(--line2);border-radius:12px;padding:12px 14px;margin:8px 0;position:relative}
.rot.destaque{background:var(--peach);border-color:#f0dcc4}
.rot-label{font-size:10px;font-weight:800;letter-spacing:.14em;color:var(--gold);text-transform:uppercase;margin-bottom:4px}
.rot-txt{white-space:pre-wrap;font-size:14.5px;line-height:1.55;padding-right:4px}
.rot .copy-btn{margin-top:8px}
.copy-btn{border:1px solid #ddd5c8;background:#fff;color:#544531;border-radius:8px;padding:4px 10px;font-size:12px;font-weight:600}
.copy-btn:hover{border-color:var(--gold)}
.edit-box{border-top:1px solid var(--line);padding-top:6px}
.edit-box>summary{cursor:pointer;font-weight:650;color:#544531;padding:10px 0;list-style:none}
.edit-box>summary::-webkit-details-marker{display:none}
.contract{white-space:pre-wrap;font:inherit;font-size:13.5px;line-height:1.6;background:#faf8f4;border:1px solid var(--line2);border-radius:12px;padding:14px;margin:0;max-height:none}
.func-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0}
.func-facts div{background:#faf8f4;border-radius:10px;padding:10px 12px}
.func-facts span{display:block;font-size:10px;font-weight:800;letter-spacing:.12em;color:var(--subtle);text-transform:uppercase}
.func-facts strong{font-size:13px;font-weight:600;word-break:break-word}
.func-card,.post-card{cursor:pointer;padding:20px}
.func-card h3,.post-card h3{margin:10px 0 6px}
.func-card p,.post-card p{color:var(--muted);font-size:13px}
.func-icon{font-size:22px;color:var(--gold)}
.howto{margin:0;padding-left:20px;display:grid;gap:8px}
.used{margin-top:10px}.used summary{cursor:pointer;color:var(--muted);padding:8px 0}
.inline-check{display:flex;gap:8px;align-items:center;margin:6px 0 12px}
.link-btn{display:inline-block;text-decoration:none;border-radius:10px;padding:9px 14px}
@media (max-width:700px){.agenda-row{flex-wrap:wrap}.defer-btn{margin-left:38px}.func-facts{grid-template-columns:1fr}}

.nav.nav-urgente{color:#9a2f1f;font-weight:600}.nav.nav-urgente .nav-icon{color:#c0392b}
