:root {
    --bg: #06162c;
    --bg-deep: #041023;
    --surface: #0b203c;
    --surface-2: #102b4e;
    --border: #234466;
    --text: #f4f8fc;
    --muted: #a8b8ca;
    --blue: #168de2;
    --blue-light: #42c8f5;
    --blue-dark: #0b66b2;
    --danger: #ef5b67;
    --warning: #f5bf4f;
    --success: #36c88a;
    --shadow: 0 18px 60px rgba(0, 0, 0, .25);
    --radius: 16px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--text); }
body { font-size: 15px; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
#main{animation:view-enter .16s ease-out both}
@keyframes view-enter{from{opacity:.72;transform:translateY(4px)}to{opacity:1;transform:none}}
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--blue); padding: .7rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 225px 1fr; transition:grid-template-columns .22s ease; }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 24px 18px; overflow:hidden; background: var(--bg-deep); border-right: 1px solid var(--border); transition:padding .22s ease; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; letter-spacing: .08em; }
.brand span:last-child { display: flex; flex-direction: column; }
.brand small { color: var(--muted); font-size: 9px; letter-spacing: .11em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid var(--text); border-radius: 50%; color: var(--blue-light); font-weight: 900; }
.nav-list { display: flex; flex-direction: column; gap: 6px; margin-top: 38px; }
.nav-list a { display:flex;align-items:center;gap:12px;min-height:44px;padding: 11px 13px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 650;white-space:nowrap; }
.nav-list a svg{width:20px;height:20px;flex:0 0 20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav-label { margin: 22px 13px 7px; color: #6f88a4; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.workspace { min-width: 0; }
.topbar { height: 72px; position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 28px; background: rgba(6, 22, 44, .92); border-bottom: 1px solid var(--border); backdrop-filter: blur(12px); }
.timer-status, .user-menu { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.topbar .user-menu { margin-left:auto; }
.sidebar-toggle,.menu-toggle{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;padding:0;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--muted);cursor:pointer}.sidebar-toggle:hover,.menu-toggle:hover{border-color:var(--border);background:var(--surface-2);color:var(--text)}.sidebar-toggle svg,.menu-toggle svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}.sidebar-collapsed .app-shell{grid-template-columns:78px 1fr}.sidebar-collapsed .sidebar{padding-inline:11px}.sidebar-collapsed .brand{justify-content:center}.sidebar-collapsed .brand>span:last-child,.sidebar-collapsed .nav-list a>span,.sidebar-collapsed .nav-label{display:none}.sidebar-collapsed .nav-list{align-items:center}.sidebar-collapsed .nav-list a{justify-content:center;width:46px;padding-inline:0}.sidebar-collapsed .sidebar-toggle{color:var(--blue-light);background:rgba(66,200,245,.08)}
.history-navigation{display:flex;align-items:center;gap:6px}.history-navigation button{display:grid;place-items:center;width:38px;height:38px;padding:0;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--muted);cursor:pointer;transition:color .14s ease,border-color .14s ease,background .14s ease}.history-navigation button:hover{border-color:var(--border);background:var(--surface-2);color:var(--text)}.history-navigation button:active{transform:translateY(1px)}.history-navigation svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.profile-menu{position:relative}.profile-menu>summary{display:grid;place-items:center;width:42px;height:42px;padding:3px;border:2px solid var(--blue-light);border-radius:50%;background:var(--surface-2);color:var(--text);font-weight:850;list-style:none;cursor:pointer;overflow:hidden}.profile-menu>summary::-webkit-details-marker{display:none}.profile-menu>summary img{width:100%;height:100%;border-radius:50%;object-fit:cover}.profile-menu>summary span{display:grid;place-items:center;width:100%;height:100%;border-radius:50%;background:linear-gradient(135deg,var(--blue),#6f4de7)}.profile-popover{position:absolute;z-index:80;right:0;top:52px;width:290px;padding:12px;border:1px solid var(--border);border-radius:14px;background:var(--surface);box-shadow:0 20px 55px rgba(0,0,0,.48)}.profile-identity{display:flex;align-items:center;gap:11px;padding:7px 7px 13px;border-bottom:1px solid var(--border)}.profile-identity>img,.profile-identity>span{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:50%;object-fit:cover;background:linear-gradient(135deg,var(--blue),#6f4de7);font-weight:850}.profile-identity>div{display:flex;min-width:0;flex-direction:column}.profile-identity small{overflow:hidden;color:var(--muted);text-overflow:ellipsis;white-space:nowrap}.profile-action{display:flex;width:100%;padding:10px 9px;border:0;border-radius:8px;background:transparent;color:var(--text);font:inherit;font-weight:650;text-align:left;cursor:pointer}.profile-action:hover{background:var(--surface-2)}.profile-popover form{margin:0}.profile-signout{color:#ff929a}
.user-dashboard-filter{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.user-dashboard-filter label{min-width:175px}.user-dashboard-filter [hidden]{display:none}.metric-grid.user-value-metrics{grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr}.user-value-metrics .metric-card{position:relative;overflow:hidden;height:100%}.user-value-metrics .metric-card::after{content:"";position:absolute;right:-24px;bottom:-40px;width:110px;height:110px;border-radius:50%;opacity:.12}.metric-commercial::after{background:#8d68ff}.metric-operational::after{background:var(--success)}.metric-total::after{background:var(--blue-light)}.user-work-comparison{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:16px;margin:20px 0}.work-slice{display:flex;align-items:center;justify-content:space-between;gap:20px;height:100%}.work-slice h2{font-size:2rem}.work-slice span{color:var(--muted)}.work-slice>strong{font-size:1.35rem}.work-slice.commercial{border-left:4px solid #8d68ff}.work-slice.operational{border-left:4px solid var(--success)}.work-slice.total{border-left:4px solid var(--blue-light)}.user-breakdown article{display:grid;grid-template-columns:1fr auto}.user-breakdown article>div{display:flex;flex-direction:column}.user-breakdown span{color:var(--muted);font-size:.82rem}
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #6f88a4; }
.timer-status.active { padding: 7px 11px; border: 1px solid rgba(54,200,138,.35); border-radius: 9px; color: var(--text); background: rgba(54,200,138,.1); text-decoration: none; }
.timer-status.active .status-dot { background: var(--success); box-shadow: 0 0 12px var(--success); }
.timer-status.paused { border-color: rgba(239,91,103,.45); background: rgba(239,91,103,.12); }
.timer-status.paused .status-dot { background: var(--danger); box-shadow: 0 0 12px var(--danger); }
.timer-status strong { font-variant-numeric: tabular-nums; }
.main-content { padding: 34px; outline: none; }
.page-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 28px; }
h1, h2 { margin: 0; line-height: 1.18; }
h1 { font-size: clamp(2rem, 3vw, 3rem); }
h2 { font-size: 1.15rem; margin-bottom: 18px; }
.eyebrow { margin: 0 0 7px; color: var(--blue-light); font-size: 12px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.muted { color: var(--muted); max-width: 720px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1px solid transparent; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 750; cursor: pointer; }
.button-primary { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); box-shadow: 0 8px 26px rgba(22, 141, 226, .22); }
.button-ghost { background: transparent; border-color: var(--border); }
.button-full { width: 100%; }
.button:disabled { opacity: .65; cursor: not-allowed; }
.coming-soon { padding: 2px 6px; border-radius: 5px; background: rgba(255,255,255,.15); font-size: 9px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.metric-card, .panel { border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(145deg, rgba(16, 43, 78, .9), rgba(8, 29, 55, .95)); box-shadow: var(--shadow); }
.metric-card { display: flex; flex-direction: column; padding: 20px; }
.metric-card span, .metric-card small { color: var(--muted); }
.metric-card strong { margin: 4px 0; font-size: 2rem; }
.daily-progress{margin:18px 8px 4px;padding:14px 4px 6px;border:0;background:transparent;box-shadow:none;cursor:default}.daily-progress-copy{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:10px}.daily-progress-copy>div{display:flex;align-items:baseline;gap:10px}.daily-progress-copy span,.daily-progress-copy small{color:var(--muted)}.daily-progress-copy strong{font-size:1.05rem}.daily-progress-track{height:8px;overflow:hidden;border:0;border-radius:999px;background:rgba(33,71,112,.55)}.daily-progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--blue),var(--success));transition:width .3s ease}@media(max-width:650px){.daily-progress-copy{align-items:flex-start;flex-direction:column;gap:5px}.daily-progress-copy>div{align-items:flex-start;flex-direction:column;gap:3px}}
.available-task-groups{display:flex;flex-direction:column;gap:22px;margin-top:18px}.available-task-group>header{display:flex;align-items:center;gap:9px;padding:0 4px 9px;border-bottom:1px solid var(--border)}.available-task-group>header>span{width:9px;height:9px;border-radius:50%;background:var(--group-color);box-shadow:0 0 10px color-mix(in srgb,var(--group-color) 55%,transparent)}.available-task-group>header h3{margin:0;font-size:.9rem}.available-task-group>header b{margin-left:auto;display:grid;place-items:center;min-width:25px;height:25px;padding:0 7px;border-radius:999px;background:var(--surface-2);font-size:.75rem}.available-task-group .library-list{margin-top:9px}
.available-task-filter{position:sticky;z-index:4;top:0;display:block;margin:16px 0 2px;background:var(--surface)}.available-task-filter svg{position:absolute;z-index:1;left:13px;top:50%;width:18px;height:18px;transform:translateY(-50%);fill:none;stroke:var(--muted);stroke-width:1.8;stroke-linecap:round}.available-task-filter input{padding-left:42px;padding-right:42px;background:var(--bg-deep)}.available-task-filter button{position:absolute;right:8px;top:50%;display:grid;place-items:center;width:29px;height:29px;padding:0;border:0;border-radius:7px;transform:translateY(-50%);background:transparent;color:var(--muted);font-size:1.2rem;cursor:pointer}.available-task-filter button:hover{background:var(--surface-2);color:var(--text)}.available-task-filter input:placeholder-shown+button{opacity:0;pointer-events:none}.available-task-group[hidden],.available-task-list article[hidden],.available-task-filter-empty[hidden]{display:none!important}.available-task-filter-empty{min-height:220px}
.history-month-filter{display:flex;align-items:end;gap:10px}.history-month-filter label{min-width:190px}.history-metrics{grid-template-columns:repeat(2,minmax(0,1fr));max-width:650px}.history-session-list{display:flex;flex-direction:column;gap:8px;margin-top:14px}.history-session-list article{display:grid;grid-template-columns:minmax(320px,1fr) minmax(120px,auto) auto;align-items:center;gap:24px;padding:12px 16px;border:1px solid var(--border);border-radius:11px;background:var(--bg-deep)}.history-session-main{display:flex;align-items:center;gap:9px;min-width:0;flex-wrap:wrap}.history-session-main>strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-session-main p{flex:1 1 260px;margin:0;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-session-side{display:flex;align-items:center;justify-content:flex-end;gap:10px;white-space:nowrap}.history-session-side>strong{font-size:1.05rem}.history-session-side small{color:var(--muted)}.history-session-actions{display:flex;justify-content:flex-end}.history-session-actions .text-button{font-weight:750}@media(max-width:760px){.history-month-filter{align-items:stretch;flex-direction:column;width:100%}.history-metrics{grid-template-columns:1fr}.history-session-list article{grid-template-columns:1fr;gap:9px}.history-session-side,.history-session-actions{justify-content:flex-start}}
.personal-time-panel{margin-top:20px}.personal-time-panel .section-heading>strong{font-size:1.35rem;color:#70e2ad}.personal-time-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px;margin-top:16px}.personal-time-grid article{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:64px;padding:13px 18px;border:1px solid rgba(54,200,138,.22);border-radius:11px;background:rgba(54,200,138,.055)}.personal-time-grid article>div{display:flex;min-width:0;flex-direction:column}.personal-time-grid article strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.personal-time-grid article small{color:var(--muted)}.personal-time-grid article b{white-space:nowrap;color:#70e2ad}@media(max-width:600px){.personal-time-grid{grid-template-columns:1fr}}
.personal-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.personal-today,.personal-activity-panel{margin-top:20px}.habit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.habit-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:13px;padding:15px;border:1px solid var(--border);border-radius:12px;background:var(--bg-deep)}.habit-card.is-done{border-color:rgba(54,200,138,.42);background:rgba(54,200,138,.07)}.habit-check{display:grid;place-items:center;width:31px;height:31px;border:2px solid var(--success);border-radius:9px;background:transparent;color:#fff;font-weight:900;cursor:pointer}.habit-card.is-done .habit-check{background:var(--success)}.habit-card h3{margin:1px 0 4px;font-size:1rem}.habit-card p,.habit-card small{margin:0;color:var(--muted)}.habit-progress{height:6px;margin:10px 0 6px;overflow:hidden;border-radius:99px;background:var(--surface-2)}.habit-progress span{display:block;height:100%;border-radius:inherit;background:var(--success)}.personal-activity-panel>.section-heading>strong{font-size:1.35rem;color:#70e2ad}@media(max-width:800px){.personal-metrics,.habit-grid{grid-template-columns:1fr}.personal-today .section-heading{align-items:flex-start;flex-direction:column}}
.panel { padding: 24px; }
.empty-state { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 18px; border-radius: 16px; background: rgba(66, 200, 245, .12); color: var(--blue-light); font-weight: 900; }
.empty-state p { color: var(--muted); max-width: 560px; }
.split-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 20px; align-items: start; }
.panel-form { max-width: 680px; }
.form-stack { display: flex; flex-direction: column; gap: 16px; }
label { display: flex; flex-direction: column; gap: 7px; color: #dce7f2; font-weight: 650; }
.field-hint{color:var(--muted);font-size:.72rem;font-weight:500}
input, select, textarea { width: 100%; min-height: 44px; padding: 9px 11px; color: var(--text); background: var(--bg-deep); border: 1px solid var(--border); border-radius: 9px; outline: none; }
input[data-currency] { font-variant-numeric: tabular-nums; font-weight: 700; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible { border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(66, 200, 245, .2); outline: none; }
.alert { margin-bottom: 18px; padding: 12px 14px; border-radius: 10px; border: 1px solid; }
.alert-error { color: #ffdce0; border-color: rgba(239,91,103,.45); background: rgba(239,91,103,.12); }
.timer-conflict-alert { display: inline-flex; align-items: center; align-self: flex-start; width: fit-content; max-width: 100%; padding: 9px 12px; font-size: .9rem; }
.alert-success { color: #d9ffed; border-color: rgba(54,200,138,.45); background: rgba(54,200,138,.12); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px; border-bottom: 1px solid var(--border); text-align: left; white-space: nowrap; }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.badge { display: inline-flex; padding: 3px 8px; border-radius: 999px; background: rgba(168,184,202,.12); }
.badge-success { color: #bff8dc; background: rgba(54,200,138,.14); }
.guest-body { display:grid;place-items:center;min-height:100vh;padding:24px;background:linear-gradient(110deg,#031125 0%,#061a34 54%,#12365f 100%);background-repeat:no-repeat;background-attachment:fixed; }
.login-shell { width: min(100%, 450px); }
.login-card { display: flex; flex-direction: column; gap: 28px; padding: 34px; border: 1px solid var(--border); border-radius: 22px; background: rgba(9, 31, 58, .94); box-shadow: var(--shadow); }
.login-help{display:flex;justify-content:flex-end;margin-top:-8px}.login-help a,.login-back{color:var(--blue-light);text-decoration:none;font-weight:700}.login-help a:hover,.login-back:hover{text-decoration:underline}.login-back{align-self:flex-start}
.login-options{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:-6px}.login-options .check-label{flex-direction:row;align-items:center;gap:8px;color:var(--muted);font-size:.86rem;font-weight:600;cursor:pointer}.login-options .check-label input{width:auto;min-height:0;margin:0}.login-options a{color:var(--blue-light);font-size:.86rem;font-weight:700;text-decoration:none;white-space:nowrap}.login-options a:hover{text-decoration:underline}@media(max-width:460px){.login-options{align-items:flex-start;flex-direction:column}}
.brand-login { margin-bottom: 10px; }
.menu-toggle { display: none; }
.date-navigation { display: flex; align-items: center; gap: 8px; }
.date-navigation input { width: 150px; }
.daily-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; align-items: start; }
.daily-main { min-width: 0; }
.filter-bar { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)) auto; gap: 12px; align-items: end; margin-bottom: 22px; padding: 16px; }
.task-group { margin: 24px 0; }
.task-group > header { display: flex; justify-content: space-between; align-items: center; padding: 0 4px 10px; }
.task-group > header h2 { margin: 0; }
.task-group > header span { color: var(--muted); }
.task-list { display: flex; flex-direction: column; gap: 10px; }
.task-card { position: relative; z-index:0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--border); border-left: 4px solid var(--area-color); border-radius: 13px; background: var(--surface); }
.task-card:has(.task-actions details[open]) { z-index:20; }
.task-card.status-completed { opacity:1; }
.task-card.status-completed > .task-check-form,.task-card.status-completed > .task-content { opacity:.66; }
.task-card.status-completed h3 { text-decoration: line-through; }
.task-card.status-skipped { opacity:1; border-left-style:dashed; }
.task-card.status-skipped > .task-check-form,.task-card.status-skipped > .task-content { opacity:.52; }
.task-card.is-saving { opacity: .72; transition: opacity .15s ease; }
.task-check-form { align-self: start; }
.task-check { width: 28px; height: 28px; border: 2px solid var(--area-color); border-radius: 8px; color: var(--text); background: transparent; cursor: pointer; }
.status-completed .task-check { background: var(--area-color); }
.task-title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.task-title-row h3 { margin: 0; font-size: 1rem; }
.task-content p { margin: 7px 0; color: var(--muted); }
.task-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; color: var(--muted); font-size: 12px; }
.task-deadline{display:inline-flex;align-items:center;padding:3px 8px;border:1px solid rgba(246,193,80,.42);border-radius:999px;background:rgba(246,193,80,.1);color:#ffd77a;font-size:11px;font-weight:800;text-decoration:none}.task-deadline[href]{cursor:pointer}.task-deadline[href]:hover{border-color:rgba(255,215,122,.72);background:rgba(246,193,80,.16);color:#ffe6a5}
.task-card.deadline-soon,.task-card.deadline-today{border-color:rgba(246,193,80,.5);box-shadow:inset 0 0 0 1px rgba(246,193,80,.05)}
.task-card.deadline-overdue{border-color:rgba(239,91,103,.52);background:linear-gradient(90deg,rgba(239,91,103,.09),var(--surface) 32%)}
.task-card.deadline-overdue .task-deadline{border-color:rgba(239,91,103,.45);background:rgba(239,91,103,.12);color:#ff9ea6}
.task-card.deadline-scheduled .task-deadline{border-color:var(--border);background:var(--surface-2);color:var(--muted)}
.checklist-duration{color:#73ddff;font-size:11px}.task-checklist-stage-tag{display:inline-flex;align-items:center;max-width:320px;padding:2px 7px;border:1px solid rgba(66,200,245,.25);border-radius:999px;background:rgba(66,200,245,.07);color:#a8dff2;font-size:10px;font-weight:700;line-height:1.35;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.task-checklist-stage-tag:hover{border-color:rgba(66,200,245,.45);color:#d7f4ff}
.area-pill { padding: 2px 7px; border: 1px solid var(--area-color); border-radius: 999px; color: var(--area-color); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.task-actions { display: flex; align-items: center; gap: 7px; }
.task-group summary .group-time{margin-left:auto;margin-right:10px;color:var(--muted);font-size:.75rem;font-weight:600;letter-spacing:.01em}
.shift-heading{display:flex;align-items:center;gap:10px;padding:9px 8px 3px;color:var(--muted);font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.shift-heading::after{content:"";height:1px;flex:1;background:var(--border);opacity:.65}.shift-heading small{order:2;font-size:.68rem;font-weight:600;letter-spacing:0;text-transform:none}.shift-heading::after{order:1}
.icon-action, .task-actions summary { padding: 6px 8px; border-radius: 7px; color: var(--muted); text-decoration: none; cursor: pointer; }
.icon-action:hover, .task-actions summary:hover { color: var(--text); background: var(--surface-2); }
.task-actions details { position: relative; }
.task-actions summary { list-style: none; }
.action-menu { position: absolute; top:calc(100% + 6px); right: 0; z-index: 100; width: 230px; padding: 10px; border: 1px solid var(--border); border-radius: 10px; background:#06162b; box-shadow:0 18px 45px rgba(0,0,0,.52); }
.action-menu form { margin: 4px 0; }
.action-menu button { width: 100%; padding: 7px; border: 0; border-radius: 6px; color: var(--text); background: transparent; text-align: left; cursor: pointer; }
.action-menu button:hover { background: var(--surface-2); }
.action-menu .move-form { display: grid; grid-template-columns: 1fr auto; gap: 5px; }
.action-menu .move-form input { min-height: 34px; padding: 5px; }
.action-menu .move-form button { width: auto; }
.reorder-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.danger-text { color: #ff929a !important; }
.button-danger-ghost{border-color:rgba(239,91,103,.38);background:rgba(239,91,103,.06);color:#ff929a}.button-danger-ghost:hover{border-color:var(--danger);background:rgba(239,91,103,.14)}
.danger-confirmation{display:flex;align-items:flex-start;flex-direction:column;gap:0;padding:15px 16px;border:1px solid rgba(239,91,103,.26);border-radius:12px;background:rgba(239,91,103,.055)}.danger-confirmation>span{display:block;margin:0 0 5px;color:#9eafc0;font-size:.68rem;font-weight:750;letter-spacing:.055em;text-transform:uppercase}.danger-confirmation>strong{display:block;width:100%;margin:0;color:#ffadb4;font-size:.95rem;line-height:1.35}.danger-confirmation>p{width:100%;margin:9px 0 0;padding-top:9px;border-top:1px solid rgba(239,91,103,.14);color:var(--muted);font-size:.82rem;line-height:1.55}.danger-confirmation>p b{color:#dce7f1;font-weight:750}
.project-payment-warning{display:flex;flex-direction:column;gap:5px;padding:16px;border-color:rgba(239,91,103,.75);background:rgba(110,13,24,.3)}.project-payment-warning>span{color:#ff747f;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.project-payment-warning>strong{color:var(--text)}.project-payment-warning p b{color:#ffb0b6}.project-finalize-actions{flex-wrap:wrap}.project-payment-settled{padding:16px;border:1px solid rgba(50,215,158,.35);border-radius:11px;background:rgba(50,215,158,.07)}.project-payment-settled strong{color:var(--success)}.project-payment-settled p{margin:5px 0 0;color:var(--muted)}
.task-form-panel { position: sticky; top: 92px; max-height: calc(100vh - 112px); overflow-y: auto; }
.form-title { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.form-title h2 { margin: 0; }
.form-title a { color: var(--blue-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.recurrence-options { padding: 12px; border: 1px solid var(--border); border-radius: 10px; }
.weekday-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.weekday-grid label { flex-direction: row; align-items: center; gap: 4px; font-size: 12px; }
.weekday-grid input { width: auto; min-height: auto; }
.advanced-fields summary { color: var(--blue-light); cursor: pointer; }
.advanced-fields > .form-stack { margin-top: 12px; }
.module-tabs { display: flex; gap: 6px; margin: -8px 0 24px; padding-bottom: 10px; overflow-x: auto; border-bottom: 1px solid var(--border); }
.module-tabs a { padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; white-space: nowrap; }
.module-tabs a:hover { color: var(--text); background: var(--surface-2); }
.channel-dot { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: var(--channel-color); }
.channel-dot.large { width: 22px; height: 22px; margin: 0; box-shadow: 0 0 24px var(--channel-color); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(180px,1fr)); gap: 12px; }
.channel-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px; border: 1px solid var(--border); border-radius: 12px; color: var(--text); text-decoration: none; background: var(--bg-deep); }
.channel-card > a { display:flex; flex-direction:column; gap:8px; color:inherit; text-decoration:none; }
.channel-card:hover { border-color: var(--blue); transform: translateY(-1px); }
.channel-card small { color: var(--muted); }
.negative { color: #ff929a; }
.commercial-detail-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-bottom: 20px; align-items: start; }
.commercial-lists { grid-template-columns: minmax(260px,1fr) minmax(0,2fr); }
.timer-panel { display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 22px; border-radius: 14px; background: var(--bg-deep); }
.timer-panel strong { color: var(--blue-light); font-size: 2.3rem; font-variant-numeric: tabular-nums; }
.timer-panel small { color: var(--muted); text-transform: uppercase; }
.timer-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.finish-form { display: flex; flex: 1; gap: 7px; }
.session-list { display: flex; flex-direction: column; gap: 8px; }
.session-list article { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2px 10px; padding: 12px; border: 1px solid var(--border); border-radius: 9px; }
.session-list small,.session-list p { grid-column: 1/-1; margin: 0; color: var(--muted); }
.cost-header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.cost-header h2 { margin-bottom: 4px; }
.allocation-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--border); }
.allocation-form { display: grid; grid-template-columns: minmax(0,1fr) 90px auto; gap: 7px; margin-top: 12px; }
.text-button { padding: 0; border: 0; background: transparent; cursor: pointer; }
.floating-alert { position:fixed; right:24px; bottom:24px; z-index:100; max-width:min(420px,calc(100vw - 32px)); box-shadow:var(--shadow); }
.save-confirmation{top:auto;right:auto;bottom:24px;left:calc(50% + 125px);display:flex;align-items:center;gap:14px;width:auto;max-width:min(420px,calc(100vw - 32px));padding:11px 12px 11px 15px;transform:translateX(-50%)}.save-confirmation>strong{font-size:.92rem;white-space:nowrap}.save-confirmation-actions{display:flex;align-items:center}.save-confirmation-actions .button{min-height:34px;padding:0 11px;border-radius:8px;font-size:.82rem}@media(max-width:980px){.save-confirmation{left:50%}}@media(max-width:480px){.save-confirmation{bottom:16px;width:max-content;max-width:calc(100vw - 32px);justify-content:space-between}.save-confirmation>strong{white-space:normal}}
.page-actions { display:flex; align-items:end; justify-content:flex-end; gap:10px; flex-wrap:wrap; }
.page-actions form { min-width:170px; }
.timer-workspace { display:grid;grid-template-columns:minmax(220px,.65fr) minmax(360px,1.35fr);gap:28px;align-items:center;margin-bottom:20px;padding:18px 24px }.timer-workspace h2{margin-bottom:0}
.timer-start-form { display:grid; grid-template-columns:minmax(220px,1fr) auto; gap:10px; align-items:end; }
.commercial-history-grid { display:grid; grid-template-columns:minmax(220px,.48fr) minmax(0,1.52fr); gap:20px; align-items:start; }
.activity-summary { position:sticky; top:92px; }
.section-heading,.dialog-header,.dialog-actions { display:flex; justify-content:space-between; align-items:center; gap:14px; }
.section-heading { margin-bottom:16px; }.section-heading h2,.dialog-header h2 { margin:0; }
.session-list.enhanced article { grid-template-columns:minmax(260px,1fr) auto auto; align-items:center; gap:22px; padding:13px 16px; }
.session-main { display:flex; flex-direction:column; gap:3px; }.session-main time { color:var(--muted); text-transform:capitalize; }.session-main p { margin:4px 0 0; }
.session-duration{white-space:nowrap;font-size:1.04rem}.session-actions{display:flex;align-items:center;justify-content:flex-end;gap:14px}.session-actions form{display:flex}.session-actions .text-button{color:var(--blue-light);font-weight:700}.session-actions .danger-text{color:var(--danger)}
@media(max-width:900px){.commercial-history-grid{grid-template-columns:1fr}.activity-summary{position:static}.session-list.enhanced article{grid-template-columns:minmax(0,1fr) auto auto}}@media(max-width:600px){.session-list.enhanced article{grid-template-columns:1fr;gap:9px}.session-actions{justify-content:flex-start}}
.history-day-divider{display:flex;align-items:center;gap:12px;margin:14px 0 2px;color:var(--muted);font-size:.76rem;font-weight:800;letter-spacing:.045em;text-transform:capitalize}.history-day-divider:first-child{margin-top:2px}.history-day-divider::after{content:"";height:1px;flex:1;background:linear-gradient(90deg,var(--border),transparent)}.history-day-divider time{white-space:nowrap}.record-list>.history-day-divider{width:100%}
.app-dialog { width:min(560px,calc(100vw - 28px)); max-height:calc(100vh - 40px); padding:0; color:var(--text); background:linear-gradient(145deg,var(--surface-2),var(--surface)); border:1px solid var(--border); border-radius:18px; box-shadow:0 28px 100px rgba(0,0,0,.65);opacity:0;transform:translateY(7px) scale(.99);transition:opacity .16s ease-out,transform .16s ease-out,display .16s allow-discrete,overlay .16s allow-discrete }
.app-dialog[open]{opacity:1;transform:none}.app-dialog::backdrop { background:rgba(1,9,20,.76);backdrop-filter:blur(4px);opacity:0;transition:opacity .16s ease-out,display .16s allow-discrete,overlay .16s allow-discrete }.app-dialog[open]::backdrop{opacity:1}@starting-style{.app-dialog[open]{opacity:0;transform:translateY(7px) scale(.99)}.app-dialog[open]::backdrop{opacity:0}}.app-dialog > form { padding:24px; }.dialog-header { margin-bottom:4px; }.dialog-close { display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;padding:0;line-height:1;border:1px solid var(--border);border-radius:50%;color:var(--muted);background:transparent;font-family:Arial,sans-serif;font-size:24px;cursor:pointer;transition:color .14s ease,border-color .14s ease,background .14s ease,transform .14s ease }.dialog-close:hover{color:var(--text);border-color:var(--blue-light);background:rgba(66,200,245,.08);transform:rotate(3deg)}.dialog-actions { justify-content:flex-end; margin-top:6px; }
.status-filter,.quick-links { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:18px; }
.status-filter a { padding:7px 12px; border:1px solid var(--border); border-radius:999px; text-decoration:none; color:var(--muted); }
.expand-all-button{padding:7px 12px;border:1px solid var(--border);border-radius:999px;background:transparent;color:var(--muted);font-weight:650;cursor:pointer;transition:color .14s ease,border-color .14s ease,background .14s ease}.expand-all-button:hover{color:var(--text);border-color:var(--blue-light);background:rgba(66,200,245,.07)}.page-actions .expand-all-button{min-height:42px;border-radius:10px;padding-inline:16px}
.project-list { display:flex; flex-direction:column; gap:9px; }
.project-row { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:18px; align-items:center; padding:15px; border:1px solid var(--border); border-left:4px solid var(--blue); border-radius:11px; text-decoration:none; background:var(--bg-deep); }
.project-row > div { display:flex; flex-direction:column; }.project-row small { color:var(--muted); }.project-row.warning { border-left-color:var(--warning); }.project-row.urgent { border-left-color:var(--danger); background:rgba(239,91,103,.07); }
.check-label { flex-direction:row; align-items:center; }.check-label input { width:auto; min-height:auto; }.operational-bottom,.completion-panel { margin-top:20px; }
.task-history-import{gap:12px;padding:13px 14px;border:1px solid rgba(66,200,245,.3);border-radius:11px;background:rgba(66,200,245,.06)}.task-history-import>span{display:flex;flex-direction:column;gap:3px}.task-history-import small{color:var(--muted);font-weight:400}
.operational-toolbar { display:flex; justify-content:space-between; align-items:end; gap:18px; margin-bottom:18px; }.operational-toolbar .status-filter { margin:0; }.operational-toolbar form { min-width:280px; }
.project-hero { display:flex; justify-content:space-between; align-items:flex-start; gap:24px; margin-bottom:24px; }.project-hero h1 { margin-bottom:8px; }.project-subtitle { display:flex; align-items:center; gap:10px; flex-wrap:wrap; color:var(--muted); }.project-subtitle strong { color:var(--text); }
.project-overview { margin-bottom:20px;display:grid;grid-template-columns:1fr auto;gap:14px 18px;align-items:stretch }.project-facts { grid-column:1/-1;display:flex;gap:10px;flex-wrap:wrap;margin:0 }.project-facts span { padding:6px 10px;border:1px solid var(--border);border-radius:999px;color:var(--muted) }.project-finance { display:grid;grid-template-columns:repeat(4,minmax(145px,1fr));align-self:stretch;gap:0;width:100%;height:100%;box-sizing:border-box;padding:5px 0;border:1px solid rgba(41,165,232,.32);border-radius:11px;background:linear-gradient(135deg,rgba(25,137,207,.055),rgba(15,89,148,.025));box-shadow:inset 0 0 0 1px rgba(103,202,255,.018) }.project-finance div { display:flex;flex-direction:column;justify-content:center;min-height:64px;padding:10px 18px;background:transparent;border:0;border-radius:0 }.project-finance small { color:#8fa6bd;font-size:.72rem;letter-spacing:.02em }.project-finance strong { margin-top:3px;font-size:1.35rem;letter-spacing:-.02em }.project-quick-access{display:flex;flex-direction:column;align-items:stretch;gap:10px;width:min(440px,38vw)}.project-access-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.notion-project-link{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:10px 13px;border:1px solid rgba(174,132,255,.55);border-radius:11px;background:linear-gradient(135deg,rgba(126,76,220,.2),rgba(72,45,135,.12));color:var(--text);text-align:left;text-decoration:none;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(207,184,255,.04);transition:border-color .14s ease,background .14s ease,transform .14s ease,box-shadow .14s ease}.notion-project-link:hover{border-color:#c9aeff;background:linear-gradient(135deg,rgba(139,85,235,.3),rgba(83,50,153,.2));box-shadow:0 8px 24px rgba(89,47,165,.18);transform:translateY(-1px)}.notion-project-link>span:nth-child(2){display:flex;min-width:0;flex-direction:column}.notion-project-link small,.notion-project-link strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notion-project-link small{color:#c9aeff;font-size:.66rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.notion-project-link strong{font-size:.86rem}.notion-project-link>b{color:#c9aeff;font-size:1.05rem}.notion-mark{display:grid;place-items:center;width:36px;height:36px;border:1px solid rgba(201,174,255,.42);border-radius:9px;background:rgba(5,16,35,.72);color:#eadfff;font-family:Georgia,serif;font-size:1.15rem;font-weight:900}.relationship-project-link{border-color:rgba(66,200,245,.48);background:linear-gradient(135deg,rgba(22,141,226,.18),rgba(26,91,154,.1))}.relationship-project-link:hover{border-color:#73d6f8;background:linear-gradient(135deg,rgba(22,141,226,.28),rgba(26,91,154,.18));box-shadow:0 8px 24px rgba(22,141,226,.16)}.relationship-project-link small,.relationship-project-link>b{color:#79d8f8}.relationship-project-link .notion-mark{border-color:rgba(66,200,245,.4);color:#bcecff;font-family:inherit;font-size:.72rem}.notion-project-link-empty{opacity:.72}.project-actions { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;margin:0;white-space:nowrap }.project-actions .button{width:100%;padding-inline:10px}
.record-section { margin-top:20px }.record-list { display:flex;flex-direction:column;gap:8px }.record-list article { display:flex;justify-content:space-between;gap:16px;align-items:center;padding:14px 16px;border:1px solid var(--border);border-radius:11px;background:var(--bg-deep) }.record-list article>div:first-child { display:flex;flex-direction:column;gap:3px }.record-list span,.record-list p { color:var(--muted);margin:0 }.compact-record-list article{display:grid;grid-template-columns:minmax(90px,130px) minmax(220px,300px) minmax(180px,1fr) auto;gap:18px;padding:11px 16px;min-height:54px}.record-primary{font-size:1rem;white-space:nowrap}.record-meta{font-size:.86rem;white-space:nowrap}.record-description{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.86rem}.record-description:where(:not(:hover)){color:#7f94aa}.record-actions { display:flex;gap:12px;align-items:center;justify-content:flex-end }.record-actions form{margin:0}.record-actions .text-button { color:var(--blue-light);font-weight:700 }.duration-value { font-size:1.1rem }.project-footer { display:flex;align-items:center;gap:12px;justify-content:flex-end;margin-top:20px }.project-footer>div { margin-right:auto }.project-footer h2 { margin:0 }
.project-final-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;margin-top:20px}.project-final-actions form{margin:0}
@media (max-width: 980px) {
    .app-shell,.sidebar-collapsed .app-shell { grid-template-columns: 1fr; }
    .sidebar { position: fixed; z-index: 40; width: 225px; transform: translateX(-105%); transition: transform .2s ease; }
    .sidebar-collapsed .sidebar{padding:24px 18px}.sidebar-collapsed .brand{justify-content:flex-start}.sidebar-collapsed .brand>span:last-child,.sidebar-collapsed .nav-list a>span,.sidebar-collapsed .nav-label{display:flex}.sidebar-collapsed .nav-label{display:block}.sidebar-collapsed .nav-list{align-items:stretch}.sidebar-collapsed .nav-list a{justify-content:flex-start;width:auto;padding:11px 13px}.sidebar-toggle{display:none}
    body.menu-open .sidebar { transform: translateX(0); }
    .menu-toggle { display: inline-flex; padding: 7px 10px; color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: 8px; }
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .split-grid { grid-template-columns: 1fr; }
    .daily-layout { grid-template-columns: 1fr; }
    .task-form-panel { position: static; max-height: none; }
    .commercial-detail-grid { grid-template-columns: 1fr; }
    .timer-workspace,.commercial-history-grid { grid-template-columns:1fr; }.activity-summary { position:static; }
    .project-finance { grid-template-columns:repeat(2,1fr); }
    .metric-grid.user-value-metrics{grid-template-columns:1fr}.user-work-comparison{grid-template-columns:1fr}
    .project-overview{grid-template-columns:1fr}.project-quick-access{width:100%;align-items:stretch}.project-access-links{grid-template-columns:1fr}.notion-project-link{min-width:0}.project-actions{grid-template-columns:1fr;white-space:normal}.compact-record-list article{grid-template-columns:minmax(80px,110px) minmax(180px,1fr) auto}.compact-record-list .record-description{grid-column:2}.compact-record-list .record-actions{grid-column:3;grid-row:1/3}
}
@media (max-width: 620px) {
    .topbar { padding: 0 14px; }
    .timer-status { display: none; }
    .user-menu > span { display: none; }
    .main-content { padding: 22px 14px; }
    .page-header { flex-direction: column; }
    .user-dashboard-filter,.user-dashboard-filter label,.user-dashboard-filter button{width:100%}
    .metric-grid { grid-template-columns: 1fr; }
    .login-card { padding: 25px; }
    .date-navigation { width: 100%; }
    .date-navigation .button { padding: 0 9px; }
    .date-navigation input { min-width: 0; flex: 1; }
    .filter-bar { grid-template-columns: 1fr; }
    .task-card { grid-template-columns: auto minmax(0, 1fr); }
    .task-actions { grid-column: 2; justify-content: flex-end; }
    .form-row { grid-template-columns: 1fr; }
    .commercial-lists { grid-template-columns: 1fr; }
    .allocation-form,.finish-form { grid-template-columns: 1fr; flex-direction: column; }
    .page-actions { justify-content:flex-start; }.page-actions > * { width:100%; }.timer-start-form { grid-template-columns:1fr; }
    .operational-toolbar,.project-hero,.project-footer { align-items:stretch; flex-direction:column; }.operational-toolbar form { min-width:0; }.project-finance { grid-template-columns:1fr; }.project-actions { flex-direction:column; }.record-list article { align-items:flex-start; }.compact-record-list article{grid-template-columns:1fr auto;gap:4px 12px}.compact-record-list .record-meta,.compact-record-list .record-description{grid-column:1}.compact-record-list .record-actions{grid-column:2;grid-row:1/4}.project-footer>div { margin-right:0; }
}

.project-groups { display:flex;flex-direction:column;gap:10px; }
.project-hero>.page-actions>.priority-form{justify-self:stretch;justify-content:flex-start}
.project-hero button[data-open-dialog="blocker-dialog"]{border-color:rgba(255,112,122,.42);background:rgba(255,82,96,.08);color:#ff9aa2}.project-hero button[data-open-dialog="blocker-dialog"]:hover{border-color:rgba(255,112,122,.7);background:rgba(255,82,96,.14);color:#ffc0c5}.project-hero form[action="/operacional/projetos/pre-pagamento"] .button{border-color:rgba(245,191,79,.42);background:rgba(245,191,79,.08);color:#ffd36d}.project-hero form[action="/operacional/projetos/pre-pagamento"] .button:hover{border-color:rgba(245,191,79,.7);background:rgba(245,191,79,.14);color:#ffe2a0}
.project-hero>.page-actions{display:grid;grid-template-columns:max-content max-content;align-items:end;justify-content:end;gap:9px}.project-hero>.page-actions>.priority-form{grid-column:1;grid-row:1;justify-self:end}.project-hero>.page-actions>button[data-open-dialog="edit-project"]{grid-column:2;grid-row:1}.project-hero>.page-actions>button[data-open-dialog="blocker-dialog"]{grid-column:1;grid-row:2}.project-hero>.page-actions>form[action="/operacional/projetos/pre-pagamento"]{grid-column:2;grid-row:2}.project-hero>.page-actions .button,.project-hero>.page-actions>button{white-space:nowrap;width:100%}.project-hero>.page-actions>button[data-open-dialog="blocker-dialog"],.project-hero>.page-actions>form[action="/operacional/projetos/pre-pagamento"] .button{min-width:190px}@media(max-width:900px){.project-hero>.page-actions{grid-template-columns:1fr}.project-hero>.page-actions>*{grid-column:1!important;grid-row:auto!important;width:100%;justify-self:stretch!important}}
.project-hero>.page-actions>.project-checklist-cta{grid-column:1/-1;grid-row:3;display:grid;grid-template-columns:26px 1fr auto;align-items:center;column-gap:10px;min-height:52px;padding:11px 14px;border:1px solid rgba(66,200,245,.48);background:linear-gradient(135deg,rgba(20,145,220,.88),rgba(8,111,190,.88));box-shadow:0 5px 16px rgba(18,145,226,.16);text-align:left}.project-checklist-cta>span{display:grid;place-items:center;width:25px;height:25px;border:1px solid rgba(255,255,255,.28);border-radius:7px;background:rgba(3,37,74,.18);font-size:.8rem}.project-checklist-cta>strong{font-size:.9rem}.project-checklist-cta>b{grid-column:3;font-size:.95rem}.project-checklist-cta:hover{border-color:rgba(154,230,255,.75);box-shadow:0 6px 18px rgba(18,145,226,.24);transform:translateY(-1px)}
.task-actions .task-checklist-action{display:inline-flex;align-items:center;gap:5px;border:1px solid rgba(66,200,245,.4);background:rgba(66,200,245,.08);color:#6bd8ff;font-weight:750}.task-actions .task-checklist-action:hover{border-color:rgba(107,216,255,.72);background:rgba(66,200,245,.15);color:#b9efff}.task-checklist-action>span{display:grid;place-items:center;width:16px;height:16px;border-radius:5px;background:rgba(66,200,245,.16);font-size:.68rem}
.project-search{position:relative;display:block;min-width:min(340px,100%)}.project-search span{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--muted);font-size:1.25rem;pointer-events:none}.project-search input{padding-left:40px}.project-row[hidden],.project-group[hidden],.project-search-empty[hidden]{display:none}.project-search-empty{margin-top:0;padding:28px}.project-search-empty .empty-icon{font-size:1.4rem}
.operational-toolbar { align-items:stretch;flex-direction:column; }
.operational-toolbar form { width:100%;min-width:0; }.operational-toolbar .status-filter { order:2; }
.project-group { border:1px solid var(--border);border-radius:13px;background:rgba(14,34,61,.58);overflow:hidden; }
.project-group summary { display:flex;align-items:center;gap:12px;padding:15px 18px;cursor:pointer;list-style:none; }
.project-group summary::-webkit-details-marker { display:none; }
.project-group summary strong { flex:1; }
.project-group summary b { display:grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:99px;background:var(--surface-2); }
.project-group summary em { padding:4px 8px;border-radius:6px;background:rgba(128,78,255,.22);color:#c9aeff;font-size:.68rem;text-transform:uppercase;font-style:normal;letter-spacing:.08em; }
.group-chevron { color:#8a5cff;font-size:1.45rem;font-weight:800;transition:transform .18s; }
.project-group[open] .group-chevron { transform:rotate(90deg); }
.project-group-content { display:flex;flex-direction:column;gap:8px;padding:0 12px 12px; }
.project-row-metrics { display:grid!important;grid-template-columns:repeat(3,minmax(105px,auto));gap:24px; }
.project-row-metrics span { display:flex;flex-direction:column; }
.project-row-metrics small { text-transform:uppercase;font-size:.65rem;letter-spacing:.08em; }
.project-row-metrics strong { white-space:nowrap; }
.project-row.warning .renewal strong { color:var(--warning); }
.project-row.urgent .renewal strong { color:var(--danger); }
.projects-total { align-self:flex-end;padding:10px 4px;color:var(--muted); }
.projects-total strong { display:inline-grid;place-items:center;margin:0 5px;min-width:30px;height:30px;border-radius:50%;background:var(--surface-2);color:var(--text); }
.density-toggle { min-width:92px; }
.privacy-toggle{position:relative;width:44px;min-width:44px;padding:0;border-color:var(--border);color:var(--blue-light)}.privacy-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7}.privacy-toggle::after{content:"";position:absolute;width:0;height:2px;border-radius:2px;background:currentColor;transform:rotate(-45deg);transition:width .16s ease}.privacy-mode .privacy-toggle{border-color:rgba(66,200,245,.55);background:rgba(66,200,245,.1)}.privacy-mode .privacy-toggle::after{width:24px}
.financial-private{transition:filter .18s ease,opacity .18s ease}.privacy-mode .financial-private,.privacy-mode .project-row-metrics span:nth-child(2) strong{filter:blur(7px);opacity:.62;pointer-events:none;user-select:none}.privacy-mode input[data-currency]{-webkit-text-security:disc;color:var(--muted);caret-color:transparent}.privacy-mode .project-payment-warning .financial-private,.privacy-mode dialog[open] .financial-private{filter:blur(8px)}
.compact .main-content { width:min(1180px,calc(100% - 40px));margin-inline:auto;padding-left:0;padding-right:0; }
.compact .commercial-history-grid{grid-template-columns:290px minmax(0,1fr);width:100%;gap:20px}.compact .activity-summary{overflow:hidden;padding:20px}.compact .activity-summary table{width:100%;table-layout:fixed}.compact .activity-summary th,.compact .activity-summary td{padding:11px 10px}.compact .activity-summary th:first-child,.compact .activity-summary td:first-child{width:72%;overflow:hidden;text-overflow:ellipsis}.compact .activity-summary th:last-child,.compact .activity-summary td:last-child{width:28%;padding-right:4px;text-align:right}@media(max-width:1100px){.compact .commercial-history-grid{grid-template-columns:1fr}}
.compact .project-row-metrics { grid-template-columns:repeat(3,minmax(88px,110px));gap:10px; }
.compact .project-finance { grid-template-columns:repeat(5,minmax(112px,1fr)); }
.compact .record-list article { max-width:none; }
@media(max-width:760px){.project-row-metrics{grid-template-columns:1fr;gap:4px}.project-row{grid-template-columns:1fr}.density-toggle{display:none}.privacy-toggle{width:40px;min-width:40px}}
.task-area-group { margin-bottom:12px;border:1px solid var(--border);border-radius:13px;background:rgba(14,34,61,.5);overflow:visible; }
.task-area-group > summary { display:flex;align-items:center;gap:11px;padding:13px 16px;cursor:pointer;list-style:none; }
.task-area-group > summary::-webkit-details-marker { display:none; }.task-area-group > summary h2 { flex:1;margin:0;font-size:1rem; }.task-area-group > summary [data-group-count] { display:grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:99px;background:var(--surface-2); }
.task-area-group[open] > summary .group-chevron { transform:rotate(90deg); }.task-area-group .task-list { padding:0 12px 12px; }
.show-completed-toggle { align-self:end;min-height:44px;display:flex!important;flex-direction:row!important;align-items:center;gap:9px;padding:0 12px;border:1px solid var(--border);border-radius:9px;background:var(--bg-deep);white-space:nowrap; }.show-completed-toggle input { width:auto;min-height:0; }
.daily-filter-bar{grid-template-columns:minmax(150px,.78fr) minmax(150px,.78fr) auto auto auto}.daily-filter-bar>label:nth-of-type(-n+2){min-width:0}.daily-filter-bar .show-completed-toggle{padding-inline:11px;font-size:.86rem}.daily-filter-bar>.button{padding-inline:17px}@media(max-width:1050px){.daily-filter-bar{grid-template-columns:repeat(2,minmax(180px,1fr))}.daily-filter-bar>.button{width:100%}}@media(max-width:600px){.daily-filter-bar{grid-template-columns:1fr}}
.task-card.is-completing h3 { text-decoration:line-through;text-decoration-thickness:2px;animation:task-strike .3s ease-out; }.task-card.is-completing { opacity:.62; }.task-card.is-leaving { opacity:0;transform:translateX(24px);max-height:0;margin:0;padding-block:0;border-width:0;overflow:hidden;transition:opacity .25s,transform .25s,max-height .25s,padding .25s; }
.task-play-form{margin:0;flex:0 0 auto}.task-play{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;flex:0 0 38px;width:38px;min-width:38px;height:38px;aspect-ratio:1;padding:0;border:1px solid rgba(66,200,245,.45);border-radius:999px;background:rgba(22,141,226,.14);color:#67d5ff;cursor:pointer;font-size:14px;line-height:1;transition:.18s ease}.task-play:hover{transform:scale(1.08);background:#168de2;color:#fff;box-shadow:0 0 20px rgba(22,141,226,.35)}
.task-note-button{display:grid;place-items:center;box-sizing:border-box;flex:0 0 38px;width:38px;height:38px;padding:0;border:1px solid var(--border);border-radius:50%;background:transparent;color:var(--muted);font-size:1.05rem;line-height:1;cursor:pointer;transition:color .14s,border-color .14s,background .14s,transform .14s}.task-note-button:hover{color:var(--text);border-color:var(--warning);background:rgba(245,191,79,.08);transform:scale(1.06)}.task-note-button.has-note{color:#ffd66b;border-color:rgba(245,191,79,.58);background:rgba(245,191,79,.12);box-shadow:0 0 14px rgba(245,191,79,.08)}
.note-links-fieldset{display:flex;flex-direction:column;gap:10px;margin:0;padding:14px;border:1px solid var(--border);border-radius:12px}.note-links-fieldset legend{padding:0 7px;font-weight:700}.note-links-fieldset legend small{color:var(--muted);font-weight:400}.note-links-toolbar{display:flex;align-items:center;gap:10px}.note-links-toggle{flex:0 0 auto}.note-link-editor{display:flex;flex-direction:column;gap:9px;padding-top:10px;border-top:1px solid var(--border)}.note-link-editor[hidden]{display:none}.note-link-row{display:flex;align-items:center;gap:8px}.note-link-row[hidden]{display:none}.note-link-row>div{display:grid;grid-template-columns:minmax(130px,.7fr) minmax(210px,1.3fr);gap:8px;flex:1}.note-link-remove{border:0;background:transparent;color:var(--danger);font-weight:700;cursor:pointer}.note-link-add{align-self:flex-start}.note-link-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex:1}.note-link-preview:empty{display:none}.note-link-preview a{display:block;min-width:0;padding:8px 10px;border:1px solid rgba(66,200,245,.32);border-radius:8px;background:rgba(66,200,245,.08);color:#72d8ff;text-decoration:none;font-size:.82rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}.note-link-preview a:hover{background:rgba(66,200,245,.16)}@media(max-width:650px){.note-links-toolbar{align-items:stretch;flex-direction:column}.note-link-preview{grid-template-columns:1fr}.note-links-toggle{align-self:flex-start}.note-link-row>div{grid-template-columns:1fr}}
.note-deadlines-fieldset{display:flex;flex-direction:column;gap:10px;margin:0;padding:14px;border:1px solid rgba(245,191,79,.28);border-radius:12px}.note-deadlines-fieldset legend{padding:0 7px;font-weight:700}.note-deadlines-fieldset legend small{color:var(--muted);font-weight:400}.note-deadline-list{display:flex;flex-direction:column;gap:9px}.note-deadline-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(185px,.7fr) auto;gap:8px;align-items:end;padding:10px;border:1px solid var(--border);border-radius:10px;background:rgba(4,18,36,.35)}.note-deadline-row[hidden]{display:none}.note-deadline-row .deadline-done{grid-column:1/-1;display:flex;flex-direction:row;align-items:center;gap:7px;color:var(--muted);font-size:.78rem}.note-deadline-row .deadline-done input{width:auto;min-height:auto}.note-deadline-row:has(.deadline-done input:checked){opacity:.58}.note-deadline-row:has(.deadline-done input:checked)>input{text-decoration:line-through}.note-deadline-add{align-self:flex-start}@media(max-width:650px){.note-deadline-row{grid-template-columns:1fr}.note-deadline-row .deadline-done{grid-column:1}.note-deadline-row .note-link-remove{justify-self:start}}
html:has(dialog[open]),body:has(dialog[open]){overscroll-behavior:none}.field-hint{display:block;margin-top:6px;color:var(--muted);font-size:.78rem}
#mini-timer-slot:empty{display:none}.mini-timer{position:fixed;z-index:1000;left:calc(50% + 127px);bottom:22px;transform:translateX(-50%);display:grid;grid-template-columns:auto minmax(180px,1fr) auto auto auto auto;align-items:center;column-gap:18px;width:min(800px,calc(100vw - 300px));padding:13px 18px;border:1px solid rgba(66,200,245,.38);border-radius:16px;background:rgba(5,21,42,.96);box-shadow:0 18px 55px rgba(0,0,0,.46),0 0 25px rgba(22,141,226,.12);backdrop-filter:blur(16px)}.mini-timer.paused{border-color:rgba(245,191,79,.62);background:linear-gradient(135deg,rgba(38,31,13,.96),rgba(5,21,42,.97));box-shadow:0 18px 55px rgba(0,0,0,.46),0 0 25px rgba(245,191,79,.12)}.mini-timer-pulse{width:10px;height:10px;border-radius:50%;background:#36c88a;box-shadow:0 0 12px #36c88a;animation:mini-timer-pulse-running 1.8s ease-in-out infinite;will-change:transform,box-shadow,opacity}.mini-timer.paused .mini-timer-pulse{background:#f5bf4f;box-shadow:0 0 12px #f5bf4f;animation-name:mini-timer-pulse-paused;animation-duration:2.2s}.mini-timer-info{min-width:0;display:flex;flex-direction:column;padding-right:4px}.mini-timer-info small{color:#42c8f5;text-transform:uppercase;font-size:10px;letter-spacing:.12em}.mini-timer.paused .mini-timer-info small{color:#f5bf4f}.mini-timer-info strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mini-timer-links{display:flex;gap:8px;padding:0 2px}.mini-timer-links a{display:inline-flex;align-items:center;gap:5px;padding:7px 10px;border:1px solid var(--border);border-radius:8px;color:var(--muted);font-size:.8rem;font-weight:700;text-decoration:none}.mini-timer-links a:hover{color:var(--text);border-color:var(--blue-light);background:var(--surface-2)}.mini-timer>b{padding:0 4px;font-size:20px;font-variant-numeric:tabular-nums}.mini-timer form{margin:0}.mini-timer form+form{margin-left:-8px}.mini-timer-button{display:grid;place-items:center;width:40px;height:40px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);color:var(--text);cursor:pointer;font-weight:800}.mini-timer-button:hover{border-color:#42c8f5}.mini-timer.paused form:first-of-type .mini-timer-button{color:#ffd86f;border-color:rgba(245,191,79,.48);background:rgba(245,191,79,.1)}.mini-timer-button.finish{color:#ff7b86;border-color:rgba(239,91,103,.45)}
@keyframes mini-timer-pulse-running{0%,100%{transform:scale(.9);opacity:.78;box-shadow:0 0 5px rgba(54,200,138,.55)}50%{transform:scale(1.12);opacity:1;box-shadow:0 0 15px rgba(54,200,138,.95),0 0 25px rgba(54,200,138,.28)}}@keyframes mini-timer-pulse-paused{0%,100%{transform:scale(.9);opacity:.76;box-shadow:0 0 5px rgba(245,191,79,.5)}50%{transform:scale(1.1);opacity:1;box-shadow:0 0 15px rgba(245,191,79,.92),0 0 24px rgba(245,191,79,.25)}}
@media(max-width:760px){.mini-timer{left:12px;right:12px;bottom:12px;transform:none;width:auto;display:flex;flex-wrap:wrap}.mini-timer-info{flex:1;min-width:130px}.mini-timer-links{order:5;width:100%;justify-content:center}.mini-timer-links a{flex:1;justify-content:center}.mini-timer>b{margin-left:auto}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}
@keyframes task-strike { from { text-decoration-color:transparent } to { text-decoration-color:currentColor } }
.task-library-dialog { width:min(920px,calc(100vw - 36px)); }.library-section { margin-top:18px; }.library-section>h3 { display:flex;align-items:center;gap:8px;margin:0 0 10px; }.library-section>h3 span { display:grid;place-items:center;min-width:25px;height:25px;border-radius:99px;background:var(--surface-2);font-size:.72rem; }.paused-section { margin-top:34px;padding-top:22px;border-top:1px solid var(--border); }.bulk-actions { display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:12px;align-items:end;margin:18px 0; }.bulk-task-list { display:flex;flex-direction:column;gap:7px;max-height:55vh;overflow:auto;padding-right:5px; }.bulk-task-list label { display:flex;flex-direction:row;align-items:center;gap:11px;padding:11px;border:1px solid var(--border);border-radius:9px;background:var(--bg-deep); }.bulk-task-list input { width:auto;min-height:0; }.bulk-task-list span { display:flex;flex-direction:column;gap:3px; }.bulk-task-list small { color:var(--muted); }
.task-tags { display:flex;align-items:center;gap:6px;flex-wrap:wrap; }.task-tag { padding:3px 7px;border:1px solid var(--border);border-radius:999px;font-size:.62rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap; }.priority-tag { color:#9bddff;border-color:rgba(66,200,245,.55);background:rgba(66,200,245,.1); }.prepayment-tag { color:#ffd66b;border-color:rgba(255,214,107,.55);background:rgba(255,214,107,.1); }.blocked-tag { color:#ff929a;border-color:rgba(239,91,103,.55);background:rgba(239,91,103,.1); }.type-tag { color:#b8cce2; }
.prepayment-badge { color:#ffd66b!important;border-color:rgba(255,214,107,.45)!important;background:rgba(255,214,107,.1)!important; }
.notification-bell { position:relative;width:44px;height:44px;border:1px solid var(--border);border-radius:50%;background:var(--surface);font-size:1.15rem;cursor:pointer; }.notification-bell b { position:absolute;right:-5px;top:-7px;display:grid;place-items:center;min-width:21px;height:21px;padding:0 5px;border-radius:99px;background:var(--danger);color:white;font-size:.7rem; }.collection-checklist { display:flex;flex-direction:column;gap:8px;margin:16px 0; }.collection-checklist form { display:flex;align-items:center;gap:12px;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--bg-deep); }.collection-checklist form>div { display:flex;flex-direction:column;gap:3px; }.collection-checklist span { color:var(--muted);font-size:.82rem; }.collection-check { width:30px;height:30px;border:2px solid var(--success);border-radius:8px;color:var(--success);background:transparent;cursor:pointer; }
.pending-age{color:var(--warning);font-size:.75rem;font-weight:700}.collection-checklist em{font-style:normal}.overdue-label{color:#ff929a;font-weight:700}
.project-hero>.page-actions>.priority-form{justify-self:end!important}.project-hero>.page-actions>.priority-form label{justify-content:flex-end!important;width:100%}
.reminder-dialog { width:min(760px,calc(100vw - 32px)); }.reminder-section { padding:16px 0; }.reminder-section+.reminder-section { border-top:1px solid var(--border); }.reminder-heading { display:flex;align-items:flex-start;justify-content:space-between;gap:16px; }.reminder-heading h3,.reminder-heading p { margin:0; }.reminder-heading b { display:grid;place-items:center;min-width:28px;height:28px;padding:0 8px;border-radius:99px;background:var(--surface);color:var(--text); }.reminder-section-action{display:flex;justify-content:flex-end;margin-top:-4px}.project-reminder { display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px;border:1px solid var(--border);border-radius:10px;background:var(--bg-deep); }.project-reminder-copy { display:flex;flex-direction:column;gap:3px;min-width:0; }.project-reminder-copy p { margin:6px 0 0;color:var(--danger);font-size:.88rem; }.project-reminder-actions { display:flex;align-items:center;gap:8px;flex-shrink:0; }.project-reminder-actions form { padding:0;border:0;background:transparent; }.reminder-empty { margin:4px 0;color:var(--muted);font-size:.9rem; } @media(max-width:700px){.project-reminder{align-items:stretch;flex-direction:column}.project-reminder-actions{justify-content:flex-end}}
.daily-header{display:grid;grid-template-columns:minmax(0,1fr) auto}.daily-header .page-actions{grid-column:1/-1;justify-content:flex-start;margin-top:-8px;flex-wrap:nowrap;white-space:nowrap;gap:8px}.daily-header .page-actions .button{padding-inline:14px}@media(max-width:760px){.daily-header{display:flex}.daily-header .page-actions{width:100%;overflow-x:auto;padding-bottom:5px}.daily-header .page-actions>*{flex:0 0 auto;width:auto}}
.priority-form label { display:flex;flex-direction:row;align-items:center;gap:8px; }.priority-form select { width:68px;min-height:38px; }.priority-chip { display:inline-flex;margin-left:6px;padding:2px 6px;border-radius:5px;background:rgba(66,200,245,.15);color:var(--blue-light);font-size:.68rem; }.project-row.blocked { opacity:.68;border-left-color:var(--danger); }.blocker-text,.blocker-badge { color:var(--danger)!important; }
.receivable-list{display:flex;flex-direction:column;gap:10px}.receivable{display:grid;grid-template-columns:minmax(280px,1fr) minmax(130px,170px) auto;align-items:center;gap:24px;padding:16px 18px;border:1px solid var(--border);border-left:4px solid var(--blue);border-radius:11px;background:var(--bg-deep)}.receivable-copy,.receivable-value{display:flex;flex-direction:column;gap:4px;min-width:0}.receivable-copy strong,.receivable-copy span,.receivable-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.receivable-value{align-items:flex-start}.receivable-value strong{font-size:1.05rem}.receivable span,.receivable small{color:var(--muted)}.receivable-actions{display:flex;flex-direction:row;flex-wrap:nowrap;gap:8px;white-space:nowrap}.receivable-actions .button{min-height:42px;padding-inline:14px}.receivable.due-soon{border-left-color:var(--warning)}.receivable.overdue{border-left-color:var(--danger);background:rgba(239,91,103,.06)}.receivable.paid{opacity:.5;border-left-color:var(--success)}@media(max-width:950px){.receivable{grid-template-columns:minmax(0,1fr) auto}.receivable-value{align-items:flex-end}.receivable-actions{grid-column:1/-1;justify-content:flex-end}}@media(max-width:650px){.receivable{grid-template-columns:1fr;gap:12px}.receivable-value{align-items:flex-start}.receivable-actions{grid-column:1;justify-content:flex-start;flex-wrap:wrap}}
.recurrence-toggle{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px;padding:13px 14px;border:1px solid var(--border);border-radius:11px;background:rgba(66,200,245,.035);cursor:pointer}.recurrence-toggle>input{position:absolute;width:1px;height:1px;min-height:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.recurrence-toggle .toggle-track{position:relative;display:block;width:44px;height:24px;border:1px solid #45627f;border-radius:999px;background:#1a304a;transition:background .16s,border-color .16s}.recurrence-toggle .toggle-track i{position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#a8b8ca;transition:transform .16s,background .16s}.recurrence-toggle>input:checked+.toggle-track{border-color:var(--blue-light);background:var(--blue)}.recurrence-toggle>input:checked+.toggle-track i{transform:translateX(20px);background:#fff}.recurrence-toggle>input:focus-visible+.toggle-track{outline:2px solid var(--blue-light);outline-offset:3px}.recurrence-toggle .toggle-copy{display:flex;flex-direction:column}.recurrence-toggle small{color:var(--muted);font-weight:500}.receivable-recurrence-menu{display:flex;flex-direction:column;gap:14px;padding:16px;border:1px solid rgba(66,200,245,.28);border-radius:12px;background:rgba(66,200,245,.045)}.receivable-recurrence-menu p{margin:0}.receivable-recurrence-menu[hidden],[data-recurrence-end-date][hidden],[data-installment-count][hidden],[data-single-due][hidden]{display:none!important}
.sheet-access-button{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;min-width:220px;padding:8px 12px;border:1px solid rgba(52,200,113,.5);border-radius:10px;background:linear-gradient(135deg,rgba(34,153,84,.18),rgba(14,92,50,.1));color:var(--text);text-decoration:none;transition:border-color .14s,background .14s,transform .14s}.sheet-access-button:hover{border-color:#55d98d;background:linear-gradient(135deg,rgba(34,153,84,.28),rgba(14,92,50,.18));transform:translateY(-1px)}.sheet-access-button>span:nth-child(2){display:flex;min-width:0;flex-direction:column}.sheet-access-button small{color:#74e3a3;font-size:.63rem;font-weight:850;letter-spacing:.08em}.sheet-access-button strong{font-size:.9rem}.sheet-access-button>b{color:#74e3a3}.sheet-mark{display:grid;place-items:center;width:32px;height:32px;border:1px solid rgba(116,227,163,.42);border-radius:8px;background:rgba(3,36,20,.6);color:#74e3a3;font-size:1.05rem}@media(max-width:680px){.page-header .page-actions{width:100%;justify-content:stretch}.sheet-access-button{flex:1}.page-header .page-actions>.button{flex:1}}
.finance-header-actions{align-items:stretch}.finance-header-actions>.button{min-height:56px}
.daily-layout-modal { grid-template-columns:minmax(0,1fr); }.task-dialog { width:min(760px,calc(100vw - 28px)); }.task-dialog .task-form-panel { position:static;max-height:none;overflow:visible;padding:24px; }.dialog-body { padding:24px; }.library-list { display:flex;flex-direction:column;gap:8px;margin-top:16px; }.library-list article { display:flex;justify-content:space-between;align-items:center;gap:14px;padding:13px;border:1px solid var(--border);border-radius:10px;background:var(--bg-deep); }.library-list article>div:first-child { display:flex;flex-direction:column;gap:4px; }.library-list span { color:var(--muted);font-size:.82rem; }
.project-competence-hours{color:#7fa9c5!important;font-size:.75rem;font-weight:650;white-space:nowrap}.project-competence-hours::before{content:"◷";margin-right:4px;color:#42c8f5}
@media(min-width:981px){.project-finance,.compact .project-finance{grid-template-columns:repeat(4,minmax(112px,1fr))}}
.project-finance>div:last-child{display:none}.project-hourly-summary{display:grid;grid-template-columns:minmax(230px,1fr) repeat(2,minmax(190px,.7fr));align-items:stretch;gap:12px;margin-bottom:20px;padding:16px 20px}.project-hourly-summary>div{display:flex;flex-direction:column;justify-content:center}.project-hourly-summary h2,.project-hourly-summary p{margin:0}.project-hourly-summary>div>small,.project-hourly-summary article span{color:var(--muted);font-size:.76rem}.project-hourly-summary article{display:flex;flex-direction:column;justify-content:center;min-height:72px;padding:12px 16px;border:1px solid var(--border);border-radius:11px;background:var(--bg-deep)}.project-hourly-summary article small{text-transform:uppercase;letter-spacing:.08em;font-size:.66rem;font-weight:800}.project-hourly-summary article strong{margin:3px 0;font-size:1.45rem;font-variant-numeric:tabular-nums}.hourly-rate-expected{border-color:rgba(66,200,245,.4)!important}.hourly-rate-expected small,.hourly-rate-expected strong{color:#72d8ff}.hourly-rate-realized{border-color:rgba(54,200,138,.4)!important}.hourly-rate-realized small,.hourly-rate-realized strong{color:#70e2ad}@media(max-width:900px){.project-hourly-summary{grid-template-columns:1fr 1fr}.project-hourly-summary>div{grid-column:1/-1}}@media(max-width:560px){.project-hourly-summary{grid-template-columns:1fr}.project-hourly-summary>div{grid-column:1}}
.project-performance{display:grid;grid-template-columns:minmax(0,3fr) minmax(340px,2fr);align-items:stretch;gap:24px;margin-bottom:20px;padding:22px 24px}.project-performance .project-hourly-summary{grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:12px;margin:0;padding:0}.project-performance .project-hourly-summary>div{grid-column:1/-1;min-height:48px;margin-bottom:2px}.project-performance .project-hourly-summary article{min-height:76px;padding:14px 17px}.project-performance .timer-workspace{grid-template-columns:1fr;align-content:center;gap:14px;margin:0;padding:0 0 0 24px;border-left:1px solid var(--border)}.project-performance .timer-primary,.project-performance .timer-primary>form{width:100%}.project-performance .timer-primary .button{width:100%}.project-performance .timer-workspace .alert{margin:0}@media(max-width:1100px){.project-performance{grid-template-columns:1fr}.project-performance .timer-workspace{grid-template-columns:minmax(180px,.55fr) minmax(300px,1.45fr);padding:20px 0 0;border-top:1px solid var(--border);border-left:0}}@media(max-width:700px){.project-performance{padding:18px}.project-performance .project-hourly-summary,.project-performance .timer-workspace{grid-template-columns:1fr}.project-performance .project-hourly-summary>div{grid-column:1}.project-performance .timer-workspace{padding-top:18px}}
.mini-timer{grid-template-columns:auto minmax(180px,1fr) auto auto auto auto auto auto}.mini-timer-task-jump{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(54,200,138,.42);border-radius:9px;background:rgba(54,200,138,.08);color:#6ce4ad;font-size:1.05rem;font-weight:900;text-decoration:none;transition:border-color .14s,background .14s,transform .14s}.mini-timer-task-jump:hover{border-color:#6ce4ad;background:rgba(54,200,138,.16);transform:translateY(-1px)}
.task-card.task-focus-flash{animation:task-focus-flash 2.1s ease-out;z-index:3}@keyframes task-focus-flash{0%,18%{border-color:#55e4a4;box-shadow:0 0 0 3px rgba(54,200,138,.34),0 0 28px rgba(54,200,138,.24);background:linear-gradient(90deg,rgba(54,200,138,.16),var(--surface) 42%)}45%{border-color:#55e4a4;box-shadow:0 0 0 1px rgba(54,200,138,.18)}100%{box-shadow:none}}
.task-card.has-active-timer .task-check{cursor:not-allowed;border-color:#f5bf4f;color:#f5bf4f;box-shadow:0 0 0 2px rgba(245,191,79,.08)}
@media(max-width:760px){.mini-timer-task-jump{order:2}.mini-timer-links{order:6}}
#task-note-dialog{width:min(680px,calc(100vw - 32px))}#task-note-dialog .note-link-preview{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}#task-note-dialog .note-link-preview a{width:100%;box-sizing:border-box}
#task-note-dialog .note-links-fieldset{position:relative}#task-note-dialog .note-links-toolbar{position:absolute;right:10px;top:-28px;padding:0;background:transparent}#task-note-dialog .note-links-toggle{min-height:34px;padding-inline:13px;font-size:.82rem;background:var(--surface)}#task-note-dialog .note-link-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}#task-note-dialog .note-link-preview:empty{display:none}#task-note-dialog .note-link-preview a{display:flex;align-items:center;justify-content:center;min-height:40px;padding:8px 12px}#task-note-dialog .note-link-remove{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 12px;border:1px solid rgba(239,91,103,.34);border-radius:8px;background:rgba(239,91,103,.08);color:#ff8791;font-size:.82rem;transition:border-color .14s ease,background .14s ease,color .14s ease}#task-note-dialog .note-link-remove:hover{border-color:rgba(239,91,103,.68);background:rgba(239,91,103,.16);color:#ffadb3}@media(max-width:650px){#task-note-dialog .note-link-preview{grid-template-columns:1fr}#task-note-dialog .note-links-toolbar{right:8px}}
.project-competence-hours.hours-just-updated{animation:hours-just-updated 1.1s ease-out}@keyframes hours-just-updated{0%{color:#76efb5!important;text-shadow:0 0 12px rgba(54,200,138,.8)}100%{color:#7fa9c5!important;text-shadow:none}}
.skipped-visibility-button{position:relative;display:grid;place-items:center;flex:0 0 44px;width:44px;height:42px;padding:0;border:1px solid var(--border);border-radius:10px;background:transparent;color:var(--muted);font-size:1.25rem;cursor:pointer;transition:color .14s,border-color .14s,background .14s}.skipped-visibility-button:hover{color:var(--text);border-color:var(--blue-light);background:rgba(66,200,245,.07)}.skipped-visibility-button.is-active{color:#42c8f5;border-color:rgba(66,200,245,.48);background:rgba(66,200,245,.1)}.skipped-visibility-button.is-active::after{content:"";position:absolute;width:22px;height:2px;border-radius:2px;background:currentColor;transform:rotate(-42deg);box-shadow:0 0 0 2px var(--bg)}.hide-skipped .task-card.status-skipped{display:none}
.task-search-control{position:relative;flex:0 0 44px;width:44px;height:42px}.task-search-button{display:grid;place-items:center;width:44px;height:42px;padding:0;border:1px solid var(--border);border-radius:10px;background:transparent;color:var(--muted);font-size:1.45rem;line-height:1;cursor:pointer;transition:color .14s,border-color .14s,background .14s}.task-search-button:hover,.task-search-control.is-open .task-search-button{color:#42c8f5;border-color:rgba(66,200,245,.48);background:rgba(66,200,245,.1)}.task-search-popover{position:absolute;z-index:30;left:52px;top:0;display:flex;align-items:center;width:0;height:42px;overflow:hidden;opacity:0;transform:translateX(-8px);pointer-events:none;transition:width .2s ease,opacity .15s ease,transform .2s ease}.task-search-control.is-open .task-search-popover{width:250px;opacity:1;transform:none;pointer-events:auto}.task-search-popover input{width:100%;height:42px;min-height:42px;padding:0 40px 0 13px;border-radius:10px;background:var(--bg-deep);box-shadow:0 10px 28px rgba(0,0,0,.28)}.task-search-popover button{position:absolute;right:7px;display:grid;place-items:center;width:28px;height:28px;padding:0;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:1.2rem;cursor:pointer}.task-search-popover button:hover{color:var(--text);background:var(--surface-2)}@media(max-width:760px){.task-search-control.is-open .task-search-popover{position:fixed;z-index:1100;left:16px;right:16px;top:76px;width:auto}}
.task-search-button svg{display:block;width:18px;height:18px;overflow:visible;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.task-card[hidden],.task-area-group[hidden],.shift-heading[hidden]{display:none!important}.task-search-popover input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}
.task-card.search-returning{animation:search-result-return .34s ease-out both;animation-delay:var(--return-delay,0ms)}@keyframes search-result-return{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
.task-card.search-filtering-in{animation:search-filtering-in .26s ease-out both;animation-delay:var(--filter-delay,0ms)}@keyframes search-filtering-in{from{opacity:.25;transform:translateY(4px)}to{opacity:1;transform:none}}
.operational-report-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.operational-report-metrics .metric-card span{text-transform:uppercase;letter-spacing:.08em;font-size:.68rem;color:#9bbbea}.operational-report-metrics .metric-card strong{font-variant-numeric:tabular-nums}.operational-report-metrics .metric-card small{color:var(--muted)}.report-filters select{min-width:220px}@media(max-width:900px){.operational-report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.report-filters{flex-wrap:wrap}}@media(max-width:560px){.operational-report-metrics{grid-template-columns:1fr}.report-filters>*{width:100%}}
.session-edit-mode{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border:1px solid var(--border);border-radius:11px;background:var(--bg-deep)}.session-edit-mode button{min-height:38px;padding:7px 12px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted);font:inherit;font-weight:750;cursor:pointer;transition:color .14s,border-color .14s,background .14s}.session-edit-mode button:hover{color:var(--text)}.session-edit-mode button.is-active{border-color:rgba(66,200,245,.42);background:rgba(66,200,245,.12);color:#7edfff}.session-edit-mode button:focus-visible{outline:2px solid var(--blue-light);outline-offset:2px}[data-session-duration-fields][hidden],[data-session-interval-fields][hidden]{display:none!important}[data-session-interval-preview]{margin-top:8px;color:#7edfff}
.blocker-dialog-actions .button-resolve{margin-right:auto;border-color:rgba(54,200,138,.48);background:rgba(54,200,138,.1);color:#69e4ad}.blocker-dialog-actions .button-resolve:hover{border-color:#69e4ad;background:rgba(54,200,138,.18);color:#a1f1cc}@media(max-width:560px){.blocker-dialog-actions{align-items:stretch;flex-direction:column}.blocker-dialog-actions .button-resolve{margin-right:0;order:3}}

/* Checklists de projeto */
.back-link{display:inline-flex;align-items:center;gap:7px;margin-bottom:14px;padding:5px 10px 5px 6px;border:1px solid rgba(132,158,185,.22);border-radius:8px;background:rgba(8,25,46,.42);color:#9fb0c2;text-decoration:none;transition:border-color .14s,background .14s,color .14s}.back-link>span{display:grid;place-items:center;width:23px;height:23px;border-radius:6px;background:rgba(141,166,192,.09);color:#b4c2d0;font-size:.86rem}.back-link>strong{font-size:.76rem;font-weight:700;letter-spacing:.01em}.back-link:hover{border-color:rgba(159,180,201,.42);background:rgba(18,39,65,.62);color:#e5edf5}.back-link:hover>span{background:rgba(141,166,192,.15);color:#fff}
.checklist-template-list{display:grid;gap:10px}.checklist-template-card{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px;border:1px solid var(--border);border-radius:13px;background:var(--bg-deep);color:var(--text);text-decoration:none}.checklist-template-card:hover{border-color:rgba(66,200,245,.55);transform:translateY(-1px)}.checklist-template-card h2,.checklist-template-card p{margin:4px 0}.checklist-template-card p{color:var(--muted)}
.checklist-editor-layout,.project-checklist-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:20px;align-items:start}.checklist-editor-links,.project-checklist-sidebar{position:sticky;top:88px;max-height:calc(100vh - 110px);overflow:auto}.template-link-row{padding:10px 0;border-bottom:1px solid var(--border);color:#78d9ff;font-weight:700}.checklist-editor-main,.project-checklist-content{display:flex;flex-direction:column;gap:14px;min-width:0}.checklist-stage-editor,.project-checklist-stage{padding:0;overflow:hidden}.checklist-stage-editor>summary,.project-checklist-stage>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;cursor:pointer;list-style:none}.checklist-stage-editor>summary::-webkit-details-marker,.project-checklist-stage>summary::-webkit-details-marker{display:none}.checklist-stage-editor>summary span:first-child{display:flex;flex-direction:column;gap:4px}.checklist-stage-editor>summary small,.stage-kicker{color:var(--blue-light);font-size:.68rem;font-weight:800;text-transform:uppercase;letter-spacing:.1em}.stage-editor-body{padding:0 22px 22px;border-top:1px solid var(--border)}.template-section{padding:20px 0}.template-section+.template-section{border-top:1px solid var(--border)}.template-section h3{margin:0}.template-item{margin-top:9px;padding:13px;border:1px solid var(--border);border-radius:10px;background:var(--bg-deep)}.template-item p{margin:7px 0 0;color:var(--muted)}.item-type-label{display:block;margin-bottom:5px;color:var(--blue-light);font-size:.65rem;font-weight:800;text-transform:uppercase}.template-item-warning{border-color:rgba(245,191,79,.45)}.template-item-copy{background:rgba(140,124,240,.06)}
.checklist-project-hero{align-items:center}.checklist-progress-summary{display:grid;grid-template-columns:auto auto;align-items:center;gap:4px 14px;min-width:280px;padding:15px 17px;border:1px solid var(--border);border-radius:13px;background:var(--surface)}.checklist-progress-summary strong{font-size:1.25rem}.checklist-progress-summary span{color:var(--muted);font-size:.8rem}.checklist-progress-summary .progress-track{grid-column:1/2}.checklist-progress-summary>b{grid-column:2;grid-row:1/3;align-self:center;color:#67d5ff;font-size:1.1rem}.progress-track{height:7px;overflow:hidden;border-radius:99px;background:var(--bg-deep)}.progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--blue),var(--success))}.checklist-apply{display:flex;align-items:center;justify-content:space-between;gap:24px}.checklist-apply h2,.checklist-apply p{margin:5px 0}.project-link-list{display:flex;flex-direction:column;gap:7px}.project-link-list a,.project-link-list button{display:flex;align-items:center;gap:9px;width:100%;padding:11px 12px;border:1px solid var(--border);border-radius:9px;background:var(--bg-deep);color:var(--text);font:inherit;font-weight:700;text-align:left;text-decoration:none;cursor:pointer}.project-link-list a:hover,.project-link-list button:hover{border-color:var(--blue-light);color:#78d9ff}.project-link-list span{color:var(--blue-light)}.checklist-side-progress{margin-top:18px;padding-top:15px;border-top:1px solid var(--border)}.checklist-side-progress span{color:var(--muted);font-size:.8rem}.checklist-side-progress strong{float:right}.checklist-side-progress .progress-track{clear:both;margin-top:9px}.project-checklist-stage>summary h2{margin:5px 0}.project-checklist-stage>summary small{color:var(--muted)}.stage-toggle{font-size:1.4rem;transition:transform .18s}.project-checklist-stage[open] .stage-toggle{transform:rotate(180deg)}.project-stage-toolbar{display:flex;align-items:end;justify-content:space-between;gap:16px;padding:14px 22px;border-block:1px solid var(--border);background:rgba(4,18,36,.35)}.stage-duration-form label{display:flex;flex-direction:row;align-items:center;gap:8px}.stage-duration-form input{width:76px;min-height:38px}.project-checklist-section{padding:22px}.project-checklist-section+.project-checklist-section{border-top:1px solid var(--border)}.project-checklist-section h3{margin:0 0 12px}.project-checklist-items{display:flex;flex-direction:column;gap:9px}.project-check-item,.checklist-content-block{display:flex;align-items:flex-start;gap:12px;margin:0;padding:13px 14px;border:1px solid var(--border);border-radius:11px;background:var(--bg-deep);color:var(--text);text-decoration:none}.project-check-item p,.checklist-content-block p{margin:6px 0 0;color:var(--muted);line-height:1.55}.check-control{display:grid;place-items:center;flex:0 0 25px;width:25px;height:25px;padding:0;border:2px solid #8c7cf0;border-radius:7px;background:transparent;color:white;cursor:pointer}.project-check-item.is-complete{opacity:.58}.project-check-item.is-complete .check-control{border-color:var(--success);background:var(--success)}.project-check-item.is-complete strong{text-decoration:line-through}.checklist-content-block.warning{border-color:rgba(245,191,79,.44);background:rgba(245,191,79,.07)}.checklist-content-block.warning>span{color:var(--warning)}.copy-block{align-items:center;justify-content:space-between}.copy-block>div{min-width:0}.copy-block pre{max-height:260px;overflow:auto;white-space:pre-wrap;margin:10px 0 0;padding:13px;border-radius:8px;background:#06162b;color:#dbe9f7;font:inherit;font-size:.88rem}.link-block:hover{border-color:var(--blue-light)}
.checklist-apply-form{display:grid;grid-template-columns:minmax(280px,350px) max-content;align-items:center;gap:12px;flex:0 1 520px;justify-content:end}.checklist-apply-form select,.checklist-apply-form .button{min-height:44px}.checklist-apply-form .button{padding-inline:18px;white-space:nowrap}@media(max-width:760px){.checklist-apply-form{grid-template-columns:1fr;width:100%;max-width:none}.checklist-apply-form .button{width:100%}}
@media(max-width:900px){.checklist-editor-layout,.project-checklist-layout{grid-template-columns:1fr}.checklist-editor-links,.project-checklist-sidebar{position:static;max-height:none}.project-link-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.project-stage-toolbar{align-items:stretch;flex-direction:column}.project-stage-toolbar .inline-form{width:100%}}@media(max-width:620px){.checklist-project-hero,.checklist-apply{align-items:stretch;flex-direction:column}.checklist-progress-summary{min-width:0}.project-link-list{grid-template-columns:1fr}.copy-block{align-items:stretch;flex-direction:column}.stage-duration-form{align-items:stretch;flex-wrap:wrap}}
.template-part-editor{display:flex;align-items:center;gap:7px}.template-part-editor input{min-height:36px}.template-link-row{padding:8px 0}.template-link-row input{min-width:0;flex:1}.stage-part-editor{margin:16px 0;padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--bg-deep)}.stage-part-editor input:first-of-type{flex:1}.stage-part-editor input[type=number]{width:78px}.section-part-editor{flex:1}.section-part-editor input{flex:1;font-weight:750}.template-item-editor{display:grid;grid-template-columns:130px minmax(0,1fr);gap:8px}.template-item-editor textarea,.template-item-editor input[type=url],.template-item-actions{grid-column:1/-1}.template-item-actions{display:flex;justify-content:flex-end;gap:9px}.occurrence-duration-form{display:grid!important;grid-template-columns:1fr 1fr;gap:6px!important;padding:8px 10px!important}.occurrence-duration-form label{grid-column:1/-1}.occurrence-duration-form input{width:100%;margin-top:4px}@media(max-width:650px){.template-part-editor{align-items:stretch;flex-wrap:wrap}.stage-part-editor input:first-of-type,.section-part-editor input{flex:1 1 100%}.template-item-editor{grid-template-columns:1fr}.template-item-editor textarea,.template-item-editor input[type=url],.template-item-actions{grid-column:1}}
.checklist-view-options{display:flex;align-items:center;justify-content:flex-end;gap:22px;margin-bottom:16px;padding-block:12px}.checklist-view-options label{display:flex;flex-direction:row;align-items:center;gap:8px;color:var(--muted);font-size:.86rem}.checklist-view-options input{width:auto;min-height:0}.project-checklist-stage{margin-bottom:8px}.project-checklist-stage.is-complete>summary{opacity:.68}.project-checklist-section{padding-block:16px!important}.project-checklist-section+.project-checklist-section{border-top:0!important}.project-checklist-section h3{margin-bottom:14px}.project-check-item{align-items:flex-start;border:0!important;border-radius:7px!important;background:transparent!important;padding:8px 4px!important}.project-check-item:hover{background:rgba(255,255,255,.018)!important}.task-check-only{margin:0}.check-item-copy{flex:1;min-width:0}.task-description-toggle{margin-top:8px}.task-description-toggle>summary{display:inline-flex;align-items:center;gap:6px;list-style:none;color:var(--muted);font-size:.84rem;cursor:pointer}.task-description-toggle>summary::-webkit-details-marker{display:none}.task-description-toggle>summary::first-letter{color:var(--text)}.task-description-toggle[open]>summary{color:#8edfff}.task-description-toggle[open]>summary::first-letter{display:inline-block;transform:rotate(90deg)}.task-description-content{position:relative;margin-top:9px;padding:14px 48px 14px 16px;border-left:2px solid var(--border);border-radius:0 9px 9px 0;background:rgba(4,18,36,.42);color:var(--muted);line-height:1.62}.task-description-content strong{color:var(--text)}.copy-inline-button{position:absolute;right:9px;top:9px;padding:5px 8px;border:1px solid var(--border);border-radius:7px;background:var(--surface-2);color:#7edfff;font:inherit;font-size:.73rem;font-weight:800;cursor:pointer}.copy-inline-button:hover{border-color:var(--blue-light)}.custom-project-link{display:grid;grid-template-columns:1fr 1.5fr;gap:10px;padding:14px;border:1px solid var(--border);border-radius:11px}.custom-project-link legend{padding:0 7px;font-weight:750}.custom-project-link label{min-width:0}@media(max-width:700px){.checklist-view-options{align-items:stretch;flex-direction:column;gap:10px}.custom-project-link{grid-template-columns:1fr}.task-description-content{padding-right:14px;padding-top:48px}}
.detail-prose+.script-copy-block,.script-copy-block+.detail-prose,.script-copy-block+.script-copy-block{margin-top:12px}.script-copy-block{position:relative;padding:14px 58px 14px 14px;border:1px solid var(--border);border-radius:9px;background:#06162b}.script-copy-block pre{margin:0;white-space:pre-wrap;color:#dceafb;font:inherit;line-height:1.55}.script-copy-block .copy-inline-button{top:8px;right:8px}.task-description-content>.copy-inline-button{top:9px;right:9px}@media(max-width:700px){.script-copy-block{padding:48px 12px 12px}}
.checklist-view-options{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;gap:18px!important;min-height:0!important;margin-bottom:16px!important;padding:12px 16px!important}.checklist-view-options>label{display:inline-flex!important;flex-direction:row!important;align-items:center!important;width:auto!important;margin:0!important;gap:8px!important;white-space:nowrap!important}.checklist-view-options>label>input[type="checkbox"]{appearance:auto!important;display:inline-block!important;flex:0 0 16px!important;width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;margin:0!important;padding:0!important;border:initial!important;border-radius:3px!important;box-shadow:none!important;accent-color:var(--blue)!important}.checklist-view-options>.button{flex:0 0 auto!important;width:auto!important;min-height:40px!important}@media(max-width:700px){.checklist-view-options{align-items:flex-start!important;flex-direction:column!important}.checklist-view-options>.button{width:100%!important}}
.template-item>summary{display:flex;align-items:center;gap:10px;padding:10px 12px;list-style:none;cursor:pointer}.template-item>summary::-webkit-details-marker{display:none}.template-item>summary::before{content:'›';color:var(--muted);font-size:1rem;transition:transform .15s}.template-item[open]>summary::before{transform:rotate(90deg);color:var(--blue-light)}.template-item>summary .item-type-label{margin:0;padding:3px 6px;border:1px solid var(--border);border-radius:5px}.template-item>.template-item-editor{padding:12px;border-top:1px solid var(--border)}.zapvoice-copy{display:flex;align-items:center;gap:9px;max-width:100%;margin-top:8px;padding:7px 9px;border:1px solid rgba(140,124,240,.36);border-radius:8px;background:rgba(140,124,240,.08);color:var(--text);font:inherit;cursor:pointer}.zapvoice-copy span{color:#ad9fff;font-size:.68rem;font-weight:850;text-transform:uppercase;letter-spacing:.06em}.zapvoice-copy b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zapvoice-copy em{margin-left:auto;color:#7edfff;font-size:.72rem;font-style:normal;font-weight:800}.zapvoice-copy:hover{border-color:#9b8cff;background:rgba(140,124,240,.14)}.zapvoice-block{align-items:center;justify-content:space-between}.zapvoice-block .zapvoice-copy{margin:0}

/* Checklist do projeto — interface mais leve e orientada à leitura. */
.checklist-project-hero{margin-bottom:22px;padding:4px 2px 0}.checklist-project-hero h1{margin-top:8px;font-size:clamp(2rem,3vw,2.7rem);letter-spacing:-.035em}.checklist-project-hero .project-subtitle{margin-top:9px}.checklist-project-hero .project-subtitle span{opacity:.72}.checklist-progress-summary{min-width:260px;padding:14px 16px;border-color:rgba(104,145,187,.24);border-radius:14px;background:rgba(13,35,64,.72);box-shadow:none}.checklist-progress-summary strong{letter-spacing:-.02em}.checklist-progress-summary .progress-track{height:5px;background:rgba(3,13,27,.6)}
.checklist-sync-bar{border-color:rgba(104,145,187,.22)!important;background:rgba(12,34,62,.55)!important;box-shadow:none!important}.checklist-view-options{min-height:58px;margin-bottom:18px;padding:9px 12px;border-color:rgba(104,145,187,.2);border-radius:14px;background:rgba(12,33,60,.58);box-shadow:none}.checklist-view-options label{min-height:38px;padding:0 12px;border-radius:9px;color:#c8d5e4;cursor:pointer;transition:background .15s ease,color .15s ease}.checklist-view-options label:hover{background:rgba(255,255,255,.035);color:var(--text)}.checklist-view-options input{accent-color:var(--blue-light)}.checklist-view-options .button{min-height:38px;border-color:rgba(104,145,187,.3);background:rgba(255,255,255,.025)}
.project-checklist-layout{grid-template-columns:252px minmax(0,1fr);gap:18px}.project-checklist-sidebar{padding:18px;border-color:rgba(104,145,187,.22);border-radius:15px;background:rgba(12,34,62,.7);box-shadow:none}.project-checklist-sidebar .section-heading{margin-bottom:13px}.project-checklist-sidebar .section-heading h2{margin:3px 0 0;font-size:1rem}.project-checklist-sidebar .eyebrow{font-size:.65rem}.project-link-list{gap:4px}.project-link-list a,.project-link-list button{min-height:42px;padding:9px 10px;border-color:transparent;border-radius:9px;background:transparent;color:#dce7f2;font-size:.88rem;font-weight:650}.project-link-list a:hover,.project-link-list button:hover{border-color:rgba(66,200,245,.18);background:rgba(66,200,245,.07);color:#8de2ff}.project-link-list span{display:grid;place-items:center;width:23px;height:23px;flex:0 0 23px;border-radius:7px;background:rgba(66,200,245,.09);font-size:.8rem}.checklist-side-progress{margin-top:14px;padding-top:14px;border-color:rgba(104,145,187,.18)}
.project-checklist-content{gap:12px}.project-checklist-stage{margin:0;border-color:rgba(104,145,187,.24);border-radius:15px;background:rgba(13,36,66,.72);box-shadow:none;overflow:hidden;transition:border-color .16s ease,background .16s ease}.project-checklist-stage:hover{border-color:rgba(104,164,219,.38)}.project-checklist-stage[open]{border-color:rgba(91,164,222,.34);background:rgba(14,39,71,.88)}.project-checklist-stage>summary{min-height:84px;padding:17px 20px}.project-checklist-stage>summary>div{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:2px 11px}.project-checklist-stage>summary .stage-kicker{grid-column:1/2;align-self:center;padding:3px 7px;border-radius:999px;background:rgba(66,200,245,.1);color:#83dcfb;font-size:.6rem;letter-spacing:.08em}.project-checklist-stage>summary h2{grid-column:1/-1;margin:5px 0 2px;font-size:1.13rem;letter-spacing:-.015em}.project-checklist-stage>summary small{grid-column:1/-1;color:#91a7bc;font-size:.78rem}.stage-toggle{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:rgba(255,255,255,.035);color:#91a7bc;font-size:1rem}.project-checklist-stage[open] .stage-toggle{background:rgba(66,200,245,.09);color:#87dfff}
.project-stage-toolbar{align-items:center;padding:11px 19px;border-color:rgba(104,145,187,.16);background:rgba(3,15,31,.22)}.project-stage-toolbar .button{min-height:37px;padding-inline:13px;border-radius:9px;font-size:.82rem}.project-stage-toolbar input{min-height:37px;background:rgba(3,15,31,.48)}.stage-duration-form label{color:#9eb1c4;font-size:.8rem}
.project-checklist-section{padding:22px 20px 12px!important}.project-checklist-section+.project-checklist-section{padding-top:18px!important}.project-checklist-section h3{display:flex;align-items:center;gap:10px;margin:0 0 10px;color:#eaf1f8;font-size:.78rem;font-weight:800;letter-spacing:.075em;text-transform:uppercase}.project-checklist-section h3::after{content:'';height:1px;flex:1;background:linear-gradient(90deg,rgba(104,145,187,.24),transparent)}.project-checklist-items{gap:2px}.project-check-item{min-height:48px;padding:9px 8px!important;border-radius:9px!important;transition:background .14s ease}.project-check-item:hover{background:rgba(255,255,255,.026)!important}.project-check-item:has(.task-description-toggle[open]){margin-block:3px;padding:12px!important;background:rgba(4,18,36,.34)!important}.check-control{width:23px;height:23px;flex-basis:23px;margin-top:0;border-width:1.5px;border-color:#8f80ee;border-radius:7px;transition:background .14s ease,border-color .14s ease,transform .14s ease}.check-control:hover{transform:scale(1.06);background:rgba(143,128,238,.1)}.check-item-copy>strong{display:block;padding-top:1px;font-size:.91rem;line-height:1.45}.project-check-item.is-complete{opacity:.5}.project-check-item.is-complete:hover{opacity:.7}.project-check-item.is-complete .check-control{background:#2c9a79;border-color:#2c9a79}.project-check-item.is-complete strong{text-decoration-color:rgba(218,232,244,.5);text-decoration-thickness:1px}
.task-description-toggle{margin-top:5px}.task-description-toggle>summary{padding:3px 0;color:#8499ae;font-size:.78rem}.task-description-toggle>summary:hover{color:#91ddf7}.task-description-content{margin-top:8px;padding:13px 50px 13px 14px;border:1px solid rgba(104,145,187,.14);border-left:2px solid rgba(66,200,245,.36);border-radius:9px;background:rgba(3,14,29,.34);color:#aebed0;font-size:.86rem}.copy-inline-button{border-color:rgba(104,145,187,.25);background:rgba(18,45,77,.9);color:#8edfff}.script-copy-block{border-color:rgba(104,145,187,.16);background:rgba(2,12,26,.48)}
.checklist-content-block{min-height:48px;margin:2px 0;padding:11px 12px;border-color:rgba(104,145,187,.16);border-radius:10px;background:rgba(4,17,34,.26);font-size:.9rem}.checklist-content-block:hover{border-color:rgba(104,164,219,.3);background:rgba(7,24,45,.42)}.checklist-content-block.warning{border-color:rgba(245,191,79,.22);background:rgba(245,191,79,.045)}.copy-block pre{padding:10px 11px;border:1px solid rgba(104,145,187,.12);background:rgba(2,12,26,.4);font-size:.84rem}.zapvoice-copy{border-color:rgba(140,124,240,.24);background:rgba(140,124,240,.065)}.zapvoice-copy:hover{border-color:rgba(156,141,255,.55);background:rgba(140,124,240,.12)}
@media(max-width:900px){.project-checklist-layout{grid-template-columns:1fr}.project-checklist-sidebar{position:static}.project-link-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.checklist-project-hero{gap:16px}.checklist-progress-summary{width:100%}.checklist-view-options{align-items:stretch}.checklist-view-options label{justify-content:center}.project-link-list{grid-template-columns:1fr}.project-checklist-stage>summary{padding:15px}.project-stage-toolbar{padding:12px 15px}.project-checklist-section{padding:18px 14px 10px!important}}

/* Ajuste de proporção e respiro do checklist. */
.project-stage-toolbar{min-height:66px;align-items:center;gap:28px;padding:13px 20px}.project-stage-toolbar .inline-form{display:flex;align-items:center;gap:9px;margin:0}.project-stage-toolbar .inline-form:first-child{flex:0 1 390px}.project-stage-toolbar .inline-form:first-child input[type=date]{width:190px;flex:0 0 190px}.project-stage-toolbar .stage-duration-form{flex:0 0 auto;margin-left:auto}.project-stage-toolbar .stage-duration-form label{display:flex;flex-direction:row;align-items:center;gap:9px;white-space:nowrap;font-size:.86rem}.project-stage-toolbar .stage-duration-form input{width:74px;flex:0 0 74px}.project-stage-toolbar .button{white-space:nowrap}
.project-stage-toolbar .stage-duration-form input[type=text]{width:260px;flex:1 1 260px}.project-stage-toolbar .stage-duration-form label:first-of-type{min-width:0}.project-stage-toolbar .stage-duration-form label:first-of-type input{min-width:180px}
.project-checklist-section{padding-top:26px!important;padding-bottom:19px!important}.project-checklist-section+.project-checklist-section{padding-top:25px!important}.project-checklist-section h3{margin-bottom:16px;font-size:.82rem}.project-checklist-items{gap:7px}.project-check-item{min-height:55px;padding:11px 8px!important;gap:13px}.check-item-copy>strong{font-size:.96rem;line-height:1.5}.task-description-toggle{margin-top:9px}.task-description-toggle>summary{gap:7px;padding:4px 2px;color:#a8bbce;font-size:.9rem;font-weight:500;line-height:1.4}.task-description-toggle>summary::first-letter{color:#7fdcff}.task-description-toggle>summary:hover{color:#c7eaf7}.task-description-content{margin-top:11px;font-size:.91rem;line-height:1.68}
@media(min-width:701px) and (max-width:900px){.project-stage-toolbar{flex-direction:row;align-items:center}.project-stage-toolbar .inline-form{width:auto}.project-stage-toolbar .inline-form:first-child{flex:1 1 auto}.project-stage-toolbar .stage-duration-form{flex:0 0 auto}}
@media(max-width:700px){.project-stage-toolbar{align-items:stretch;flex-direction:column;gap:12px}.project-stage-toolbar .inline-form,.project-stage-toolbar .inline-form:first-child,.project-stage-toolbar .stage-duration-form{width:100%;margin-left:0}.project-stage-toolbar .inline-form:first-child input[type=date]{width:auto;min-width:0;flex:1}.project-stage-toolbar .stage-duration-form{justify-content:space-between;flex-wrap:wrap}.project-stage-toolbar .stage-duration-form label{white-space:normal}.project-stage-toolbar .stage-duration-form label:first-of-type{width:100%}.project-stage-toolbar .stage-duration-form input[type=text]{width:100%;min-width:0}.project-stage-toolbar .stage-duration-form .button{margin-left:auto}}
.compact .project-stage-toolbar,.project-stage-toolbar{flex-wrap:wrap}.compact .project-stage-toolbar .stage-duration-form{min-width:0;flex:1 1 520px}.compact .project-stage-toolbar .stage-duration-form .button{display:inline-flex;visibility:visible;flex:0 0 auto}@media(max-width:900px){.project-stage-toolbar .stage-duration-form,.compact .project-stage-toolbar .stage-duration-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;width:100%;margin-left:0}.project-stage-toolbar .stage-duration-form label:first-of-type,.compact .project-stage-toolbar .stage-duration-form label:first-of-type{grid-column:1/-1;width:100%}.project-stage-toolbar .stage-duration-form label:first-of-type input,.compact .project-stage-toolbar .stage-duration-form label:first-of-type input{width:100%;min-width:0}.project-stage-toolbar .stage-duration-form label:nth-of-type(2){grid-column:1}.project-stage-toolbar .stage-duration-form .button,.compact .project-stage-toolbar .stage-duration-form .button{grid-column:2;align-self:end;margin:0}}

/* Recursos opcionais pertencem à atividade, não são tipos separados. */
.check-item-heading{display:flex;align-items:flex-start;flex-direction:column;gap:0}.check-item-heading>strong{min-width:0;padding-top:4px}.task-item-tools{display:flex;align-items:flex-start;flex-direction:column;gap:6px;width:min(100%,460px);margin-top:10px;padding-left:12px;border-left:1px solid rgba(125,145,238,.28)}.task-copy-shortcut,.task-open-link{display:flex;align-items:center;gap:10px;width:auto;max-width:100%;min-height:34px;padding:6px 10px;border:1px solid rgba(125,145,238,.35);border-radius:8px;background:rgba(125,105,225,.08);color:#dce7f4;font:inherit;font-size:.78rem;text-decoration:none;cursor:pointer;transition:border-color .14s ease,background .14s ease}.task-copy-shortcut span{display:block;min-width:0;max-width:350px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-copy-shortcut b{flex:0 0 auto;color:#8edfff;font-size:.72rem}.task-copy-shortcut:hover{border-color:rgba(155,140,255,.7);background:rgba(125,105,225,.14)}.task-open-link{border-color:rgba(66,200,245,.25);background:rgba(66,200,245,.055);color:#8edfff;font-weight:700;white-space:nowrap}.task-open-link:hover{border-color:rgba(66,200,245,.55);background:rgba(66,200,245,.1)}.template-item-editor textarea[name=copy_value]{min-height:64px;border-color:rgba(140,124,240,.38);background:rgba(140,124,240,.055)}
@media(max-width:760px){.task-item-tools{width:100%}.task-copy-shortcut span{max-width:min(65vw,350px)}}

/* Detalhes aparecem como conteúdo da atividade, sem um card aninhado. */
.project-check-item:has(.task-description-toggle[open]){margin-block:0;padding:11px 8px!important;background:transparent!important}.task-description-content{margin-top:8px;padding:3px 2px 2px;border:0;border-radius:0;background:transparent;color:#b6c6d7}.task-description-content .script-copy-block{padding:2px 0;border:0;border-radius:0;background:transparent}

/* Filtros instantâneos e sincronização sob demanda. */
.checklist-hero-actions{display:flex;align-items:center;gap:9px}.checklist-sync-trigger{display:grid;place-items:center;width:43px;height:43px;flex:0 0 43px;padding:0;border:1px solid rgba(104,145,187,.28);border-radius:12px;background:rgba(13,35,64,.72);color:#83dcfb;font:inherit;font-size:1.3rem;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease}.checklist-sync-trigger:hover{border-color:rgba(66,200,245,.55);background:rgba(66,200,245,.1);transform:rotate(24deg)}.checklist-sync-dialog{width:min(430px,calc(100vw - 32px))}.checklist-sync-info{display:grid;grid-template-columns:1fr auto;gap:9px 20px;margin:8px 0 16px;padding:14px;border-radius:11px;background:rgba(4,18,36,.38)}.checklist-sync-info span{color:var(--muted);font-size:.82rem}.checklist-sync-info strong{text-align:right}.checklist-sync-dialog>.muted{margin-bottom:20px;font-size:.85rem}.checklist-view-options{width:max-content;max-width:100%;margin-left:auto;gap:5px;padding:7px}.checklist-view-options label{font-size:.84rem}.checklist-view-options label:has(input:checked){background:rgba(66,200,245,.075);color:#e7f4fb}
@media(max-width:700px){.checklist-hero-actions{align-items:stretch;width:100%}.checklist-hero-actions .checklist-progress-summary{flex:1}.checklist-sync-trigger{align-self:center}.checklist-view-options{width:100%;margin-left:0}.checklist-sync-info{grid-template-columns:1fr}.checklist-sync-info strong{text-align:left}}

.checklist-view-options{padding:0;border:0;background:transparent;box-shadow:none}.checklist-view-options label{background:rgba(16,43,78,.72)}.checklist-view-options label:hover{background:rgba(20,52,91,.9)}.checklist-view-options label:has(input:checked){background:rgba(20,60,99,.92)}

/* Modal de sincronização compacto e sem animações decorativas. */
.checklist-sync-trigger{transition:border-color .15s ease,background .15s ease}.checklist-sync-trigger:hover{background:rgba(66,200,245,.08);transform:none}.checklist-sync-dialog{width:min(400px,calc(100vw - 32px));border-color:rgba(104,145,187,.28);border-radius:15px;background:#0c2340;box-shadow:0 24px 70px rgba(0,0,0,.48)}.checklist-sync-dialog>form{gap:14px;padding:22px}.checklist-sync-dialog .dialog-header{margin:0 0 2px}.checklist-sync-dialog .dialog-header h2{font-size:1.12rem}.checklist-sync-dialog .dialog-close{width:34px;height:34px;flex-basis:34px;border-color:transparent;border-radius:9px;font-size:21px}.checklist-sync-dialog .dialog-close:hover{border-color:rgba(104,145,187,.28);background:rgba(255,255,255,.04);transform:none}.checklist-sync-info{display:flex;flex-direction:column;gap:0;margin:0;padding:0;border-radius:0;background:transparent}.checklist-sync-info>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:11px 0;border-bottom:1px solid rgba(104,145,187,.16)}.checklist-sync-info span{color:#8fa5bb;font-size:.77rem}.checklist-sync-info strong{max-width:235px;color:#eaf3fb;font-size:.86rem;text-align:right}.checklist-sync-dialog .muted{margin:0;color:#9fb2c5;font-size:.8rem}.checklist-sync-dialog .dialog-actions{margin-top:4px}
@media(max-width:480px){.checklist-sync-info>div{align-items:flex-start;flex-direction:column;gap:4px}.checklist-sync-info strong{max-width:none;text-align:left}}

.checklist-sync-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:-8px 0 16px;padding:11px 14px;border:1px solid var(--border);border-radius:11px;background:rgba(66,200,245,.035)}.checklist-sync-bar>div{display:flex;flex-direction:column;gap:3px}.checklist-sync-bar span{color:var(--muted);font-size:.76rem}.checklist-sync-bar form{margin:0}@media(max-width:650px){.checklist-sync-bar{align-items:stretch;flex-direction:column}.checklist-sync-bar .button{width:100%}}
.checklist-delete-trigger{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:0 12px;flex:0 0 auto;border:1px solid rgba(239,91,103,.24);border-radius:11px;background:rgba(239,91,103,.035);color:#d9878e;font:inherit;cursor:pointer;transition:border-color .15s ease,background .15s ease,color .15s ease}.checklist-delete-trigger span{font-size:1.1rem}.checklist-delete-trigger b{font-size:.74rem}.checklist-delete-trigger:hover{border-color:rgba(239,91,103,.55);background:rgba(239,91,103,.09);color:#ff969e}.checklist-delete-trigger:focus-visible{outline:2px solid rgba(239,91,103,.7);outline-offset:2px}@media(max-width:720px){.checklist-delete-trigger b{display:none}.checklist-delete-trigger{width:44px;padding:0}}

/* Checklist template editor */
.checklist-stage-editor{border-color:rgba(104,145,187,.24);background:rgba(12,34,62,.72);box-shadow:none}.checklist-stage-editor>summary{padding:18px 22px}.stage-editor-body{padding:18px 22px 22px}.stage-part-editor{display:grid;grid-template-columns:minmax(260px,1fr) 82px auto;gap:10px;margin:0 0 18px;padding:12px;border-color:rgba(104,145,187,.22);background:rgba(3,15,31,.38)}.stage-part-editor input:first-of-type{width:100%}.stage-part-editor input[type=number]{width:82px}.template-section{padding:17px 0}.template-section-heading{align-items:flex-start;gap:12px;margin-bottom:10px}.section-part-editor{display:grid;grid-template-columns:minmax(220px,1fr) auto;gap:10px;min-width:0}.section-part-editor>input{width:100%;min-height:42px}.template-editor-actions{display:flex;align-items:center;gap:6px;flex-wrap:nowrap}.template-editor-actions .button,.add-activity-button{min-height:36px;padding:0 12px;border-radius:8px;font-size:.78rem;box-shadow:none}.editor-save-button{border:1px solid rgba(66,200,245,.42);background:rgba(66,200,245,.1);color:#9be7ff}.editor-save-button:hover{border-color:rgba(66,200,245,.7);background:rgba(66,200,245,.16)}.editor-order-button{display:grid;place-items:center;width:36px;height:36px;min-width:36px;padding:0;border:1px solid rgba(104,145,187,.28);border-radius:8px;background:rgba(255,255,255,.025);color:#aebfd0}.editor-order-button:hover{border-color:rgba(66,200,245,.48);background:rgba(66,200,245,.08);color:#8de2ff}.editor-delete-button{min-height:36px!important;padding:0 11px!important}.add-activity-button{flex:0 0 auto;border-color:rgba(66,200,245,.32);background:rgba(66,200,245,.065);color:#8de2ff;white-space:nowrap}.add-activity-button:hover{border-color:rgba(66,200,245,.6);background:rgba(66,200,245,.12)}.template-item{margin-top:10px;padding:0;border-color:rgba(104,145,187,.22);background:rgba(3,15,31,.34);overflow:hidden}.template-item>summary{min-height:58px;padding:12px 15px}.template-item>.template-item-editor{gap:10px;padding:15px;background:rgba(3,15,31,.22)}.template-item-actions{justify-content:flex-start;padding-top:3px}.template-item-actions .editor-delete-button{margin-left:auto}
@media(max-width:1050px){.stage-part-editor{grid-template-columns:minmax(220px,1fr) 82px}.stage-part-editor>.template-editor-actions{grid-column:1/-1}.template-section-heading{flex-direction:column}.section-part-editor{width:100%}.add-activity-button{margin-left:0}}
@media(max-width:720px){.stage-editor-body{padding:14px}.stage-part-editor,.section-part-editor{grid-template-columns:1fr}.stage-part-editor input[type=number]{width:100%}.stage-part-editor>.template-editor-actions,.section-part-editor>.template-editor-actions{grid-column:1}.template-editor-actions{flex-wrap:wrap}.editor-delete-button{margin-left:auto}.add-activity-button{width:100%}.template-item-actions .editor-delete-button{margin-left:0}}
.template-variable-guide{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px;padding:14px 16px;border:1px solid rgba(104,145,187,.22);border-radius:13px;background:rgba(12,34,62,.55)}.template-variable-guide>div:first-child{display:flex;align-items:center;gap:11px;min-width:0}.template-variable-guide strong{display:block;font-size:.9rem}.template-variable-guide p{margin:3px 0 0;color:var(--muted);font-size:.78rem}.template-variable-icon{display:grid;place-items:center;width:34px;height:34px;flex:0 0 34px;border-radius:9px;background:rgba(66,200,245,.1);color:#82ddff;font-size:.76rem;font-weight:850}.template-variable-list{display:flex;align-items:center;gap:8px;flex:0 0 auto}.template-variable-list button{display:grid;grid-template-columns:auto auto;gap:1px 9px;align-items:center;min-height:44px;padding:7px 10px;border:1px solid rgba(104,145,187,.25);border-radius:9px;background:rgba(3,15,31,.38);color:var(--text);text-align:left;cursor:pointer}.template-variable-list button:hover{border-color:rgba(66,200,245,.55);background:rgba(66,200,245,.07)}.template-variable-list code{color:#8de2ff;font-size:.76rem;font-weight:850}.template-variable-list span{grid-column:1;color:var(--muted);font-size:.68rem}.template-variable-list b{grid-column:2;grid-row:1/3;color:#8de2ff;font-size:.68rem}@media(max-width:900px){.template-variable-guide{align-items:stretch;flex-direction:column}.template-variable-list{flex-wrap:wrap}.template-variable-list button{flex:1 1 210px}}@media(max-width:520px){.template-variable-list{flex-direction:column}.template-variable-list button{width:100%;flex-basis:auto}}
.activity-resource-group{grid-column:1/-1;padding:11px 12px;border:1px solid rgba(104,145,187,.2);border-radius:10px;background:rgba(12,34,62,.34)}.activity-resource-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.activity-resource-heading strong{font-size:.78rem;color:#b9c9d9}.activity-resource-heading .text-button{color:#83ddff;font-size:.76rem;font-weight:750}.activity-resource-list{display:flex;flex-direction:column;gap:7px}.activity-resource-list:not(:empty){margin-top:9px}.activity-resource-row{display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:start;gap:7px}.activity-resource-row input,.activity-resource-row textarea{width:100%;min-height:38px}.resource-remove{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(239,91,103,.3);border-radius:8px;background:rgba(239,91,103,.05);color:#ff929a;font-size:1rem;cursor:pointer}.resource-remove:hover{border-color:rgba(239,91,103,.6);background:rgba(239,91,103,.12)}
.template-item-editor .activity-resource-row input,.template-item-editor .activity-resource-row textarea{grid-column:1!important;grid-row:1}.activity-resource-row .resource-remove{grid-column:2;grid-row:1}
.project-checklist-sidebar-column{position:sticky;top:88px;display:flex;flex-direction:column;gap:9px;min-width:0}.project-checklist-sidebar-column .project-checklist-sidebar{position:static;max-height:calc(100vh - 165px)}.quick-access-export{width:100%;min-height:38px;border-color:rgba(104,145,187,.24);background:transparent;color:#9eb2c7;font-size:.78rem}.quick-access-export:hover{border-color:rgba(66,200,245,.42);color:#8de2ff}.project-prompt-access{border:1px solid rgba(140,124,240,.24);border-radius:9px;background:rgba(140,124,240,.045);overflow:hidden}.project-prompt-access>summary{display:flex;align-items:center;gap:8px;min-height:42px;padding:9px 10px;color:#dce7f2;font-size:.86rem;font-weight:650;list-style:none;cursor:pointer}.project-prompt-access>summary::-webkit-details-marker{display:none}.project-prompt-access>summary span{display:grid;place-items:center;width:23px;height:23px;border-radius:7px;background:rgba(140,124,240,.1);color:#b9aaff;transition:transform .15s}.project-prompt-access[open]>summary span{transform:rotate(90deg)}.project-prompt-access>div{padding:0 10px 10px}.project-prompt-access pre{max-height:220px;margin:0 0 8px;padding:9px;border-radius:8px;background:rgba(3,15,31,.48);color:#b8c7d7;font:inherit;font-size:.73rem;line-height:1.45;white-space:pre-wrap;overflow:auto}.project-prompt-access .button{width:100%;min-height:34px;font-size:.74rem}.quick-resource-editor{display:grid;grid-template-columns:150px minmax(0,1fr);gap:10px 12px;padding:12px;border-color:rgba(104,145,187,.22);border-radius:10px}.quick-resource-editor legend{padding:0 6px;color:#dce7f2;font-weight:750}.quick-resource-editor label{margin:0}.quick-resource-editor label[data-quick-resource-field]{grid-column:2}.quick-resource-editor [hidden]{display:none!important}@media(max-width:700px){.project-checklist-sidebar-column{position:static}.project-checklist-sidebar-column .project-checklist-sidebar{max-height:none}.quick-resource-editor{grid-template-columns:1fr}.quick-resource-editor label[data-quick-resource-field]{grid-column:1}}
.project-link-list .project-prompt-copy{border-color:rgba(140,124,240,.24);background:rgba(140,124,240,.05)}.project-link-list .project-prompt-copy:hover{border-color:rgba(140,124,240,.52);background:rgba(140,124,240,.11);color:#c6baff}.quick-access-label{display:flex!important;align-items:flex-start!important;flex-direction:column;gap:1px!important;width:auto!important;height:auto!important;min-width:0;flex:1!important;border-radius:0!important;background:transparent!important;text-align:left}.quick-access-label small{color:#8196aa;font-size:.65rem;font-weight:600}.project-prompt-copy>span:first-child{color:#b7a8ff}.project-prompt-empty .quick-access-label small{color:#82dfff}
.quick-access-import{width:100%;min-height:38px;border-color:rgba(140,124,240,.28);background:rgba(140,124,240,.04);color:#b9adf2;font-size:.78rem}.quick-access-import:hover{border-color:rgba(140,124,240,.5);background:rgba(140,124,240,.09);color:#d0c7ff}
.drag-handle{display:grid;place-items:center;width:34px;height:34px;min-width:34px;padding:0;border:1px solid rgba(104,145,187,.2);border-radius:9px;background:rgba(255,255,255,.025);color:#8ba1b5;cursor:grab;touch-action:none;transition:border-color .14s ease,background .14s ease,color .14s ease,transform .14s ease}.drag-handle:hover{border-color:rgba(66,200,245,.48);background:rgba(66,200,245,.08);color:#8fe3ff}.drag-handle:active,.drag-handle.is-grabbed{cursor:grabbing;transform:scale(.96);border-color:rgba(66,200,245,.62);background:rgba(66,200,245,.12);color:#a7ebff}.drag-handle span{display:block;font-size:1.15rem;line-height:1;transform:none}[data-sortable-item].is-dragging{opacity:.48;outline:1px dashed rgba(66,200,245,.55);outline-offset:3px}.checklist-stage-editor>summary>.drag-handle{margin-left:auto}.template-section-heading>.drag-handle{margin:0 2px 0 0}.template-item>summary>.drag-handle{width:30px;height:30px;min-width:30px;margin-left:0}
/* Ritmo mais compacto entre os grupos internos do checklist. */
.project-checklist-section{padding-top:18px!important;padding-bottom:8px!important}.project-checklist-section+.project-checklist-section{padding-top:16px!important}.project-checklist-section h3{margin-bottom:12px}

/* Hierarquia do editor: seção dominante, atividades subordinadas. */
.checklist-stage-editor .template-section{position:relative;padding:24px 0 20px}
.checklist-stage-editor .template-section+.template-section{margin-top:8px;padding-top:28px;border-top:1px solid rgba(104,145,187,.22)}
.checklist-stage-editor .template-section-heading{position:relative;z-index:1;align-items:center;margin:0 0 14px;padding:10px 12px;border:1px solid rgba(66,200,245,.2);border-radius:12px;background:linear-gradient(90deg,rgba(66,200,245,.085),rgba(12,34,62,.2) 72%,transparent)}
.checklist-stage-editor .section-part-editor{align-items:center}
.checklist-stage-editor .section-part-editor>input{min-height:48px;padding-inline:14px;border-color:rgba(66,200,245,.3);background:#06172c;color:#f3f7fb;font-size:1.04rem;font-weight:800;letter-spacing:-.01em}
.checklist-stage-editor .section-part-editor>input:focus{border-color:rgba(66,200,245,.68);box-shadow:0 0 0 3px rgba(66,200,245,.08)}
.checklist-stage-editor .template-section-heading .template-editor-actions .button,.checklist-stage-editor .template-section-heading .add-activity-button{font-weight:750}
.checklist-stage-editor .template-item{width:calc(100% - 34px);margin:8px 0 0 34px;border-color:rgba(104,145,187,.17);border-radius:9px;background:rgba(3,15,31,.25)}
.checklist-stage-editor .template-item>summary{min-height:50px;padding:9px 13px;color:#d6e0ea}
.checklist-stage-editor .template-item>summary strong{font-size:.88rem;font-weight:680;line-height:1.4}
.checklist-stage-editor .template-item .item-type-label{font-size:.59rem;letter-spacing:.035em;opacity:.9}
.checklist-stage-editor .template-item>summary>.drag-handle{width:27px;height:27px;min-width:27px;margin-left:-5px}
.checklist-stage-editor .template-item[open]{border-color:rgba(66,200,245,.24);background:rgba(3,15,31,.4)}
@media(max-width:760px){.checklist-stage-editor .template-section-heading{align-items:stretch;padding:10px}.checklist-stage-editor .template-item{width:calc(100% - 14px);margin-left:14px}.checklist-stage-editor .section-part-editor>input{font-size:.98rem}.checklist-stage-editor .template-section-heading>.add-activity-button{width:100%}}

/* Editor de modelos: edição contextual, hierarquia calma e divulgação progressiva. */
.stage-editor-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:38px;margin-bottom:6px}.stage-editor-toolbar>span{color:#8095aa;font-size:.7rem;font-weight:750;letter-spacing:.055em;text-transform:uppercase}.compact-edit-button{min-height:32px!important;padding:0 11px!important;border-color:transparent!important;background:transparent!important;color:#91a7bb!important;font-size:.74rem!important}.compact-edit-button:hover,.compact-edit-button[aria-expanded="true"]{border-color:rgba(104,145,187,.25)!important;background:rgba(255,255,255,.035)!important;color:#dce8f2!important}
.contextual-part-editor[hidden]{display:none!important}.contextual-part-editor{animation:contextual-editor-in .14s ease-out}@keyframes contextual-editor-in{from{opacity:.35;transform:translateY(-3px)}to{opacity:1;transform:none}}
.stage-part-editor.contextual-part-editor{grid-template-columns:minmax(260px,1fr) 130px auto;margin:6px 0 20px;padding:14px;border-color:rgba(104,145,187,.2);border-radius:12px;background:rgba(3,15,31,.42)}.contextual-part-editor label{display:flex;flex-direction:column;gap:6px;margin:0}.contextual-part-editor label>span:first-child{color:#8ea3b6;font-size:.7rem;font-weight:750}.stage-part-editor.contextual-part-editor input:first-of-type{min-height:42px}.duration-input{display:flex!important;align-items:center;flex-direction:row!important;gap:7px}.duration-input input{width:84px!important}.duration-input b{color:#8095aa;font-size:.76rem}.contextual-part-editor>.template-editor-actions{align-self:end}.editor-cancel-button{border-color:transparent!important;background:transparent!important;color:#91a7bb!important}.contextual-part-editor .editor-delete-button{margin-left:8px;border-color:transparent!important;background:transparent!important}
.checklist-stage-editor .template-section{padding:19px 0 16px}.checklist-stage-editor .template-section+.template-section{margin-top:5px;padding-top:22px;border-top:1px solid rgba(104,145,187,.14)}.checklist-stage-editor .template-section-heading{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:0 0 10px;padding:7px 4px 9px;border:0;border-radius:0;background:transparent}.section-title-block{display:flex;justify-content:center;flex-direction:column;min-width:0;flex:1;gap:3px}.section-title-block strong{overflow:hidden;color:#eef4f9;font-size:1rem;font-weight:760;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.section-title-block small{color:#748a9f;font-size:.68rem}.section-primary-actions{display:flex;align-items:center;gap:5px}.section-part-editor.contextual-part-editor{grid-template-columns:minmax(220px,1fr) auto;width:100%;max-width:100%;flex:1 0 100%;order:3;box-sizing:border-box;margin-top:5px;padding:12px;border:1px solid rgba(104,145,187,.18);border-radius:11px;background:rgba(3,15,31,.36)}.section-part-editor.contextual-part-editor>label{min-width:0}.section-part-editor.contextual-part-editor input{min-height:40px;font-size:.9rem;font-weight:650}.section-part-editor.contextual-part-editor>.template-editor-actions{display:flex;justify-content:flex-end;flex-wrap:wrap}.section-part-editor.contextual-part-editor .editor-delete-button{display:inline-flex!important;visibility:visible;opacity:1;margin-left:8px!important;border-color:rgba(239,91,103,.34)!important;background:rgba(239,91,103,.055)!important;color:#ff929a!important}.checklist-stage-editor .template-section-heading .add-activity-button{min-height:32px;padding-inline:10px;border-color:rgba(66,200,245,.18);background:rgba(66,200,245,.035);font-size:.72rem}
.checklist-stage-editor .template-item{width:calc(100% - 24px);margin:7px 0 0 24px;border-color:rgba(104,145,187,.14);border-radius:10px;background:rgba(3,15,31,.2)}.checklist-stage-editor .template-item>summary{min-height:48px;padding:8px 12px}.checklist-stage-editor .template-item>summary strong{font-size:.86rem;font-weight:630}.checklist-stage-editor .template-item[open]{border-color:rgba(104,145,187,.3);background:rgba(3,15,31,.42);box-shadow:0 8px 28px rgba(0,0,0,.12)}.checklist-stage-editor .template-item[open]>summary{border-bottom-color:rgba(104,145,187,.13);background:rgba(255,255,255,.018)}.template-item>.template-item-editor{padding:16px 15px 15px}.template-item-editor>label{display:flex;flex-direction:column;gap:6px;margin:0}.template-item-editor>label>span{color:#91a5b8;font-size:.7rem;font-weight:750}.template-item-editor>label>span small{color:#71879b;font-weight:600}.template-item-editor .item-body-field{grid-column:1/-1}.template-item-editor select,.template-item-editor .item-title-field input{width:100%;min-height:42px}.template-item-editor .item-body-field textarea{width:100%;min-height:104px;line-height:1.5}.activity-resource-group{border-color:rgba(104,145,187,.14);background:rgba(12,34,62,.2)}.activity-resource-heading strong{color:#9eb1c3;font-weight:680}.template-item-actions{margin-top:2px;padding-top:11px;border-top:1px solid rgba(104,145,187,.12)}.template-item-actions .editor-save-button{min-width:112px}.template-item-actions .editor-delete-button{opacity:.82}
@media(max-width:1050px){.stage-part-editor.contextual-part-editor{grid-template-columns:minmax(220px,1fr) 120px}.stage-part-editor.contextual-part-editor>.template-editor-actions{grid-column:1/-1}.section-part-editor.contextual-part-editor{grid-template-columns:1fr}.section-part-editor.contextual-part-editor>.template-editor-actions{grid-column:1}}
@media(max-width:720px){.stage-editor-toolbar{align-items:flex-start}.stage-part-editor.contextual-part-editor{grid-template-columns:1fr}.duration-input input{width:100%!important}.contextual-part-editor>.template-editor-actions{flex-wrap:wrap}.contextual-part-editor .editor-delete-button{margin-left:auto}.section-title-block strong{white-space:normal}.section-primary-actions{width:100%}.section-primary-actions .add-activity-button{width:auto;flex:1}.checklist-stage-editor .template-item{width:100%;margin-left:0}}
.automatic-revenue-summary{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid rgba(54,200,138,.3);border-radius:11px;background:rgba(54,200,138,.07)}.automatic-revenue-summary span{color:#9fb3c7;font-size:.76rem;font-weight:750;text-transform:uppercase;letter-spacing:.055em}.automatic-revenue-summary strong{color:#70e5b0;font-size:1.25rem}.automatic-revenue-summary small{color:var(--muted);line-height:1.45}
.commercial-project-report{margin-bottom:18px}.commercial-project-report .section-heading{align-items:flex-start}.commercial-project-report td:first-child strong,.commercial-project-report td:first-child small{display:block}.commercial-project-report td:first-child small{margin-top:3px;color:var(--muted);font-size:.76rem}.commercial-project-report .received-value{color:#70e5b0;font-weight:750}.commercial-project-report .positive{color:#70e5b0}.commercial-project-report .negative{color:#ff8791}.commercial-project-report tfoot th{border-top:1px solid rgba(104,145,187,.3);font-weight:800}
.revenue-type-badge{display:inline-flex;padding:5px 8px;border:1px solid rgba(140,124,240,.28);border-radius:999px;background:rgba(140,124,240,.08);color:#c5baff;font-size:.7rem;font-weight:750;white-space:nowrap}
.channel-lifetime-panel{margin-bottom:18px}.channel-lifetime-panel>.metric-grid{margin:16px 0 0;grid-template-columns:repeat(3,minmax(0,1fr))}.channel-lifetime-panel .metric-card{background:rgba(3,15,31,.32)}@media(max-width:850px){.channel-lifetime-panel>.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.channel-lifetime-panel>.metric-grid{grid-template-columns:1fr}}

/* Checklist services, billing actions and precise icon alignment */
.stage-toggle,.editor-order-button{display:flex!important;align-items:center!important;justify-content:center!important;line-height:1!important}
.stage-toggle{padding:0 0 3px!important}
.editor-order-button{padding:0 0 2px!important}
.add-service-card{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:6px;padding:19px 21px;border:1px dashed rgba(66,200,245,.38);border-radius:14px;background:rgba(66,200,245,.035)}
.add-service-card h2{margin:4px 0 5px;font-size:1.05rem}.add-service-card p{margin:0;color:var(--muted);font-size:.86rem}.add-service-card .eyebrow{color:#6fd9ff;font-size:.65rem}
.check-item-heading{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.charge-type-badge{padding:3px 7px;border:1px solid rgba(92,220,164,.35);border-radius:999px;background:rgba(92,220,164,.08);color:#7de5b8;font-size:.62rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.is-charge-item{border-color:rgba(92,220,164,.25)}
.project-check-item,.project-check-item .check-item-copy,.project-check-item .check-item-heading,.project-check-item .task-description-toggle,.project-check-item .task-description-content,.project-check-item .task-item-tools{text-align:left!important}.project-check-item .check-item-copy{display:block;width:100%}.project-check-item .check-item-heading{align-items:flex-start;justify-content:flex-start;flex-direction:row}.project-check-item .check-item-heading>strong{min-width:0;text-align:left!important}.project-check-item .task-description-toggle>summary{justify-content:flex-start}.project-check-item .task-check-only{align-self:flex-start}
@media(max-width:720px){.add-service-card{align-items:stretch;flex-direction:column}.add-service-card .button{width:100%}}

/* Global command search */
.global-search-trigger{display:flex;align-items:center;gap:9px;margin-right:auto;padding:8px 10px;border:1px solid var(--border);border-radius:10px;background:rgba(255,255,255,.025);color:var(--muted);cursor:pointer}.global-search-trigger:hover{border-color:rgba(66,200,245,.48);background:rgba(66,200,245,.07);color:var(--text)}.global-search-trigger svg,.global-search-input-row svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.global-search-trigger span{font-weight:700}.global-search-trigger kbd,.global-search-dialog kbd{padding:2px 6px;border:1px solid rgba(104,145,187,.34);border-radius:5px;background:rgba(255,255,255,.035);color:#9fb2c5;font:inherit;font-size:.68rem}.global-search-dialog{top:11vh;bottom:auto;width:min(680px,calc(100vw - 28px));max-height:76vh;margin:0 auto;padding:0;border:1px solid rgba(87,151,207,.42);border-radius:16px;background:#081b33;color:var(--text);box-shadow:0 30px 90px rgba(0,0,0,.58);overflow:hidden}.global-search-dialog::backdrop{background:rgba(1,8,18,.75);backdrop-filter:blur(5px)}.global-search-shell{display:flex;flex-direction:column;max-height:76vh}.global-search-input-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;padding:14px 16px;border-bottom:1px solid var(--border);color:var(--muted)}.global-search-input-row input{min-height:42px;padding:0;border:0;background:transparent;box-shadow:none;color:var(--text);font-size:1rem}.global-search-input-row input:focus{box-shadow:none}.global-search-input-row button{padding:5px 8px;border:1px solid var(--border);border-radius:6px;background:transparent;color:var(--muted);cursor:pointer}.global-search-results{min-height:180px;overflow:auto;padding:9px}.global-search-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:170px;color:var(--muted);text-align:center}.global-search-empty strong{color:var(--text)}.global-search-empty span{margin-top:5px;font-size:.85rem}.global-search-group h3{margin:10px 10px 5px;color:#70d8ff;font-size:.66rem;text-transform:uppercase;letter-spacing:.09em}.global-search-group a{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:11px 12px;border:1px solid transparent;border-radius:9px;color:var(--text);text-decoration:none}.global-search-group a:hover,.global-search-group a.is-active{border-color:rgba(66,200,245,.27);background:rgba(66,200,245,.08)}.global-search-group a>span{display:flex;min-width:0;flex-direction:column}.global-search-group a strong,.global-search-group a small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.global-search-group a small{margin-top:3px;color:var(--muted);font-size:.77rem}.global-search-group a b{color:#6dd7ff}.global-search-shell>footer{display:flex;gap:17px;padding:10px 15px;border-top:1px solid var(--border);color:var(--muted);font-size:.72rem}.global-search-shell>footer span{display:flex;align-items:center;gap:4px}@media(max-width:720px){.global-search-trigger span,.global-search-trigger kbd{display:none}.global-search-shell>footer{display:none}.global-search-dialog{top:7vh}.global-search-trigger{margin-right:auto}}
.global-search-dialog{top:40%!important;bottom:auto!important;max-height:min(76vh,680px);transform:translateY(-50%)}
@media(max-width:720px){.global-search-dialog{top:40%!important;transform:translateY(-50%)}}
.global-search-group a small{display:flex;align-items:center;gap:9px}.global-search-status{display:inline-flex;align-items:center;padding:2px 7px;border:1px solid currentColor;border-radius:999px;background:rgba(255,255,255,.025);font-size:.59rem;font-style:normal;font-weight:850;line-height:1.15;text-transform:uppercase;letter-spacing:.035em}.global-search-status.status-active{color:#58d99d;background:rgba(88,217,157,.06)}.global-search-status.status-completed{color:#f2c95c;background:rgba(242,201,92,.06)}.global-search-status.status-archived{color:#f16e78;background:rgba(241,110,120,.06)}

/* Central de links do cliente */
.client-links-project-button{cursor:pointer;text-align:left}.client-resources-dialog{width:min(680px,calc(100vw - 28px));max-height:min(82vh,760px);overflow:hidden;background:#0b2340}.client-resources-dialog [hidden]{display:none!important}.client-resources-dialog>[data-client-resources-view]{padding:0}.client-resources-dialog .dialog-header{position:sticky;z-index:3;top:0;margin:0;padding:19px 22px 16px;border-bottom:1px solid rgba(104,145,187,.2);background:#0b2340}.client-resources-dialog .dialog-header .eyebrow{margin:0 0 4px}.client-resources-dialog .dialog-header h2{font-size:1.15rem}.dialog-header-actions{display:flex;align-items:center;gap:9px}.button-small{min-height:32px!important;padding:6px 10px!important;font-size:.76rem}.client-resource-list{display:flex;flex-direction:column;gap:8px;max-height:min(62vh,570px);overflow-y:auto;overscroll-behavior:contain;padding:14px 16px 18px;scrollbar-gutter:stable}.client-resource-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:62px;padding:10px 12px;border:1px solid rgba(104,145,187,.2);border-radius:11px;background:rgba(3,15,31,.3)}.client-resource-row:hover{border-color:rgba(66,200,245,.34);background:rgba(66,200,245,.045)}.client-resource-row>span:nth-child(2){display:flex;min-width:0;flex-direction:column}.client-resource-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#e6eef7;font-size:.88rem}.client-resource-row small{margin-top:3px;color:#8fa5ba;font-size:.71rem}.client-resource-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9px;background:rgba(66,200,245,.1);color:#64d5ff;font-weight:850}.client-resource-row.is-empty{opacity:.78}.client-resource-row.is-filled{border-color:rgba(66,200,245,.24)}.client-resource-row .text-button{padding:7px 4px;color:#79d9ff}.client-resources-dialog>[data-client-resources-form]{display:flex;max-height:min(82vh,760px);gap:12px;overflow-y:auto;overscroll-behavior:contain;padding:0 18px 20px;scrollbar-gutter:stable}.client-resources-dialog>[data-client-resources-form]>.dialog-header{margin:0 -18px 2px;padding-inline:22px}.client-resources-dialog .quick-resource-editor{grid-template-columns:145px minmax(0,1fr);padding:14px;background:rgba(3,15,31,.22)}.client-resources-dialog .quick-resource-editor legend{color:#e9f2fb}.client-resources-dialog .dialog-actions{position:sticky;z-index:2;bottom:-20px;margin:2px -18px -20px;padding:14px 18px 18px;border-top:1px solid rgba(104,145,187,.2);background:#0b2340}@media(max-width:560px){.client-resources-dialog{width:calc(100vw - 18px);max-height:88vh}.client-resources-dialog .dialog-header{padding:15px}.client-resource-list{max-height:70vh;padding:10px}.client-resource-row{grid-template-columns:32px minmax(0,1fr)}.client-resource-row>a,.client-resource-row>button{grid-column:2;justify-self:start}.client-resources-dialog .quick-resource-editor{grid-template-columns:1fr}.client-resources-dialog .quick-resource-editor label[data-quick-resource-field]{grid-column:1}.client-resources-dialog>[data-client-resources-form]{max-height:88vh}}

/* Campos de acesso dos modelos */
.checklist-editor-layout:has(.access-fields-panel){grid-template-columns:370px minmax(0,1fr)}.access-fields-panel{padding:18px;overflow:auto}.access-fields-panel .section-heading{align-items:flex-start}.access-fields-panel .section-heading h2{margin-top:3px;font-size:1.05rem}.access-fields-panel .section-heading small{display:block;margin-top:4px;color:var(--muted);font-size:.7rem;font-weight:500}.access-fields-form{display:flex;flex-direction:column;gap:12px}.access-field-list{display:flex;flex-direction:column;gap:7px}.access-field-row{display:grid;grid-template-columns:18px minmax(0,1fr) 82px;gap:7px;padding:10px;border:1px solid rgba(104,145,187,.2);border-radius:10px;background:rgba(3,15,31,.3)}.access-field-row:focus-within{border-color:rgba(66,200,245,.45)}.access-field-row>input[type=text],.access-field-row>input:not([type]){grid-column:2/4;min-width:0;min-height:36px;padding:7px 9px;font-size:.8rem;font-weight:750}.access-field-row>select{grid-column:2;min-width:0;min-height:34px;padding:6px 8px;font-size:.73rem}.access-field-drag{grid-row:1/4;display:flex;align-items:center;justify-content:center;color:#67819b;font-size:.72rem}.access-field-quick{grid-column:3;display:flex;align-items:center;justify-content:center;gap:5px;margin:0;padding:5px 7px;border:1px solid rgba(66,200,245,.2);border-radius:7px;color:#8fdfff;font-size:.67rem;cursor:pointer}.access-field-quick input,.access-field-remove input{width:auto;min-height:0}.access-field-order{grid-column:2;display:flex;gap:5px}.access-field-order button{display:grid;place-items:center;width:30px;height:28px;padding:0;border:1px solid var(--border);border-radius:7px;background:transparent;color:var(--muted);cursor:pointer}.access-field-order button:hover{border-color:var(--blue-light);color:var(--blue-light)}.access-field-remove{grid-column:3;display:flex;align-items:center;justify-content:flex-end;gap:5px;margin:0;color:#ff8791;font-size:.7rem;cursor:pointer}.access-field-remove input{position:absolute;opacity:0;pointer-events:none}.access-field-remove span{display:grid;place-items:center;width:28px;height:28px;border:1px solid rgba(241,98,110,.28);border-radius:7px;font-size:1rem}.access-field-row:has(.access-field-remove input:checked){border-color:rgba(241,98,110,.45);opacity:.5}.access-field-row:has(.access-field-remove input:checked) .access-field-remove span{background:rgba(241,98,110,.12)}.access-fields-save{position:sticky;bottom:0;width:100%;box-shadow:0 -10px 20px #0c223e}.check-option{display:flex!important;align-items:center;flex-direction:row!important;gap:8px}.check-option input{width:auto;min-height:0}@media(max-width:900px){.checklist-editor-layout:has(.access-fields-panel){grid-template-columns:1fr}.access-fields-panel{position:static;max-height:none}}

/* Importação guiada de modelos */
.checklist-import-dialog{width:min(980px,calc(100vw - 28px));max-height:88vh;overflow:hidden;background:#0a203b}.checklist-import-shell{display:flex;max-height:88vh;flex-direction:column}.checklist-import-shell>.dialog-header{margin:0;padding:20px 22px;border-bottom:1px solid var(--border)}.checklist-import-body{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);min-height:0;overflow:hidden}.checklist-import-guide{display:flex;min-width:0;flex-direction:column;padding:20px;border-right:1px solid var(--border)}.checklist-import-intro{display:grid;grid-template-columns:1fr auto;align-items:start;gap:5px 14px}.checklist-import-intro strong{font-size:1rem}.checklist-import-intro p{grid-column:1;margin:0;color:var(--muted);font-size:.8rem;line-height:1.45}.checklist-import-intro .button{grid-column:2;grid-row:1/3}.checklist-import-guide textarea{min-height:360px;margin-top:15px;padding:15px;border-color:rgba(66,200,245,.23);background:#06172c;color:#b9cada;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.72rem;line-height:1.5;resize:none}.checklist-import-form{display:flex;min-height:0;flex-direction:column;gap:15px;overflow-y:auto;padding:20px}.checklist-import-form>div:first-child strong{font-size:1rem}.checklist-import-form>div:first-child p{margin:4px 0 0}.checklist-import-types{display:grid;grid-template-columns:1fr 1fr;gap:7px}.checklist-import-types span{padding:8px;border:1px solid rgba(104,145,187,.18);border-radius:8px;background:rgba(3,15,31,.28);color:var(--muted);font-size:.68rem}.checklist-import-types b{display:block;margin-bottom:2px;color:#78d9ff}.checklist-import-form .dialog-actions{margin-top:auto}@media(max-width:780px){.checklist-import-dialog,.checklist-import-shell{max-height:92vh}.checklist-import-body{display:block;overflow-y:auto}.checklist-import-guide{border-right:0;border-bottom:1px solid var(--border)}.checklist-import-intro{display:flex;flex-direction:column}.checklist-import-guide textarea{min-height:260px}.checklist-import-form{overflow:visible}.checklist-import-types{grid-template-columns:1fr 1fr}}

/* Página do projeto: hierarquia operacional */
.project-command-header{margin-bottom:14px}.project-command-header>.project-header-actions{grid-template-columns:max-content minmax(180px,200px)}.project-command-header>.project-header-actions>.priority-form{grid-column:1;grid-row:1}.project-command-header>.project-header-actions>button[data-open-dialog="edit-project"]{grid-column:2;grid-row:1}.project-command-header>.project-header-actions>.project-checklist-cta{grid-column:1/-1;grid-row:2}.project-context-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin:-2px 0 18px}.project-context-actions form{margin:0}.project-context-button{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:7px 11px;border:1px solid rgba(129,153,178,.25);border-radius:9px;background:rgba(8,25,46,.38);color:#9fb1c3;font:inherit;font-size:.76rem;font-weight:700;cursor:pointer}.project-context-button:hover{border-color:rgba(159,180,201,.45);color:#e2ebf4}.project-context-button.is-warning{border-color:rgba(245,191,79,.34);color:#ffd36d}.project-blocker-summary{display:flex;align-items:center;gap:10px;min-width:min(520px,100%);padding:8px 11px;border:1px solid rgba(239,91,103,.32);border-radius:10px;background:rgba(239,91,103,.065)}.project-blocker-summary>span{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;border-radius:7px;background:rgba(239,91,103,.14);color:#ff9da5;font-weight:900}.project-blocker-summary p{display:flex;min-width:0;flex:1;flex-direction:column;margin:0}.project-blocker-summary strong{font-size:.78rem}.project-blocker-summary small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9fb0c2;font-size:.69rem}.project-local-tabs{position:sticky;z-index:12;top:68px;display:flex;align-items:center;gap:4px;margin:0 0 20px;padding:5px;border:1px solid rgba(104,145,187,.2);border-radius:11px;background:rgba(7,25,48,.9);backdrop-filter:blur(14px);overflow-x:auto;scrollbar-width:none}.project-local-tabs::-webkit-scrollbar{display:none}.project-local-tabs a,.project-local-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:8px 14px;border:0;border-radius:8px;background:transparent;color:#91a5b9;font:inherit;font-size:.78rem;font-weight:700;white-space:nowrap;text-decoration:none;cursor:pointer}.project-local-tabs a:hover,.project-local-tabs button:hover{background:rgba(104,145,187,.09);color:#e3edf6}.project-local-tabs .is-active{background:rgba(66,200,245,.11);color:#72d8ff}.project-local-tabs span{padding:2px 6px;border-radius:99px;background:rgba(104,145,187,.13);font-size:.65rem}.project-overview{display:block;padding:20px}.project-overview-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:15px}.project-overview-heading h2,.project-overview-heading p{margin:0}.project-overview-heading h2{margin-top:3px;font-size:1.15rem}.project-overview-heading .project-facts{justify-content:flex-end}.project-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(125px,1fr)) minmax(190px,1.35fr);overflow:hidden;border:1px solid rgba(104,145,187,.22);border-radius:12px;background:rgba(3,15,31,.25)}.project-summary-grid article{display:flex;min-width:0;min-height:84px;flex-direction:column;justify-content:center;padding:14px 16px;border-right:1px solid rgba(104,145,187,.14)}.project-summary-grid article:last-child{border-right:0}.project-summary-grid small{color:#8fa5ba;font-size:.7rem}.project-summary-grid strong{margin-top:5px;font-size:1.25rem;letter-spacing:-.02em}.project-summary-grid .has-pending strong{color:#ffd16a}.project-progress-metric span{margin-top:2px;color:#8fa5ba;font-size:.68rem}.project-progress-metric i{display:block;height:5px;margin-top:8px;overflow:hidden;border-radius:99px;background:#061326}.project-progress-metric i b{display:block;height:100%;border-radius:inherit;background:#38bdf0}.project-tools{margin-bottom:20px;padding:18px 20px}.project-tools .section-heading{margin-bottom:12px}.project-tools .section-heading h2{font-size:1.05rem}.project-tools-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.project-tool-card{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;min-height:62px;padding:10px 12px;border:1px solid rgba(104,145,187,.22);border-radius:10px;background:rgba(3,15,31,.3);color:var(--text);font:inherit;text-align:left;text-decoration:none;cursor:pointer;transition:border-color .14s,background .14s,transform .14s}.project-tool-card:hover{border-color:rgba(66,200,245,.43);background:rgba(66,200,245,.055);transform:translateY(-1px)}.project-tool-card>span:nth-child(2){display:flex;min-width:0;flex-direction:column}.project-tool-card small{color:#7f96ac;font-size:.63rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase}.project-tool-card strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.82rem}.project-tool-card em{color:#7890a6;font-size:.64rem;font-style:normal}.project-tool-card>b{color:#75d8fb}.project-tool-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:rgba(66,200,245,.09);color:#72d8ff;font-size:.72rem;font-weight:850}.record-section,.project-performance{scroll-margin-top:125px}.record-section>.section-heading>div>small{display:block;margin-top:4px;color:#8499ae;font-size:.72rem}
@media(max-width:1050px){.project-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-summary-grid article{border-bottom:1px solid rgba(104,145,187,.14)}.project-summary-grid article:nth-child(2n){border-right:0}.project-progress-metric{grid-column:1/-1;border-bottom:0!important}.project-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.project-command-header{gap:20px}.project-command-header>.project-header-actions{grid-template-columns:1fr 1fr!important}.project-command-header>.project-header-actions>*{width:auto!important}.project-command-header>.project-header-actions>.priority-form{grid-column:1!important;grid-row:1!important}.project-command-header>.project-header-actions>button[data-open-dialog="edit-project"]{grid-column:2!important;grid-row:1!important}.project-command-header>.project-header-actions>.project-checklist-cta{grid-column:1/-1!important;grid-row:2!important}.project-context-actions{align-items:stretch;flex-direction:column}.project-context-actions>*{width:100%}.project-context-actions form .project-context-button{width:100%;justify-content:center}.project-local-tabs{top:66px;margin-inline:-5px}.project-overview{padding:16px}.project-overview-heading{align-items:flex-start;flex-direction:column}.project-overview-heading .project-facts{justify-content:flex-start}.project-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-summary-grid article{min-height:76px;padding:12px}.project-summary-grid strong{font-size:1.05rem}.project-tools{padding:16px}.project-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-tool-card{grid-template-columns:30px minmax(0,1fr) auto;padding:9px}.project-tool-icon{width:29px;height:29px}.project-tool-card strong{font-size:.75rem}}
@media(max-width:420px){.project-facts span{padding:5px 8px;font-size:.72rem}.project-tools-grid{grid-template-columns:1fr}.project-tool-card{min-height:56px}}

/* Ações contextuais do projeto: segunda linha compacta e semântica. */
.project-command-header>.project-header-actions{align-self:start}.project-command-header>.project-header-actions>.project-context-actions{grid-column:1/-1;grid-row:2;display:flex;align-items:center;justify-content:flex-end;gap:8px;width:100%;margin:0}.project-header-actions .project-context-actions form{min-width:0;margin:0}.project-header-actions .project-context-button{min-height:36px;padding:7px 12px}.project-header-actions .project-context-button.pending-action{border-color:rgba(239,91,103,.45);background:rgba(239,91,103,.07);color:#ff9ca5}.project-header-actions .project-context-button.pending-action:hover{border-color:rgba(255,126,137,.66);background:rgba(239,91,103,.12);color:#ffc1c6}.project-header-actions .project-context-button.prepayment-action{border-color:rgba(245,191,79,.42);background:rgba(245,191,79,.065);color:#ffd16b}.project-header-actions .project-context-button.prepayment-action:hover{border-color:rgba(255,211,113,.62);background:rgba(245,191,79,.11);color:#ffe29a}.project-header-actions .project-context-button.prepayment-action.is-warning{background:rgba(245,191,79,.12)}.project-header-actions .project-blocker-summary{min-width:0;max-width:440px}.project-local-tabs .project-checklist-nav-cta{min-height:40px;padding-block:6px}@media(max-width:700px){.project-command-header>.project-header-actions>.project-context-actions{align-items:stretch;grid-column:1/-1!important;grid-row:2!important;flex-direction:row}.project-header-actions .project-context-actions>*{width:auto;flex:1}.project-header-actions .project-context-actions form .project-context-button{width:100%}.project-local-tabs .project-checklist-nav-cta{min-height:38px}}
/* Menu flutuante do projeto */
.project-local-tabs{top:82px;box-shadow:0 10px 28px rgba(0,0,0,.2);transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease}.project-local-tabs a,.project-local-tabs button{transition:color .16s ease,background .16s ease,transform .16s ease}.project-local-tabs a:active,.project-local-tabs button:active{transform:scale(.98)}.project-local-tabs button.is-active{background:rgba(66,200,245,.11);color:#72d8ff}.client-resources-dialog[open]{max-height:calc(100vh - 175px);margin:150px auto 24px}.client-resources-dialog::backdrop{background:rgba(1,9,20,.46);backdrop-filter:blur(1px)}@media(max-width:700px){.project-local-tabs{top:78px}.client-resources-dialog[open]{max-height:calc(100vh - 155px);margin:138px auto 16px}}
.project-local-tabs .project-checklist-nav-cta{min-width:190px;margin-left:auto;padding-inline:17px;border:1px solid rgba(91,211,255,.48);background:linear-gradient(135deg,#1595dc,#0878c7);color:#fff;box-shadow:0 7px 18px rgba(0,120,202,.2)}.project-local-tabs .project-checklist-nav-cta:hover{border-color:#8be2ff;background:linear-gradient(135deg,#1aa5ef,#0a86d8);color:#fff;box-shadow:0 9px 22px rgba(0,132,220,.28)}.project-local-tabs .project-checklist-nav-cta>span{display:grid;place-items:center;width:22px;height:22px;padding:0;border:1px solid rgba(255,255,255,.34);background:rgba(4,54,100,.22);font-size:.72rem}.project-local-tabs .project-checklist-nav-cta>b{margin-left:auto;font-size:1rem}@media(max-width:700px){.project-local-tabs .project-checklist-nav-cta{min-width:165px;margin-left:4px;padding-inline:13px}}
/* Barra translúcida de execução, alinhada ao acabamento do site institucional. */
.checklist-view-options.checklist-command-bar{border:1px solid rgba(150,190,225,.2)!important;border-radius:18px!important;background:linear-gradient(115deg,rgba(8,25,49,.82),rgba(10,28,54,.7))!important;backdrop-filter:blur(22px) saturate(135%);-webkit-backdrop-filter:blur(22px) saturate(135%);box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 12px 34px rgba(0,0,0,.24)!important}.checklist-view-options.checklist-command-bar::before{content:'';position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(105deg,rgba(255,255,255,.025),transparent 38%,rgba(48,177,239,.025))}.checklist-view-options.checklist-command-bar>*{position:relative;z-index:1}.checklist-command-bar .checklist-command-context>strong{color:#f2f7fb;font-size:.9rem;letter-spacing:-.01em}.checklist-command-bar .checklist-command-context>small{max-width:410px}.checklist-command-bar .checklist-display-options label{border:1px solid transparent;background:rgba(255,255,255,.025)}.checklist-command-bar .checklist-display-options label:has(input:checked){border-color:rgba(66,200,245,.22);background:rgba(66,200,245,.09);color:#dff6ff}.checklist-command-bar .checklist-command-actions .button{border-radius:11px}.checklist-command-bar .checklist-command-actions .button-primary{border-color:rgba(113,213,255,.44);background:linear-gradient(135deg,rgba(24,148,220,.92),rgba(7,111,190,.94));box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 6px 17px rgba(0,104,183,.17)}
.compact .checklist-view-options.checklist-command-bar{grid-template-columns:minmax(190px,1fr) auto auto!important;gap:8px!important;min-height:54px!important;padding:6px 8px!important;border-radius:15px!important}.compact .checklist-command-bar .checklist-command-context{padding-left:3px}.compact .checklist-command-bar .checklist-command-context>span{font-size:.55rem}.compact .checklist-command-bar .checklist-command-context>strong{margin-top:1px;font-size:.8rem}.compact .checklist-command-bar .checklist-command-context>small{max-width:340px;font-size:.64rem}.compact .checklist-command-bar .checklist-display-options{gap:4px}.compact .checklist-command-bar .checklist-display-options label{min-height:34px!important;padding:0 9px!important;font-size:.72rem!important}.compact .checklist-command-bar .checklist-command-actions{gap:5px}.compact .checklist-command-bar .checklist-command-actions .button{min-height:36px;padding-inline:11px;font-size:.75rem}.compact .checklist-command-bar .checklist-command-actions .button-primary{min-width:148px}.compact .project-checklist-layout{grid-template-columns:238px minmax(0,1fr);gap:14px;margin-left:-12px;width:calc(100% + 12px)}.compact .project-checklist-sidebar{padding:15px}.compact .project-link-list a,.compact .project-link-list button{min-height:37px;padding:7px 8px;font-size:.8rem}@media(max-width:1050px){.compact .checklist-view-options.checklist-command-bar{grid-template-columns:minmax(180px,1fr) auto!important}.compact .checklist-command-bar .checklist-display-options{display:none!important}.compact .checklist-command-bar .checklist-command-context>small{max-width:300px}}@media(max-width:900px){.compact .project-checklist-layout{grid-template-columns:1fr;margin-left:0;width:100%}.compact .checklist-view-options.checklist-command-bar{grid-template-columns:1fr auto!important}.compact .checklist-command-bar .checklist-command-context{grid-column:auto}.compact .checklist-command-bar .checklist-command-actions{grid-column:2;grid-row:1}}@media(max-width:620px){.compact .checklist-view-options.checklist-command-bar{grid-template-columns:1fr!important;padding:9px!important}.compact .checklist-command-bar .checklist-command-actions{grid-column:1;grid-row:auto}.compact .checklist-command-bar .checklist-command-context>small{max-width:100%}}
/* Atividades abertas: próxima ação, leitura e alvos de interação. */
.project-checklist-stage[open] .project-check-item.is-next-item{margin-block:3px;padding:12px 10px!important;border-left:2px solid #49c9f5!important;background:linear-gradient(90deg,rgba(66,200,245,.075),rgba(66,200,245,.018) 62%,transparent)!important}.project-checklist-stage[open] .project-check-item.is-next-item::after{content:'';position:absolute;inset:0;pointer-events:none;border-radius:9px;box-shadow:inset 0 0 0 1px rgba(66,200,245,.09)}.next-item-badge,.charge-type-badge{display:inline-flex;align-items:center;min-height:20px;padding:2px 7px;border-radius:999px;font-size:.58rem;font-weight:850;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}.next-item-badge{border:1px solid rgba(66,200,245,.28);background:rgba(66,200,245,.1);color:#79ddff}.task-check-only{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;margin:-9px 0 0 -9px}.task-check-only .check-control{margin:0}.check-item-heading{display:flex;align-items:center;gap:7px;min-height:24px}.task-description-toggle>summary{display:inline-flex!important;min-height:32px;align-items:center;gap:7px;padding:4px 7px!important;margin-left:-7px;border-radius:7px}.task-description-toggle>summary:hover{background:rgba(255,255,255,.025)}.task-description-toggle>summary>b{color:#6f879e;font-size:.72rem;transition:transform .16s}.task-description-toggle[open]>summary>b{transform:rotate(180deg);color:#77dafc}.task-description-content .detail-prose{max-width:78ch}.task-item-tools{display:flex;align-items:center;justify-content:flex-start;gap:7px;flex-wrap:wrap;margin-top:9px}.task-open-link,.task-copy-shortcut{min-height:34px}.project-check-item.is-complete{transition:opacity .18s ease,transform .18s ease,background .18s ease}.project-check-item.is-complete .next-item-badge{display:none}.project-check-item.is-complete .check-control{animation:check-complete-pop .22s ease-out}@keyframes check-complete-pop{0%{transform:scale(.72)}70%{transform:scale(1.1)}100%{transform:scale(1)}}.project-stage-toolbar>.inline-form:first-child{padding:3px;border-radius:11px;background:rgba(255,255,255,.018)}.project-stage-toolbar>.inline-form:first-child input[type=date]{border-color:transparent;background:transparent;color:#9fb2c5}.project-stage-toolbar>.inline-form:first-child:focus-within{background:rgba(66,200,245,.045)}@media(max-width:620px){.task-check-only{flex-basis:40px;width:40px;height:40px}.project-checklist-stage[open] .project-check-item.is-next-item{padding:11px 8px!important}.next-item-badge,.charge-type-badge{font-size:.55rem}.task-description-content .detail-prose{max-width:none}}
/* Correção do alinhamento interno: atalhos pertencem à atividade, sem trilhos laterais. */
.project-check-item .task-item-tools{display:flex;align-items:center;flex-direction:row;justify-content:flex-start;gap:7px;width:100%;max-width:none;margin-top:6px;padding-left:0;border-left:0;flex-wrap:wrap}.project-check-item .task-open-link,.project-check-item .task-copy-shortcut{width:auto;max-width:min(100%,420px);min-height:32px;padding:5px 9px}.project-check-item .task-copy-shortcut span{max-width:290px}.project-check-item .task-description-toggle{margin-top:5px}.project-check-item .task-description-toggle>summary{min-height:28px;padding:2px 4px!important;margin-left:-4px}.project-check-item .task-description-content{margin-top:6px}.compact .project-check-item .task-item-tools{gap:5px;margin-top:4px}.compact .project-check-item .task-open-link,.compact .project-check-item .task-copy-shortcut{min-height:29px;padding:4px 8px;font-size:.72rem}@media(max-width:620px){.project-check-item .task-item-tools{align-items:flex-start;flex-direction:column}.project-check-item .task-open-link,.project-check-item .task-copy-shortcut{max-width:100%}}
/* Editor da etapa no modo compacto. */
.compact .project-stage-toolbar .stage-edit-disclosure{flex:0 0 auto;width:auto;margin-left:auto}.compact .project-stage-toolbar .stage-edit-disclosure[open]{flex:1 0 100%;width:100%;margin-left:0}.compact .project-stage-toolbar .stage-edit-disclosure>summary{width:max-content;margin-left:auto}.compact .project-stage-toolbar .stage-edit-disclosure>.stage-duration-form{position:static;display:grid!important;grid-template-columns:minmax(260px,1fr) 116px auto!important;align-items:end;gap:10px;width:100%!important;margin-top:9px;padding:11px}.compact .project-stage-toolbar .stage-edit-disclosure>.stage-duration-form label{display:flex;align-items:stretch;flex-direction:column;gap:5px;min-width:0;white-space:normal}.compact .project-stage-toolbar .stage-edit-disclosure>.stage-duration-form label:first-of-type{grid-column:1!important;width:auto}.compact .project-stage-toolbar .stage-edit-disclosure>.stage-duration-form label:nth-of-type(2){grid-column:2}.compact .project-stage-toolbar .stage-edit-disclosure>.stage-duration-form input[type=text],.compact .project-stage-toolbar .stage-edit-disclosure>.stage-duration-form input[type=number]{width:100%!important;min-width:0;flex:none}.compact .project-stage-toolbar .stage-edit-disclosure>.stage-duration-form label:nth-of-type(2)>span{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px}.compact .project-stage-toolbar .stage-edit-disclosure>.stage-duration-form .button{grid-column:3;align-self:end;margin:0}@media(max-width:700px){.compact .project-stage-toolbar .stage-edit-disclosure>.stage-duration-form{grid-template-columns:minmax(0,1fr) 105px!important}.compact .project-stage-toolbar .stage-edit-disclosure>.stage-duration-form label:first-of-type{grid-column:1/-1!important}.compact .project-stage-toolbar .stage-edit-disclosure>.stage-duration-form label:nth-of-type(2){grid-column:1}.compact .project-stage-toolbar .stage-edit-disclosure>.stage-duration-form .button{grid-column:2}}@media(max-width:480px){.compact .project-stage-toolbar .stage-edit-disclosure>.stage-duration-form{grid-template-columns:1fr!important}.compact .project-stage-toolbar .stage-edit-disclosure>.stage-duration-form>*{grid-column:1!important}.compact .project-stage-toolbar .stage-edit-disclosure>.stage-duration-form .button{width:100%}}
/* Ação de agenda sem brilho: contraste por cor e borda, não por sombra. */
.project-stage-toolbar>.inline-form:first-child .button-primary{border:1px solid rgba(86,188,235,.38);background:#117ebc;box-shadow:none;text-shadow:none;filter:none}.project-stage-toolbar>.inline-form:first-child .button-primary:hover{border-color:rgba(117,211,251,.56);background:#1689c8;box-shadow:none;filter:none;transform:none}.project-stage-toolbar>.inline-form:first-child .button-primary:active{background:#0d72aa;box-shadow:none;transform:translateY(1px)}
/* Checklist: hierarquia de execução, feedback e revelação progressiva. */
.checklist-command-bar{position:sticky;z-index:11;top:82px;display:grid!important;grid-template-columns:minmax(220px,1fr) auto auto;align-items:center!important;gap:16px!important;padding:10px 12px!important;background:rgba(9,29,54,.92)!important;backdrop-filter:blur(16px);box-shadow:0 12px 30px rgba(0,0,0,.2)!important}.checklist-command-context{display:flex;min-width:0;flex-direction:column}.checklist-command-context>span{color:#68d7ff;font-size:.62rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.checklist-command-context>strong{margin-top:2px;font-size:.87rem}.checklist-command-context>small{overflow:hidden;margin-top:1px;color:#8fa5ba;font-size:.7rem;text-overflow:ellipsis;white-space:nowrap}.checklist-display-options,.checklist-command-actions{display:flex;align-items:center;gap:6px}.checklist-command-actions .button{min-height:42px}.checklist-command-actions .button-primary{min-width:165px}.checklist-command-actions .button-primary span{margin-left:7px}.checklist-command-actions button:disabled{cursor:default;opacity:.58}.project-checklist-stage{scroll-margin-top:158px}.project-checklist-stage>summary:focus-visible{outline:2px solid #6bd6ff;outline-offset:-3px}.project-checklist-stage>summary small{display:flex!important;align-items:center;gap:11px}.project-checklist-stage>summary small span+span{padding-left:11px;border-left:1px solid rgba(104,145,187,.22)}.stage-progress{grid-column:1/-1;display:block;width:min(250px,100%);height:4px;margin-top:6px;overflow:hidden;border-radius:99px;background:rgba(3,13,27,.72)}.stage-progress>b{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#1da9ec,#35c58b);transition:width .22s ease}.project-checklist-stage.is-complete .stage-progress>b{background:#35c58b}.stage-edit-disclosure{position:relative;margin-left:auto}.stage-edit-disclosure>summary{display:inline-flex;align-items:center;min-height:38px;padding:7px 11px;border:1px solid rgba(104,145,187,.25);border-radius:9px;color:#9fb3c6;font-size:.8rem;font-weight:700;list-style:none;cursor:pointer}.stage-edit-disclosure>summary::-webkit-details-marker{display:none}.stage-edit-disclosure>summary::after{content:'⌄';margin-left:8px;transition:transform .16s}.stage-edit-disclosure[open]>summary{border-color:rgba(66,200,245,.38);background:rgba(66,200,245,.07);color:#8be2ff}.stage-edit-disclosure[open]>summary::after{transform:rotate(180deg)}.stage-edit-disclosure>.stage-duration-form{position:absolute;z-index:4;right:0;top:46px;display:grid!important;grid-template-columns:minmax(260px,1fr) 145px auto!important;width:min(690px,calc(100vw - 330px))!important;padding:13px;border:1px solid rgba(104,145,187,.3);border-radius:12px;background:#0b213d;box-shadow:0 18px 45px rgba(0,0,0,.38)}.stage-edit-disclosure>.stage-duration-form label:first-of-type{grid-column:auto!important;width:auto!important}.stage-edit-disclosure>.stage-duration-form input[type=text]{width:100%!important;min-width:210px}.stage-edit-disclosure>.stage-duration-form .button{align-self:end}.project-check-item{position:relative}.project-check-item:not(.is-complete):has(.check-control:focus-visible){background:rgba(66,200,245,.055)!important}.check-control:focus-visible{outline:2px solid #72dcff;outline-offset:3px}@media(max-width:900px){.checklist-command-bar{grid-template-columns:1fr auto!important}.checklist-command-context{grid-column:1/-1}.checklist-display-options{justify-self:start}.checklist-command-actions{justify-self:end}.stage-edit-disclosure>.stage-duration-form{position:static;grid-template-columns:1fr auto!important;width:100%!important;margin-top:9px}.stage-edit-disclosure{width:100%}.stage-edit-disclosure>summary{margin-left:auto}.stage-edit-disclosure>.stage-duration-form label:first-of-type{grid-column:1/-1!important}}@media(max-width:620px){.checklist-command-bar{top:72px;grid-template-columns:1fr!important}.checklist-display-options,.checklist-command-actions{width:100%;justify-content:stretch}.checklist-display-options{display:grid;grid-template-columns:1fr 1fr}.checklist-display-options label{justify-content:flex-start!important}.checklist-command-actions .button{flex:1}.project-checklist-stage{scroll-margin-top:245px}.project-checklist-stage>summary small{align-items:flex-start;flex-direction:column;gap:2px}.project-checklist-stage>summary small span+span{padding-left:0;border-left:0}.stage-edit-disclosure>.stage-duration-form{grid-template-columns:1fr!important}.stage-edit-disclosure>.stage-duration-form>*{grid-column:1!important}.stage-edit-disclosure>.stage-duration-form .button{width:100%}}
/* Menu do checklist: mesma linguagem sólida e discreta do menu do projeto. */
.checklist-view-options.checklist-command-bar{border:1px solid rgba(104,145,187,.22)!important;border-radius:11px!important;background:rgba(7,25,48,.97)!important;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 10px 28px rgba(0,0,0,.2)!important}.checklist-view-options.checklist-command-bar::before{display:none!important}.checklist-command-bar .checklist-display-options label{border:1px solid rgba(104,145,187,.12)!important;background:rgba(3,15,31,.34)!important}.checklist-command-bar .checklist-display-options label:has(input:checked){border-color:rgba(66,200,245,.2)!important;background:rgba(66,200,245,.08)!important;color:#d9f3fc}.checklist-command-bar .checklist-command-actions .button{border-radius:8px!important}.checklist-command-bar .checklist-command-actions .button-primary{border-color:rgba(86,188,235,.38)!important;background:#117ebc!important;box-shadow:none!important}.checklist-command-bar .checklist-command-actions .button-primary:hover{background:#1689c8!important;box-shadow:none!important}.compact .checklist-view-options.checklist-command-bar{border-radius:11px!important}
/* Agendamento pontual de atividades do checklist. */
.checklist-item-schedule{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;margin-left:auto;padding:0;border:1px solid rgba(104,145,187,.2);border-radius:7px;background:#0a213c;color:#8da3b8;font:inherit;font-size:15px;cursor:pointer;opacity:0;transform:translateX(3px);transition:opacity .14s,transform .14s,border-color .14s,color .14s,background .14s}.project-check-item:hover .checklist-item-schedule,.project-check-item:focus-within .checklist-item-schedule,.checklist-item-schedule.is-scheduled{opacity:1;transform:none}.checklist-item-schedule:hover,.checklist-item-schedule:focus-visible,.checklist-item-schedule.is-scheduled{border-color:rgba(66,200,245,.42);background:rgba(66,200,245,.08);color:#78dcff}.checklist-item-deadline{display:inline-flex;align-items:center;min-height:22px;padding:2px 7px;border:1px solid rgba(245,191,79,.3);border-radius:999px;background:rgba(245,191,79,.07);color:#ffd16b;font-size:.64rem;font-weight:800;white-space:nowrap}@media(hover:none){.checklist-item-schedule{opacity:1;transform:none}}
/* Toasts flutuam acima do cronômetro sem deslocar o conteúdo. */
.floating-alert{left:calc(50% + 127px)!important;right:auto!important;bottom:112px!important;z-index:1100!important;min-width:min(360px,calc(100vw - 32px));margin:0!important;transform:translateX(-50%);text-align:center;animation:toast-in .18s ease-out both}@keyframes toast-in{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}@media(max-width:760px){.floating-alert{left:50%!important;bottom:118px!important}}
/* Resumo do projeto em cartões independentes, alinhado às ações rápidas. */
.project-summary-grid{gap:10px;overflow:visible;border:0;border-radius:0;background:transparent}.project-summary-grid article{min-height:88px;padding:14px 16px;border:1px solid rgba(104,145,187,.22)!important;border-radius:10px;background:rgba(3,15,31,.3);transition:border-color .14s ease,background .14s ease}.project-summary-grid article:hover{border-color:rgba(104,145,187,.34)!important;background:rgba(7,25,48,.42)}.project-summary-grid article:last-child{border:1px solid rgba(104,145,187,.22)!important}@media(max-width:520px){.project-summary-grid{grid-template-columns:1fr}.project-progress-metric{grid-column:1}}
/* Variação aberta: métricas separadas apenas por respiro e hierarquia tipográfica. */
.project-summary-grid{gap:18px}.project-summary-grid article,.project-summary-grid article:last-child{min-height:76px;padding:10px 2px;border:0!important;border-radius:0;background:transparent}.project-summary-grid article:hover{border:0!important;background:transparent}
/* Resumo segmentado: divisórias internas com respiro nas extremidades. */
.project-summary-grid{gap:0;overflow:hidden;border:1px solid rgba(104,145,187,.22);border-radius:12px;background:rgba(3,15,31,.25)}.project-summary-grid article,.project-summary-grid article:last-child{position:relative;min-height:84px;padding:14px 16px;border:0!important;border-radius:0;background:transparent}.project-summary-grid article:hover{border:0!important;background:transparent}.project-summary-grid article:not(:last-child)::after{content:"";position:absolute;right:0;top:14px;bottom:14px;width:1px;background:rgba(104,145,187,.18)}@media(max-width:1050px){.project-summary-grid article::after{display:none}.project-summary-grid article:nth-child(odd):not(:last-child)::after{display:block}.project-summary-grid article:nth-child(-n+4)::before{content:"";position:absolute;left:14px;right:14px;bottom:0;height:1px;background:rgba(104,145,187,.18)}}@media(max-width:520px){.project-summary-grid article:nth-child(odd)::after{display:none}.project-summary-grid article:nth-child(-n+4)::before{left:14px;right:14px}}
/* Raios consistentes na página do projeto: 12px nos blocos e 10px nos elementos internos. */
.project-local-tabs,.project-overview.panel,.project-tools.panel,.project-performance.panel,.record-section.panel{border-radius:12px}.project-summary-grid,.project-tool-card,.project-hourly-summary article,.record-list article{border-radius:10px}.project-local-tabs a,.project-local-tabs button,.project-context-button,.project-checklist-nav-cta{border-radius:8px}
/* Menu compacto, tags retangulares e históricos no mesmo tom suave do resumo. */
.project-local-tabs{width:max-content;max-width:100%;justify-content:flex-start}.project-local-tabs .project-checklist-nav-cta{min-width:176px;margin-left:10px}.project-facts span{border-radius:8px}.record-list article{background:rgba(3,15,31,.25);border-color:rgba(104,145,187,.22)}.record-list article:hover{background:rgba(7,25,48,.38);border-color:rgba(104,145,187,.32)}@media(max-width:700px){.project-local-tabs{width:100%;max-width:100%}.project-local-tabs .project-checklist-nav-cta{min-width:165px;margin-left:4px}}

/* Harmonia dos projetos: estrutura discreta em repouso e contorno apenas ao flutuar. */
.project-local-tabs{border-color:transparent;background:transparent;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}.project-local-tabs.is-floating,.page-scrolled .project-local-tabs{border-color:rgba(104,145,187,.48);background:#081f3a;box-shadow:0 10px 28px rgba(0,0,0,.28);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.project-command-header>.project-header-actions{display:flex;align-items:flex-end;gap:8px}.project-command-header>.project-header-actions>.priority-form,.project-command-header>.project-header-actions>button[data-open-dialog="edit-project"],.project-command-header>.project-header-actions>.project-context-actions{grid-column:auto;grid-row:auto}.project-command-header>.project-header-actions>button[data-open-dialog="edit-project"],.project-header-actions .project-context-button{min-height:42px;height:42px}.project-command-header>.project-header-actions>.project-context-actions{width:auto;margin:0}.project-header-actions .project-context-actions form{display:flex}.project-header-actions .project-context-button{padding-inline:13px}
.project-row,.task-card{background:rgba(7,25,48,.72)}.project-row:hover,.task-card:hover{background:rgba(10,32,59,.86)}.task-card.deadline-overdue{background:linear-gradient(90deg,rgba(239,91,103,.085),rgba(7,25,48,.76) 34%)}
/* Barra do checklist alinhada à coluna de execução e compacta durante a rolagem. */
.checklist-command-bar{width:calc(100% - 270px);margin-left:270px}.checklist-command-bar .command-icon{display:none}.checklist-command-bar.is-scrolled{width:max-content;max-width:calc(100% - 24px);margin-left:auto;gap:7px!important;padding:6px 8px!important;box-shadow:0 12px 28px rgba(0,0,0,.25)!important}.checklist-command-bar.is-scrolled .checklist-command-context>span,.checklist-command-bar.is-scrolled .checklist-command-context>small{display:none}.checklist-command-bar.is-scrolled .checklist-command-context>strong{max-width:250px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.checklist-command-bar.is-scrolled .command-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.checklist-command-bar.is-scrolled .command-icon{display:inline-grid;place-items:center}.checklist-command-bar.is-scrolled .checklist-display-options label,.checklist-command-bar.is-scrolled .checklist-command-actions .button{width:38px;min-width:38px!important;min-height:36px!important;padding:0!important;justify-content:center}.checklist-command-bar.is-scrolled .checklist-display-options label input{position:absolute;opacity:0;pointer-events:none}.checklist-command-bar.is-scrolled .checklist-display-options label:has(input:checked) .command-icon{color:#79dcff}
@media(max-width:980px){.checklist-command-bar{width:100%;margin-left:0}}@media(max-width:700px){.project-local-tabs{border-color:transparent}.project-local-tabs.is-floating{border-color:rgba(104,145,187,.24)}}
/* Cabeçalho em duas linhas: prioridade + edição; pendência + pré-pagamento. */
.project-command-header>.project-header-actions{display:grid;grid-template-columns:max-content minmax(200px,1fr);align-items:end;gap:8px;width:min(100%,540px)}.project-command-header>.project-header-actions>.priority-form{grid-column:1;grid-row:1}.project-command-header>.project-header-actions>button[data-open-dialog="edit-project"]{grid-column:2;grid-row:1;width:100%}.project-command-header>.project-header-actions>.project-context-actions{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:1fr 1fr;width:100%;gap:8px}.project-header-actions .project-context-actions>*{min-width:0;width:100%}.project-header-actions .project-context-actions form .project-context-button,.project-header-actions .project-context-actions>.project-context-button{justify-content:center;width:100%}@media(max-width:520px){.project-command-header>.project-header-actions{grid-template-columns:max-content minmax(0,1fr);width:100%}.project-command-header>.project-header-actions>.project-context-actions{grid-template-columns:1fr}}
/* O CTA pertence ao menu e nunca deve crescer como botão de bloco. */
.project-local-tabs>.project-checklist-nav-cta{display:inline-flex!important;flex:0 0 184px!important;width:184px!important;min-width:184px!important;max-width:184px!important;height:40px!important;min-height:40px!important;max-height:40px!important;padding:6px 12px!important;gap:7px!important;box-sizing:border-box;font-size:.78rem!important;line-height:1!important}.project-local-tabs>.project-checklist-nav-cta>span{flex:0 0 22px!important;width:22px!important;height:22px!important;font-size:.72rem!important}.project-local-tabs>.project-checklist-nav-cta>strong{font-size:.78rem!important;line-height:1!important}.project-local-tabs>.project-checklist-nav-cta>b{font-size:.9rem!important;line-height:1!important}@media(max-width:520px){.project-local-tabs>.project-checklist-nav-cta{flex-basis:164px!important;width:164px!important;min-width:164px!important;max-width:164px!important}}
/* CTA plano: sem halo ou bloco escuro ao redor. */
.project-local-tabs>.project-checklist-nav-cta,.project-local-tabs>.project-checklist-nav-cta:hover,.project-local-tabs>.project-checklist-nav-cta:focus,.project-local-tabs>.project-checklist-nav-cta:focus-visible{box-shadow:none!important;filter:none!important;outline-offset:2px}
/* As duas linhas compartilham as mesmas colunas: editar sobre pré-pagamento. */
.project-command-header>.project-header-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.project-command-header>.project-header-actions>.priority-form{width:100%}.project-command-header>.project-header-actions>.priority-form label{justify-content:flex-end}.project-command-header>.project-header-actions>.project-context-actions{grid-template-columns:repeat(2,minmax(0,1fr))}@media(max-width:520px){.project-command-header>.project-header-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Ação secundária menor, preservando a coluna principal à direita. */
.project-command-header>.project-header-actions{grid-template-columns:220px minmax(270px,1fr)}.project-command-header>.project-header-actions>.project-context-actions{grid-template-columns:220px minmax(270px,1fr)}@media(max-width:620px){.project-command-header>.project-header-actions,.project-command-header>.project-header-actions>.project-context-actions{grid-template-columns:minmax(170px,.8fr) minmax(210px,1.2fr)}}
/* Conjunto mais compacto: quatro controles sem ocupar largura desnecessária. */
.project-command-header>.project-header-actions{grid-template-columns:180px 230px;width:418px;max-width:100%}.project-command-header>.project-header-actions>.project-context-actions{grid-template-columns:180px 230px}@media(max-width:520px){.project-command-header>.project-header-actions,.project-command-header>.project-header-actions>.project-context-actions{grid-template-columns:minmax(145px,.8fr) minmax(185px,1.2fr);width:100%}}
.project-header-actions .project-blocker-summary{position:relative;display:grid;grid-template-columns:26px minmax(0,1fr);align-items:center;gap:8px;width:100%;max-width:none;min-width:0;height:42px;box-sizing:border-box;padding:5px 9px;overflow:hidden;cursor:pointer}.project-header-actions .project-blocker-summary>span{width:26px;height:26px}.project-header-actions .project-blocker-summary p{min-width:0;overflow:hidden}.project-header-actions .project-blocker-summary strong,.project-header-actions .project-blocker-summary small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.project-header-actions .project-blocker-summary strong{font-size:.7rem;line-height:1.15}.project-header-actions .project-blocker-summary small{margin-top:2px;font-size:.61rem;line-height:1.1}.project-header-actions .project-blocker-summary>button{position:absolute;z-index:2;inset:0;width:100%;height:100%;padding:0;border:0;opacity:0;cursor:pointer}.project-header-actions .project-blocker-summary:focus-within{border-color:rgba(255,126,137,.7);box-shadow:0 0 0 2px rgba(239,91,103,.14)}
.project-check-item.is-linked-target{outline:2px solid rgba(66,200,245,.7);outline-offset:3px;background:rgba(66,200,245,.09)!important;box-shadow:0 0 0 7px rgba(66,200,245,.045);transition:outline-color .25s ease,background .25s ease,box-shadow .25s ease}
/* Superfícies operacionais suaves e chevrons no azul do sistema. */
.project-reminder,.receivable,.checklist-template-card{background:rgba(7,25,48,.74);border-color:rgba(104,145,187,.26)}.project-reminder:hover,.receivable:hover,.checklist-template-card:hover{background:rgba(10,32,59,.88);border-color:rgba(104,164,219,.38)}.receivable.overdue{background:linear-gradient(90deg,rgba(239,91,103,.075),rgba(7,25,48,.78) 30%)}.receivable.due-soon{background:linear-gradient(90deg,rgba(245,191,79,.045),rgba(7,25,48,.76) 28%)}.operational-toolbar select,.project-search input{background:rgba(7,25,48,.74);border-color:rgba(104,145,187,.3)}.operational-toolbar select:hover,.project-search input:hover,.project-search input:focus{background:rgba(10,32,59,.88);border-color:rgba(66,200,245,.46)}.project-group{background:rgba(12,34,62,.68)}.group-chevron{color:#51cbf5}.project-group summary:hover .group-chevron,.task-area-group>summary:hover .group-chevron{color:#8be3ff}.project-group summary em{background:rgba(66,200,245,.1);color:#86dcfb}
/* Barra da etapa sem caixa extra e chevron geometricamente centralizado. */
.project-stage-toolbar>.inline-form:first-child,.project-stage-toolbar>.inline-form:first-child:focus-within{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.stage-toggle{padding:0!important;font-size:0!important;line-height:0!important}.stage-toggle::before{content:"";display:block;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transform-origin:center}.project-checklist-stage[open] .stage-toggle::before{transform:translateY(2px) rotate(45deg)}
.project-stage-toolbar>.inline-form:first-child input[type=date]{border:1px solid rgba(163,178,193,.24);border-radius:8px;background:rgba(255,255,255,.012)}.project-stage-toolbar>.inline-form:first-child input[type=date]:hover{border-color:rgba(177,191,205,.34)}.project-stage-toolbar>.inline-form:first-child input[type=date]:focus{border-color:rgba(190,204,217,.42);box-shadow:0 0 0 2px rgba(170,187,202,.06)}
.project-checklist-stage[open] .stage-toggle{transform:none!important}.project-checklist-stage[open] .stage-toggle::before{transform:translateY(2px) rotate(225deg)}
/* Menu compacto à esquerda, com controles realmente centralizados. */
.checklist-command-bar.is-scrolled{margin-left:270px;margin-right:auto}.checklist-command-bar.is-scrolled .checklist-display-options,.checklist-command-bar.is-scrolled .checklist-command-actions{align-items:center}.checklist-command-bar.is-scrolled .checklist-display-options label,.checklist-command-bar.is-scrolled .checklist-command-actions .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important}.checklist-command-bar.is-scrolled .command-icon{width:18px;height:18px;padding:0;line-height:18px;text-align:center}.checklist-command-bar.is-scrolled [data-open-next-checklist]{width:auto!important;min-width:82px!important;padding-inline:13px!important}.checklist-command-bar.is-scrolled [data-open-next-checklist] .command-icon{display:none}.checklist-command-bar.is-scrolled [data-open-next-checklist] .command-label{position:static;width:auto;height:auto;overflow:visible;clip:auto;white-space:nowrap}@media(max-width:980px){.checklist-command-bar.is-scrolled{margin-left:0}}
/* Proporções finais da barra: alinhada ao conteúdo e respirando quando compacta. */
.checklist-command-bar:not(.is-scrolled){margin-left:270px;margin-right:0}.checklist-command-bar.is-scrolled{min-height:50px!important;margin-left:282px;padding:6px 7px 6px 10px!important;gap:12px!important;border-radius:12px!important}.checklist-command-bar.is-scrolled .checklist-command-context{width:180px;min-width:180px;padding:0 4px 0 0}.checklist-command-bar.is-scrolled .checklist-command-context>strong{max-width:180px;font-size:.76rem;line-height:1.2}.checklist-command-bar.is-scrolled .checklist-display-options,.checklist-command-bar.is-scrolled .checklist-command-actions{gap:7px}.checklist-command-bar.is-scrolled .checklist-display-options label,.checklist-command-bar.is-scrolled .checklist-command-actions .button{height:36px!important;border-radius:8px!important}.checklist-command-bar.is-scrolled [data-open-next-checklist]{min-width:92px!important;height:36px!important;padding:0 15px!important;border-radius:8px!important;background:#1489c9!important;box-shadow:none!important;font-size:.76rem!important}.checklist-command-bar.is-scrolled [data-open-next-checklist]:hover{background:#1996da!important}@media(max-width:980px){.checklist-command-bar:not(.is-scrolled){margin-left:0}.checklist-command-bar.is-scrolled{margin-left:12px}}@media(max-width:520px){.checklist-command-bar.is-scrolled{max-width:calc(100% - 24px);margin-right:12px;gap:7px!important}.checklist-command-bar.is-scrolled .checklist-command-context{width:130px;min-width:130px}.checklist-command-bar.is-scrolled .checklist-command-context>strong{max-width:130px}.checklist-command-bar.is-scrolled [data-open-next-checklist]{min-width:82px!important;padding-inline:11px!important}}
/* A barra aberta começa exatamente na mesma borda esquerda dos cards. */
.checklist-command-bar:not(.is-scrolled){width:100%;max-width:100%;margin-left:0;margin-right:0}
/* Conteúdo da barra aberto ancorado à esquerda, como o conteúdo das etapas. */
.checklist-command-bar:not(.is-scrolled){grid-template-columns:minmax(250px,360px) auto auto!important;justify-content:start!important}.checklist-command-bar:not(.is-scrolled) .checklist-command-context{justify-self:start}.checklist-command-bar:not(.is-scrolled) .checklist-display-options,.checklist-command-bar:not(.is-scrolled) .checklist-command-actions{justify-self:start}
/* A barra acompanha a coluna das etapas, depois do Acesso rápido. */
.checklist-command-bar:not(.is-scrolled){width:calc(100% - 270px);margin-left:270px}.compact .checklist-command-bar:not(.is-scrolled){width:calc(100% - 254px);margin-left:254px}.compact .checklist-command-bar.is-scrolled{margin-left:266px}@media(max-width:900px){.checklist-command-bar:not(.is-scrolled),.compact .checklist-command-bar:not(.is-scrolled){width:100%;margin-left:0}.checklist-command-bar.is-scrolled,.compact .checklist-command-bar.is-scrolled{margin-left:12px}}
.checklist-command-bar.is-scrolled [data-open-next-checklist]{min-width:108px!important;padding-inline:18px!important}.compact .checklist-command-bar.is-scrolled [data-open-next-checklist]{min-width:108px!important;padding-inline:18px!important}@media(max-width:520px){.checklist-command-bar.is-scrolled [data-open-next-checklist],.compact .checklist-command-bar.is-scrolled [data-open-next-checklist]{min-width:96px!important;padding-inline:14px!important}}
.delete-template-dialog label{display:block}.delete-template-dialog label>strong{display:inline}.delete-template-dialog label>input{display:block;width:100%;margin-top:8px}
/* Ações diárias do checklist do cliente. */
.checklist-item-actions{display:flex;align-items:center;gap:5px;margin-left:auto}.checklist-item-actions .checklist-item-schedule{margin-left:0}.checklist-item-move,.checklist-item-delete{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;padding:0;border:1px solid rgba(104,145,187,.2);border-radius:7px;background:#0a213c;color:#8da3b8;font:inherit;font-size:14px;cursor:pointer;opacity:0;transform:translateX(3px);transition:opacity .14s,transform .14s,border-color .14s,color .14s,background .14s}.project-check-item:hover .checklist-item-move,.project-check-item:focus-within .checklist-item-move,.project-check-item:hover .checklist-item-delete,.project-check-item:focus-within .checklist-item-delete{opacity:1;transform:none}.checklist-item-move:hover,.checklist-item-move:focus-visible{border-color:rgba(139,128,240,.5);background:rgba(139,128,240,.1);color:#c1b8ff}.checklist-item-delete:hover,.checklist-item-delete:focus-visible{border-color:rgba(239,91,103,.5);background:rgba(239,91,103,.1);color:#ff929c}.project-stage-add{display:flex;justify-content:flex-end;padding:10px 22px 20px}.project-stage-add .button{min-height:38px;color:#84dfff}.project-stage-add .button span{font-size:1.05rem;line-height:1}@media(hover:none){.checklist-item-move,.checklist-item-delete{opacity:1;transform:none}}@media(max-width:620px){.project-stage-add{padding-inline:14px}.checklist-item-move,.checklist-item-delete,.checklist-item-schedule{opacity:1;transform:none}}
.dismissible-checklist-notice{position:relative;padding-right:112px}.dismissible-checklist-notice>div{min-width:0;flex:1}.checklist-dismiss-form{position:absolute;right:12px;top:12px;margin:0}.notice-dismiss-button{min-height:30px;padding:5px 9px;border:1px solid rgba(104,145,187,.25);border-radius:7px;background:rgba(5,20,39,.7);color:#8fcce4;font:inherit;font-size:.7rem;font-weight:800;cursor:pointer;opacity:0;transition:opacity .14s,border-color .14s,background .14s}.dismissible-checklist-notice:hover .notice-dismiss-button,.dismissible-checklist-notice:focus-within .notice-dismiss-button{opacity:1}.notice-dismiss-button:hover,.notice-dismiss-button:focus-visible{border-color:rgba(66,200,245,.5);background:rgba(66,200,245,.09);color:#8be4ff}.dismissible-checklist-notice.is-complete{opacity:.58}.dismissible-checklist-notice.is-complete .notice-dismiss-button{opacity:1}@media(hover:none){.notice-dismiss-button{opacity:1}}@media(max-width:620px){.dismissible-checklist-notice{padding-right:14px;padding-bottom:52px}.checklist-dismiss-form{top:auto;right:12px;bottom:10px}.notice-dismiss-button{opacity:1}}
.checklist-start-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap}.checklist-start-actions .checklist-apply-form{display:flex;align-items:center;gap:8px}.checklist-import-summary{padding:14px 15px;border:1px solid rgba(104,145,187,.25);border-radius:10px;background:rgba(5,20,39,.45)}.checklist-import-summary strong{display:block;margin-bottom:5px}.checklist-import-summary p{margin:0;color:var(--muted);line-height:1.55}@media(max-width:760px){.checklist-apply{align-items:stretch;flex-direction:column}.checklist-start-actions,.checklist-start-actions .checklist-apply-form{align-items:stretch;flex-direction:column}.checklist-start-actions select,.checklist-start-actions .button{width:100%}}
.project-final-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.project-final-actions-primary{display:flex;align-items:center;justify-content:flex-end;gap:10px}.project-final-actions-primary form{display:flex}.project-delete-button{margin-right:auto}@media(max-width:620px){.project-final-actions{align-items:stretch;flex-direction:column-reverse}.project-final-actions-primary{display:grid;grid-template-columns:1fr 1fr}.project-final-actions-primary>*{width:100%}.project-final-actions-primary .button,.project-delete-button{width:100%}}
/* Rolagem discreta da Central diária. */
.reminder-dialog{overflow-y:auto;overscroll-behavior:contain;scroll-behavior:smooth;scrollbar-width:thin;scrollbar-color:rgba(121,151,181,.42) transparent;scrollbar-gutter:stable}
.reminder-dialog::-webkit-scrollbar{width:8px}
.reminder-dialog::-webkit-scrollbar-track{background:transparent}
.reminder-dialog::-webkit-scrollbar-thumb{min-height:52px;border:2px solid transparent;border-radius:999px;background:rgba(121,151,181,.42);background-clip:padding-box}
.reminder-dialog::-webkit-scrollbar-thumb:hover{background:rgba(139,180,215,.62);background-clip:padding-box}
