:root{--paper:#F5F4EF;--aside:#ffffff;--white:#fff;--ink:#0F1B2D;--text:#2A3A52;--quiet:#8893AD;--line:rgba(15,27,45,.10);--purple:#6B3FA0;--purple-dark:#3A1B5E;--light-purple:#EDE6F7;--green:#1D9E75;--light-green:#E1F5EE;--amber:#D4AF37;--light-amber:#F8EBC3;--red:#E24B4A;--light-red:#FCEBEB;--navy:#0B1A3A;--navy-2:#243A66;--navy-soft:#8893AD;--blue:#378ADD;--blue-light:#E6F1FB;--surface:#fff;--surface-2:#FBFBF8;--shadow:0 18px 55px rgba(15,27,45,.07);font-synthesis:none}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;color:var(--ink);background:var(--paper);font-size:14px;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #b9aae5;outline-offset:2px}button{transition:background .16s,border .16s,color .16s}a{color:inherit}::selection{background:#e4dcfa}
.app-shell{display:grid;grid-template-columns:252px minmax(0,1fr);min-height:100vh;max-width:1920px;margin:0 auto}.sidebar{position:sticky;top:0;height:100vh;padding:30px 17px 20px;background:var(--aside);border-right:1px solid #e7e6e7;display:flex;flex-direction:column;z-index:5;min-width:0}.brand{display:flex;gap:10px;align-items:center;padding:2px 11px 30px}.brand-image{padding-right:8px}.brand-wordmark{display:block;width:min(100%,205px);height:auto;filter:drop-shadow(0 10px 18px rgba(12,22,42,.12))}.sidebar-scroll{overflow-y:auto;flex:1}.side-category{font-size:10px;letter-spacing:.18em;font-weight:800;color:#aaa7af;margin:0 13px 12px}.week-list{display:grid;gap:3px}.side-week,.side-nav{width:100%;border:0;text-align:left;display:flex;align-items:center;gap:11px;background:transparent;padding:13px 11px;color:#77747e;border-radius:9px;font-size:12px;min-width:0}.side-week:hover,.side-nav:hover,.side-create:hover{background:#eae7f0}.side-week.active,.side-nav.active{background:#e6e0f5;color:var(--purple-dark);font-weight:750}.week-square{border:1px solid #d6d2dd;color:#80788f;border-radius:7px;width:33px;height:30px;display:grid;place-items:center;font-size:10px;font-weight:800;flex:none;background:rgba(255,255,255,.48)}.active .week-square{background:#fff;border-color:#c9bee5;color:var(--purple)}.side-week-copy{display:grid;gap:3px;flex:1;min-width:0}.side-week-copy strong{font-size:12px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.side-week-copy small{font-size:10px;color:#a4a0a8;font-weight:500}.side-count{font-variant-numeric:tabular-nums;font-size:10px;font-weight:700;color:#aaa7ac}.side-nav-icon{font-size:20px;width:33px;text-align:center;flex:none;font-weight:300}.side-nav span:nth-child(2){flex:1}.side-create{background:none;border:0;border-radius:8px;color:#8b819c;display:flex;align-items:center;gap:10px;font-size:11px;font-weight:700;padding:12px;margin:8px 0 0 37px}.plus-icon{border-radius:5px;display:grid;place-items:center;width:17px;height:17px;border:1px solid #d6d0df;font-size:14px}.side-divider{height:1px;background:#e0dedf;margin:23px 12px}.sidebar-footer{display:flex;gap:9px;align-items:center;margin-top:20px;padding:18px 12px 0;border-top:1px solid #e1e0e0;font-size:10px;color:#aaa6ad;line-height:1.65}.footer-ping{width:6px;height:6px;border-radius:50%;background:var(--green);flex:none}
.main{min-width:0;padding:26px clamp(23px,4.1vw,68px) 36px}.utility-row{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:0 0 55px;min-height:40px}.breadcrumb{display:flex;align-items:center;gap:11px;color:#9e9ba3;font-size:10px;font-weight:780;letter-spacing:.12em}.breadcrumb span:last-child{color:#817a8c}.crumb-divider{color:#c7c4c9}.utility-actions{display:flex;align-items:center;gap:10px}.sync-status{display:flex;align-items:center;gap:7px;color:#8d8993;font-size:10px;max-width:230px}.sync-status span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.status-dot{width:6px;height:6px;border-radius:50%;background:#b1afb4;flex:none}.sync-status[data-status="ready"] .status-dot{background:#4b9a76}.sync-status[data-status="dirty"] .status-dot{background:#b5893f}.sync-status[data-status="error"] .status-dot{background:#be625f}.icon-button{width:35px;height:35px;border-radius:9px;border:1px solid #e9e8eb;background:#fff;color:#77717e;font-size:20px;line-height:1}.primary-button{border:1px solid var(--purple);color:#fff;background:var(--purple);padding:10px 16px;font-size:11px;font-weight:760;letter-spacing:.01em;border-radius:9px;min-height:37px}.primary-button:hover{background:var(--purple-dark);border-color:var(--purple-dark)}.save-arrow{margin-left:10px;font-size:13px;opacity:.75}.mobile-menu{display:none}.hero{margin:0 0 24px}.hero-meta{display:flex;align-items:center;gap:13px;font-size:10px;letter-spacing:.17em;color:#9d97a9;font-weight:750;margin-bottom:18px;text-transform:uppercase}.eyebrow{font-size:10px;letter-spacing:.155em;text-transform:uppercase;font-weight:800;color:var(--purple)}.eyebrow.muted{color:#9f98af}.hero-divider{color:#d5d2db}.hero-title-row{display:flex;align-items:stretch;justify-content:space-between;gap:18px}.hero h1{font-size:clamp(38px,4.35vw,69px);font-weight:690;letter-spacing:-.068em;line-height:1.06;margin:0 0 17px}.hero h1 em{color:var(--purple);font-family:Georgia,"Times New Roman",serif;font-style:italic;font-weight:400;letter-spacing:-.078em}.hero p{max-width:740px;font-size:13px;line-height:1.78;color:#7f7b84;margin:0}.hero-cta{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end;flex:none}.secondary-button{background:#fff;border:1px solid #e3e0e7;border-radius:9px;color:#5f566d;padding:11px 15px;font-size:11px;font-weight:750}.secondary-button:hover{border-color:#cfc2eb;color:var(--purple)}
.improvement-copy h2{font-size:15px;line-height:1.3;margin:5px 0 6px;letter-spacing:-.025em}.improvement-copy p{color:#88838f;font-size:11px;max-width:860px;line-height:1.7;margin:0}.improvement-tags span{background:#f6f4fa;border:1px solid #efecf5;border-radius:5px;font-size:10px;color:#8c83a1;padding:4px 8px}.text-button{border:0;background:none;color:#7463a1;font-size:11px;font-weight:750;padding:5px 0}.text-button:hover{color:var(--purple-dark)}
.metrics{display:grid;grid-template-columns:1.43fr repeat(4,minmax(0,1fr));gap:9px;margin-bottom:53px}.metric{background:#fff;border:1px solid var(--line);border-radius:13px;padding:17px 18px;min-width:0}.metric.primary{background:linear-gradient(114deg,#fbfaff,#fff);border-color:#e2dcef}.metric-label{font-size:10px;color:#a29eaa;font-weight:700}.metric-value{font-variant-numeric:tabular-nums;font-weight:680;letter-spacing:-.065em;font-size:27px;line-height:1.15;margin:8px 0 5px}.metric.primary .metric-value{color:var(--purple-dark)}.metric-note{color:#b0acb3;font-size:10px;line-height:1.45}.meter{height:5px;background:#eee8f6;border-radius:8px;overflow:hidden;margin:12px 0 2px}.meter-fill{height:100%;background:var(--purple);border-radius:8px}
.workspace-top{display:flex;gap:15px;align-items:end;justify-content:space-between;margin-bottom:22px}.workspace-top h2{font-size:26px;letter-spacing:-.05em;line-height:1.25;font-weight:700;margin:7px 0 5px}.section-hint{color:#a5a1ab;font-size:11px;margin:0}.workspace-actions{display:flex;gap:7px;flex:none}.subtle-button{background:#fff;border:1px solid #e9e7eb;color:#86808f;font-size:11px;font-weight:700;border-radius:8px;padding:9px 12px}.subtle-button:hover{border-color:#ccc1e3;color:var(--purple)}.filters{display:flex;flex-wrap:wrap;gap:10px;align-items:center;padding:10px 12px;background:#fff;border:1px solid var(--line);border-radius:13px;margin-bottom:34px;box-shadow:var(--shadow)}.search-wrap{position:relative;flex:1 1 230px;max-width:380px}.search-wrap input{border:1px solid #f0eff0;background:#f9f9f8;color:var(--ink);height:39px;border-radius:8px;padding:0 13px 0 33px;width:100%;font-size:11px;outline:0}.search-wrap input:focus{border-color:#cfc5e7}.search-icon{position:absolute;left:11px;top:7px;font-size:22px;color:#b6b2bb;line-height:1}.filters select{border:1px solid #f0eff0;background:#f9f9f8;color:#7d7785;border-radius:8px;height:39px;padding:0 10px;font-size:11px;max-width:210px;min-width:130px}.status-filters{display:flex;gap:2px;align-items:center;flex-wrap:wrap;margin-left:auto}.chip{background:transparent;border:1px solid transparent;padding:8px 10px;font-size:10px;color:#99949f;font-weight:720;border-radius:7px}.chip:hover{background:#faf9fc}.chip.active{background:#f0ecf9;color:#6652a2}
.sections{display:grid;gap:39px}.group-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:14px}.group-head-left{display:flex;gap:13px;align-items:center}.group-number{display:grid;place-items:center;color:#7d70a3;border:1px solid #e0dce8;background:#fff;width:34px;height:34px;border-radius:9px;font-size:10px;font-weight:800}.group-head h3{margin:0;font-size:23px;letter-spacing:-.055em;font-weight:690;line-height:1.2}.group-head p{margin:4px 0 0;font-size:11px;color:#a49fa9}.group-count{font-size:11px;color:#a59fa9;font-weight:720;white-space:nowrap}.group-count strong{font-size:15px;color:#5e526e;margin-right:5px}.cards{display:grid;gap:9px}.task-card{background:#fff;border:1px solid #e7e6e8;border-radius:13px;overflow:hidden;box-shadow:var(--shadow);min-width:0}.task-card[data-status="done"]{border-color:#d6e9df}.task-card[data-status="correction"]{border-color:#edcdc8}.task-card[data-status="hold"]{border-style:dashed;background:#fffdfa}.task-head{padding:18px 19px;display:flex;align-items:flex-start;gap:12px}.task-bullet{display:flex;align-items:center;justify-content:center;width:21px;height:21px;border-radius:7px;background:#faf9fc;border:1px solid #e7e2ec;color:#c6bed1;margin-top:1px;flex:none;font-size:12px}.task-card[data-status="done"] .task-bullet{color:var(--green);border-color:#cce3d5;background:#eaf6ef}.task-card[data-status="correction"] .task-bullet{color:var(--red);border-color:#f0d8d5;background:var(--light-red)}.task-main{min-width:0;flex:1}.task-meta{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-bottom:5px}.task-id{font-size:10px;font-weight:850;color:#aea7b8;letter-spacing:.07em}.category-tag{font-size:9px;color:#958da3;background:#f7f5fa;border-radius:5px;padding:2px 7px;font-weight:720}.badge{border-radius:5px;padding:3px 7px;font-size:9px;font-weight:780;letter-spacing:.02em;white-space:nowrap}.badge.todo{background:#f5f4f7;color:#9e97a5}.badge.doing{background:#f1eefd;color:#7161aa}.badge.done{background:var(--light-green);color:var(--green)}.badge.correction{background:var(--light-red);color:var(--red)}.badge.hold{background:var(--light-amber);color:var(--amber)}.badge.backlog{background:#f0f0f1;color:#7e7c82}.task-main h4{font-size:13px;line-height:1.35;margin:0;font-weight:730;letter-spacing:-.01em;color:#37313d}.task-description{margin:6px 0 0;color:#92909a;font-size:11px;line-height:1.68;max-width:880px;white-space:pre-line}.task-head-right{display:flex;align-items:center;gap:13px;flex:none}.task-counter{font-variant-numeric:tabular-nums;color:#a9a4b0;font-size:10px;font-weight:750}.task-expand{border:0;color:#a9a2af;background:transparent;font-size:20px;padding:0;width:22px;height:24px;line-height:1}.task-expand .chevron{display:inline-block;transition:transform .15s}.task-card.expanded .chevron{transform:rotate(180deg)}.task-details{padding:20px 22px 23px 52px;border-top:1px solid #f0eff1;display:none}.task-card.expanded .task-details{display:block}.task-detail-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(220px,.95fr);gap:27px}.micro-label{font-size:9px;color:#a39da9;font-weight:820;letter-spacing:.14em;text-transform:uppercase}.checklist{display:grid;gap:10px;margin-top:12px}.step{display:flex;align-items:flex-start;gap:10px;color:#77727f;font-size:11px;line-height:1.65;cursor:pointer}.step input{appearance:none;width:16px;height:16px;flex:none;border:1.5px solid #cfcbd5;border-radius:5px;margin:1px 0 0;position:relative;background:#fff}.step input:checked{background:var(--green);border-color:var(--green)}.step input:checked:after{content:'';position:absolute;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg);width:7px;height:4px;top:4px;left:3px}.step input:disabled{cursor:not-allowed;opacity:.75}.step input:checked+span{color:#a4aaa6}.accept{margin-top:19px;padding:12px 14px;background:#f9f8fb;border:1px solid #f0ecf5;border-radius:9px;font-size:11px;color:#7b7583;line-height:1.7;white-space:pre-line}.accept strong{display:block;color:#665977;font-size:10px;margin-bottom:5px}.task-sidebar{display:grid;align-content:start;gap:14px}.task-notes textarea{width:100%;border:1px solid #e9e6eb;border-radius:9px;resize:vertical;min-height:91px;padding:10px;background:#fff;color:#4f4955;font-size:11px;margin-top:8px;outline:none}.task-notes textarea:focus{border-color:#c8bee1}.attachment-head{display:flex;align-items:center;justify-content:space-between;gap:7px}.attachment-actions{display:flex;gap:8px}.link-action{border:0;background:transparent;font-size:10px;font-weight:750;color:#7560ac;padding:2px}.link-action:hover{text-decoration:underline}.file-list{display:grid;gap:5px;margin-top:9px}.file-item{display:flex;align-items:center;gap:8px;border-radius:7px;border:1px solid #efedf0;padding:7px 8px;font-size:10px;color:#6e6878;min-width:0}.file-kind{height:24px;width:25px;flex:none;display:grid;place-items:center;border-radius:5px;background:#f3f1f8;color:var(--purple);font-size:10px;font-weight:850}.file-item-name{border:0;background:none;color:#6e6878;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;padding:1px}.file-item-name:hover{text-decoration:underline;color:var(--purple)}.file-remove{border:0;background:none;color:#b0aab7;font-size:17px;padding:0 2px}.upload-hint{font-size:10px;color:#aea8b2;line-height:1.5;margin-top:5px}.task-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center;padding-top:18px;margin-top:17px;border-top:1px solid #efedf0}.action{border:1px solid #e9e7eb;border-radius:7px;background:#fff;padding:8px 10px;color:#807888;font-size:10px;font-weight:750}.action:hover{border-color:#cec2e2;color:var(--purple)}.action.finish{color:var(--green);border-color:#d9eadf;background:#f8fdfa}.action.correction{color:var(--red);border-color:#f0d6d4;background:#fffafa}.action.schedule{color:var(--purple);border-color:#dfd7ec;background:#fbfaff}.corrections{margin-top:22px;border-top:1px solid #efebee;padding-top:16px}.correction-log{border:1px solid #f0d9d8;background:#fffaf9;border-radius:9px;padding:12px 14px;margin-top:10px}.correction-log.resolved{border-color:#eae9eb;background:#fdfdfd}.correction-meta{color:#b27672;font-weight:780;font-size:10px}.correction-log.resolved .correction-meta{color:#8f8794}.correction-reason{font-size:11px;white-space:pre-line;line-height:1.65;margin:5px 0 7px;color:#77717b}.correction-files{display:flex;gap:7px;flex-wrap:wrap}.mini-link{border:0;background:#f4edf0;border-radius:6px;padding:4px 8px;color:#8b676d;font-size:10px}.empty-area{padding:38px 24px;border:1px dashed #ded9e3;border-radius:12px;background:#fff;color:#9a96a0;text-align:center;font-size:12px}.empty-area strong{display:block;font-size:15px;color:#675b73;margin-bottom:7px}.page-footer{display:flex;justify-content:space-between;gap:15px;color:#bbb7c0;font-size:9px;letter-spacing:.11em;font-weight:800;margin-top:60px;border-top:1px solid #e8e5e9;padding-top:24px}
.toast{position:fixed;bottom:24px;right:24px;z-index:100;background:#332b40;color:#fff;border-radius:10px;max-width:min(440px,calc(100vw - 34px));padding:13px 17px;font-size:12px;box-shadow:0 18px 45px #20192826;opacity:0;transform:translateY(9px);pointer-events:none;transition:opacity .2s,transform .2s}.toast.show{opacity:1;transform:translateY(0)}.app-modal,.preview-modal{border:1px solid #e8e5eb;background:#fff;color:var(--ink);border-radius:16px;box-shadow:0 24px 95px #241b3450;padding:0;max-width:min(650px,calc(100vw - 26px));width:100%;max-height:calc(100vh - 34px);overflow-y:auto}.app-modal::backdrop,.preview-modal::backdrop{background:rgba(32,28,42,.53);backdrop-filter:blur(3px)}.modal-inner{padding:24px clamp(19px,3vw,30px) 27px}.modal-top{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:20px}.modal-title{font-size:26px;letter-spacing:-.055em;line-height:1.12;margin:6px 0 8px}.modal-desc{color:#9893a0;font-size:11px;line-height:1.7;max-width:540px;margin:0}.modal-close{background:#f7f6f8;border:1px solid #ebe9ed;color:#817a88;font-size:21px;width:30px;height:30px;border-radius:8px;flex:none;line-height:1}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field{display:grid;gap:5px;margin-bottom:13px}.field label{font-size:10px;color:#746e7c;font-weight:760}.field input,.field select,.field textarea{min-width:0;border:1px solid #e4e0e8;border-radius:8px;min-height:41px;padding:10px 12px;color:#383340;background:#fff;font-size:12px;outline:none;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:#a895d2}.field small{font-size:10px;color:#a8a2ad}.modal-actions{border-top:1px solid #eeeaf0;margin-top:10px;padding-top:18px;display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap}.danger-note{border:1px solid #f0d7d4;background:#fff9f8;border-radius:9px;padding:11px 12px;font-size:11px;color:#a46562;line-height:1.65;margin-bottom:15px}.preview-modal{max-width:min(1000px,calc(100vw - 30px));overflow:hidden}.preview-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 17px;border-bottom:1px solid #e9e6eb;font-size:12px;font-weight:750}.preview-head>div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview-body{background:#f0f0f0;min-height:250px;max-height:calc(100vh - 130px);overflow:auto;display:grid;place-items:center}.preview-body img{max-width:100%;max-height:calc(100vh - 170px);object-fit:contain}.preview-body video{max-width:100%;width:100%;max-height:calc(100vh - 170px)}.preview-body iframe{border:0;width:100%;height:min(78vh,800px);background:#fff}
@media(max-width:1380px){.app-shell{grid-template-columns:222px minmax(0,1fr)}.main{padding-left:38px;padding-right:38px}.metrics{grid-template-columns:repeat(5,minmax(0,1fr))}.filters .status-filters{width:100%;margin:0}.task-detail-grid{gap:17px}}@media(max-width:1000px){.app-shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding-left:10px;padding-right:10px}.main{padding:25px 24px 38px}.hero-title-row{align-items:start;flex-wrap:wrap}.hero-cta{justify-content:flex-start}.metrics{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:37px}.metric.primary{grid-column:span 2}.task-detail-grid{grid-template-columns:1fr}.utility-row{margin-bottom:38px}}@media(max-width:720px){.app-shell{display:block}.sidebar{display:none;position:fixed;z-index:30;top:0;left:0;width:275px;height:100vh;box-shadow:22px 0 65px #0f0a152e}.sidebar.open{display:flex}.main{padding:17px 17px 32px}.utility-row{margin-bottom:34px;gap:7px}.mobile-menu{display:flex;gap:7px;border:0;background:none;color:#615773;font-size:12px;font-weight:760;padding:7px 0}.breadcrumb{display:none}.utility-actions{gap:6px}.sync-status{max-width:95px;font-size:9px}.primary-button{padding:9px 11px;font-size:10px;min-height:35px}.save-arrow{display:none}.hero-meta{font-size:9px;gap:10px}.hero h1{font-size:clamp(36px,8.5vw,48px);margin-bottom:13px}.hero p{font-size:11px;line-height:1.78}.hero-title-row{gap:17px}.hero-cta{width:100%}.secondary-button{padding:10px 12px}.improvement-copy h2{font-size:14px}.improvement-tags span{font-size:9px;padding:4px 6px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.metric{padding:14px}.metric.primary{grid-column:span 2}.metric-value{font-size:25px}.workspace-top{align-items:start;flex-wrap:wrap}.workspace-top h2{font-size:23px}.workspace-actions{width:100%;justify-content:flex-start}.filters{gap:7px}.search-wrap{max-width:none;flex-basis:100%}.filters select{width:100%;max-width:none}.status-filters{overflow-x:auto;white-space:nowrap;flex-wrap:nowrap!important;padding-bottom:3px;scrollbar-width:thin}.chip{flex:none}.group-head h3{font-size:20px}.group-count{font-size:10px}.task-head{padding:14px 12px;gap:8px}.task-description{font-size:10px;line-height:1.5}.task-head-right{gap:5px}.task-details{padding:16px 13px 17px}.task-main h4{font-size:12px}.task-bullet{width:18px;height:18px}.task-meta{gap:5px}.task-actions{gap:5px}.action{padding:8px;font-size:10px}.page-footer{font-size:8px;flex-wrap:wrap}.toast{right:12px;bottom:14px}.form-grid{grid-template-columns:1fr}.modal-title{font-size:23px}}@media(max-width:350px){.main{padding-left:12px;padding-right:12px}.sync-status{max-width:70px}.save-button{max-width:128px}.hero h1{font-size:36px}.metric{padding:12px}.task-meta .category-tag{display:none}.group-head{align-items:start}.group-head h3{font-size:18px}}
@media print{.sidebar,.utility-actions,.hero-cta,.workspace-actions,.filters,.task-actions,.attachment-actions,.file-remove,.link-action,.mobile-menu{display:none!important}.app-shell{display:block}.main{padding:0}.task-details{display:block!important}.task-card{break-inside:avoid}.metrics{margin-bottom:22px}body{background:#fff}}

/* Temas gerenciáveis: edição, exclusão e realocação segura */
.group-heading{min-width:0}.group-head-left{min-width:0;flex:1}.group-head-left h3,.group-head-left p{overflow-wrap:anywhere}.group-tools{display:flex;align-items:center;gap:7px;flex-wrap:wrap;justify-content:flex-end;min-width:0}.group-count{margin-right:8px}.group-tool{padding:6px 9px;background:#fff;border:1px solid #e6e3ec;border-radius:7px;font-size:10px;color:#7e7295;font-weight:740;white-space:nowrap}.group-tool:hover{border-color:#c6b5e8;color:#604c9a}.group-tool.danger{color:#ad6669}.group-tool.danger:hover{background:#fff5f4;border-color:#f0c9c7}.empty-group{padding:20px;border:1px dashed #ded8e9;background:#fbfafc;color:#9d96a5;border-radius:10px;font-size:11px;display:flex;gap:10px;align-items:center;flex-wrap:wrap}.empty-group button{border:0;background:transparent;color:#6751ad;font-size:11px;font-weight:800;padding:5px}.area-list{display:grid;gap:9px;max-height:55vh;overflow:auto;padding:2px}.area-list-row{display:flex;align-items:center;gap:12px;border:1px solid #eae7ec;border-radius:10px;padding:11px}.area-list-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#f3effb;color:#64519c;font-size:15px;font-weight:760;flex:none}.area-list-copy{min-width:0;flex:1;display:grid;gap:3px}.area-list-copy strong{font-size:12px}.area-list-copy small{font-size:10px;color:#97919e;overflow-wrap:anywhere}.area-list-actions{display:flex;gap:5px;flex:none}.confirm-row{display:flex;align-items:start;gap:10px;border:1px solid #f0d8d4;background:#fff8f7;padding:12px;border-radius:9px;color:#916465;font-size:12px;line-height:1.5;margin-top:18px}.confirm-row input{margin-top:3px;flex:none}.delete-note{font-size:12px;color:#817985}
@media(max-width:720px){.group-head{align-items:start;flex-wrap:wrap}.group-tools{width:100%;justify-content:flex-start;padding-left:47px}.group-count{margin-right:auto}.area-list-row{flex-wrap:wrap}.area-list-actions{margin-left:46px}.workspace-actions{flex-wrap:wrap}.hero-cta{justify-content:flex-start}}
@media(max-width:350px){.group-tools{padding-left:0}.group-head-left{width:100%}.area-list-actions{margin-left:0}.area-list-copy{flex-basis:calc(100% - 50px)}}
@media print{.group-tool,.empty-group button{display:none!important}}

/* Importador inteligente local — legível, responsivo, sem aparência de chat. */
.importer-hero-button{display:inline-flex;align-items:center;gap:8px;background:#4f3a91;border-color:#4f3a91;white-space:nowrap}
.importer-hero-button span{font-size:15px;line-height:1}
.app-modal:has(.import-modal-inner),.app-modal:has(.import-source){max-width:min(940px,calc(100vw - 26px))}
.import-intro{display:flex;align-items:start;gap:12px;border:1px solid #e8e3f1;background:#faf8fd;border-radius:10px;padding:14px 15px;font-size:12px;line-height:1.6;color:#605875;margin-bottom:17px}
.import-mark{flex:none;background:#eae3f8;color:#645099;display:grid;place-items:center;border-radius:7px;width:30px;height:30px;font-weight:800;font-size:12px}
.field .import-source{width:100%;min-height:260px;font:12px/1.72 ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',monospace;tab-size:4;white-space:pre;resize:vertical;background:#fcfbfd;padding:15px}
.import-local-note,.import-final-note{background:#f7f7f8;border-radius:9px;color:#7e7884;font-size:11px;line-height:1.7;padding:12px 14px;margin-top:3px}
.import-local-note strong,.import-final-note strong{color:#554966}
.import-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-bottom:15px}
.import-summary>div{display:flex;flex-direction:column;gap:5px;padding:15px 13px;border:1px solid #eeeaf1;border-radius:10px;background:#fcfbfd;min-width:0}
.import-summary strong{font-size:27px;font-weight:780;line-height:1;letter-spacing:-.04em;color:#3e3257}
.import-summary span{font-size:10px;color:#928b98;line-height:1.4}
.import-reference{font-size:11px;color:#817a8d;line-height:1.7;margin:0 0 11px}
.import-warning{border:1px solid #ece2c7;background:#fffcf3;border-radius:10px;padding:10px 14px;font-size:11px;color:#806a40;line-height:1.55;margin-bottom:14px}
.import-warning strong{font-size:11px}.import-warning ul{margin:5px 0 0;padding-left:18px}
.import-review-head{display:flex;gap:14px;justify-content:space-between;align-items:center;margin:14px 0 10px}
.import-review-head strong{font-size:15px;color:#302840}.import-review-head p{font-size:11px;color:#928a9a;margin:5px 0 0;line-height:1.5}
.import-count-pill{font-size:11px;background:#ede7fa;color:#644d96;border-radius:50px;padding:8px 11px;white-space:nowrap}
.import-toolbar{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:12px}
.import-toolbar .subtle-button{min-height:30px;padding:7px 10px;font-size:10px}
.import-items{display:grid;gap:12px;max-height:min(55vh,660px);overflow-y:auto;overscroll-behavior:contain;padding:1px 4px 4px 1px}
.import-card{border:1px solid #e9e6ee;border-radius:11px;background:#fff;overflow:hidden}
.import-card-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;padding:11px 14px;background:#faf9fc;border-bottom:1px solid #eeebf0}
.import-select{display:flex;align-items:center;gap:8px;color:#50455e;font-size:11px;font-weight:750;cursor:pointer}
.import-select input{accent-color:#6753a1;width:16px;height:16px;margin:0}
.import-card-meta{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.import-line{font-size:9px;color:#97919e;letter-spacing:.07em;font-weight:750}
.import-tag{border-radius:5px;padding:4px 6px;background:#f1eef9;color:#66509b;font-size:9px;font-weight:750;letter-spacing:.015em}
.import-tag.duplicate{background:#fff1e4;color:#9b663d}
.import-tag.hold{background:#f2f1f1;color:#817e82}
.import-tag.backlog{background:#edf5f9;color:#4c758a}
.import-tag.new{background:#edf7f0;color:#4d8161}
.import-match-note{font-size:10px;line-height:1.6;background:#fffbf5;color:#96764e;padding:9px 14px;margin:0;border-bottom:1px solid #f6eadb}
.import-match-note strong{color:#775a35}
.import-card-fields{padding:15px 14px 5px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:13px;row-gap:1px}
.import-card-fields .import-wide{grid-column:1/-1}
.import-card-fields .field label{color:#706a7b}
.import-card-fields .field{margin-bottom:10px}
.import-card-fields .field input,.import-card-fields .field select,.import-card-fields .field textarea{background:#fff;font-size:11px}
.import-card-fields .field textarea{line-height:1.5}
.import-card-fields input:focus,.import-card-fields textarea:focus,.import-card-fields select:focus{outline:2px solid #dfd3f3;border-color:#8473bb}
.import-modal-inner>.modal-actions{position:sticky;bottom:-27px;background:#fff;padding-top:14px;padding-bottom:5px;z-index:3}
@media(max-width:720px){.importer-hero-button{justify-content:center}.import-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.import-card-fields{grid-template-columns:1fr}.import-card-fields .import-wide{grid-column:auto}.import-summary strong{font-size:23px}.import-review-head{align-items:flex-start}.import-items{max-height:52vh}.import-card-head{align-items:start}}
@media(max-width:350px){.import-card-fields{padding-left:10px;padding-right:10px}.import-card-head{padding:10px}.import-modal-inner{padding-left:14px;padding-right:14px}.importer-hero-button{white-space:normal}}
@media print{#import-text-btn{display:none!important}}

/* v2.3 — responsáveis, etiquetas e plataformas */
.task-meta{flex-wrap:wrap}.task-tag{display:inline-flex;align-items:center;gap:4px;border:1px solid #ded6ef;border-radius:5px;color:#7053a1;background:#f8f5fd;padding:4px 7px;font-size:9px;line-height:1;font-weight:790;white-space:nowrap}.task-tag svg,.choice svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round;flex:none}.task-tag.dados{background:#edf7fb;color:#377993;border-color:#d3e8f2}.task-tag.dev{background:#f2effd;color:#7157a7;border-color:#e3dbf5}.task-tag.mobile{background:#f0f7ef;color:#507a4a;border-color:#d9ead3}.task-tag.desktop{background:#f6f4f2;color:#76706e;border-color:#e9e4df}.owner-pill{background:#f3f3f2;border:1px solid #e7e4e4;padding:4px 7px;border-radius:5px;color:#716d73;font-size:9px;font-weight:750;white-space:nowrap}.owner-details{font-size:11px;color:#7b7187;display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:6px 0 12px}.owner-details strong{color:#4c4459}.owner-details a{color:#6853a3;text-decoration:underline;text-underline-offset:2px}.choice-row{display:flex;gap:9px;min-height:40px;align-items:center;flex-wrap:wrap}.choice{display:inline-flex!important;gap:7px;align-items:center;border:1px solid #e3dfeb;border-radius:8px;padding:8px 11px;font-size:11px!important;color:#534b60!important;background:#faf9fc;cursor:pointer}.choice input{margin:0;accent-color:#6751ad}.choice svg{height:14px;width:14px}

/* v2.3 — board Kanban */
.kanban-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin:-16px 0 23px;padding:12px 15px;border:1px solid #e7e3ed;border-radius:12px;background:#f8f6fb}.kanban-filters[hidden],.status-filters[hidden]{display:none!important}.kanban-filter-info{display:grid;gap:2px;flex:1;min-width:150px;color:#65528e;letter-spacing:.07em;font-size:10px;font-weight:850}.kanban-filter-info span{font-weight:500;color:#9b94a5;letter-spacing:0;font-size:10px}.kanban-filters label{display:grid;gap:5px;color:#85808c;font-size:10px;font-weight:700}.kanban-filters select{height:35px;min-width:160px;border-radius:7px;border:1px solid #e3dfeb;background:white;padding:0 9px;color:#5d5568;font-size:11px;max-width:220px}.kanban-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;align-items:start}.kanban-column{border:1px solid #e8e5ed;border-radius:12px;background:#f2f1f5;padding:15px 12px;min-width:0;min-height:410px;transition:background .12s,border-color .12s}.kanban-column.todo{background:#f5f3f0}.kanban-column.done{background:#eff5f0}.kanban-column.drag-over{background:#eee4ff;border-color:#ab8adf;outline:2px dashed #bfa4e8;outline-offset:-8px}.kanban-column-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 5px}.kanban-column-head>div{display:flex;align-items:center;gap:7px}.kanban-column-head h3{font-size:14px;letter-spacing:-.02em;margin:0}.kanban-column-dot{width:7px;height:7px;background:#9b88b6;border-radius:50%}.kanban-column.todo .kanban-column-dot{background:#c39a54}.kanban-column.done .kanban-column-dot{background:#4b9770}.kanban-number{font-size:10px;border-radius:50px;background:white;border:1px solid #e5e1e9;padding:2px 9px;color:#867c94}.kanban-column-desc{color:#9993a0;font-size:10px;margin:7px 5px 16px}.kanban-cards{display:grid;gap:10px}.kanban-card{border:1px solid #e5e1eb;border-radius:10px;background:white;padding:14px;box-shadow:0 5px 20px #17122208;cursor:grab;overflow-wrap:anywhere}.kanban-card:active{cursor:grabbing}.kanban-card-top{display:flex;align-items:center;justify-content:space-between;gap:7px;flex-wrap:wrap}.kanban-card-id{color:#aaa3b3;font-size:9px;font-weight:850;letter-spacing:.05em}.kanban-card h3{margin:13px 0 8px;line-height:1.36;letter-spacing:-.025em;font-size:13px}.kanban-card p{font-size:10px;line-height:1.65;color:#918b99;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.kanban-tags{display:flex;gap:5px;flex-wrap:wrap;margin:14px 0 9px}.kanban-card-foot{display:flex;align-items:center;justify-content:space-between;gap:6px;color:#a49eaa;font-size:9px;border-top:1px solid #f0eef2;padding-top:10px}.kanban-detail{border:0;background:transparent;color:#6c55a2;font-size:10px;font-weight:750;white-space:nowrap;padding:4px}.kanban-move{border:1px solid #eeeaf1;background:#faf9fc;color:#6d6576;border-radius:7px;font-size:10px;padding:8px;width:100%;margin-top:11px;cursor:pointer}.kanban-empty{border:1px dashed #ded7e8;border-radius:9px;padding:22px 12px;font-size:11px;color:#a19aa8;line-height:1.6;text-align:center}.kanban-help{font-size:10px;color:#98919e;margin:19px 0;line-height:1.7}

/* v2.3 — editor do informativo semanal */
.app-modal:has(.news-modal-inner){max-width:min(965px,calc(100vw - 26px))}.news-editor-note{background:#f7f3fe;border:1px solid #e9ddf7;color:#6d5b89;padding:14px;border-radius:9px;font-size:11px;line-height:1.65;margin:0 0 18px}.news-picker-actions{display:flex;gap:6px;flex-wrap:wrap}.news-pick-head{margin:23px 0 10px;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.news-pick-head h3{font-size:15px;letter-spacing:-.03em;margin:0}.news-edit-list{display:grid;gap:10px;max-height:51vh;overflow:auto;padding:1px 4px 5px}.news-edit-card{background:#fbfafc;border:1px solid #e9e5ee;border-radius:10px;padding:13px}.news-edit-head{display:flex;align-items:center;justify-content:space-between;gap:9px}.news-select{display:flex;align-items:center;gap:8px;color:#403a4a;font-size:11px;line-height:1.45;cursor:pointer;min-width:0}.news-select input{width:16px;height:16px;accent-color:#7153b0;flex:none}.news-status{background:#f0edf5;color:#7f718e;padding:4px 7px;border-radius:5px;font-size:9px;font-weight:850;white-space:nowrap}.news-status.done{background:#e7f5ea;color:#32815c}.news-status.correction{background:#f9e9e9;color:#ac5b5c}.news-edit-meta{font-size:9px;color:#aaa3b4;margin:5px 0 12px 24px}.news-edit-card .field{margin-bottom:0}.news-edit-card .field input,.news-edit-card .field textarea{background:white;font-size:11px}.news-publish-hint{font-size:11px;color:#8a8096;line-height:1.65;background:#f7f6f8;border-radius:7px;padding:12px;margin:15px 0}.news-footer{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;position:sticky;bottom:-24px;background:#fff;border-top:1px solid #f0edf2;padding:14px 0 4px;z-index:2}
@media(max-width:1120px){.kanban-board{gap:9px}.kanban-card{padding:11px}.kanban-column{padding:10px}}@media(max-width:850px){.kanban-board{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 0 13px;align-items:stretch}.kanban-column{flex:0 0 min(330px,82vw);scroll-snap-align:start}.kanban-filters label{flex:1 1 140px}.kanban-filters select{width:100%;max-width:none}}@media(max-width:720px){.kanban-column{flex-basis:min(330px,85vw)}.news-edit-card .form-grid{grid-template-columns:1fr;gap:9px}.news-edit-head{align-items:start}.news-select{font-size:11px}.news-status{font-size:8px}.news-footer{justify-content:stretch}.news-footer button{flex:1 1 auto}.news-pick-head .subtle-button{font-size:9px;padding:7px}.kanban-filters{margin-top:-16px}}@media print{.kanban-move,.kanban-help,.news-footer,.kanban-filters{display:none!important}}
/* Header composition: action growth must never squeeze the editorial headline. */
@media(min-width:721px){.hero-title-row{display:block}.hero-title-row>div:first-child{max-width:960px}.hero-cta{margin-top:22px;justify-content:flex-start}.hero h1{max-width:960px;margin-bottom:11px}.hero p{max-width:800px}.hero{margin-bottom:32px}.hero-cta .secondary-button,.hero-cta .primary-button{min-height:38px}.metrics{margin-bottom:43px}}

.kanban-mobile-hint{display:none;font-size:10px;color:#968ba6;margin:-2px 0 11px}@media(max-width:850px){.kanban-mobile-hint{display:block}}

/* v2.4 — hierarquia do painel: navegação > semana > produção > visão > filtros */
.hero{margin-bottom:20px}.hero-title-row{display:block!important}.hero h1{margin-bottom:10px;font-size:clamp(40px,4.6vw,70px)}.hero p{max-width:740px}
.week-control{background:#fff;border:1px solid #e8e5ed;box-shadow:var(--shadow);border-radius:13px;padding:15px 18px;margin-bottom:30px;display:grid;gap:13px}
.week-control-heading{display:flex;align-items:center;gap:11px;flex-wrap:wrap;border-bottom:1px solid #f0eef2;padding-bottom:12px}.week-control-heading strong{font-size:12px;color:#4d445e}.week-control-eyebrow{font-size:9px;letter-spacing:.13em;color:#9b94a4;font-weight:850}.news-state-pill{font-size:9px;font-weight:750;border:1px solid #ece7d5;color:#aa8255;background:#fffbf2;border-radius:5px;padding:4px 8px;margin-left:auto}.news-state-pill.is-published{background:#ecf7ee;color:#448363;border-color:#d6eddb}
.week-control-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.week-control-actions .primary-button,.week-control-actions .secondary-button,.week-control-actions .subtle-button{min-height:37px;padding:9px 13px;font-size:11px;white-space:nowrap}.action-separator{width:1px;height:27px;background:#e4e0e9;margin:0 4px}.week-control-actions #generate-news-btn{border-color:#d6cae8;color:#5a4487;background:#f7f4fc}.week-control-actions .more-menu{position:relative;margin-left:auto}.more-menu summary{cursor:pointer;list-style:none;border:1px solid #e8e5eb;border-radius:8px;background:#fff;padding:10px 12px;font-size:11px;color:#716a7c;font-weight:700;min-height:37px}.more-menu summary::-webkit-details-marker{display:none}.more-menu summary span{margin-left:6px}.menu-popover{position:absolute;z-index:20;right:0;top:43px;min-width:195px;border-radius:10px;border:1px solid #e6e1eb;box-shadow:0 16px 50px #21182b22;background:white;padding:6px;display:grid;gap:2px}.menu-popover button{border:0;border-radius:6px;background:#fff;color:#625a6c;padding:11px 10px;text-align:left;font-size:11px;font-weight:650}.menu-popover button:hover{background:#f3f0fa;color:#60499c}.week-news-link{font-size:11px;font-weight:750;color:#49785c;text-decoration:none;padding:7px 0}.week-news-link:hover{text-decoration:underline}.week-news-link[hidden],.news-state-pill[hidden]{display:none!important}
.metrics{margin-bottom:42px}.workspace-top{align-items:center;margin-bottom:16px}.view-control{display:flex;align-items:center;gap:10px;flex:none}.view-control>span{font-size:9px;letter-spacing:.12em;font-weight:850;color:#aba4b1}.view-control button{min-width:148px}
.filter-panel{background:#fff;border:1px solid #e8e6ec;border-radius:12px;padding:15px 16px 11px;margin-bottom:30px;box-shadow:var(--shadow)}.filter-main-row{display:grid;grid-template-columns:minmax(160px,1.5fr) minmax(125px,.7fr) minmax(290px,1.5fr);gap:11px;align-items:end}.filter-main-row .search-wrap{max-width:none;width:100%;min-width:0}.filter-field{display:grid;gap:5px;color:#85808c;font-weight:700;font-size:10px;min-width:0}.filter-field select{width:100%;height:37px;background:#fbfafb;border-radius:7px;border:1px solid #e8e5e9;padding:0 10px;color:#5d5667;font-size:11px}.filter-panel .search-wrap input{height:37px}
.filter-panel .kanban-filters{display:grid!important;grid-template-columns:1fr 1fr;gap:9px;align-items:end;margin:0;padding:0;border:0;background:transparent;min-width:0}.filter-panel .kanban-filters label{min-width:0;display:grid;gap:5px}.filter-panel .kanban-filters select{min-width:0;width:100%;max-width:none;height:37px;background:#fbfafb;border-color:#e8e5e9}.filter-bottom-row{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid #f0eef2;margin-top:12px;padding-top:9px}.filter-bottom-row .status-filters{margin-left:0;flex-wrap:wrap}.filter-bottom-row .subtle-button{white-space:nowrap;padding:7px 10px;font-size:10px}.filter-bottom-row:has(.status-filters[hidden]){justify-content:flex-end}
.news-week-shortcut{border-top:1px solid #ece8f0;margin-top:19px;padding-top:18px;display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.news-week-shortcut span{font-size:11px;font-weight:750;color:#766c83}
/* editor editorial: um capítulo por grupo, não uma linha por tarefa */
.editorial-steps{display:flex;gap:14px;flex-wrap:wrap;margin:0 0 20px}.editorial-steps span{font-size:10px;color:#81778e;display:flex;align-items:center;gap:7px}.editorial-steps b{display:grid;place-items:center;background:#ede8f7;color:#67529a;font-size:10px;width:23px;height:23px;border-radius:50%}.news-pick-head small{font-size:10px;color:#aaa1b2}.editorial-stories{display:grid;gap:13px;max-height:53vh;overflow:auto;padding:1px 5px 5px 1px}.editorial-story{border:1px solid #e5dfe9;border-radius:10px;padding:16px;background:linear-gradient(145deg,#fff,#fcfaff)}.editorial-story-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.editorial-story .field{margin:12px 0 0}.editorial-story .field input,.editorial-story .field textarea{font-size:12px;background:white}.editorial-sources{font-size:10px;color:#9e96a9;line-height:1.65;background:#f7f5f9;padding:9px 10px;border-radius:6px;margin:12px 0 14px}.news-publish-hint code{background:#e9e2f4;color:#654899;padding:3px 5px;border-radius:5px;font-size:11px}
@media(max-width:1250px){.filter-main-row{grid-template-columns:minmax(180px,1.3fr) minmax(150px,.8fr)}.filter-main-row .kanban-filters{grid-column:1/-1}.week-control-actions .more-menu{margin-left:0}}@media(max-width:1000px){.week-control-actions{gap:7px}.action-separator{display:none}.view-control>span{display:none}.filter-main-row{grid-template-columns:minmax(130px,1.2fr) minmax(130px,.8fr)}}
@media(max-width:720px){.hero{margin-bottom:18px}.hero h1{font-size:clamp(36px,8.9vw,49px)}.week-control{padding:12px;margin-bottom:25px}.week-control-heading{gap:6px}.news-state-pill{margin-left:0}.week-control-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.week-control-actions .primary-button,.week-control-actions .secondary-button,.week-control-actions .subtle-button{width:100%;white-space:normal;min-height:39px;font-size:10px;padding:8px 6px}.week-control-actions .more-menu{width:100%;margin:0}.week-control-actions .more-menu summary{text-align:center;padding:10px 6px;font-size:10px}.week-news-link{display:flex;align-items:center;justify-content:center;border:1px solid #d9e9dc;border-radius:8px;font-size:10px;padding:9px 6px}.menu-popover{right:0;left:auto;min-width:185px}.workspace-top{align-items:flex-start;gap:13px;flex-wrap:wrap}.workspace-top>div:first-child{flex:1 1 180px}.workspace-top h2{font-size:22px}.view-control{flex:0 0 auto;align-self:center}.view-control button{min-width:0;max-width:140px;padding:9px 10px;font-size:10px}.filter-panel{padding:11px 10px;margin-bottom:27px}.filter-main-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.filter-main-row .search-wrap{grid-column:1/-1}.filter-main-row .kanban-filters{grid-column:1/-1;grid-template-columns:1fr 1fr;gap:8px}.filter-bottom-row{display:flex;align-items:start}.filter-bottom-row .status-filters{overflow-x:auto;flex-wrap:nowrap;min-width:0;flex:1}.filter-bottom-row .subtle-button{align-self:center}.editorial-stories{max-height:46vh}.news-footer button{flex:1 1 120px}}
@media(max-width:365px){.week-control-actions .more-menu summary,.week-control-actions button{font-size:9px!important}.filter-main-row{grid-template-columns:1fr 1fr}.workspace-top h2{font-size:20px}.view-control button{font-size:9px;padding:8px 7px}}
@media print{.week-control,.filter-panel,.view-control{display:none!important}}
/* CTA editorial sempre visível no rodapé do diálogo, inclusive mobile estreito. */
.app-modal:has(.news-modal-inner){overflow-y:auto;overscroll-behavior:contain}
.news-modal-inner .news-footer{bottom:0;position:sticky;margin:20px -3px -14px;background:#fff;box-shadow:0 -8px 22px #fff;padding:12px 3px 13px;z-index:4}
@media(max-width:720px){.news-modal-inner .news-footer{gap:6px;margin-bottom:-12px}.news-modal-inner .news-footer button{min-height:39px;flex:1 1 110px;padding:8px 5px;font-size:10px}}

/* v2.5 / SELEÇÃO EM LOTE + FILTROS MULTIFACETADOS + LIGHT / DARK */
.theme-switch{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:85px;height:36px;padding:0 12px;border:1px solid #e3deeb;border-radius:999px;background:#fff;color:#625a6c;font-size:11px;font-weight:740;white-space:nowrap}
.theme-switch:hover{border-color:#ab9cc9;background:#faf8ff}.theme-icon{font-size:17px;line-height:1}.theme-label{font-size:10px;letter-spacing:.015em}
.view-control .selection-toggle{font-size:11px;min-width:144px;min-height:38px;border:1px solid #ded9e7;color:#655a74;background:#fff;border-radius:7px;padding:8px 11px;font-weight:740;white-space:nowrap}
.view-control .selection-toggle.active{background:#f0eafa;border-color:#c9b8ec;color:#5e498d}
.filter-main-row{grid-template-columns:minmax(160px,1.3fr) minmax(155px,.82fr) minmax(155px,.82fr) minmax(160px,.8fr);align-items:end;gap:10px}
.multi-filter{position:relative;min-width:0;z-index:7}.multi-filter[open]{z-index:15}.multi-filter-trigger{position:relative;list-style:none;display:grid;gap:5px;align-items:center;min-width:0;cursor:pointer;color:#7c7682}.multi-filter-trigger::-webkit-details-marker{display:none}.multi-filter-title{font-size:10px;font-weight:730;color:#85808c;letter-spacing:.015em}.multi-filter-value{display:flex;align-items:center;height:37px;border:1px solid #e8e5e9;border-radius:7px;background:#fbfafb;padding:0 30px 0 10px;color:#5d5667;font-size:11px;font-weight:560;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.multi-filter-chevron{position:absolute;right:12px;bottom:9px;font-size:14px;color:#9d95a7}.multi-filter[open] .multi-filter-value,.multi-filter.has-selection .multi-filter-value{border-color:#bba8e8;background:#f7f3fe;color:#604b89}
.multi-filter-menu{position:absolute;top:calc(100% + 8px);right:0;z-index:30;width:min(310px,calc(100vw - 45px));border:1px solid #e2dce9;border-radius:12px;background:#fff;box-shadow:0 16px 48px #261e3826;padding:12px;max-height:min(480px,74vh);overflow-y:auto}
.multi-menu-top{display:flex;align-items:center;justify-content:space-between;gap:9px;border-bottom:1px solid #eeebf1;padding:2px 3px 10px;margin-bottom:5px}.multi-menu-top strong{font-size:12px}.multi-menu-top button{background:transparent;color:#6d53a5;border:0;font-size:10px;font-weight:750;padding:4px 6px}.multi-menu-items{display:grid;gap:3px}.multi-option{cursor:pointer;display:flex;align-items:center;gap:10px;padding:10px 8px;border-radius:8px;border:1px solid transparent;color:#5a5363;min-width:0}.multi-option:hover{background:#f9f7fc;border-color:#eee8f5}.multi-option:has(input:checked){background:#f5f0fd;border-color:#e7daf9}.multi-option input{accent-color:var(--purple);width:16px;height:16px;flex:none}.multi-option-copy{font-size:12px;font-weight:680;min-width:0;flex:1;overflow-wrap:anywhere}.multi-option-copy small{display:block;color:#9d96a5;font-size:10px;font-weight:450;margin-top:2px}.multi-option-count{font-size:10px;color:#938b9d;border-radius:5px;padding:3px 6px;background:#f5f4f7;flex:none}.multi-menu-footer{border-top:1px solid #eeebf1;margin-top:8px;padding:10px 3px 2px;font-size:10px;color:#9b92a2;line-height:1.5}.tag-filter-icon{display:inline-flex;width:17px;height:17px;color:#71579b}.tag-filter-icon svg,.filter-pills svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}.tag-match-setting{border-top:1px solid #eeeaf1;margin-top:10px;padding:11px 3px 0;display:flex;flex-wrap:wrap;gap:9px 13px;align-items:center}.tag-match-setting>span{font-weight:750;color:#8c8493;font-size:10px;width:100%}.tag-match-setting label{display:inline-flex;align-items:center;gap:5px;font-size:10px;color:#6e637b;cursor:pointer}.tag-match-setting input{accent-color:#6751ad}
.active-filter-line[hidden],.bulk-bar[hidden]{display:none!important}.active-filter-line{display:flex;justify-content:space-between;gap:8px;align-items:center;flex-wrap:wrap;border-top:1px solid #f0edf2;margin:12px 0 0;padding-top:12px}.filter-pills{display:flex;flex-wrap:wrap;gap:5px;min-width:0;flex:1}.filter-pills button{display:inline-flex;align-items:center;gap:5px;background:#f4eefb;border:1px solid #e2d8f1;border-radius:6px;color:#725899;font-size:10px;font-weight:730;padding:6px 9px;line-height:1.2}.filter-clear-all{border:0;background:transparent;color:#82758f;font-size:10px;font-weight:720;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}.filter-footer-actions{display:flex;gap:10px;align-items:center;flex:none}.filter-count{font-size:10px;color:#a19aa9;font-weight:700;white-space:nowrap}
.bulk-bar{position:sticky;top:10px;z-index:6;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:13px 15px;margin:-14px 0 25px;border:1px solid #d9cbed;background:#f6f1fe;border-radius:11px;box-shadow:0 10px 30px #43306112}.bulk-bar-count{display:grid;gap:1px}.bulk-bar-count strong{color:#57447a;font-size:13px}.bulk-bar-count small{color:#8e7da4;font-size:10px;max-width:360px}.bulk-bar-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.bulk-bar-actions button{min-height:34px;padding:7px 10px;font-size:10px;white-space:normal}.bulk-close{display:grid;place-items:center;border:1px solid #dfd2ef;background:#faf6ff;color:#7f6a9d;border-radius:8px;font-size:18px!important;min-width:34px}.danger-button{border:1px solid #ad5052!important;background:#a64448!important;color:#fff!important;border-radius:7px;font-weight:750}.danger-button:disabled{background:#bca8a9!important;border-color:#bca8a9!important;color:#f8f0f0!important;cursor:not-allowed}
.task-select,.kanban-select{align-self:start;display:inline-flex;flex:none;position:relative;margin-top:3px;cursor:pointer}.task-select input,.kanban-select input{accent-color:#6751ad;width:18px;height:18px;cursor:pointer;margin:0}.task-card:has(.task-select input:checked),.kanban-card.is-selected{border-color:#a88bda!important;box-shadow:0 0 0 2px #9c82d027}.kanban-card-top .kanban-select{margin:0 2px 0 0}.kanban-card:has(.kanban-select){cursor:default}.kanban-card-top{align-items:flex-start}.kanban-card-top .kanban-card-id{flex:1;min-width:60px}.bulk-delete-warning{border:1px solid #efcecc;background:#fff7f6;padding:15px;border-radius:10px;color:#7a4f51;font-size:12px}.bulk-delete-warning strong{color:#9e4146;font-size:13px}.bulk-delete-warning p{line-height:1.65;margin:9px 0}.bulk-delete-groups{display:flex;gap:6px;flex-wrap:wrap}.bulk-delete-groups span{padding:5px 8px;background:#fff;border-radius:5px;border:1px solid #f2d6d6;font-size:11px}.bulk-delete-groups b{margin-left:5px}
@media(max-width:1350px){.filter-main-row{grid-template-columns:repeat(2,minmax(0,1fr))}.filter-main-row .search-wrap{grid-column:1/-1}.filter-main-row .owner-filter{grid-column:auto}}
@media(max-width:900px){.view-control{flex-wrap:wrap;justify-content:flex-end}.view-control>span{display:none}.view-control .selection-toggle{min-width:0}.bulk-bar{top:3px}.bulk-bar-actions{width:100%}.bulk-bar-actions button{flex:1 1 auto}}
@media(max-width:720px){.utility-actions{gap:5px}.theme-switch{min-width:42px;padding:0 9px;height:34px}.theme-switch .theme-label{display:none}.workspace-top .view-control{flex:1 1 100%;justify-content:stretch;gap:8px}.workspace-top .view-control .selection-toggle,.workspace-top .view-control #toggle-kanban-btn{flex:1 1 0;min-width:0;max-width:none;min-height:40px;font-size:10px}.filter-main-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.filter-main-row .search-wrap{grid-column:1/-1}.filter-main-row .owner-filter{grid-column:1/-1}.multi-filter-menu{left:0;right:auto;width:min(310px,calc(100vw - 50px))}#tag-filter .multi-filter-menu{left:auto;right:0}.filter-bottom-row{align-items:center}.filter-footer-actions{flex:none}.filter-count{display:none}.bulk-bar{position:relative;top:0;margin:-12px 0 22px;padding:12px}.bulk-bar-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.bulk-close{grid-column:2}.task-head{gap:7px}.task-select{margin-top:4px}}
@media(max-width:350px){.multi-filter-value{font-size:10px;padding-left:7px}.multi-filter-title{font-size:9px}.bulk-bar-actions button{font-size:9px}.workspace-top .view-control .selection-toggle,.workspace-top .view-control #toggle-kanban-btn{font-size:9px}}
@media print{.theme-switch,.selection-toggle,.task-select,.kanban-select,.bulk-bar,.active-filter-line{display:none!important}}

/* ESQUEMA ESCURO — tokens de superfície e contrastes, sem alterar dados do painel */
html[data-theme="dark"]{color-scheme:dark;--paper:#101016;--aside:#16161e;--white:#1e1d29;--ink:#eeebf5;--text:#d0cbdc;--quiet:#a6a0b1;--line:#302d3d;--purple:#bba4ef;--purple-dark:#9476e4;--light-purple:#2c253d;--green:#79cca6;--light-green:#1b3b32;--amber:#e0b379;--light-amber:#453526;--red:#e29b9e;--light-red:#4b3039;--shadow:0 7px 28px rgba(0,0,0,.13)}
html[data-theme="dark"] body{background:var(--paper);color:var(--ink)}
html[data-theme="dark"] .sidebar{border-color:#2a2834}html[data-theme="dark"] .side-week:hover,html[data-theme="dark"] .side-nav:hover,html[data-theme="dark"] .side-create:hover{background:#262330}html[data-theme="dark"] .side-week.active,html[data-theme="dark"] .side-nav.active{background:#322a45;color:#e6dbff}html[data-theme="dark"] .active .week-square{background:#554578;color:#f2eaff}html[data-theme="dark"] .week-square,html[data-theme="dark"] .logo-symbol{background:#30263f;border-color:#4d3b65;color:#d2baff}html[data-theme="dark"] .side-divider{background:#32303a}
html[data-theme="dark"] .utility-row,html[data-theme="dark"] .breadcrumb span:last-child{color:#bab3c8}html[data-theme="dark"] .hero p,html[data-theme="dark"] .hero-meta{color:#b1aabc}html[data-theme="dark"] .theme-switch{background:#282434;border-color:#4a405e;color:#d6c4f3}html[data-theme="dark"] .theme-switch:hover{background:#352b48}html[data-theme="dark"] .icon-button,html[data-theme="dark"] .secondary-button,html[data-theme="dark"] .subtle-button{background:#272631;border-color:#3c384a;color:#dad2e7}html[data-theme="dark"] .secondary-button:hover,html[data-theme="dark"] .subtle-button:hover{background:#342e41}
html[data-theme="dark"] .week-control,html[data-theme="dark"] .metric,html[data-theme="dark"] .filter-panel,html[data-theme="dark"] .task-card,html[data-theme="dark"] .kanban-card,html[data-theme="dark"] .empty-area,html[data-theme="dark"] .group-number,html[data-theme="dark"] .app-modal,html[data-theme="dark"] .preview-modal,html[data-theme="dark"] .menu-popover{background:#1e1d27;border-color:#363241;color:#eeebf4}
html[data-theme="dark"] .metric.primary{background:linear-gradient(118deg,#2f2841,#24212d);border-color:#55436e}html[data-theme="dark"] .metric-label,html[data-theme="dark"] .metric-note{color:#aca4b7}html[data-theme="dark"] .meter{background:#393047}html[data-theme="dark"] .week-control-heading,html[data-theme="dark"] .filter-bottom-row,html[data-theme="dark"] .active-filter-line{border-color:#363241}html[data-theme="dark"] .week-control-heading strong,html[data-theme="dark"] .group-heading h3,html[data-theme="dark"] .task-main h4,html[data-theme="dark"] .workspace-top h2{color:#eeeaf5}html[data-theme="dark"] .section-hint,html[data-theme="dark"] .task-description,html[data-theme="dark"] .group-heading p{color:#aca5b5}html[data-theme="dark"] .news-state-pill{background:#3b3226;border-color:#60513c;color:#ead0a0}html[data-theme="dark"] .news-state-pill.is-published{background:#203d32;color:#97d7af;border-color:#35664f}
html[data-theme="dark"] .more-menu summary,html[data-theme="dark"] .menu-popover button,html[data-theme="dark"] .group-tool{background:#272531;border-color:#40394e;color:#d5ccdf}html[data-theme="dark"] .menu-popover button:hover{background:#3b334c}html[data-theme="dark"] .view-control .selection-toggle{background:#25232f;border-color:#40394e;color:#d7cde7}html[data-theme="dark"] .view-control .selection-toggle.active{background:#423253;border-color:#7a5e9e;color:#ead9ff}
html[data-theme="dark"] .multi-filter-title,html[data-theme="dark"] .filter-field>span{color:#aaa3b6}html[data-theme="dark"] .multi-filter-value,html[data-theme="dark"] .filter-field select,html[data-theme="dark"] .filter-panel .search-wrap input,html[data-theme="dark"] .search-wrap input,html[data-theme="dark"] .multi-filter-menu{background:#25232f;border-color:#41394c;color:#ddd7e7}html[data-theme="dark"] .multi-filter.has-selection .multi-filter-value,html[data-theme="dark"] .multi-filter[open] .multi-filter-value{background:#3a2c4e;border-color:#755b9f;color:#eedfff}html[data-theme="dark"] .multi-menu-top,html[data-theme="dark"] .multi-menu-footer,html[data-theme="dark"] .tag-match-setting{border-color:#433849}html[data-theme="dark"] .multi-menu-top button{color:#c2a3fb}html[data-theme="dark"] .multi-option{color:#e0d9ec}html[data-theme="dark"] .multi-option:hover,html[data-theme="dark"] .multi-option:has(input:checked){background:#352943;border-color:#59456f}html[data-theme="dark"] .multi-option-count{background:#3c3547;color:#bcb0c9}html[data-theme="dark"] .multi-option-copy small,html[data-theme="dark"] .multi-menu-footer{color:#b0a6ba}html[data-theme="dark"] .tag-match-setting label{color:#ccc3d8}html[data-theme="dark"] .filter-pills button{background:#352a47;border-color:#5d4778;color:#dec5ff}html[data-theme="dark"] .filter-clear-all{color:#b9a1d6}html[data-theme="dark"] .filter-count{color:#b6aec2}
html[data-theme="dark"] .chip{color:#b8b0c4}html[data-theme="dark"] .chip:hover{background:#30283f}html[data-theme="dark"] .chip.active{color:#e1d1fe;background:#3a2d4e;border-color:#665083}html[data-theme="dark"] .group-head{border-color:#35313e}html[data-theme="dark"] .group-number{color:#baa3ec}html[data-theme="dark"] .task-card[data-status="hold"]{background:#29251e}html[data-theme="dark"] .task-bullet,html[data-theme="dark"] .task-expand{background:#2a2635;color:#cdbfe3}html[data-theme="dark"] .task-tag,html[data-theme="dark"] .category-tag,html[data-theme="dark"] .owner-pill{background:#302b3b;border-color:#4b3d5d;color:#d6c8e8}html[data-theme="dark"] .task-tag.dados{background:#203845;border-color:#315563;color:#b9e4f0}html[data-theme="dark"] .task-tag.dev{background:#372b50;border-color:#59416e;color:#d7c4ff}html[data-theme="dark"] .task-tag.mobile{background:#243f32;border-color:#39634c;color:#c0e7ca}html[data-theme="dark"] .task-tag.desktop{background:#453b31;border-color:#6e5742;color:#e8d0aa}html[data-theme="dark"] .badge.todo,html[data-theme="dark"] .badge.backlog{background:#35313d;color:#c6bacf}html[data-theme="dark"] .badge.doing{background:#35294f;color:#d9c5ff}html[data-theme="dark"] .badge.done{background:#1d4234;color:#9be0b8}html[data-theme="dark"] .badge.correction{background:#533038;color:#f1b2bd}html[data-theme="dark"] .badge.hold{background:#4a3623;color:#f0c394}html[data-theme="dark"] .task-meta,html[data-theme="dark"] .micro-label{color:#afa6be}html[data-theme="dark"] .step{color:#d2cada}html[data-theme="dark"] .step input{background:#282633;border-color:#665b75}html[data-theme="dark"] .step input:checked+span{color:#a4b8ac}html[data-theme="dark"] .accept,html[data-theme="dark"] .task-notes textarea,html[data-theme="dark"] .empty-group{background:#262430;border-color:#3e364a;color:#d5cddd}html[data-theme="dark"] .task-notes textarea::placeholder{color:#928b9a}html[data-theme="dark"] .link-action{color:#c5a9f9}html[data-theme="dark"] .file-kind{background:#332b42;color:#d5c7eb}html[data-theme="dark"] .file-item-name{color:#d2c4e2}html[data-theme="dark"] .action{background:#28252f;border-color:#4b4154;color:#d8ccdf}html[data-theme="dark"] .action.finish{background:#213b31;color:#b4e8cd}html[data-theme="dark"] .action.correction,html[data-theme="dark"] .danger-note,html[data-theme="dark"] .correction-log{background:#422b33;border-color:#69434e;color:#f0bcc6}html[data-theme="dark"] .correction-log.resolved{background:#262c2a}html[data-theme="dark"] .action.schedule{background:#312641;color:#dac6ff}html[data-theme="dark"] .mini-link{background:#3e303d;color:#e4c5d5}
html[data-theme="dark"] .kanban-column,html[data-theme="dark"] .kanban-column.todo,html[data-theme="dark"] .kanban-column.done{background:#191920;border-color:#383343}html[data-theme="dark"] .kanban-column.drag-over{background:#312640}html[data-theme="dark"] .kanban-card-top{color:#b9b0c5}html[data-theme="dark"] .kanban-card h3{color:#eee9f6}html[data-theme="dark"] .kanban-card p{color:#aaa2b3}html[data-theme="dark"] .kanban-number{background:#302b38;border-color:#4a4057;color:#e2d7ee}html[data-theme="dark"] .kanban-card-foot{border-color:#34303f;color:#b5acc0}html[data-theme="dark"] .kanban-move{background:#2f2a38;border-color:#4c4159;color:#e2d9ef}html[data-theme="dark"] .kanban-empty{color:#aaa0b8;border-color:#494056}
html[data-theme="dark"] .modal-desc,html[data-theme="dark"] .field label{color:#bbb0ca}html[data-theme="dark"] .field input,html[data-theme="dark"] .field select,html[data-theme="dark"] .field textarea,html[data-theme="dark"] .choice,html[data-theme="dark"] .import-card-fields .field input,html[data-theme="dark"] .import-card-fields .field select,html[data-theme="dark"] .import-card-fields .field textarea,html[data-theme="dark"] .editorial-story .field input,html[data-theme="dark"] .editorial-story .field textarea{background:#282631;border-color:#4b4158;color:#f2eaf5}html[data-theme="dark"] .field small{color:#ada5b8}html[data-theme="dark"] .modal-close{background:#352e40;border-color:#534461;color:#ddcfe8}html[data-theme="dark"] .news-editor-note,html[data-theme="dark"] .news-publish-hint,html[data-theme="dark"] .import-intro,html[data-theme="dark"] .import-local-note,html[data-theme="dark"] .import-final-note,html[data-theme="dark"] .import-summary>div,html[data-theme="dark"] .import-card,html[data-theme="dark"] .import-card-head,html[data-theme="dark"] .editorial-story,html[data-theme="dark"] .editorial-sources,html[data-theme="dark"] .import-modal-inner>.modal-actions,html[data-theme="dark"] .news-modal-inner .news-footer{background:#24212e;border-color:#4b4059;color:#dcd2e9}html[data-theme="dark"] .import-summary strong,html[data-theme="dark"] .editorial-story strong{color:#f4ecf9}html[data-theme="dark"] .import-tag,html[data-theme="dark"] .news-status{background:#363041;color:#d9cce7}html[data-theme="dark"] .import-warning,html[data-theme="dark"] .import-match-note{background:#3e3328;color:#ead1a6}html[data-theme="dark"] .confirm-row,html[data-theme="dark"] .bulk-delete-warning{background:#3d2931;border-color:#714650;color:#f2c2ca}html[data-theme="dark"] .bulk-delete-warning strong{color:#ffb7bc}html[data-theme="dark"] .bulk-delete-groups span{background:#4d3039;border-color:#86515e}html[data-theme="dark"] .bulk-bar{background:#2d243b;border-color:#594571;box-shadow:0 9px 24px #0005}html[data-theme="dark"] .bulk-bar-count strong{color:#e7d5ff}html[data-theme="dark"] .bulk-bar-count small{color:#b8a7cc}html[data-theme="dark"] .bulk-close{background:#40314e;border-color:#694d81;color:#e5d3f7}html[data-theme="dark"] .task-card:has(.task-select input:checked),html[data-theme="dark"] .kanban-card.is-selected{border-color:#b49bdf!important;box-shadow:0 0 0 2px #b69be64d}
html[data-theme="dark"] .news-publish-hint code{background:#3e3050;color:#f1deff}html[data-theme="dark"] .news-state-pill{color:#e8cba6}html[data-theme="dark"] .news-state-pill.is-published{color:#a8e5c0}
/* v2.5 polimento de contraste e largura em dispositivos compactos */
html[data-theme="dark"] .primary-button{background:#7453b2;border-color:#7453b2;color:#fff}
html[data-theme="dark"] .primary-button:hover{background:#8663c6;border-color:#8663c6}
html[data-theme="dark"] .week-control-actions #generate-news-btn{background:#382d4c;border-color:#665080;color:#e2ccff}
html[data-theme="dark"] .news-state-pill{background:#3b3226}
@media(max-width:365px){
 .utility-row{gap:2px}
 .utility-actions{gap:4px;min-width:0}
 .utility-actions .sync-status{display:none!important}
 .utility-actions .save-button{font-size:9px;padding:6px 6px;min-width:0;max-width:87px;white-space:normal;line-height:1.25}
 .utility-actions .save-arrow{display:none}
 .utility-actions .icon-button{width:31px;min-width:31px;padding:0}
 .theme-switch{min-width:31px;width:31px;padding:0}
 .mobile-menu{padding:7px 3px;min-width:0;font-size:10px}
}

/* v2.6 — revisão editorial por novidade */
.news-feature-editor-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:22px 0 11px;padding:15px 0 0;border-top:1px solid var(--border,#e5e3e7)}
.news-feature-editor-head strong{display:block;font-size:14px;letter-spacing:-.01em}
.news-feature-editor-head small{display:block;margin-top:3px;font-size:12px;color:var(--muted,#777)}
.news-feature-count{font-size:10px;font-weight:800;letter-spacing:.06em;white-space:nowrap;color:var(--accent,#7354a9)}
.news-feature-editor{display:grid;gap:8px}
.news-feature-row{border:1px solid var(--border,#e6e1e8);border-radius:11px;background:var(--surface,#fff);padding:10px 12px;min-width:0}
.news-feature-row.is-visual{opacity:.83}
.news-feature-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}
.news-feature-check{display:flex!important;align-items:flex-start;gap:9px;min-width:0;cursor:pointer;font-size:13px;font-weight:700;line-height:1.4}
.news-feature-check input{accent-color:#8660be;flex:0 0 auto;margin:3px 0 0}
.news-feature-name{overflow-wrap:anywhere}
.news-feature-label{flex:0 0 auto;font-size:9px;letter-spacing:.04em;font-weight:800;color:var(--muted,#777);padding-top:2px}
.feature-edit-details{margin:7px 0 0 25px}
.feature-edit-details summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;color:var(--accent,#7354a9)}
.feature-edit-details summary::-webkit-details-marker{display:none}
.feature-edit-details[open] summary{margin-bottom:12px}
.news-feature-fields{display:grid;gap:10px}
.news-feature-fields textarea{min-height:65px;resize:vertical}
.news-visual-omissions{margin-top:14px;border:1px dashed var(--border,#d4ceda);border-radius:10px;padding:13px}
.news-visual-omissions>summary{font-size:12px;font-weight:800;cursor:pointer}
.news-visual-omissions>summary span{float:right;color:var(--accent,#7354a9);font-size:11px;font-weight:600}
.news-visual-omissions>p{font-size:12px;color:var(--muted,#777);margin:10px 0}
.news-editor-note{line-height:1.75}
[data-theme="dark"] .news-feature-row{background:#191421;border-color:#42374f}
[data-theme="dark"] .news-visual-omissions{border-color:#52445e}
@media(max-width:600px){.news-feature-editor-head{align-items:flex-start;flex-direction:column;gap:4px}.news-feature-label{font-size:8px}.feature-edit-details{margin-left:0}.news-visual-omissions>summary span{float:none;display:block;margin-top:4px}}

/* v3 — Plataforma para gestão de Sprints */
.brand-accent{color:#9f7acd}.project-switcher{position:relative;margin:9px 10px 4px}.project-switcher select{width:100%;appearance:none;background:var(--card,#fff);border:1px solid var(--line,#e6e2ea);padding:14px 33px 14px 13px;border-radius:12px;color:var(--text,#29222f);font-weight:800;letter-spacing:-.02em;font:inherit;outline:none}.project-mark{position:absolute;right:13px;top:14px;pointer-events:none;color:#9477af}.project-actions{display:flex;justify-content:space-between;gap:7px;margin:5px 10px 19px}.project-actions button{border:0;background:transparent;color:var(--text-muted,#777080);cursor:pointer;padding:8px 3px;font-size:11px;font-weight:750}.project-actions button:hover{color:#a47bd3}.side-category span{font-size:10px;letter-spacing:0;text-transform:none;font-weight:600;margin-left:4px;opacity:.65}.hero{position:relative;overflow:hidden;background:radial-gradient(ellipse at 98% 0%,rgba(147,93,215,.14),transparent 44%),linear-gradient(135deg,rgba(160,117,224,.045),transparent 65%)}.hero:after{content:"";position:absolute;right:-72px;bottom:-158px;width:330px;height:330px;border:1px solid rgba(144,93,211,.2);border-radius:50%;pointer-events:none;box-shadow:0 0 0 45px rgba(144,93,211,.035),0 0 0 95px rgba(144,93,211,.025)}.hero h1{font-size:clamp(42px,5.4vw,83px);max-width:1000px;letter-spacing:-.066em}.hero-title-row>div{position:relative;z-index:1}.hero-value{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}.hero-value span{font-size:10px;letter-spacing:.12em;font-weight:800;padding:9px 12px;border:1px solid rgba(151,108,198,.24);border-radius:50px;color:var(--text-muted,#756a82);background:rgba(147,93,215,.055)}.sprint-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:9px 0}.sprint-group-option{display:flex;align-items:center;gap:8px;border:1px solid var(--line,#e1dae7);border-radius:10px;padding:11px 13px;cursor:pointer;font-weight:700;font-size:13px}.sprint-group-option input{accent-color:#9467bd}.news-media-editor{border:1px solid rgba(147,100,188,.32);border-radius:16px;background:rgba(155,116,203,.06);padding:19px;margin:25px 0 20px}.news-media-editor h3{font-size:17px;margin:0 0 7px}.news-media-editor>p{font-size:12px;line-height:1.65;margin:0 0 13px;color:var(--text-muted,#827890)}.news-media-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:end}.news-media-actions button{white-space:nowrap}.news-media-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:10px;margin-top:14px}.news-media-card{min-width:0;border:1px solid var(--line,#e1dae7);background:var(--card,#fff);border-radius:10px;padding:8px;display:flex;gap:9px;align-items:center}.news-media-card span{font-size:11px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.news-media-card button{background:transparent;border:0;color:#ca4b67;font-size:20px;cursor:pointer}.news-media-note{display:flex;align-items:center;gap:8px;color:#b75e65;font-size:12px;font-weight:750;margin-top:11px}.news-media-note.is-valid{color:#4e9a72}.news-media-youtube{display:flex;gap:8px;flex:1;min-width:240px}.news-media-youtube input{width:100%;min-width:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
:root[data-theme="dark"] .project-switcher select{background:#24202d;color:#f3eefa;border-color:#393044}:root[data-theme="dark"] .sprint-group-option{border-color:#44394f}:root[data-theme="dark"] .news-media-card{background:#22202c;border-color:#42394f}
@media(max-width:600px){.hero h1{font-size:clamp(39px,11vw,60px)}.hero-value{gap:5px}.hero-value span{font-size:8px;padding:7px 9px}.sprint-groups{grid-template-columns:1fr}.news-media-editor{padding:13px}.news-media-youtube{min-width:100%;flex-wrap:wrap}.news-media-youtube button{width:100%}}


/* OTG Suite visual overrides */
body{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Arial,sans-serif;background:var(--paper);color:var(--ink);background-image:radial-gradient(rgba(15,27,45,.035) 1px,transparent 1px);background-size:22px 22px}
.sidebar{background:linear-gradient(180deg,#ffffff 0%,#FBFBF8 100%);border-right:1px solid rgba(15,27,45,.08);box-shadow:inset -1px 0 0 rgba(15,27,45,.02)}
.brand{padding-bottom:30px}
.logo-symbol{width:46px;height:46px;border-radius:14px;background:linear-gradient(180deg,#12254c,#0B1A3A);border:1px solid rgba(212,175,55,.35);padding:0;box-shadow:0 14px 30px rgba(11,26,58,.18)}
.logo-svg{width:100%;height:100%;display:block}
.brand strong{font-size:11px;letter-spacing:.16em;color:var(--navy);font-weight:800}
.brand span{font-size:9px;color:var(--quiet);letter-spacing:.12em;font-weight:700}
.brand-accent{display:inline!important;color:#D4AF37!important;margin-left:1px}
.side-category{color:var(--navy-soft)}
.project-switcher select,.icon-button,.secondary-button,.subtle-button,.multi-filter-value,.search-wrap input,.filters select,.field input,.field select,.field textarea,.theme-switch{border-color:rgba(15,27,45,.10)!important;background:#fff!important}
.project-switcher select,.search-wrap input,.filters select{color:var(--text)!important}
.side-week,.side-nav{color:#51607A;border:1px solid transparent}
.side-week:hover,.side-nav:hover,.side-create:hover{background:#EEF3FA}
.side-week.active,.side-nav.active{background:#E6F1FB;color:var(--navy);border-color:rgba(55,138,221,.18)}
.active .week-square{color:var(--blue);border-color:rgba(55,138,221,.22)}
.week-square,.group-number,.area-list-icon{background:#fff;border-color:rgba(15,27,45,.09);color:var(--navy)}
.side-create,.project-actions button,.group-tool{color:var(--navy-2)}
.project-actions button,.group-tool,.side-create{border:1px solid rgba(15,27,45,.1);background:#fff;border-radius:10px}
.project-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 10px}
.project-actions button{padding:10px 12px;font-size:11px;font-weight:700}
.sidebar-footer{color:var(--quiet);border-top-color:rgba(15,27,45,.08)}
.footer-ping{background:#1D9E75;box-shadow:0 0 0 4px rgba(29,158,117,.12)}
.main{padding-top:24px}
.breadcrumb{font-family:'JetBrains Mono',monospace;color:var(--quiet)}
.breadcrumb span:last-child{color:var(--navy)}
.utility-row{margin-bottom:36px}
.icon-button,.theme-switch{box-shadow:0 10px 25px rgba(15,27,45,.05)}
.icon-button i,.save-arrow i,.theme-switch i{font-size:16px;line-height:1}
.primary-button{background:var(--navy);border-color:var(--navy);border-radius:12px;box-shadow:0 12px 28px rgba(11,26,58,.18)}
.primary-button:hover{background:var(--navy-2);border-color:var(--navy-2)}
.secondary-button,.subtle-button,.icon-button,.theme-switch,.project-actions button,.group-tool,.action{border-radius:10px}
.suite-hero{background:linear-gradient(135deg,#0B1A3A 0%,#243A66 55%,#0E2347 100%);border:1px solid rgba(212,175,55,.18);border-radius:28px;padding:34px 34px 28px;box-shadow:0 22px 60px rgba(11,26,58,.18);position:relative;overflow:hidden;margin-bottom:26px}
.suite-hero:before{content:'';position:absolute;inset:0;background:radial-gradient(800px 300px at 88% -10%,rgba(212,175,55,.20),transparent 45%),radial-gradient(550px 260px at 12% 110%,rgba(107,63,160,.22),transparent 48%);pointer-events:none}
.suite-hero > *{position:relative;z-index:1}
.suite-hero .hero-meta{color:#B9C5D8;margin-bottom:16px}
.suite-hero .eyebrow{color:#D4AF37}
.suite-hero .hero-divider{color:rgba(255,255,255,.18)}
.suite-hero h1{color:#fff;margin-bottom:16px}
.suite-hero h1 em{color:#D4AF37;font-family:Georgia,'Times New Roman',serif}
.suite-hero p{color:#D9E0EB;max-width:760px}
.hero-value{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.hero-value span,.hero-badge{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(255,255,255,.06);color:#F5F7FA;font-size:10px;font-weight:800;letter-spacing:.1em}
.hero-badge-stack{display:flex;flex-direction:column;gap:10px;align-items:flex-end}
.hero-badge.analytics{background:rgba(107,63,160,.22);border-color:rgba(166,125,212,.35)}
.hero-badge i{font-size:15px}
.week-control,.filter-panel,.metric,.task-card,.kanban-column,.app-modal,.preview-modal,.empty-area,.area-list-row{background:#fff;border-color:rgba(15,27,45,.08);box-shadow:0 16px 35px rgba(15,27,45,.04)}
.week-control{border-radius:18px;padding:18px 20px}
.metrics .metric.primary{background:linear-gradient(135deg,#F8FBFF,#ffffff 52%,#F9F7FD);border-color:rgba(55,138,221,.14)}
.metric-label,.section-hint,.filter-count,.task-description,.task-meta,.group-head p,.week-control-eyebrow,.news-state-pill,.sync-status{color:var(--quiet)}
.metric.primary .metric-value,.group-head h3,.workspace-top h2,.modal-title{color:var(--navy)}
.eyebrow,.text-button,.subtle-button:hover,.filter-pills button,.filter-clear-all{color:var(--blue)}
.filter-pills button{background:#EEF5FD;border-color:rgba(55,138,221,.14)}
.chip.active,.multi-filter[open] .multi-filter-value,.multi-filter.has-selection .multi-filter-value,.view-control .selection-toggle.active{background:#E6F1FB;color:var(--navy);border-color:rgba(55,138,221,.18)}
.bulk-bar{background:#EEF5FD;border-color:rgba(55,138,221,.18)}
.bulk-bar-count strong{color:var(--navy)}
.danger-button{background:#E24B4A!important;border-color:#E24B4A!important}
.page-footer{color:var(--quiet);border-top-color:rgba(15,27,45,.08)}

html[data-theme='dark']{color-scheme:dark;--paper:#0B1320;--aside:#131F30;--surface:#131F30;--surface-2:#0F1A29;--white:#131F30;--ink:#EAEEF4;--text:#A9B4C4;--quiet:#6C7B90;--line:rgba(255,255,255,.10);--purple:#A67DD4;--purple-dark:#D9C4F2;--light-purple:#2D1850;--green:#5DCAA5;--light-green:#10372E;--amber:#E8C766;--light-amber:#3A2A08;--red:#F7C1C1;--light-red:#501313;--navy:#0B1A3A;--navy-2:#A9B4C4;--navy-soft:#6C7B90;--blue:#85B7EB;--blue-light:#103654;--shadow:0 18px 55px rgba(0,0,0,.32)}
html[data-theme='dark'] body{background:var(--paper);background-image:radial-gradient(rgba(255,255,255,.035) 1px,transparent 1px)}
html[data-theme='dark'] .sidebar{background:linear-gradient(180deg,#131F30 0%,#0F1A29 100%);border-right-color:rgba(255,255,255,.08)}
html[data-theme='dark'] .brand strong,html[data-theme='dark'] .breadcrumb span:last-child,html[data-theme='dark'] .metric.primary .metric-value,html[data-theme='dark'] .group-head h3,html[data-theme='dark'] .workspace-top h2,html[data-theme='dark'] .modal-title,html[data-theme='dark'] .bulk-bar-count strong{color:#EAEEF4}
html[data-theme='dark'] .project-switcher select,html[data-theme='dark'] .icon-button,html[data-theme='dark'] .secondary-button,html[data-theme='dark'] .subtle-button,html[data-theme='dark'] .multi-filter-value,html[data-theme='dark'] .search-wrap input,html[data-theme='dark'] .filters select,html[data-theme='dark'] .field input,html[data-theme='dark'] .field select,html[data-theme='dark'] .field textarea,html[data-theme='dark'] .theme-switch,html[data-theme='dark'] .project-actions button,html[data-theme='dark'] .group-tool,html[data-theme='dark'] .action{background:#131F30!important;border-color:rgba(255,255,255,.10)!important;color:#EAEEF4}
html[data-theme='dark'] .side-week,html[data-theme='dark'] .side-nav{color:#A9B4C4}
html[data-theme='dark'] .side-week:hover,html[data-theme='dark'] .side-nav:hover,html[data-theme='dark'] .side-create:hover{background:#172739}
html[data-theme='dark'] .side-week.active,html[data-theme='dark'] .side-nav.active{background:#103654;color:#EAEEF4;border-color:rgba(133,183,235,.20)}
html[data-theme='dark'] .week-square,html[data-theme='dark'] .group-number,html[data-theme='dark'] .area-list-icon,html[data-theme='dark'] .metric,html[data-theme='dark'] .week-control,html[data-theme='dark'] .filter-panel,html[data-theme='dark'] .task-card,html[data-theme='dark'] .kanban-column,html[data-theme='dark'] .app-modal,html[data-theme='dark'] .preview-modal,html[data-theme='dark'] .empty-area,html[data-theme='dark'] .area-list-row{background:#131F30;border-color:rgba(255,255,255,.10);color:#EAEEF4}
html[data-theme='dark'] .suite-hero{background:linear-gradient(135deg,#0A1427 0%,#10203B 55%,#0D1830 100%);border-color:rgba(212,175,55,.14)}
html[data-theme='dark'] .suite-hero p,html[data-theme='dark'] .suite-hero .hero-meta{color:#C8D0DD}
html[data-theme='dark'] .hero-badge,html[data-theme='dark'] .hero-value span{background:rgba(255,255,255,.06)}
html[data-theme='dark'] .chip.active,html[data-theme='dark'] .multi-filter[open] .multi-filter-value,html[data-theme='dark'] .multi-filter.has-selection .multi-filter-value,html[data-theme='dark'] .view-control .selection-toggle.active,html[data-theme='dark'] .bulk-bar{background:#103654;border-color:rgba(133,183,235,.20)}
@media(max-width:1000px){.hero-badge-stack{align-items:flex-start}.suite-hero{padding:26px 22px 24px}}
@media(max-width:720px){.brand{padding-bottom:22px}.logo-symbol{width:42px;height:42px}.suite-hero{border-radius:22px}.hero-badge-stack{width:100%;margin-top:8px}.hero-value span,.hero-badge{font-size:9px;padding:8px 11px}.mobile-menu i{font-size:16px}.project-actions{grid-template-columns:1fr}.week-control{padding:16px}}

/* v3.1.1 — Resolução segura de conflito de revisões */
.conflict-rescue{display:grid;gap:16px}.conflict-rescue-summary{background:var(--light-purple);border:1px solid var(--line);padding:16px;border-radius:12px;color:var(--ink)}.conflict-rescue-summary strong,.conflict-rescue-success strong{font-size:13px}.conflict-rescue-summary p,.conflict-rescue-success p{font-size:12px;line-height:1.6;margin:8px 0 0}.conflict-rescue-summary code{font:10px 'JetBrains Mono',monospace;overflow-wrap:anywhere;color:var(--purple-dark)}.conflict-rescue-actions{display:flex;flex-wrap:wrap;gap:8px}.conflict-rescue-actions button{min-height:40px}.conflict-rescue-success{background:var(--light-green);color:var(--green);border:1px solid var(--line);border-radius:12px;padding:15px}.conflict-rescue-note{font-size:11px;color:var(--quiet);line-height:1.65;margin:0}.danger-note ul{padding-left:18px;font-size:11px;line-height:1.6}.conflict-rescue .subtle-button{color:var(--red)}@media(max-width:720px){.conflict-rescue-actions button{width:100%}}



/* ================================================================
   OTG SUITE / CARD CONTROLS — FIX DE ACABAMENTO VISUAL v2
   Elementos visuais somente: marcador de status e expandir/recolher.
   O texto unicode original permanece no DOM mas fica invisível;
   formas vetoriais são desenhadas pelas pseudo-classes CSS.
   ================================================================ */
.task-card .task-head { align-items: center; }
.task-card .task-bullet {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  margin: 0 2px 0 0;
  padding: 0;
  border: none;
  border-radius: 50%;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
/* Marcador elegante: aro externo leve e centro sem caracteres. */
.task-card .task-bullet::before {
  content: '';
  position: absolute;
  inset: 3px;
  display: block;
  border-radius: 50%;
  background: transparent;
  border: 1.75px solid #97A4B6;
  box-sizing: border-box;
}
.task-card .task-bullet::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #97A4B6;
  opacity: .24;
}
.task-card[data-status='backlog'] .task-bullet::before {
  border-style: dashed;
  border-color: #8B98AB;
}
.task-card[data-status='doing'] .task-bullet::before {
  border-color: #378ADD;
}
.task-card[data-status='doing'] .task-bullet::after {
  background: #378ADD;
  opacity: 1;
}
.task-card[data-status='done'] .task-bullet::before {
  border-color: #1D9E75;
  background: #1D9E75;
}
.task-card[data-status='done'] .task-bullet::after {
  width: 8px;
  height: 5px;
  margin-top: -2px;
  background: transparent;
  opacity: 1;
  border-radius: 0;
  border-bottom: 1.8px solid #FFF;
  border-left: 1.8px solid #FFF;
  transform: rotate(-45deg);
}
.task-card[data-status='correction'] .task-bullet::before {
  border-color: #E24B4A;
  background: #E24B4A;
}
.task-card[data-status='correction'] .task-bullet::after {
  content: '!';
  display: grid;
  place-items: center;
  width: 9px;
  height: 12px;
  background: transparent;
  opacity: 1;
  font: 800 10px/1 Inter, sans-serif;
  color: white;
}
.task-card[data-status='hold'] .task-bullet::before {
  border-color: #C78A29;
}
.task-card[data-status='hold'] .task-bullet::after {
  width: 7px;
  height: 2px;
  border-radius: 2px;
  background: #C78A29;
  opacity: 1;
}
/* Contagem em espaço próprio, não grudada na seta. */
.task-card .task-head-right {
  align-items: center;
  gap: 12px;
  padding-left: 12px;
}
.task-card .task-counter {
  color: #76869B;
  font: 700 11px/1 'JetBrains Mono', monospace;
  letter-spacing: -.04em;
  white-space: nowrap;
  background: transparent;
}
/* Sem quadradinho roxo: chevron fino com área clicável circular. */
.task-card .task-expand {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent !important;
  color: #7990A9 !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}
.task-card .task-expand .chevron {
  display: block;
  position: relative;
  width: 12px;
  height: 12px;
  padding: 0;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  transform: none !important;
}
.task-card .task-expand .chevron::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 2px;
  width: 8px;
  height: 8px;
  border-right: 1.8px solid #7990A9;
  border-bottom: 1.8px solid #7990A9;
  border-radius: 1px;
  transform: rotate(45deg);
  transition: transform .2s ease, top .2s ease, border-color .2s ease;
}
.task-card.expanded .task-expand .chevron::before {
  top: 6px;
  transform: rotate(225deg);
}
.task-card .task-expand:hover,
.task-card .task-expand:focus-visible {
  border-color: #D7E6F7;
  background: #E6F1FB !important;
  color: #0C447C !important;
}
.task-card .task-expand:hover .chevron::before,
.task-card .task-expand:focus-visible .chevron::before {
  border-color: #0C447C;
}
.task-card .task-expand:focus-visible {
  outline: 2px solid #378ADD;
  outline-offset: 2px;
}
/* Tema escuro OTG Suite. */
html[data-theme='dark'] .task-card .task-bullet::before { border-color: #91A6BD; }
html[data-theme='dark'] .task-card .task-bullet::after { background: #91A6BD; }
html[data-theme='dark'] .task-card[data-status='doing'] .task-bullet::before { border-color: #85B7EB; }
html[data-theme='dark'] .task-card[data-status='doing'] .task-bullet::after { background: #85B7EB; opacity: 1; }
html[data-theme='dark'] .task-card[data-status='done'] .task-bullet::before { background: #1D9E75; border-color: #1D9E75; }
html[data-theme='dark'] .task-card[data-status='done'] .task-bullet::after { background: transparent; border-color: #FFF; }
html[data-theme='dark'] .task-card[data-status='correction'] .task-bullet::before { background: #E24B4A; border-color: #E24B4A; }
html[data-theme='dark'] .task-card[data-status='correction'] .task-bullet::after { background: transparent; color: #FFF; }
html[data-theme='dark'] .task-card[data-status='hold'] .task-bullet::before { border-color: #FAC775; }
html[data-theme='dark'] .task-card[data-status='hold'] .task-bullet::after { background: #FAC775; }
html[data-theme='dark'] .task-card .task-counter { color: #A8BACD; }
html[data-theme='dark'] .task-card .task-expand { background: transparent !important; border-color: transparent; }
html[data-theme='dark'] .task-card .task-expand .chevron::before { border-color: #B6C6D7; }
html[data-theme='dark'] .task-card .task-expand:hover,
html[data-theme='dark'] .task-card .task-expand:focus-visible { background: #193651 !important; border-color: #2C567B; }
html[data-theme='dark'] .task-card .task-expand:hover .chevron::before,
html[data-theme='dark'] .task-card .task-expand:focus-visible .chevron::before { border-color: #B5D4F4; }
@media(max-width:720px) {
  .task-card .task-bullet { flex-basis: 20px; width: 20px; min-width: 20px; height: 20px; min-height: 20px; }
  .task-card .task-head-right { gap: 5px; padding-left: 4px; }
  .task-card .task-expand { flex-basis: 30px; width: 30px; height: 30px; }
  .task-card .task-counter { font-size: 10px; }
}

/* v3.1.4 — Hero compacto e seletor colaborativo de responsáveis */
.suite-hero{padding:22px 27px 18px!important;margin-bottom:18px!important;border-radius:20px!important}
.suite-hero .hero-meta{margin-bottom:8px!important;font-size:9px!important}
.suite-hero h1{font-size:clamp(29px,3.0vw,46px)!important;line-height:1.08!important;margin:0 0 9px!important}
.suite-hero p{font-size:12px!important;line-height:1.5!important;max-width:750px!important}
.suite-hero .hero-value{margin-top:12px!important;gap:6px!important}
.suite-hero .hero-value span{padding:6px 10px!important;font-size:9px!important}
.suite-hero .hero-badge-stack{gap:7px!important}
.suite-hero .hero-badge{padding:7px 10px!important;font-size:9px!important}
.member-field{display:flex;align-items:center;gap:8px;min-width:0}
.member-field select{min-width:0;flex:1;max-width:100%;height:42px}
.member-add-button{background:var(--navy,#0B1A3A);border:1px solid rgba(212,175,55,.24);color:#fff;border-radius:9px;padding:10px 13px;font-size:11px;font-weight:700;flex:none;white-space:nowrap}
.member-add-button:hover{background:#243A66}
.member-create-row{display:flex;align-items:center;gap:8px;margin-top:7px}.member-create-row[hidden]{display:none!important}.member-create-row input{min-width:0;flex:1}
.member-manager-list{display:grid;gap:7px;max-height:230px;overflow:auto;margin:0 0 17px}.member-manager-list>div{display:flex;gap:10px;align-items:center;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--surface);font-size:11px;color:var(--text)}.member-manager-list i{color:var(--purple)}
html[data-theme="dark"] .member-manager-list>div{background:#131F30;color:#EAEEF4}
@media(max-width:720px){.suite-hero{padding:18px 17px 16px!important;border-radius:16px!important}.suite-hero h1{font-size:clamp(27px,7.8vw,39px)!important}.suite-hero .hero-badge-stack{display:none}.suite-hero .hero-value span{font-size:8px!important;padding:5px 7px!important}.member-field{flex-wrap:wrap}.member-field select{flex-basis:100%}.member-add-button{width:100%}}

/* Compactação final do cabeçalho: menos altura sem sacrificar hierarquia */
.suite-hero .hero-title-row{align-items:center!important}
.suite-hero .hero-badge-stack{max-width:180px!important}
.suite-hero .hero-badge{max-width:100%;text-align:center;letter-spacing:.04em!important}
@media(min-width:721px){.suite-hero{padding:18px 24px 16px!important}.suite-hero .hero-title-row{min-height:0!important}.suite-hero .hero-value{margin-top:10px!important}}

.import-member-field .member-add-button{width:37px;min-width:37px;padding:0;height:41px;font-size:22px;line-height:1}.import-member-field select{flex:1}.import-member-field{flex-wrap:nowrap!important}@media(max-width:720px){.import-member-field .member-add-button{width:37px;min-width:37px;flex:0 0 37px}.import-member-field select{flex:1 1 auto;min-width:0}}


/* v3.1.5 — brand and hero refinement */
.suite-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#081a3c 0%,#0b244d 45%,#102b58 100%)!important;border:1px solid rgba(212,175,55,.14)!important;padding:20px 24px 18px!important;border-radius:24px!important;box-shadow:0 22px 48px rgba(5,18,44,.18)!important}.suite-hero:before{content:"";position:absolute;right:-120px;bottom:-120px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(212,175,55,.12),transparent 62%);pointer-events:none}.suite-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.02),transparent 25%,transparent 70%,rgba(255,255,255,.03));pointer-events:none}.suite-hero .hero-meta{position:relative;z-index:1;margin-bottom:12px;color:#b8c6d9!important}.suite-hero .hero-divider{color:rgba(255,255,255,.25)!important}.suite-hero .hero-copy{position:relative;z-index:1;min-width:0}.hero-wordmark{display:block;width:min(100%,640px);height:auto;margin:0 0 10px;filter:drop-shadow(0 12px 22px rgba(5,18,44,.22))}.suite-hero p{color:#d2dae7!important;max-width:800px!important;font-size:13px!important;line-height:1.7!important}.suite-hero .hero-value{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px!important}.suite-hero .hero-value span{background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.14)!important;color:#f7f9fc!important;padding:7px 11px!important;border-radius:999px!important;font-size:9px!important;letter-spacing:.08em!important}.hero-side-note{position:relative;z-index:1;align-self:flex-end;max-width:260px;padding:16px 16px 15px;border-radius:18px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}.hero-side-note strong{display:block;color:#fff;font-size:14px;letter-spacing:-.02em;margin-bottom:6px}.hero-side-note span{display:block;color:#c7d1df;font-size:11px;line-height:1.65}.page-footer{border-top:1px solid #ece8f1;padding-top:18px;margin-top:28px}.page-footer span:first-child{color:#5d5569;font-weight:800;letter-spacing:.08em}.sidebar-footer span:last-child{color:#918a99}.sidebar-footer .footer-ping{box-shadow:0 0 0 6px rgba(75,154,118,.10)}@media (max-width:980px){.hero-side-note{display:none}.hero-wordmark{width:min(100%,560px)}}@media (max-width:720px){.brand-wordmark{width:min(100%,178px)}.suite-hero{padding:18px 16px 16px!important;border-radius:18px!important}.suite-hero .hero-meta{margin-bottom:10px!important}.hero-wordmark{margin-bottom:9px;width:100%}.suite-hero p{font-size:12px!important;line-height:1.6!important}.suite-hero .hero-value{margin-top:12px!important}.suite-hero .hero-value span{font-size:8px!important;padding:6px 8px!important}}

.hero-hidden-title{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}


/* v3.1.5: garantir contraste e leitura da assinatura na barra lateral clara e escura. */
.sidebar .brand-image{background:linear-gradient(145deg,#0B1A3A,#17315D);border:1px solid rgba(212,175,55,.22);border-radius:17px;padding:15px 11px;margin:0 0 24px;box-shadow:0 10px 28px rgba(11,26,58,.14)}
.sidebar .brand-wordmark{width:100%;max-width:218px;margin:0 auto;filter:none}
@media(max-width:1000px){.sidebar .brand-image{padding:12px 8px}}
@media(max-width:720px){.sidebar .brand-image{padding:14px 10px}.sidebar .brand-wordmark{max-width:214px}}

/* Revisões de correção: exclusão individual sem quebrar o histórico. */
.correction-entry-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.correction-delete{appearance:none;cursor:pointer;border:1px solid #e7bcc2;border-radius:8px;background:transparent;color:#b43a48;font:700 11px/1.3 Inter,system-ui,sans-serif;padding:6px 9px;white-space:nowrap}
.correction-delete:hover,.correction-delete:focus-visible{background:#fff0f0;border-color:#c7505d;outline-offset:2px}
html[data-theme="dark"] .correction-delete{border-color:#87515a;color:#ffd2d8}
html[data-theme="dark"] .correction-delete:hover,html[data-theme="dark"] .correction-delete:focus-visible{background:#5a313a}
@media(max-width:600px){.correction-entry-head{align-items:flex-start}.correction-delete{margin-left:auto}}

/* Sprint: exclusão condicionada à ausência de demandas. */
.week-delete-section{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #e2e8f0;margin-top:18px;padding-top:20px}
.week-delete-section>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.week-delete-section strong{font:700 13px/1.35 Inter,system-ui,sans-serif}
.week-delete-section small{max-width:460px;font:400 12px/1.6 Inter,system-ui,sans-serif;color:#75849a}
.week-delete-section .danger-button{flex-shrink:0}
.week-delete-section .danger-button:disabled{opacity:.42;cursor:not-allowed}
html[data-theme="dark"] .week-delete-section{border-color:#383343}
html[data-theme="dark"] .week-delete-section small{color:#aaa2b3}
@media(max-width:580px){.week-delete-section{align-items:stretch;flex-direction:column}.week-delete-section button{width:100%}}
