:root{font-family:Inter,Aptos,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#17242b;background:#f4f7f6;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #17242b;--muted: #6b7b82;--line: #dce5e3;--soft: #f4f7f6;--white: #fff;--teal: #0f766e;--teal-dark: #0b5e58;--teal-soft: #e6f5f2;--red: #c74444;--red-soft: #fdecec;--amber: #b87916;--amber-soft: #fff6df;--blue: #3577ad;--blue-soft: #ebf4fc;--shadow: 0 14px 40px rgba(28, 59, 56, .09)}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f4f7f6}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}.app-shell{min-height:100vh}.topbar{height:74px;padding:0 max(28px,calc((100vw - 1340px)/2));display:flex;align-items:center;justify-content:space-between;background:#fffffff5;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:30;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}.brand{display:flex;align-items:center;gap:12px}.brand-mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;color:#fff;background:var(--teal);font-size:22px;box-shadow:0 7px 18px #0f766e3b}.brand div{display:grid}.brand strong{font-size:14px;letter-spacing:-.01em}.brand small{color:var(--muted);font-size:11px;margin-top:2px}.account-area{display:flex;align-items:center;gap:10px}.account-copy{display:grid;margin-right:5px}.account-copy strong{font-size:12px}.account-copy small{color:var(--muted);font-size:10px}.avatar{width:36px;height:36px;border-radius:50%;display:inline-grid;place-items:center;flex:0 0 auto;background:#d7efea;color:#09625b;font-size:11px;font-weight:800;border:2px solid white;box-shadow:0 0 0 1px #c7ded9}.avatar.small{width:30px;height:30px;font-size:9px}.icon-button{width:36px;height:36px;border:0;border-radius:10px;background:transparent;color:var(--muted);font-size:21px;display:grid;place-items:center}.icon-button:hover{background:var(--soft);color:var(--ink)}.notification-button{display:flex;gap:6px;align-items:center;padding:8px 10px;color:var(--muted);background:transparent;border:1px solid transparent;border-radius:10px;font-size:12px}.notification-button:hover{border-color:var(--line);background:var(--soft);color:var(--ink)}main:not(.login-page):not(.fatal){width:min(1340px,calc(100% - 56px));margin:0 auto;padding:46px 0 70px}.page-heading{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:28px}.eyebrow{margin:0 0 7px;text-transform:uppercase;letter-spacing:.13em;color:var(--teal);font-weight:800;font-size:10px}.page-heading h1,.login-card h1{font-size:clamp(27px,3vw,38px);margin:0;letter-spacing:-.045em;line-height:1.08}.page-heading p:last-child{margin:9px 0 0;color:var(--muted);font-size:13px}.primary-button,.secondary-button,.success-button{min-height:42px;padding:0 17px;border:0;border-radius:10px;font-weight:700;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:.18s ease}.primary-button{background:var(--teal);color:#fff;box-shadow:0 8px 18px #0f766e2e}.primary-button:hover{background:var(--teal-dark);transform:translateY(-1px)}.secondary-button{background:var(--soft);color:var(--ink);border:1px solid var(--line)}.success-button{background:var(--teal);color:#fff}.primary-button.full{width:100%}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.stat-card{min-height:104px;background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 6px 24px #1c3b3809}.stat-card>div{display:flex;align-items:center;gap:11px}.stat-card p{margin:0;color:var(--muted);font-size:12px;font-weight:600}.stat-card>strong{font-size:31px;letter-spacing:-.04em}.stat-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:9px;font-weight:800}.stat-card.teal .stat-icon{background:var(--teal-soft);color:var(--teal)}.stat-card.blue .stat-icon{background:var(--blue-soft);color:var(--blue)}.stat-card.amber .stat-icon{background:var(--amber-soft);color:var(--amber)}.stat-card.red .stat-icon{background:var(--red-soft);color:var(--red)}.panel{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow)}.filters{padding:15px 17px;display:grid;grid-template-columns:minmax(240px,1.5fr) repeat(3,minmax(145px,.7fr)) auto;gap:9px;border-bottom:1px solid var(--line)}.filters select,.search-field,.detail-grid select{height:38px;border-radius:9px;border:1px solid var(--line);background:#fff;color:var(--ink);font-size:11px;padding:0 10px}.search-field{display:flex;align-items:center;gap:8px}.search-field span{color:var(--muted);font-size:18px}.search-field input{border:0;outline:0;min-width:0;width:100%;background:transparent;font-size:11px}.check-filter{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px;white-space:nowrap;padding:0 4px}.check-filter input,.switch-row input{accent-color:var(--teal)}.panel-heading{padding:19px 21px 11px;display:flex;justify-content:space-between;align-items:center}.panel-heading h2{margin:0;font-size:14px}.panel-heading h2 span,.detail-tabs span{margin-left:6px;color:var(--muted);background:var(--soft);border-radius:999px;padding:2px 7px;font-size:9px}.text-button{border:0;background:transparent;color:var(--teal);font-weight:700;font-size:10px;padding:6px}.text-button:hover{text-decoration:underline}.task-list{padding:0 10px 10px}.task-card{position:relative;width:100%;display:grid;grid-template-columns:5px minmax(0,1fr) auto 18px;align-items:center;gap:15px;text-align:left;border:1px solid transparent;border-top-color:#edf1f0;background:#fff;padding:16px 13px 16px 6px;color:var(--ink);transition:.17s ease}.task-card:first-child{border-top-color:transparent}.task-card:hover{border-color:#c8ded9;border-radius:11px;background:#fbfdfc;box-shadow:0 8px 24px #19403b12;transform:translateY(-1px)}.priority-bar{width:4px;height:49px;border-radius:99px;background:#b6c2c0}.priority-bar.high{background:#e79a38}.priority-bar.urgent{background:#db5555}.priority-bar.low{background:#87a49f}.task-main{min-width:0}.task-badges{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.status-badge,.priority-badge,.approval-badge,.overdue-pill,.approval-state{display:inline-flex;align-items:center;min-height:20px;padding:0 8px;border-radius:999px;font-size:8px;font-weight:800;letter-spacing:.02em}.status-badge.new{color:#4f6268;background:#edf2f1}.status-badge.in_progress{color:var(--blue);background:var(--blue-soft)}.status-badge.waiting_external{color:#816a1e;background:#fff5cf}.status-badge.waiting_approval{color:#7650a0;background:#f4ecfc}.status-badge.blocked{color:var(--red);background:var(--red-soft)}.status-badge.completed{color:var(--teal);background:var(--teal-soft)}.priority-badge{color:#5e6a70;background:transparent;border:1px solid var(--line)}.priority-badge.high,.priority-badge.urgent{color:#b55132;border-color:#f1cabd;background:#fff8f5}.approval-badge{color:#7650a0;background:#f4ecfc}.overdue-pill{color:var(--red);background:var(--red-soft)}.task-main h3{margin:7px 0 6px;font-size:12px;line-height:1.4;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.task-meta{display:flex;flex-wrap:wrap;gap:14px;color:var(--muted);font-size:9px}.overdue-text{color:var(--red)!important;font-weight:700!important}.assignee-stack{display:flex;padding-left:9px}.assignee-stack span{width:30px;height:30px;margin-left:-8px;display:grid;place-items:center;border-radius:50%;border:2px solid white;background:#d9eeea;color:#126b63;font-size:8px;font-weight:800}.chevron{color:#96a29f;font-size:25px;font-weight:300}.empty-state{min-height:250px;display:grid;place-items:center;align-content:center;padding:30px;text-align:center;color:var(--muted)}.empty-state>span{width:48px;height:48px;display:grid;place-items:center;background:var(--teal-soft);color:var(--teal);border-radius:50%;font-size:22px}.empty-state h3{margin:15px 0 4px;color:var(--ink);font-size:14px}.empty-state p{margin:0;font-size:11px}.login-page{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;background:#fff}.login-accent{min-height:100vh;display:grid;place-items:center;position:relative;overflow:hidden;background:#0e5f59}.login-accent:before,.login-accent:after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.11)}.login-accent:before{width:580px;height:580px}.login-accent:after{width:850px;height:850px}.login-accent span{width:112px;height:112px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.3);background:#ffffff1a;color:#fff;border-radius:31px;font-size:63px;box-shadow:0 28px 80px #0003;z-index:2}.login-card{width:min(420px,calc(100% - 60px));margin:auto}.login-brand{margin-bottom:70px}.login-card h1{margin-bottom:12px}.login-intro{color:var(--muted);font-size:12px;margin:0 0 30px}.stack-form{display:grid;gap:17px}.stack-form>label:not(.switch-row){display:grid;gap:7px;font-size:10px;color:#4e5b60;font-weight:700}.stack-form input:not([type=checkbox]),.stack-form textarea,.stack-form select,.approval-request input{width:100%;border:1px solid var(--line);border-radius:10px;padding:11px 12px;outline:0;background:#fff;color:var(--ink);font-size:12px;font-weight:500;resize:vertical}.stack-form input:focus,.stack-form textarea:focus,.stack-form select:focus,.approval-request input:focus{border-color:#75ada7;box-shadow:0 0 0 3px #0f766e17}.form-error{margin:-7px 0 0;color:var(--red);font-size:10px}.security-note{display:block;margin-top:24px;text-align:center;color:#8a989d;font-size:9px}.modal-backdrop,.drawer-backdrop{position:fixed;inset:0;z-index:80;background:#0d232275;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:grid;place-items:center;padding:20px;animation:fade-in .16s ease}.modal{width:min(650px,100%);max-height:calc(100vh - 40px);overflow:auto;background:#fff;border-radius:17px;box-shadow:0 30px 100px #07232047;animation:rise-in .2s ease}.modal>header{min-height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 22px;border-bottom:1px solid var(--line)}.modal>header h2{margin:0;font-size:17px}.modal-form{padding:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.stack-form fieldset{border:0;padding:0;margin:0}.stack-form legend{font-size:10px;font-weight:700;color:#4e5b60;margin-bottom:8px}.stack-form legend small{color:var(--muted);font-weight:500}.people-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.people-picker label{min-height:48px;border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;gap:8px;padding:7px;font-size:10px;font-weight:700;cursor:pointer}.people-picker label.selected{border-color:#72aba5;background:var(--teal-soft)}.people-picker input{position:absolute;opacity:0;pointer-events:none}.switch-row{display:flex;align-items:center;gap:9px;font-size:10px;font-weight:600;color:var(--ink)}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:5px}.muted{color:var(--muted);font-size:10px}.drawer-backdrop{place-items:stretch end;padding:0}.detail-drawer{width:min(780px,100%);height:100vh;overflow:hidden;background:#fff;box-shadow:-22px 0 70px #07232038;animation:slide-in .23s ease}.drawer-header{height:61px;display:flex;align-items:center;justify-content:space-between;padding:0 25px;border-bottom:1px solid var(--line)}.drawer-body{height:calc(100vh - 61px);overflow-y:auto;padding:28px 28px 50px}.drawer-body>h2{font-size:21px;line-height:1.43;letter-spacing:-.025em;margin:0 0 23px}.detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.detail-grid>div,.materials{min-height:68px;padding:11px 13px;border:1px solid var(--line);background:#fbfcfc;border-radius:10px;display:grid;align-content:center;gap:6px}.detail-grid small,.materials small{color:var(--muted);font-size:8px;text-transform:uppercase;letter-spacing:.09em;font-weight:800}.detail-grid strong{font-size:10px;line-height:1.4}.detail-grid select{width:100%;height:30px;padding:0 7px}.materials{margin-top:9px}.materials p{margin:0;white-space:pre-wrap;font-size:10px;line-height:1.55}.detail-tabs{display:flex;gap:3px;margin:27px 0 20px;border-bottom:1px solid var(--line);overflow-x:auto}.detail-tabs button{min-height:39px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font-size:10px;font-weight:700;white-space:nowrap;padding:0 12px}.detail-tabs button.active{color:var(--teal);border-bottom-color:var(--teal)}.detail-section{min-height:200px}.update-composer{padding:12px;border:1px solid var(--line);border-radius:11px;background:#fbfcfc;margin-bottom:23px}.update-composer textarea{width:100%;border:0;background:transparent;outline:0;resize:vertical;font-size:11px;color:var(--ink)}.update-composer>div{border-top:1px solid var(--line);padding-top:9px;display:flex;align-items:center;gap:9px}.update-composer .primary-button{min-height:34px;padding:0 13px;margin-left:auto}.file-button,.version-button,.upload-drop{cursor:pointer}.file-button{color:var(--muted);font-size:9px;font-weight:700}.file-button input,.version-button input,.upload-drop input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}.selected-files{max-width:320px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--muted);font-size:8px}.timeline{border-left:1px solid #d5e2df;margin-left:15px;padding-left:20px;display:grid;gap:13px}.timeline>article{position:relative}.timeline-dot{position:absolute;left:-25px;top:16px;width:9px;height:9px;border-radius:50%;background:var(--teal);border:2px solid white;box-shadow:0 0 0 2px #a9cec9}.timeline-card{border:1px solid var(--line);border-radius:10px;padding:13px}.timeline-card>p{margin:11px 0 3px;white-space:pre-wrap;font-size:10px;line-height:1.55}.timeline-author{display:flex;align-items:center;gap:8px}.timeline-author strong{font-size:9px}.timeline-author time,.approval-list time,.activity-list time{color:var(--muted);font-size:8px;margin-left:auto}.upload-drop{min-height:78px;border:1px dashed #94bab5;border-radius:11px;display:grid;place-items:center;color:var(--teal);background:#f7fbfa;font-size:10px;font-weight:800;margin-bottom:13px}.file-list{display:grid;gap:8px}.file-row{position:relative;display:grid;grid-template-columns:34px minmax(0,1fr) auto auto;align-items:center;gap:9px;border:1px solid var(--line);border-radius:10px;padding:11px}.file-row.compact{margin-top:7px;padding:8px;background:#f8fbfa;grid-template-columns:28px minmax(0,1fr) auto auto}.file-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:8px;color:var(--teal);background:var(--teal-soft)}.file-row>div{display:grid;min-width:0}.file-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px}.file-row small{color:var(--muted);font-size:8px;margin-top:2px}.version-button{border:1px solid var(--line);border-radius:7px;padding:6px 8px;color:var(--muted);font-size:8px;font-weight:700}.file-row details{grid-column:2 / -1;font-size:8px;color:var(--muted)}.file-row details div{display:flex;gap:5px;flex-wrap:wrap;padding-top:5px}.file-row details button{border:0;padding:4px 7px;border-radius:5px;color:var(--teal);background:var(--teal-soft);font-size:8px}.approval-request{display:flex;gap:8px;margin-bottom:14px}.approval-request input{flex:1;min-width:0}.approval-list{display:grid;gap:9px}.approval-list article{border:1px solid var(--line);border-radius:10px;padding:13px}.approval-list article>div:first-child{display:flex;justify-content:space-between;align-items:center}.approval-list p{font-size:10px;line-height:1.5}.approval-list blockquote{margin:8px 0 0;padding:8px 10px;border-left:2px solid #9cbfba;background:#f7fafa;color:#536468;font-size:9px}.approval-state.pending{color:var(--amber);background:var(--amber-soft)}.approval-state.approved{color:var(--teal);background:var(--teal-soft)}.approval-state.rejected{color:var(--red);background:var(--red-soft)}.approval-state.changes_requested{color:var(--blue);background:var(--blue-soft)}.approval-actions{display:flex;justify-content:flex-end;gap:7px;border-top:1px solid var(--line);margin-top:11px;padding-top:10px}.approval-actions button{border:1px solid var(--line);background:#fff;color:var(--muted);border-radius:7px;padding:7px 10px;font-size:8px;font-weight:700}.approval-actions .danger-soft{color:var(--red);border-color:#edcaca}.approval-actions .success-button{color:#fff;border:0;background:var(--teal)}.activity-list{display:grid;gap:3px}.activity-list article{display:flex;align-items:center;gap:10px;padding:9px 4px;border-bottom:1px solid #edf1f0}.activity-icon{width:28px;height:28px;display:grid;place-items:center;background:var(--soft);border-radius:50%;color:var(--muted)}.activity-list article>div{display:flex;align-items:center;flex:1;min-width:0}.activity-list p{margin:0;font-size:9px}.empty-small{min-height:120px;display:grid;place-items:center;align-content:center;color:var(--muted);text-align:center}.empty-small span{font-size:24px;color:#9bb2ae}.empty-small p{margin:6px 0 0;font-size:9px}.toast{position:fixed;z-index:120;left:50%;bottom:24px;transform:translate(-50%);min-width:min(420px,calc(100vw - 30px));padding:12px 16px;color:#fff;background:#263c3a;border-radius:10px;box-shadow:0 16px 50px #00000038;font-size:10px;font-weight:700;text-align:center;animation:toast-in .2s ease}.toast.error{background:#9e3838}.toast.success{background:#126b63}.full-loader,.fatal{min-height:100vh;display:grid;place-items:center;align-content:center;gap:10px;color:var(--muted)}.inline-loader{min-height:180px;display:flex;align-items:center;justify-content:center;gap:8px;color:var(--muted);font-size:10px}.spinner{width:19px;height:19px;display:inline-block;border:2px solid #cbd9d6;border-top-color:var(--teal);border-radius:50%;animation:spin .75s linear infinite}.fatal>div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:25px;box-shadow:var(--shadow)}.fatal p{color:var(--red);font-size:11px}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade-in{0%{opacity:0}}@keyframes rise-in{0%{opacity:0;transform:translateY(10px)}}@keyframes slide-in{0%{transform:translate(35px);opacity:.5}}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,8px)}}@media(max-width:980px){.stat-grid{grid-template-columns:repeat(2,1fr)}.filters{grid-template-columns:1fr 1fr}.search-field{grid-column:1 / -1}.login-page{grid-template-columns:1fr}.login-accent{display:none}.login-card{min-height:100vh;display:flex;flex-direction:column;justify-content:center;padding:40px 0}.login-brand{margin-bottom:60px}}@media(max-width:650px){.topbar{height:65px;padding:0 15px}.brand strong{font-size:11px}.brand small,.account-copy,.notification-button span{display:none}main:not(.login-page):not(.fatal){width:calc(100% - 26px);padding-top:28px}.page-heading{align-items:start}.page-heading h1{font-size:27px}.page-heading .primary-button{width:42px;padding:0;font-size:0}.page-heading .primary-button span{font-size:18px}.stat-grid{gap:8px}.stat-card{min-height:85px;padding:13px}.stat-card p{font-size:9px}.stat-card>strong{font-size:23px}.filters{grid-template-columns:1fr}.search-field{grid-column:auto}.task-card{grid-template-columns:4px minmax(0,1fr) 12px;gap:9px}.task-card .assignee-stack{grid-column:2;justify-self:start;padding-left:7px;margin-top:4px}.task-card .chevron{grid-column:3;grid-row:1 / span 2}.task-main h3{white-space:normal}.task-meta{display:grid;gap:3px}.form-grid,.people-picker,.detail-grid{grid-template-columns:1fr}.modal-backdrop{padding:8px}.modal{max-height:calc(100vh - 16px)}.drawer-body{padding:21px 16px 40px}.file-row{grid-template-columns:31px minmax(0,1fr) auto}.version-button{grid-column:2;justify-self:start}.file-row details{grid-column:2 / -1}.approval-request{display:grid}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
