:root{color-scheme:light;--bg:#f7f8fa;--surface:#fff;--surface-2:#f5f6f9;--surface-hover:#f0f3f8;--text:#243044;--muted:#7c8696;--subtle:#9ba3b0;--line:#e9ecf1;--accent:#5276ee;--accent-hover:#4264d8;--accent-soft:#edf1ff;--sidebar:#1c302e;--side-text:#b2c0bd;--side-active:#344b45;--green:#32a783;--red:#d66661;--shadow:0 12px 50px #1623311a;--radius:10px;--row:49px;--sidebar-width:232px;--font-size:13px}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:var(--font-size);color:var(--text);background:var(--bg);letter-spacing:-.12px}button,input,select,textarea{font:inherit;letter-spacing:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{color:inherit}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}a{color:var(--accent);text-decoration:none}svg{flex-shrink:0}.icon{width:17px;height:17px;display:inline-block;vertical-align:middle}h1,h2,h3,p{margin:0}h1{font-size:27px;letter-spacing:-.85px;font-weight:660;line-height:1.3}h2{font-size:17px;font-weight:620;letter-spacing:-.35px}h3{font-size:14px;font-weight:600}small{font-size:11px}input,textarea,select{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:7px;padding:9px 11px;min-width:0}textarea{resize:vertical;line-height:1.7}input::placeholder,textarea::placeholder{color:var(--subtle)}select{max-width:100%}input[type=checkbox]{accent-color:var(--accent);width:15px;height:15px;cursor:pointer;padding:0;flex-shrink:0}input[type=color]{height:34px;padding:3px;width:45px}input[type=range]{padding:0;accent-color:var(--accent);border:0}label{font-size:12px;font-weight:550;display:block;color:var(--text)}label>input:not([type=checkbox]),label>select,label>textarea{width:100%;display:block;margin-top:7px}.muted{color:var(--muted)}.subtle{color:var(--subtle)}.strong{font-weight:600}.flex{display:flex;align-items:center;gap:8px}.between{display:flex;align-items:center;justify-content:space-between;gap:12px}.stack{display:flex;flex-direction:column;gap:16px}.grow{flex:1;min-width:0}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gap16{gap:16px}.mt16{margin-top:16px}.mt24{margin-top:24px}.mb16{margin-bottom:16px}.text-right{text-align:right}.text-center{text-align:center}.capitalize{text-transform:capitalize}.divider{height:1px;background:var(--line);margin:20px 0}.chip{display:inline-flex;gap:5px;align-items:center;padding:4px 8px;border-radius:5px;font-size:11px;font-weight:550;background:var(--surface-2);color:var(--muted);white-space:nowrap}.tag{font-size:10px;line-height:20px;border-radius:4px;padding:0 6px;background:var(--accent-soft);color:var(--accent);display:inline-flex}.btn{border:1px solid var(--line);background:var(--surface);border-radius:7px;padding:8px 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:550;white-space:nowrap;min-height:34px;transition:background .13s,border .13s}.btn:hover{background:var(--surface-hover);border-color:var(--subtle)}.btn.primary{background:var(--accent);border-color:var(--accent);color:#fff}.btn.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}.btn.ghost{border-color:transparent;background:transparent;font-weight:450}.btn.ghost:hover{background:var(--surface-hover);border-color:transparent}.btn.small{padding:5px 9px;min-height:28px;font-size:12px}.btn.danger{color:var(--red);border-color:color-mix(in srgb,var(--red),transparent 75%)}.icon-btn{background:transparent;border:0;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;min-width:29px;height:29px;color:var(--muted)}.icon-btn:hover{background:var(--surface-hover);color:var(--text)}.icon-btn.active{color:var(--accent);background:var(--accent-soft)}.icon-btn .icon{width:16px;height:16px}.avatar{width:27px;height:27px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:650;background:var(--avatar,#7a8ca8);color:#fff;flex-shrink:0;letter-spacing:.2px;border:2px solid var(--surface)}.avatar.lg{width:42px;height:42px;font-size:14px}.avatar-stack{display:flex;padding-left:6px}.avatar-stack .avatar{margin-left:-6px}.avatar-stack .more-avatar{background:var(--surface-2);color:var(--muted)}.status{display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:5px;padding:5px 9px;font-size:11px;font-weight:550;white-space:nowrap;color:var(--status-color,#7c8696);background:color-mix(in srgb,var(--status-color,#7c8696),transparent 88%)}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}.priority{display:inline-flex;align-items:center;gap:6px;font-size:11px;white-space:nowrap}.priority .icon{width:13px;height:13px}.priority.critical{color:#cd5b66}.priority.high{color:#d39449}.priority.medium{color:#6b85b9}.priority.low{color:#9ba4b1}.type-icon{width:15px;height:15px;padding:2px;border-radius:3px;color:white;display:inline-flex;align-items:center;justify-content:center;background:#7697dc}.type-icon .icon{width:11px;height:11px;stroke-width:2}.type-icon.bug{background:#dc7c75}.type-icon.story{background:#50a58d}.type-icon.epic{background:#a280d2}.type-icon.milestone{background:#d1a557}.type-icon.subtask{background:#98a2b4}.key{color:var(--subtle);font-size:10px;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:.15px}.progress-track{background:var(--line);height:5px;border-radius:6px;overflow:hidden}.progress-track span{display:block;height:100%;background:var(--accent);border-radius:6px;transition:width .2s}.skip-link{position:fixed;top:-70px;left:20px;padding:12px;background:var(--surface);z-index:300}.skip-link:focus{top:10px}.initial-load{height:100vh;display:flex;align-items:center;justify-content:center;gap:12px;font-size:40px}.initial-load strong>span{color:var(--green)}.loading-line{position:absolute;width:100px;height:2px;background:var(--accent);top:57%;animation:pulse 1s ease-in-out infinite}.well-mark{width:30px;height:24px;display:inline-block;background:url('/pages/business/well/app/images/favicon.svg') center/cover;border-radius:6px}.initial-load .well-mark{width:45px;height:45px}
.app-shell{display:grid;grid-template-columns:var(--sidebar-width) minmax(0,1fr);height:100dvh;overflow:hidden}.sidebar{background:var(--sidebar);color:var(--side-text);display:flex;flex-direction:column;padding:0 13px;z-index:30;min-width:0;border-right:1px solid #ffffff08;overflow-y:auto}.brand{height:74px;padding:2px 16px;display:flex;align-items:center;gap:9px;color:#f1f7f4;font-size:29px;font-weight:680;letter-spacing:-1px}.brand .well-mark{width:29px;height:29px;background-size:37px}.brand span:last-child{color:#9cceb1}.workspace-switch{background:#ffffff06;border:1px solid #ffffff12;color:#e8eeeb;width:100%;padding:10px;border-radius:8px;display:flex;gap:9px;align-items:center;text-align:left;margin-bottom:18px}.workspace-icon{width:28px;height:28px;border-radius:7px;display:flex;align-items:center;justify-content:center;background:#668273;font-weight:650;font-size:12px;color:#fff}.workspace-switch small{font-size:10px;color:#9fafaa;display:block;margin-top:2px}.nav-item{border:0;width:100%;text-align:left;background:transparent;border-radius:7px;padding:10px 13px;display:flex;align-items:center;gap:11px;color:var(--side-text);margin:2px 0;font-weight:450;min-height:37px}.nav-item:hover{background:#ffffff09;color:#e1e9e4}.nav-item.active{background:var(--side-active);color:#ecf4ef}.nav-item .icon{width:17px;height:17px;color:#91a69d}.nav-item.active .icon{color:#acd8bb}.nav-count{margin-left:auto;border-radius:4px;padding:2px 6px;background:#ffffff0c;font-size:10px;color:#b5c8be}.nav-item.active .nav-count{background:#ffffff10}.nav-divider{border-top:1px solid #ffffff0e;margin:19px 10px}.nav-label{display:flex;align-items:center;justify-content:space-between;text-transform:uppercase;font-size:9px;font-weight:650;letter-spacing:1.3px;color:#82998f;padding:10px 12px 8px}.sidebar .icon-btn{color:#82998f}.sidebar .icon-btn:hover{background:#ffffff10;color:#d6e6db}.project-nav{font-size:12px;padding-left:13px}.project-dot{width:8px;height:8px;border-radius:3px;flex-shrink:0;margin:0 4px}.favorite-label{margin-top:10px}.sidebar-bottom{margin-top:auto;padding:18px 0 14px}.sidebar-profile{padding:14px 8px 0;border-top:1px solid #ffffff0e;margin-top:10px;display:flex;gap:9px;align-items:center}.sidebar-profile .avatar{border-color:#40544a;width:31px;height:31px}.sidebar-profile strong{color:#e5eee8;font-size:11px;font-weight:550}.sidebar-profile small{display:block;color:#8ba197;font-size:10px;margin-top:3px}.sidebar-profile .icon-btn{margin-left:auto}.workspace-area{display:flex;flex-direction:column;min-width:0;overflow:hidden}.topbar{height:61px;min-height:61px;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 29px;gap:22px}.breadcrumbs{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:10px;white-space:nowrap}.breadcrumbs .icon{width:12px;height:12px;color:var(--subtle)}.breadcrumbs strong{color:var(--text);font-weight:500}.global-search{border:1px solid var(--line);background:var(--surface-2);color:var(--subtle);border-radius:7px;width:270px;display:flex;align-items:center;gap:8px;padding:7px 10px;text-align:left;font-size:11px}.global-search kbd{margin-left:auto;background:var(--surface);padding:2px 4px;border:1px solid var(--line);border-radius:3px;font-size:9px;color:var(--subtle);font-family:inherit}.topbar-actions{display:flex;align-items:center;gap:8px}.topbar-actions .icon-btn{width:30px;height:30px}.notification-dot{position:relative}.notification-dot:after{content:'';width:5px;height:5px;background:var(--accent);position:absolute;right:7px;top:5px;border:1px solid var(--surface);border-radius:50%}.topbar-separator{width:1px;height:20px;background:var(--line);margin:0 4px}.mobile-menu{display:none}.main{padding:29px 31px 24px;overflow:auto;flex:1;scroll-behavior:smooth;min-width:0}.project-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}.project-title-row{display:flex;align-items:center;gap:12px}.project-icon{width:39px;height:39px;border-radius:11px;background:color-mix(in srgb,var(--project-color),transparent 87%);color:var(--project-color);display:flex;align-items:center;justify-content:center}.project-icon .icon{width:22px;height:22px}.project-description{font-size:12px;color:var(--muted);margin-top:10px;margin-left:51px}.project-header-right{display:flex;align-items:center;gap:14px;padding-top:3px}.project-mini-meta{display:flex;gap:18px;margin-top:21px;align-items:center;color:var(--muted);font-size:11px}.project-mini-meta>.flex{gap:6px}.project-mini-meta .icon{width:13px;height:13px}.live-dot{width:5px;height:5px;border-radius:50%;background:var(--green);display:inline-block;margin-right:5px}.status-healthy{color:var(--green)}.metric-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);border-radius:9px;background:var(--surface);margin-top:24px;padding:15px 0}.metric{padding:0 20px;border-right:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:8px}.metric:last-child{border-right:0}.metric .metric-icon{width:31px;height:31px;background:var(--surface-2);color:var(--muted);display:flex;align-items:center;justify-content:center;border-radius:8px}.metric-label{font-size:10px;color:var(--muted);margin-bottom:5px}.metric-value{font-size:23px;font-weight:650;letter-spacing:-.65px;font-variant-numeric:tabular-nums;line-height:1.1}.metric-note{font-size:10px;font-weight:450;letter-spacing:0;margin-left:7px;color:var(--muted)}.view-tabs{display:flex;gap:19px;border-bottom:1px solid var(--line);margin:19px 0 18px;overflow-x:auto;scrollbar-width:none}.view-tab{padding:13px 1px 12px;background:transparent;border:0;border-bottom:2px solid transparent;display:flex;align-items:center;gap:7px;color:var(--muted);white-space:nowrap;font-size:12px}.view-tab .icon{width:14px;height:14px}.view-tab:hover{color:var(--text)}.view-tab.active{color:var(--accent);border-bottom-color:var(--accent);font-weight:600}.view-tab .tab-count{background:var(--surface-2);border:1px solid var(--line);border-radius:4px;padding:1px 4px;font-size:9px;color:var(--muted)}.view-tab.active .tab-count{background:var(--accent-soft);border-color:transparent;color:var(--accent)}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:23px;flex-wrap:wrap}.toolbar-left,.toolbar-right{display:flex;align-items:center;gap:5px;flex-wrap:wrap}.toolbar .btn.ghost{font-size:11px;padding:7px 9px;gap:6px}.toolbar .btn.ghost .icon{width:14px;height:14px}.toolbar-search{display:flex;gap:7px;align-items:center;border:1px solid var(--line);background:var(--surface);padding:6px 9px;border-radius:6px;max-width:190px;color:var(--subtle)}.toolbar-search input{border:0;background:transparent;padding:2px;font-size:11px;width:130px;outline:none}.toolbar-search .icon{width:14px;height:14px}.toolbar-count{font-size:10px;color:var(--subtle);margin-right:6px}.toolbar-sep{width:1px;height:20px;background:var(--line);margin:0 6px}.active-filter{background:var(--accent-soft)!important;color:var(--accent)!important}.filter-chips{display:flex;gap:8px;margin:-8px 0 18px;flex-wrap:wrap}.filter-chip{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--accent);background:var(--accent-soft);border-radius:5px;padding:5px 8px;border:0}.filter-chip .icon{width:12px;height:12px}.table-group{margin-bottom:26px}.group-heading{display:flex;align-items:center;gap:8px;margin-bottom:11px;color:var(--group-color,var(--accent));font-size:14px;font-weight:600}.group-heading .icon-btn{color:inherit;min-width:20px;width:20px;height:22px}.group-heading .down{width:14px;height:14px}.group-heading.collapsed .icon{transform:rotate(-90deg)}.group-heading small{font-size:10px;color:var(--muted);font-weight:450;letter-spacing:0;background:var(--surface);padding:2px 6px;border-radius:4px;border:1px solid var(--line)}.group-heading .group-line{height:1px;background:var(--line);flex:1;margin:0 5px}.group-heading .icon-btn:last-child{color:var(--subtle)}.table-wrap{overflow:auto;border:1px solid var(--line);border-left:3px solid var(--group-color,var(--accent));border-radius:7px;background:var(--surface)}.work-table{width:100%;border-collapse:collapse;min-width:800px;table-layout:fixed}.work-table th{font-size:10px;font-weight:500;color:var(--muted);background:var(--surface-2);height:33px;text-align:left;border-bottom:1px solid var(--line);padding:0 13px;white-space:nowrap}.work-table th:not(:last-child){border-right:1px solid var(--line)}.work-table td{padding:7px 12px;border-bottom:1px solid var(--line);height:var(--row);font-size:11px;vertical-align:middle}.work-table td:not(:last-child){border-right:1px solid var(--line)}.work-table tr:last-child td{border-bottom:0}.work-table .select-cell{width:37px;text-align:center;padding:0}.work-table .title-cell{min-width:270px}.work-table .title-col{width:auto}.work-table .owner-col{width:115px}.work-table .status-col{width:108px}.work-table .priority-col{width:94px}.work-table .due-col{width:106px}.work-table .effort-col{width:74px}.work-table .progress-col{width:100px}.work-table .custom-col{width:115px}.work-table .menu-col{width:28px;padding:0}.work-table tbody tr:hover{background:var(--surface-hover)}.work-table tbody tr.selected{background:var(--accent-soft)}.title-button{display:flex;gap:9px;align-items:center;width:100%;background:transparent;border:0;text-align:left;padding:0;min-width:0}.title-button>span:nth-child(2){flex:1;min-width:0}.task-title{font-size:11px;font-weight:500;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;display:block;line-height:1.65}.task-done .task-title{color:var(--muted)}.comment-count{font-size:9px;color:var(--subtle);display:inline-flex;gap:3px;align-items:center;margin-left:7px}.comment-count .icon{width:12px;height:12px}.cell-button{background:transparent;border:0;padding:0;width:100%;text-align:left;display:flex;align-items:center;gap:7px;min-height:27px;border-radius:4px}.cell-button:hover{filter:brightness(.95)}.cell-button .status{width:100%;font-size:10px}.cell-button .avatar{width:23px;height:23px;font-size:8px}.owner-name{font-size:10px;max-width:64px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.due-date{font-size:10px;white-space:nowrap;display:flex;align-items:center;gap:6px;color:var(--muted)}.due-date .icon{width:13px;height:13px;color:var(--subtle)}.due-date.overdue{color:var(--red)}.due-date.today{color:var(--accent)}.progress-cell{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:9px}.progress-cell .progress-track{flex:1}.table-add{display:flex;align-items:center;gap:8px;padding:9px 13px 10px 40px;font-size:11px;color:var(--subtle);border:0;background:transparent;width:100%;text-align:left}.table-add .icon{width:13px;height:13px}.table-add:hover{color:var(--accent);background:var(--surface-hover)}.group-summary{display:flex;align-items:center;gap:18px;margin:7px 15px 0 40px;color:var(--subtle);font-size:9px}.group-summary .tiny-statuses{display:flex;height:5px;border-radius:3px;overflow:hidden;width:70px;margin-left:auto}.tiny-statuses>span{height:100%}.page-footer{display:flex;justify-content:space-between;align-items:center;padding:4px 0 12px;font-size:10px;color:var(--subtle)}.page-footer .flex{gap:5px}.page-footer .icon{width:12px;height:12px}.bulk-bar{position:sticky;bottom:8px;display:flex;align-items:center;gap:10px;background:var(--text);color:var(--surface);padding:10px 15px;border-radius:9px;z-index:5;box-shadow:var(--shadow);width:fit-content;margin:15px auto}.bulk-bar .btn{background:#ffffff12;color:#fff;border-color:#ffffff20;font-size:11px}.bulk-bar .icon-btn{color:#fff}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:55px 25px;gap:12px;color:var(--muted);text-align:center;min-height:250px;border:1px dashed var(--line);border-radius:10px}.empty-state>.icon{width:34px;height:34px;opacity:.45}.empty-state h3{color:var(--text);font-size:15px}.empty-state p{font-size:12px;max-width:350px;line-height:1.7}.loading{padding:40px;text-align:center;color:var(--muted)}.spinner{width:18px;height:18px;border:2px solid var(--line);border-top-color:var(--accent);border-radius:50%;animation:spin .7s linear infinite;display:inline-block}.kanban{display:flex;gap:15px;overflow-x:auto;align-items:flex-start;padding-bottom:20px}.kanban-column{width:260px;min-width:245px;flex:1;max-width:330px;background:var(--surface-2);border-radius:9px;padding:0 9px 9px;border:1px solid var(--line)}.kanban-head{display:flex;align-items:center;gap:7px;padding:13px 5px;font-size:11px;font-weight:600}.kanban-head .status-dot{background:var(--status-color);width:7px;height:7px}.kanban-head small{color:var(--muted);font-size:10px;font-weight:450}.kanban-head .icon-btn{margin-left:auto;width:22px;height:22px}.kanban-card{border:1px solid var(--line);background:var(--surface);padding:13px;border-radius:7px;margin-bottom:8px;cursor:grab;box-shadow:0 1px 2px #1a243503;transition:border .12s,transform .12s}.kanban-card:hover{border-color:var(--subtle);transform:translateY(-1px)}.kanban-card h3{font-size:12px;line-height:1.6;margin:8px 0 10px;letter-spacing:-.1px}.kanban-card .key{font-size:9px}.kanban-card .priority{font-size:9px}.kanban-card .tag{font-size:9px;line-height:18px}.kanban-card-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding-top:10px;border-top:1px solid var(--line)}.kanban-card .due-date{font-size:9px}.kanban-card .avatar{width:24px;height:24px;font-size:8px}.kanban-column.drag-over{outline:2px dashed var(--accent);outline-offset:2px}.kanban-card.dragging{opacity:.35}.kanban-add{border:0;background:transparent;color:var(--muted);display:flex;align-items:center;gap:7px;padding:8px 5px;font-size:11px;width:100%}.dashboard-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:17px}.card{border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);padding:21px;min-width:0}.card-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.card-title h3{font-size:12px}.card-subtitle{font-size:10px;color:var(--muted);margin-top:6px}.donut-area{display:flex;align-items:center;gap:24px;padding:12px 0}.donut{width:134px;height:134px;border-radius:50%;position:relative;flex-shrink:0;background:var(--donut,var(--line))}.donut:before{content:'';position:absolute;inset:15px;background:var(--surface);border-radius:50%}.donut-label{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.donut-label strong{font-size:27px;font-weight:650;letter-spacing:-.8px}.donut-label small{font-size:10px;color:var(--muted);margin-top:3px}.legend{display:flex;flex-direction:column;gap:12px;flex:1;font-size:10px}.legend-row{display:flex;gap:7px;align-items:center}.legend-row>strong{margin-left:auto;font-size:11px}.legend-row .status-dot{width:7px;height:7px}.bar-chart{display:flex;flex-direction:column;gap:18px;padding:12px 0}.bar-row{display:grid;grid-template-columns:64px minmax(0,1fr) 22px;gap:10px;align-items:center;font-size:10px;color:var(--muted)}.bar-row .bar{height:10px;background:var(--surface-2);border-radius:3px;overflow:hidden}.bar>span{display:block;height:100%;background:var(--bar,var(--accent));border-radius:3px}.bar-row strong{font-size:11px;color:var(--text);text-align:right}.wide-card{grid-column:span 2}.chart-svg{width:100%;height:150px;display:block}.chart-grid{stroke:var(--line);stroke-width:1}.chart-labels{display:flex;justify-content:space-between;font-size:9px;color:var(--subtle);padding-top:10px}.project-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.project-card{padding:20px;text-align:left;cursor:pointer;transition:border .15s,transform .15s}.project-card:hover{border-color:var(--subtle);transform:translateY(-2px)}.project-card h3{font-size:15px;margin:18px 0 7px}.project-card p{font-size:11px;line-height:1.7;color:var(--muted);min-height:38px}.project-card .progress-track{margin:19px 0 8px}.project-card .project-icon{width:34px;height:34px;border-radius:8px}.project-card .project-icon .icon{width:18px;height:18px}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.page-heading p{margin-top:8px;color:var(--muted);font-size:12px}.home-greeting{margin-bottom:27px}.home-greeting p{font-size:12px;color:var(--muted);margin-top:8px}.home-section{margin:30px 0 16px;display:flex;align-items:center;justify-content:space-between}.home-section h2{font-size:15px}.calendar{background:var(--surface);border:1px solid var(--line);border-radius:9px;overflow:hidden}.calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-bottom:1px solid var(--line)}.calendar-weekdays>div{padding:12px 10px;color:var(--muted);font-size:10px;font-weight:500;text-align:center}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.calendar-day{min-height:125px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:8px;position:relative}.calendar-day:nth-child(7n){border-right:0}.calendar-day.other-month{background:var(--surface-2)}.day-number{font-size:10px;width:24px;height:24px;border-radius:50%;display:flex;justify-content:center;align-items:center;color:var(--muted);margin-bottom:5px}.calendar-day.today .day-number{background:var(--accent);color:#fff}.calendar-item{border:0;border-left:2px solid var(--status-color);border-radius:3px;background:color-mix(in srgb,var(--status-color),transparent 92%);color:var(--text);padding:6px;text-align:left;display:block;width:100%;font-size:9px;margin:3px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.calendar-day .day-add{position:absolute;right:6px;top:8px;opacity:0}.calendar-day:hover .day-add,.calendar-day:focus-within .day-add{opacity:1}.timeline-wrap{overflow:auto;border:1px solid var(--line);border-radius:9px;background:var(--surface)}.timeline{min-width:1100px;position:relative}.timeline-head,.timeline-row{display:flex;border-bottom:1px solid var(--line)}.timeline-label{position:sticky;left:0;z-index:2;width:265px;min-width:265px;padding:11px 15px;background:var(--surface);border-right:1px solid var(--line);font-size:11px;display:flex;gap:8px;align-items:center}.timeline-head .timeline-label{background:var(--surface-2);font-size:10px;color:var(--muted)}.timeline-dates{display:flex;flex:1;background:var(--surface-2)}.timeline-date{flex:1;text-align:center;font-size:9px;color:var(--muted);padding:8px 0;border-right:1px solid var(--line)}.timeline-date strong{display:block;font-size:10px;margin-top:4px;color:var(--text);font-weight:500}.timeline-track{height:47px;position:relative;flex:1;background:repeating-linear-gradient(to right,transparent 0,transparent calc(100% / 28 - 1px),var(--line) calc(100% / 28 - 1px),var(--line) calc(100% / 28))}.timeline-bar{position:absolute;top:12px;height:23px;min-width:7px;border:0;border-radius:4px;background:color-mix(in srgb,var(--status-color),transparent 20%);color:#fff;font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:left;padding:0 8px}.timeline-bar.milestone{background:var(--status-color);transform:rotate(45deg);width:16px!important;min-width:16px;height:16px;top:15px;padding:0;border-radius:2px}.today-line{position:absolute;top:0;bottom:0;width:1px;background:var(--accent);opacity:.45;pointer-events:none;z-index:1}.sprint-section{background:var(--surface);border:1px solid var(--line);border-radius:9px;margin-bottom:19px;overflow:hidden}.sprint-header{padding:17px 19px;display:flex;align-items:center;justify-content:space-between;background:var(--surface-2);border-bottom:1px solid var(--line);gap:15px}.sprint-header h3{font-size:12px}.sprint-header p{font-size:10px;color:var(--muted);margin-top:6px}.sprint-list-row{display:flex;align-items:center;gap:12px;padding:12px 19px;border-bottom:1px solid var(--line);font-size:11px}.sprint-list-row:last-child{border-bottom:0}.sprint-list-row .task-title{flex:1}.sprint-list-row .status{font-size:10px}.sprint-list-row .sprint-selector{max-width:135px;font-size:10px;padding:5px;border-color:transparent}.sprint-footer{display:flex;align-items:center;justify-content:space-between;padding:12px 19px;color:var(--muted);font-size:10px}.workload-row{display:grid;grid-template-columns:190px 1fr 100px 100px;gap:20px;align-items:center;padding:19px;border-bottom:1px solid var(--line)}.workload-row:last-child{border:0}.workload-row .progress-track{height:10px}.workload-row .person-meta{font-size:11px}.person-meta small{display:block;color:var(--muted);margin-top:4px;font-size:9px}.workload-table-header{background:var(--surface-2);color:var(--muted);font-size:10px;font-weight:500;padding-top:12px;padding-bottom:12px}.workload-cell{text-align:right;font-size:11px}.activity-list{display:flex;flex-direction:column}.activity-row{display:flex;gap:11px;align-items:flex-start;padding:15px 0;border-bottom:1px solid var(--line);font-size:11px;line-height:1.6}.activity-row:last-child{border:0}.activity-row .avatar{width:27px;height:27px;font-size:9px}.activity-body{flex:1;min-width:0}.activity-row time{font-size:9px;color:var(--subtle);white-space:nowrap;line-height:2}.activity-body strong{font-weight:550}.activity-detail{margin-top:3px;color:var(--muted);font-size:10px}.activity-link{border:0;background:transparent;padding:0;color:var(--accent);text-align:left}.doc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.doc-card{cursor:pointer;display:flex;flex-direction:column;min-height:190px;transition:border .15s}.doc-card:hover{border-color:var(--subtle)}.doc-card>.icon{width:25px;height:25px;color:var(--accent);margin-bottom:19px}.doc-card h3{font-size:13px}.doc-card p{font-size:10px;line-height:1.8;color:var(--muted);margin:10px 0 20px;flex:1}.doc-card small{font-size:9px;color:var(--subtle)}.member-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.member-card{display:flex;align-items:flex-start;gap:13px}.member-card h3{font-size:12px;margin:2px 0 6px}.member-card p{font-size:10px;color:var(--muted)}.member-card .chip{font-size:9px;margin-top:13px}.member-card .icon-btn{margin-left:auto}.notification-card{display:flex;gap:15px;align-items:flex-start;padding:22px;border:1px solid var(--line);border-radius:9px;background:var(--surface);margin-bottom:11px}.notification-card.unread{border-left:3px solid var(--accent)}.notification-card>.icon{width:19px;height:19px;color:var(--accent);background:var(--accent-soft);box-sizing:content-box;padding:9px;border-radius:9px}.notification-card h3{font-size:12px;margin-top:2px}.notification-card p{font-size:11px;color:var(--muted);margin:8px 0;line-height:1.6}.notification-card small{font-size:9px;color:var(--subtle)}
.layer-backdrop{position:fixed;inset:0;background:#12201c55;backdrop-filter:blur(3px);z-index:70;display:flex;align-items:center;justify-content:center;padding:22px}.modal{width:540px;max-width:100%;max-height:90dvh;background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:0 25px 100px #09181333;overflow:hidden;display:flex;flex-direction:column;animation:modal-in .18s ease}.modal.wide{width:780px}.modal-header{padding:22px 25px 18px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.modal-header h2{flex:1;font-size:17px}.modal-body{padding:23px 25px;overflow:auto;min-height:0}.modal-footer{padding:16px 25px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:flex-end;gap:9px;background:var(--surface)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.form-grid .full{grid-column:1/-1}.form-error{color:var(--red);font-size:11px;line-height:1.6;margin-top:12px}.form-help{font-size:10px;line-height:1.7;color:var(--muted);margin-top:7px}.modal-tabbar{display:flex;border-bottom:1px solid var(--line);gap:15px;margin:-4px 0 22px;overflow:auto}.modal-tabbar .view-tab{font-size:11px}.settings-section{margin:22px 0}.settings-section:first-child{margin-top:0}.settings-section h3{font-size:12px;margin-bottom:12px}.theme-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.theme-option{border:1px solid var(--line);border-radius:8px;padding:8px;background:var(--surface);text-align:left;font-size:10px}.theme-option.selected{border:2px solid var(--accent);padding:7px}.theme-preview{height:60px;background:var(--preview-bg);border-radius:4px;display:flex;gap:4px;padding:5px;margin-bottom:9px}.theme-preview:before{content:'';display:block;width:25%;background:var(--preview-side);border-radius:2px}.theme-preview:after{content:'';display:block;flex:1;background:var(--preview-surface);border-radius:2px}.accent-options{display:flex;gap:12px}.accent-option{width:28px;height:28px;border:3px solid var(--surface);box-shadow:0 0 0 1px var(--line);background:var(--accent-option);border-radius:50%}.accent-option.selected{box-shadow:0 0 0 2px var(--accent-option)}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line);padding:13px 0;font-size:11px}.settings-row:last-child{border:0}.settings-row small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.settings-row>input,.settings-row>select{width:150px}.toggle{position:relative;width:31px;height:18px;border-radius:12px;background:var(--subtle);border:0;padding:0;flex-shrink:0}.toggle:after{content:'';position:absolute;width:12px;height:12px;background:#fff;left:3px;top:3px;border-radius:50%;transition:left .15s}.toggle.on{background:var(--accent)}.toggle.on:after{left:16px}.column-options{display:grid;grid-template-columns:1fr 1fr;gap:13px}.check-label{display:flex;align-items:center;gap:8px;font-weight:450;font-size:11px}.workflow-status{display:grid;grid-template-columns:35px 1fr 95px 60px 28px;gap:8px;align-items:center;margin-bottom:9px}.workflow-status input,.workflow-status select{font-size:11px;padding:7px;width:100%}.workflow-status input[type=color]{width:35px}.field-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line)}.field-row strong{font-size:11px;font-weight:500}.field-row small{font-size:10px;color:var(--muted)}.transition-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.transition-group{padding:12px;border:1px solid var(--line);border-radius:7px}.transition-group strong{font-size:11px;display:block;margin-bottom:10px}.transition-group .check-label{margin:8px 0;font-size:10px}.rule-card{border:1px solid var(--line);border-radius:9px;padding:18px;display:flex;gap:14px;align-items:center;margin-bottom:13px}.rule-card>.icon{width:19px;height:19px;color:#c29b57;padding:10px;background:#c29b5715;box-sizing:content-box;border-radius:9px}.rule-card h3{font-size:12px;margin-bottom:7px}.rule-card p{font-size:10px;color:var(--muted);line-height:1.6}.rule-card .toggle{margin-left:auto}.popover{position:fixed;z-index:100;background:var(--surface);border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow);padding:6px;min-width:170px;max-width:340px;max-height:70dvh;overflow:auto;animation:modal-in .1s ease}.popover-item{border:0;width:100%;background:transparent;text-align:left;display:flex;gap:9px;align-items:center;padding:9px 10px;font-size:11px;border-radius:5px}.popover-item:hover{background:var(--surface-hover)}.popover-item .icon{width:14px;height:14px;color:var(--muted)}.popover-heading{font-size:9px;letter-spacing:.7px;text-transform:uppercase;color:var(--subtle);padding:8px 10px;font-weight:600}.popover-divider{height:1px;background:var(--line);margin:5px 4px}.popover-form{padding:10px;width:250px}.popover-form label{margin-bottom:13px;font-size:11px}.popover-form .btn{width:100%;font-size:11px}.popover input{width:100%}.popover .avatar{width:22px;height:22px;font-size:8px}.drawer-backdrop{position:fixed;inset:0;background:#12201c33;z-index:60;backdrop-filter:blur(1px)}.drawer{position:fixed;right:0;top:0;bottom:0;width:590px;max-width:100%;background:var(--surface);z-index:61;box-shadow:-8px 0 60px #0d241222;display:flex;flex-direction:column;animation:drawer-in .18s ease}.drawer-header{padding:16px 25px;display:flex;align-items:center;border-bottom:1px solid var(--line);gap:8px}.drawer-header .key{font-size:11px;color:var(--muted)}.drawer-actions{margin-left:auto;display:flex;gap:4px}.drawer-body{padding:25px;overflow:auto;flex:1}.drawer-title{font-size:23px;letter-spacing:-.6px;line-height:1.45;margin:13px 0 22px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 20px}.detail-field{display:grid;grid-template-columns:83px 1fr;gap:9px;align-items:center;min-height:32px}.detail-field>label{font-size:10px;color:var(--muted);font-weight:450}.detail-field input,.detail-field select{font-size:11px;padding:6px 8px;border-color:transparent;min-height:30px;width:100%}.detail-field input:hover,.detail-field select:hover{border-color:var(--line)}.detail-description{font-size:12px;line-height:1.85;color:var(--muted)}.detail-description h1,.detail-description h2,.detail-description h3{color:var(--text);font-size:13px;margin:20px 0 9px;font-weight:600;letter-spacing:0}.detail-description h1{font-size:20px}.detail-description ul{margin:8px 0;padding-left:19px}.detail-description p{margin:8px 0}.detail-description code{font-family:Consolas,monospace;background:var(--surface-2);padding:2px 4px;border-radius:3px;font-size:11px}.detail-description pre{white-space:pre-wrap;background:var(--surface-2);padding:13px;border-radius:7px}.detail-section-heading{display:flex;justify-content:space-between;align-items:center;margin:26px 0 10px}.detail-section-heading h3{font-size:12px}.dependency-row{display:flex;align-items:center;gap:8px;padding:9px 0;font-size:11px;border-bottom:1px solid var(--line)}.dependency-row .icon-btn{margin-left:auto}.detail-tabs{margin-top:25px;margin-bottom:16px}.comment{display:flex;gap:11px;margin-bottom:20px}.comment .avatar{width:28px;height:28px;font-size:9px}.comment-head{display:flex;align-items:center;gap:9px;font-size:10px;margin-bottom:6px}.comment-head strong{font-weight:600}.comment-head time{font-size:9px;color:var(--subtle)}.comment-body{font-size:11px;line-height:1.8;white-space:pre-wrap;word-break:break-word}.comment-compose{display:flex;gap:10px;margin:20px 0}.comment-compose textarea{width:100%;font-size:11px;min-height:78px}.drawer-footer{border-top:1px solid var(--line);padding:13px 25px;color:var(--subtle);font-size:9px;display:flex;justify-content:space-between}.search-modal{width:620px}.search-top{display:flex;align-items:center;gap:12px;padding:18px 21px;border-bottom:1px solid var(--line)}.search-top input{border:0;padding:3px;background:transparent;font-size:15px;flex:1;outline:none}.search-top .icon{color:var(--subtle);width:21px;height:21px}.search-results{padding:8px;max-height:430px;overflow:auto}.search-result{display:flex;align-items:center;gap:12px;padding:12px;border:0;border-radius:7px;width:100%;background:transparent;text-align:left}.search-result:hover{background:var(--surface-hover)}.search-result strong{font-size:12px;font-weight:500;display:block;margin-bottom:5px}.search-result small{font-size:10px;color:var(--muted)}.search-foot{border-top:1px solid var(--line);padding:12px 21px;font-size:10px;color:var(--subtle);display:flex;justify-content:space-between}.doc-editor textarea{min-height:330px;width:100%;font-family:Consolas,monospace;font-size:12px;line-height:1.85;border:0;padding:12px 0;background:transparent}.doc-editor input.doc-title{font-size:24px;font-weight:600;border:0;padding:0 0 14px;width:100%;border-radius:0;letter-spacing:-.6px}.doc-preview{min-height:330px;color:var(--text);font-size:13px}.auth-screen{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.auth-art{background:var(--sidebar);color:#e7efe9;display:flex;flex-direction:column;justify-content:center;padding:70px;position:relative;overflow:hidden}.auth-art .brand{position:absolute;top:20px;left:30px}.auth-art h1{font-size:53px;max-width:440px;line-height:1.15;font-weight:550;letter-spacing:-2px}.auth-art h1 span{color:#add6b9}.auth-art p{margin-top:23px;max-width:350px;color:#a3b9ac;font-size:14px;line-height:1.8}.auth-art:after{content:'';width:400px;height:400px;border:1px solid #ffffff10;border-radius:50%;position:absolute;bottom:-160px;right:-100px;box-shadow:0 0 0 55px #ffffff03,0 0 0 110px #ffffff02}.auth-form-area{display:flex;align-items:center;justify-content:center;padding:40px;background:var(--surface)}.auth-form{width:360px;max-width:100%}.auth-form h2{font-size:25px;letter-spacing:-.6px;margin-bottom:8px}.auth-form>p{font-size:12px;color:var(--muted);margin-bottom:30px}.auth-form label{margin:19px 0;font-size:11px}.auth-form input{padding:11px}.auth-form .btn{width:100%;margin-top:8px;min-height:40px}.auth-form .form-help{margin-top:17px;font-size:10px;text-align:center}.connection-error{margin:80px auto;width:500px;max-width:90%;padding:35px;background:var(--surface);border:1px solid var(--line);border-radius:13px;text-align:center}.connection-error .well-mark{width:50px;height:50px;margin-bottom:22px}.connection-error h2{margin-bottom:12px}.connection-error p{font-size:12px;color:var(--muted);line-height:1.8;margin-bottom:22px}#toasts{position:fixed;bottom:23px;right:23px;z-index:200;display:flex;flex-direction:column;gap:8px;max-width:400px}.toast{background:var(--text);color:var(--surface);border-radius:9px;padding:13px 16px;display:flex;align-items:center;gap:10px;box-shadow:var(--shadow);font-size:11px;animation:modal-in .15s ease;line-height:1.5}.toast.error{background:#9d4949;color:#fff}.toast button{color:inherit;border:0;background:#ffffff18;border-radius:4px;padding:4px 8px;font-size:10px;white-space:nowrap}.toast .icon{width:16px;height:16px}
html[data-theme=dark]{color-scheme:dark;--bg:#171b24;--surface:#202631;--surface-2:#252c38;--surface-hover:#2b3443;--text:#e0e5ee;--muted:#939eb0;--subtle:#69778d;--line:#303847;--accent-soft:#5276ee20;--sidebar:#101d1c;--side-active:#2c433c;--shadow:0 12px 50px #0005}
html[data-theme=midnight]{color-scheme:dark;--bg:#141a2b;--surface:#1c243a;--surface-2:#232d45;--surface-hover:#2b3650;--text:#e1e8f6;--muted:#9aa9c3;--subtle:#6a7b9a;--line:#303c57;--accent-soft:#809bf522;--sidebar:#111a2b;--side-text:#a9b7cf;--side-active:#2c3952;--shadow:0 12px 50px #0005}
html[data-theme=sand]{--bg:#f5f2ed;--surface:#fffcf7;--surface-2:#f2eee6;--surface-hover:#eeeadf;--text:#494a43;--muted:#8b8b7d;--subtle:#aaa797;--line:#e7e2d8;--sidebar:#373d32;--side-active:#4a5342;--accent-soft:#66886315}
html[data-theme=forest]{color-scheme:dark;--bg:#162420;--surface:#20312a;--surface-2:#293a32;--surface-hover:#31473b;--text:#e1ebe1;--muted:#97aea0;--subtle:#6c8a79;--line:#344d40;--sidebar:#101d17;--side-active:#2b4735;--accent-soft:#78bc9522}
html[data-density=compact]{--row:39px}html[data-density=comfortable]{--row:59px}html[data-motion=reduce] *,html[data-motion=reduce] *:before,html[data-motion=reduce] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.25;transform:scaleX(.6)}}@keyframes modal-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@keyframes drawer-in{from{transform:translateX(30px);opacity:0}to{transform:translateX(0);opacity:1}}
@media(min-width:1600px){.main{padding:34px 42px}.work-table .title-col{width:35%}.work-table .owner-col{width:135px}.work-table .status-col{width:130px}.work-table .priority-col{width:115px}.work-table .due-col{width:125px}.work-table .custom-col{width:130px}.work-table .effort-col{width:85px}.work-table .progress-col{width:125px}.task-title{font-size:12px}.main>.project-header{margin-bottom:5px}}
@media(max-width:1250px){:root{--sidebar-width:208px}.main{padding:25px 23px}.topbar{padding:0 23px}.toolbar-right{gap:1px}.global-search{width:225px}.view-tabs{gap:16px}.toolbar-count{display:none}.project-description{margin-left:0}.project-header-right{gap:8px}.metric{padding:0 14px}.dashboard-grid{grid-template-columns:1fr 1fr}.wide-card{grid-column:span 2}.dashboard-grid>.card:last-child{grid-column:span 2}.donut-area{justify-content:center}.project-cards,.member-grid,.doc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){:root{--sidebar-width:190px}.nav-item{padding-left:9px;gap:8px;font-size:11px}.brand{padding-left:9px}.main{padding:22px 18px}.topbar{padding:0 18px}.global-search{width:180px}.breadcrumbs{font-size:10px;gap:6px}.project-header-right .avatar-stack{display:none}.project-mini-meta{gap:12px}.metric-strip{padding:12px 0}.metric-value{font-size:21px}.metric-icon{display:none!important}.toolbar-right .btn{padding:7px 6px!important}.view-tabs{gap:15px}.workload-row{grid-template-columns:155px 1fr 75px 70px;gap:12px}.transition-grid{grid-template-columns:1fr}.dashboard-grid{gap:13px}.card{padding:17px}.donut{width:110px;height:110px}.donut-area{gap:15px}}
@media(max-width:700px){.app-shell{display:block}.sidebar{position:fixed;left:0;top:0;bottom:0;width:232px;transform:translateX(-100%);transition:transform .2s}.app-shell.nav-open .sidebar{transform:translateX(0);box-shadow:15px 0 60px #0004}.workspace-area{height:100dvh}.mobile-menu{display:inline-flex}.topbar{height:53px;min-height:53px;padding:0 13px;gap:10px}.breadcrumbs{flex:1}.breadcrumbs>span:first-child{display:none}.topbar-actions{gap:3px}.global-search{width:29px;padding:6px;border:0;background:transparent}.global-search>span,.global-search>kbd{display:none}.topbar-separator{display:none}.main{padding:22px 15px}.project-title-row{gap:9px}h1{font-size:23px}.project-icon{width:32px;height:32px;border-radius:9px}.project-icon .icon{width:19px;height:19px}.project-description{font-size:11px;max-width:255px;line-height:1.7}.project-header{gap:9px}.project-header-right{gap:1px}.project-header-right .btn{font-size:0;padding:7px;min-height:30px}.project-header-right .btn .icon{width:15px;height:15px}.project-header-right .icon-btn{min-width:23px;width:23px}.project-mini-meta{font-size:9px;flex-wrap:wrap;margin-top:15px;gap:12px}.metric-strip{margin-top:20px;grid-template-columns:repeat(4,1fr)}.metric{padding:0 10px}.metric-value{font-size:20px}.metric-label{font-size:8px}.metric-note{display:none}.view-tabs{margin:13px 0 15px;gap:20px}.view-tab{font-size:11px}.toolbar{margin-bottom:21px;gap:9px}.toolbar-left{gap:2px}.toolbar-right{width:100%;justify-content:flex-start;gap:3px}.toolbar-search{max-width:150px}.toolbar-search input{width:100px}.toolbar .btn{font-size:11px;min-height:31px}.toolbar .btn.ghost{font-size:10px;padding:6px}.toolbar .toolbar-sep{margin:0 3px}.group-heading{font-size:13px}.group-summary{gap:12px}.page-footer{font-size:9px;gap:7px}.page-footer .footer-sync{display:none}.bulk-bar{gap:6px;padding:9px;font-size:10px;max-width:100%;overflow:auto}.bulk-bar .btn{font-size:10px;padding:6px}.dashboard-grid{grid-template-columns:1fr}.wide-card,.dashboard-grid>.card:last-child{grid-column:auto}.donut-area{justify-content:flex-start}.donut{width:130px;height:130px}.project-cards,.member-grid,.doc-grid{grid-template-columns:1fr}.project-card p{min-height:auto}.page-heading{align-items:flex-start;gap:10px}.page-heading p{font-size:11px;line-height:1.7}.page-heading .btn{font-size:11px}.calendar-day{min-height:95px;padding:4px}.calendar-item{font-size:8px;padding:4px 2px}.calendar-weekdays>div{padding:10px 0;font-size:9px}.calendar-day .day-add{display:none}.workload-row{grid-template-columns:130px 1fr 48px;gap:9px;padding:14px 10px}.workload-row>:last-child{display:none}.workload-cell{font-size:10px}.sprint-header{padding:14px 12px}.sprint-list-row{padding:12px;gap:8px}.sprint-list-row>.priority,.sprint-list-row>.key,.sprint-list-row>.avatar{display:none}.sprint-list-row .sprint-selector{width:95px}.sprint-list-row .status{font-size:8px;padding:4px}.sprint-footer{padding:10px 12px}.layer-backdrop{padding:12px}.modal{max-height:94dvh}.modal-header{padding:18px 19px}.modal-body{padding:20px 19px}.modal-footer{padding:14px 19px}.form-grid{gap:14px}.theme-grid{gap:8px}.modal-tabbar{gap:13px}.modal-tabbar .view-tab{font-size:10px}.drawer{width:100%}.drawer-body{padding:22px 20px}.drawer-header{padding:14px 20px}.drawer-title{font-size:21px}.detail-grid{gap:10px 15px}.detail-field{grid-template-columns:65px 1fr;gap:4px}.detail-field>label{font-size:9px}.detail-field input,.detail-field select{font-size:10px;padding:6px 4px}.drawer-footer{padding:13px 20px}.auth-screen{grid-template-columns:1fr}.auth-art{display:none}.auth-form-area{padding:30px 25px}.workflow-status{grid-template-columns:30px 1fr 80px 45px 22px;gap:5px}.workflow-status input,.workflow-status select{font-size:10px;padding:6px}.workflow-status input[type=color]{width:30px}.rule-card{padding:13px;gap:10px}.rule-card h3{font-size:11px}.rule-card>.icon{padding:7px}.activity-row time{font-size:8px}#toasts{bottom:15px;right:15px;left:15px;max-width:none}.toast{font-size:10px}.settings-row>input,.settings-row>select{width:120px}.member-card .avatar.lg{width:36px;height:36px;font-size:12px}}
.cell-button>.progress-cell{width:100%}.work-table{min-width:1040px}.day-add{min-width:22px;height:22px}.modal [hidden]{display:none!important}
.work-table td,.task-title{font-size:calc(var(--font-size) - 2px)}.work-table th,.owner-name,.cell-button .status{font-size:calc(var(--font-size) - 3px)}.dashboard-grid>[hidden]{display:none!important}
.kanban-column{max-height:max(340px,calc(100dvh - 475px));overflow-y:auto;scrollbar-width:thin}.kanban-head{position:sticky;top:0;background:var(--surface-2);z-index:2}.kanban-add{position:sticky;bottom:0;background:var(--surface-2)}
@media(max-width:700px){.kanban-column{max-height:max(280px,calc(100dvh - 435px))}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Scroll only when content needs it; scrollbar tones follow the current surface. */
:root{--scrollbar-track:var(--surface-2);--scrollbar-thumb:color-mix(in srgb,var(--muted) 58%,var(--surface-2));--scrollbar-thumb-hover:color-mix(in srgb,var(--muted) 78%,var(--surface-2))}
*{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) var(--scrollbar-track)}
*::-webkit-scrollbar{width:7px;height:7px}
*::-webkit-scrollbar-track,*::-webkit-scrollbar-corner{background:var(--scrollbar-track)}
*::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:3px}
*::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}
.sidebar{--scrollbar-track:var(--sidebar);--scrollbar-thumb:color-mix(in srgb,var(--side-text) 42%,var(--sidebar));--scrollbar-thumb-hover:color-mix(in srgb,var(--side-text) 65%,var(--sidebar));min-height:0}
.workspace-area,.main,.drawer-body{min-height:0}
.sidebar>.brand,.sidebar>.workspace-switch,.sidebar>nav,.sidebar-bottom,.modal-header,.modal-footer,.drawer-header,.drawer-footer{flex-shrink:0}
.view-tabs{scrollbar-width:thin}
.table-wrap,.timeline-wrap,.tracking-table-wrap,.modal-body,.drawer-body{min-width:0;overscroll-behavior:contain}
@media(forced-colors:active){*{scrollbar-color:auto}}

/* Governance, role policies, and account keymaps */
.eyebrow{font-size:10px;letter-spacing:1.4px;color:var(--subtle);font-weight:650;display:block;margin-bottom:9px}
.governance-content{padding-top:24px}.governance-tabs{margin-top:8px}.role-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px}.role-card{padding:22px;display:flex;flex-direction:column;min-height:250px}.role-card h3{font-size:17px;margin:17px 0 8px}.role-card p{font-size:12px;line-height:1.6;color:var(--muted);flex:1}.role-card footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--border);padding-top:16px;margin-top:20px;font-size:11px;color:var(--muted)}.role-badge{background:color-mix(in srgb,var(--role-color),transparent 89%);color:var(--role-color);width:40px;height:40px;border-radius:12px;display:grid;place-items:center}.role-lineage{color:var(--subtle);font-size:10px;margin-top:12px}.role-capabilities{margin-top:10px;flex-wrap:wrap}.role-pill{color:var(--role-color);background:color-mix(in srgb,var(--role-color),transparent 91%);padding:6px 9px;border-radius:5px;font-size:11px;white-space:nowrap}.oversight-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.oversight-metrics .card{padding:22px}.oversight-metrics span{display:flex;gap:9px;color:var(--muted);font-size:12px;align-items:center}.oversight-metrics strong{display:block;font-size:30px;letter-spacing:-1px;margin-top:15px;font-weight:550}.tracking-table-wrap{overflow:auto;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.governance-table{width:100%;border-collapse:collapse;min-width:800px;text-align:left}.governance-table th{font-size:10px;letter-spacing:.3px;font-weight:600;color:var(--subtle);background:var(--bg);padding:15px 18px;white-space:nowrap}.governance-table td{padding:16px 18px;border-top:1px solid var(--border);font-size:11px;vertical-align:middle}.governance-table td strong{font-weight:550}.governance-table small{font-size:10px;color:var(--subtle);display:block;margin-top:5px;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.assignment-state{font-size:10px;text-transform:capitalize;padding:5px 8px;border-radius:5px;background:var(--bg);color:var(--muted)}.assignment-state.active{color:var(--green);background:color-mix(in srgb,var(--green),transparent 91%)}.assignment-state.expired,.assignment-state.ended{color:#dc7968;background:color-mix(in srgb,#dc7968,transparent 92%)}.assignment-state.scheduled{color:var(--accent);background:var(--accent-soft)}.policy-rule{display:flex;gap:12px;padding:10px 0;border-bottom:1px solid var(--border);align-items:center}.policy-rule select:first-child{flex:1}.policy-rule select:nth-child(2){width:150px}.preferences-nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px;padding-bottom:20px;border-bottom:1px solid var(--border)}.keymap-list{display:flex;flex-direction:column}.keymap-row{display:flex;gap:10px;align-items:center;padding:13px 0;border-bottom:1px solid var(--border)}.keymap-row strong{font-size:12px;font-weight:550;display:block}.keymap-row small{display:block;color:var(--subtle);font-size:10px;margin-top:5px}.key-binding{font:11px ui-monospace,SFMono-Regular,Consolas,monospace;border:1px solid var(--border);border-radius:5px;padding:7px 11px;background:var(--bg);color:var(--subtle);min-width:85px;cursor:pointer}.key-binding.assigned{color:var(--text)}#keymap-root{position:relative;z-index:160}.keymap-context{position:fixed;width:280px;z-index:160}.keymap-context kbd{margin-left:auto;font-size:9px}.shortcut-backdrop{z-index:160}.shortcut-modal{max-width:520px}.key-capture{margin:22px 0;padding:28px;text-align:center;border:1px dashed var(--accent);background:var(--accent-soft);border-radius:9px;color:var(--accent);font:18px ui-monospace,SFMono-Regular,Consolas,monospace;outline:none}.shortcut-conflict{border-radius:7px;background:color-mix(in srgb,#d39449,transparent 91%);padding:14px;margin-top:18px;font-size:11px;line-height:1.7}.shortcut-conflict .check-label{margin-top:8px}.notification-on{color:var(--green)}.pagination{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted);margin-top:18px}.tracking-tools input{min-width:160px}.tracking-tools{gap:16px;flex-wrap:wrap}
@media(max-width:760px){.oversight-metrics{grid-template-columns:repeat(2,1fr);gap:10px}.oversight-metrics .card{padding:15px}.governance-tabs{overflow:auto}.role-grid{grid-template-columns:1fr}.keymap-row .grow{min-width:0}.keymap-row strong{overflow:hidden;max-width:180px;white-space:nowrap;text-overflow:ellipsis}.policy-rule{gap:6px}.policy-rule select:nth-child(2){width:112px}.preferences-nav{gap:6px}.shortcut-modal{margin:12px}.tracking-tools{align-items:stretch}.keymap-row{gap:6px}}
