:root{--bg:#f7f7f7;--surface:#ffffff;--ink:#272727;--muted:#686868;--line:#e4e4e4;--accent:#535353;--accent-soft:#ededed;--sidebar:#f0f0f0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:13px;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:var(--accent)}button{border:0;background:none;color:inherit}svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button svg{vertical-align:middle}.boot{height:100vh;display:grid;place-content:center;justify-items:center;color:var(--muted)}.brand-mark{width:32px;height:32px;background:var(--ink);color:white;border-radius:9px;display:inline-grid;place-content:center;font-size:22px;font-weight:650;letter-spacing:-3px;padding-right:3px}.brand{display:flex;gap:10px;align-items:center;font-size:22px;font-weight:650;letter-spacing:-1px;padding:5px 8px 27px}.brand small{font-size:9px;letter-spacing:1.5px;color:var(--muted);display:block;font-weight:500;margin-top:2px}.shell{display:grid;grid-template-columns:232px minmax(0,1fr);min-height:100vh}.sidebar{overflow-y:auto;padding:25px 16px 16px;background:var(--sidebar);border-right:1px solid var(--line);position:fixed;width:232px;top:0;bottom:0;display:flex;flex-direction:column;z-index:20}.workspace-select{width:100%;padding:11px 9px;background:#ffffff;border:1px solid var(--line);border-radius:7px;color:var(--ink);font-weight:600;margin-bottom:24px}.nav-label{color:#6d6d6d;text-transform:uppercase;letter-spacing:1.4px;font-size:9px;font-weight:700;padding:0 13px;margin:19px 0 8px}.nav-item{width:100%;display:flex;align-items:center;gap:11px;text-align:left;padding:11px 13px;border-radius:6px;color:#676767;margin:2px 0;font-size:12px}.nav-item.active{background:#e2e2e2;color:#494949;font-weight:600}.nav-item:hover{background:#e7e7e7}.nav-item .count{margin-left:auto;font-size:10px;background:white;padding:2px 6px;border-radius:4px}.project-dot{width:7px;height:7px;border-radius:2px;background:var(--accent);margin:0 5px}.sidebar-bottom{flex-shrink:0;margin-top:auto;padding-top:25px}.demo-note{font-size:10px;color:var(--muted);border-top:1px solid #dcdcdc;padding:15px 12px;line-height:1.7}.profile{display:flex;align-items:center;gap:10px;padding:9px;background:#e5e5e5;border-radius:7px}.profile-text{flex:1;min-width:0}.profile-text strong{font-size:11px;display:block}.profile-text small{font-size:9px;color:var(--muted);text-transform:capitalize}.avatar{display:inline-grid;place-content:center;width:28px;height:28px;border-radius:50%;background:#e5e5e5;color:#5d5d5d;font-weight:600;font-size:10px;flex-shrink:0}.profile .avatar{background:#ffffff}.main{grid-column:2;min-width:0}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 38px;background:rgba(255,255,255,.65);gap:20px}.breadcrumb{color:var(--muted);font-size:11px;display:flex;gap:12px;align-items:center}.breadcrumb strong{font-weight:500;color:var(--ink)}.top-right{display:flex;align-items:center;gap:15px}.global-search{display:flex;align-items:center;gap:9px;color:var(--muted);width:224px}.global-search input{width:100%;border:none;background:none;font-size:11px;outline:none}.key{font-size:10px;padding:3px;border:1px solid var(--line);border-radius:4px;white-space:nowrap}.content{max-width:1560px;margin:auto;padding:35px 38px 50px}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:1.7px;color:var(--muted);margin-bottom:10px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading h1{font-size:28px;line-height:1.2;font-weight:550;letter-spacing:-1px;margin:0 0 9px}.subtitle{font-size:11px;color:var(--muted);line-height:1.6}.heading-actions{display:flex;gap:8px;align-items:center}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:34px;padding:8px 13px;border:1px solid var(--line);border-radius:6px;background:white;font-size:11px;font-weight:550;white-space:nowrap}.btn:hover{background:#f4f4f4}.btn.primary{background:var(--accent);border-color:var(--accent);color:white}.btn.primary:hover{filter:brightness(.92)}.btn.danger{color:#5e5e5e}.icon-btn{width:30px;height:30px;display:inline-grid;place-content:center;border-radius:5px}.icon-btn:hover{background:var(--line)}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 27px}.stat{background:white;border:1px solid var(--line);border-radius:9px;padding:19px 20px}.stat-top{display:flex;justify-content:space-between;font-size:11px;color:#666666;align-items:center}.stat-icon{color:#7a7a7a;background:#ededed;padding:7px;border-radius:6px;display:grid;place-content:center}.stat-number{font-size:29px;font-weight:550;letter-spacing:-1px;margin:15px 0 6px}.stat-bottom{color:var(--muted);font-size:10px}.section-panel{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden}.section-header{padding:20px 22px;display:flex;justify-content:space-between;align-items:center;gap:10px}.section-header h2{font-size:14px;margin:0;font-weight:600}.section-header small{color:var(--muted);font-size:10px}.workspace-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:22px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:26px}.project-card{min-width:0;background:white;border:1px solid var(--line);border-radius:8px;text-align:left;padding:20px;transition:transform .15s,border-color .15s;min-height:164px}.project-card:hover{transform:translateY(-2px);border-color:#b9b9b9}.project-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.project-icon{display:grid;place-content:center;width:32px;height:32px;border-radius:7px;background:var(--accent-soft);color:var(--accent)}.project-card h3{font-size:13px;margin:0 0 6px;font-weight:600}.project-card p{color:var(--muted);font-size:10px;margin:0 0 17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.progress-track{height:4px;border-radius:3px;background:#ececec;overflow:hidden;margin:10px 0}.progress-track span{display:block;height:100%;background:var(--accent);border-radius:3px}.project-card-footer{display:flex;justify-content:space-between;font-size:9px;color:var(--muted)}.section-title{display:flex;justify-content:space-between;align-items:center;margin:25px 0 13px}.section-title h2{font-size:14px;font-weight:600;margin:0}.text-btn{font-size:10px;color:var(--muted);display:flex;gap:6px;align-items:center}.text-btn:hover{color:var(--accent)}.activity-list{padding:0 21px 18px}.activity-item{display:flex;gap:10px;padding:13px 0;border-top:1px solid var(--line);font-size:10px;line-height:1.7}.activity-item strong{font-weight:600}.activity-item p{margin:0;color:#676767}.activity-item time{font-size:9px;color:#6d6d6d}.activity-item .avatar{width:25px;height:25px;font-size:8px}.note-panel{padding:22px;background:#ebebeb;border:1px solid #dfdfdf;border-radius:9px;margin-top:18px}.note-panel h3{font-size:12px;margin:9px 0}.note-panel p{font-size:10px;color:#686868;line-height:1.8;margin:0}.tabs{display:flex;gap:25px;border-bottom:1px solid var(--line);margin-top:8px;align-items:center}.tab{padding:12px 0 15px;display:flex;gap:7px;align-items:center;color:var(--muted);font-size:11px;border-bottom:2px solid transparent;margin-bottom:-1px}.tab.active{color:var(--accent);border-bottom-color:var(--accent);font-weight:600}.tab svg{width:15px;height:15px}.toolbar{display:flex;justify-content:space-between;align-items:center;margin:20px 0;gap:10px;flex-wrap:wrap}.filters{display:flex;gap:8px;flex-wrap:wrap}.filter{border:1px solid var(--line);border-radius:5px;padding:8px 10px;background:white;color:#666666;font-size:10px;max-width:190px}.result-count{font-size:10px;color:var(--muted)}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:11px}th{font-weight:500;color:#696969;background:#f9f9f9;font-size:10px;padding:13px 16px;border-bottom:1px solid var(--line);white-space:nowrap}td{padding:15px 16px;border-bottom:1px solid #ebebeb;white-space:nowrap}tr:last-child td{border-bottom:0}tbody tr:hover{background:#f8f8f8}td.task-title{min-width:230px;white-space:normal;font-weight:500}.task-open{display:flex;text-align:left;gap:9px;align-items:center;width:100%;font-weight:500;padding:0;line-height:1.5}.task-check{width:15px;height:15px;border:1px solid #d3d3d3;border-radius:50%;flex-shrink:0}.task-check.done{background:var(--accent);border-color:var(--accent);color:white;display:grid;place-content:center;font-size:10px}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;font-size:9px;border-radius:4px;background:#ebebeb;color:#686868;white-space:nowrap}.badge.in_progress{background:#f0f0f0;color:#7a7a7a}.badge.review{background:#f0f0f0;color:#8a8a8a}.badge.planned{background:#eeeeee;color:#808080}.badge.done{background:#f0f0f0;color:#787878}.badge:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor}.priority{font-size:10px;color:#6b6b6b}.priority.urgent{color:#6e6e6e}.priority.high{color:#9a9a9a}.priority.normal{color:#888888}.assignee{display:flex;align-items:center;gap:7px;font-size:10px;color:#676767}.assignee .avatar{width:23px;height:23px;font-size:8px}.due{color:#6a6a6a;font-size:10px}.due.overdue{color:#7c7c7c}.empty{padding:50px 24px;text-align:center;color:var(--muted);line-height:1.9;font-size:12px}.empty strong{display:block;color:var(--ink);margin-bottom:5px}.board{display:grid;grid-template-columns:repeat(5,minmax(205px,1fr));gap:14px;overflow:auto;align-items:start;padding-bottom:15px}.board-column{background:#ededed;border:1px solid #e1e1e1;border-radius:8px;padding:12px;min-height:300px}.board-heading{display:flex;align-items:center;justify-content:space-between;margin:0 2px 15px;font-size:11px}.board-heading span.count{font-size:9px;background:#e2e2e2;padding:3px 6px;border-radius:4px;color:var(--muted)}.task-card{padding:15px;background:white;border:1px solid var(--line);border-radius:7px;margin-bottom:10px;box-shadow:0 2px 3px #27272703}.task-card .task-open{font-size:12px;line-height:1.7}.task-card .project-name{font-size:9px;color:var(--muted);margin-bottom:8px}.task-card-footer{display:flex;align-items:center;justify-content:space-between;margin-top:16px}.task-card select{width:100%;font-size:9px;color:var(--muted);margin-top:12px;padding:6px;border:1px solid var(--line);border-radius:4px;background:white}.tags{display:flex;gap:4px;flex-wrap:wrap;margin-top:10px}.tag{font-size:9px;color:#696969;background:#ededed;padding:3px 6px;border-radius:4px}.calendar-nav{display:flex;align-items:center;gap:15px;margin:22px 0}.calendar-nav h2{font-size:16px;margin:0;min-width:160px}.calendar{display:grid;grid-template-columns:repeat(7,1fr);border-left:1px solid var(--line);border-top:1px solid var(--line);background:white;border-radius:8px;overflow:hidden}.calendar-dayname{padding:11px;color:var(--muted);font-size:10px;background:#ededed;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.calendar-cell{min-height:110px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:9px;min-width:0}.calendar-cell.outside{background:#f6f6f6;color:#8d8d8d}.calendar-date{font-size:10px;display:inline-grid;place-content:center;width:21px;height:21px;margin-bottom:5px}.today .calendar-date{background:var(--accent);border-radius:50%;color:white}.calendar-task{display:block;width:100%;text-align:left;font-size:9px;background:#e8e8e8;color:#636363;border-radius:3px;padding:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:3px 0}.docs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.doc-card{background:white;border:1px solid var(--line);border-radius:8px;padding:23px;text-align:left;min-height:185px}.doc-card svg{color:#7e7e7e;margin-bottom:17px}.doc-card h3{font-size:14px;margin:0 0 10px}.doc-card p{font-size:11px;line-height:1.7;color:var(--muted);max-height:55px;overflow:hidden;white-space:pre-line;margin:0 0 18px}.doc-card small{font-size:9px;color:var(--muted)}.form-panel{background:white;border:1px solid var(--line);border-radius:9px;max-width:680px;padding:26px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:block;margin-bottom:18px}.field>span{display:block;font-size:11px;font-weight:550;margin-bottom:8px}.field input,.field select,.field textarea{width:100%;padding:10px 11px;border:1px solid #dadada;background:#ffffff;border-radius:5px;color:var(--ink);line-height:1.6}.field textarea{resize:vertical;min-height:95px}.field small{display:block;margin-top:6px;font-size:10px;color:var(--muted)}.field input[type=color]{height:41px;padding:4px}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;border-top:1px solid var(--line);padding-top:18px;margin-top:6px}.form-error{color:#585858;background:#f4f4f4;padding:11px;border-radius:5px;font-size:11px;margin-bottom:15px}.modal-backdrop{position:fixed;inset:0;background:#29292940;z-index:50;display:flex;align-items:center;justify-content:center;padding:24px;backdrop-filter:blur(3px)}.modal{background:var(--bg);border:1px solid #ffffff;border-radius:12px;box-shadow:0 20px 70px #28282833;width:540px;max-height:90vh;overflow:auto}.modal.drawer{width:650px;max-height:100vh;height:100vh;border-radius:0;position:absolute;right:0;top:0}.modal-header{padding:22px 26px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.modal-header h2{font-size:16px;font-weight:600;margin:0}.modal-body{padding:24px 26px}.modal .title-input{font-size:23px;letter-spacing:-.6px;font-weight:550;background:transparent;border-color:transparent;padding:3px 0}.detail-section{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.detail-section h3{font-size:12px;margin:0 0 18px}.comment{font-size:11px;line-height:1.7;padding:12px 0;border-bottom:1px solid var(--line)}.comment small{color:var(--muted);font-size:9px;margin-left:8px}.comment p{white-space:pre-wrap;margin:5px 0}.inline-form{display:flex;gap:8px;margin-top:14px}.inline-form input,.inline-form textarea{flex:1;min-width:0;padding:10px;border:1px solid var(--line);border-radius:5px;background:white}.inline-form input[type=number]{max-width:85px}.login{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.login-story{background:#e5e5e5;padding:60px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-story:after{content:'';width:430px;height:430px;position:absolute;right:-70px;bottom:-160px;border:1px solid #c0c0c0;transform:rotate(-25deg);border-radius:80px;box-shadow:0 0 0 45px #dcdcdc,0 0 0 46px #c4c4c4,0 0 0 90px #e0e0e0,0 0 0 91px #c9c9c9}.login-story h1{font-size:48px;font-weight:450;letter-spacing:-2px;line-height:1.15;max-width:440px;position:relative;z-index:1}.login-story p{font-size:13px;line-height:1.9;color:#666666;max-width:340px}.login-form-wrap{display:grid;place-items:center;padding:40px}.login-form{max-width:350px;width:100%}.login-form h1{font-size:25px;letter-spacing:-.8px;font-weight:550;margin-bottom:8px}.login-form .subtitle{margin-bottom:28px}.login-form .btn{width:100%;margin-top:4px}.login-footer{margin-top:25px;font-size:10px;color:var(--muted);line-height:1.8}.mobile-menu{display:none}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%) translateY(100px);z-index:100;background:#3b3b3b;color:white;padding:13px 20px;border-radius:8px;font-size:12px;transition:transform .2s;box-shadow:0 6px 20px #00000022}#toast.visible{transform:translateX(-50%) translateY(0)}.error-panel{padding:25px;border:1px solid #cccccc;background:#f8f8f8;border-radius:8px}.loading{padding:70px;text-align:center;color:var(--muted)}.overview-task-table th:nth-child(4),.overview-task-table td:nth-child(4){display:none}.muted{color:var(--muted)}.body-copy{white-space:pre-wrap;line-height:1.9;font-size:13px}.role-label{text-transform:capitalize}.link-button{color:var(--accent);font-size:11px}.space-list{display:flex;gap:8px;flex-wrap:wrap}.space-chip{border:1px solid var(--line);padding:8px 12px;background:white;border-radius:5px;font-size:11px}@media(min-width:1500px){.content{padding:42px 48px}.topbar{padding:0 48px}.workspace-layout{grid-template-columns:minmax(0,1fr) 320px}}@media(max-width:1150px){.workspace-layout{grid-template-columns:1fr}.overview-aside{display:grid;grid-template-columns:1fr 1fr;gap:18px}.note-panel{margin:0}.project-grid{grid-template-columns:repeat(2,1fr)}.project-grid .project-card:last-child:nth-child(odd){grid-column:1/-1}.stats{gap:10px}.stat{padding:16px}.docs-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){.shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{width:190px;padding:22px 10px}.content{padding:26px 22px}.topbar{padding:0 22px}.global-search{width:150px}.key{display:none}.stats{grid-template-columns:repeat(2,1fr)}.page-heading h1{font-size:24px}.heading-actions .btn{padding:8px 10px}.login-story{padding:35px}.login-story h1{font-size:38px}.calendar-cell{min-height:88px;padding:5px}.calendar-task{font-size:8px;padding:3px}.overview-aside{display:block}.note-panel{margin-top:18px}}@media(max-width:600px){.shell{display:block}.main{width:100%}.sidebar{transform:translateX(-100%);width:235px;transition:transform .2s;box-shadow:20px 0 60px #00000022}.sidebar.open{transform:translateX(0)}.mobile-menu{display:inline-grid}.topbar{height:60px;padding:0 17px;gap:12px}.breadcrumb{flex:1;font-size:10px;gap:7px}.top-right .avatar{display:none}.global-search{width:110px}.global-search input{font-size:10px}.content{padding:25px 17px}.page-heading{align-items:flex-start;gap:12px;margin-bottom:23px}.page-heading h1{font-size:24px}.page-heading .subtitle{font-size:10px}.heading-actions .btn{font-size:10px}.heading-actions .btn svg{width:13px}.heading-actions{flex-shrink:0}.project-grid{grid-template-columns:1fr;gap:10px}.project-card{min-height:145px}.project-card:last-child{grid-column:auto!important}.stats{gap:9px;margin-bottom:20px}.stat{padding:14px}.stat-top{font-size:10px}.stat-icon{padding:5px}.stat-number{font-size:25px;margin-top:10px}.stat-bottom{font-size:9px}.docs-grid{grid-template-columns:1fr}.tabs{gap:22px}.filter{max-width:145px;font-size:9px}.toolbar{margin:15px 0}.calendar{min-width:540px}.calendar-wrap{overflow:auto}.modal-backdrop{padding:12px}.modal.drawer{width:100%}.modal-body{padding:20px}.modal-header{padding:19px 20px}.form-grid{gap:12px}.form-panel{padding:20px}.login{display:block}.login-story{padding:25px 30px}.login-story h1{font-size:30px;margin:14px 0}.login-story .brand{padding-bottom:10px}.login-story p{font-size:11px;position:relative;z-index:1;max-width:270px;margin-bottom:0}.login-story:after{width:220px;height:220px;right:-120px;bottom:-120px}.login-form-wrap{padding:30px}.login-footer{margin-top:18px}}

/* Keep navigation and project cards usable on compact laptop screens. */
.sidebar>div[style*="overflow:auto"]{flex-shrink:0;max-height:none!important;overflow:visible!important}.sidebar>.brand,.sidebar>.workspace-select,.sidebar>.nav-label,.sidebar>.nav-item{flex-shrink:0}.project-card h3{overflow-wrap:anywhere}.project-card-header{gap:8px}.project-card-header>.muted{white-space:nowrap}.project-card-footer{gap:8px}.workspace-layout>div{min-width:0}@media(max-width:1280px){.workspace-layout{grid-template-columns:minmax(0,1fr)}.overview-aside{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.note-panel{margin:0}.project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-aside{display:block}.note-panel{margin-top:18px}}@media(max-width:600px){.project-grid{grid-template-columns:minmax(0,1fr)}}
@media(min-width:801px) and (max-width:1280px){.project-grid .project-card:last-child:nth-child(odd){grid-column:auto}}
.parent-context{display:block;margin-top:4px;color:var(--muted);font-size:10px;font-weight:400}.checklist-row{display:flex;align-items:center;gap:9px;margin-bottom:10px}.checklist-row input[type=checkbox],.dependency-option input[type=checkbox]{width:16px;height:16px;flex-shrink:0;accent-color:var(--accent)}.checklist-row input[data-check-title]{min-width:0;flex:1}.checklist-row:has(input:checked) input[data-check-title]{color:var(--muted);text-decoration:line-through}.related-tasks{display:grid;gap:5px}.related-task{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:10px;border:1px solid var(--line);background:var(--surface);border-radius:7px;text-align:left;color:var(--ink)}.related-task>span:first-child{overflow-wrap:anywhere}.dependency-picker{max-height:230px;overflow:auto;border:1px solid var(--line);border-radius:8px;padding:5px 10px;margin-top:12px}.dependency-option{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0}.dependency-option label{display:flex;align-items:center;gap:9px;min-width:0}.dependency-option label span{overflow-wrap:anywhere}.dependency-option .text-btn{flex-shrink:0}.custom-fields-settings{max-width:680px;margin-top:32px}.custom-field-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.custom-field-row strong{overflow-wrap:anywhere}.custom-field-row small{display:block;color:var(--muted);margin-top:5px}.archived-fields{margin-top:22px}.archived-fields summary{cursor:pointer;padding:8px 0}.field[hidden]{display:none}

/* Provisional neutral interface. Workspace accent settings remain configurable. */
:root{--bg:#fafafa;--surface:#fff;--ink:#222;--muted:#626262;--line:#e3e3e3;--accent:#525252;--accent-soft:#f0f0f0;--sidebar:#f4f4f4}
:focus-visible{outline:2px solid var(--ink);outline-offset:3px}.heading-actions{flex-wrap:wrap;justify-content:flex-end}.saved-views{display:flex;align-items:center;gap:14px;padding:16px 0;border-bottom:1px solid var(--line);font-size:11px;flex-wrap:wrap}.saved-views>.muted{flex-shrink:0}.saved-view-buttons{display:flex;gap:7px;align-items:center;flex-wrap:wrap;flex:1}.btn.small{min-height:31px;font-size:10px;padding:6px 9px;max-width:100%;white-space:normal;text-align:left}.saved-view-buttons .muted{font-size:9px}.view-archive-title{margin-top:26px}.view-config-choice{display:flex;gap:9px;align-items:flex-start;font-size:12px;line-height:1.6;margin:16px 0}.view-config-choice input{flex-shrink:0;width:17px;height:17px;margin:2px 0;accent-color:var(--accent)}.csv-help{border:1px solid var(--line);border-radius:7px;padding:12px;font-size:12px;line-height:1.7}.csv-help summary{cursor:pointer;font-weight:550}.csv-help p{overflow-wrap:anywhere}.import-modal{width:min(820px,100%)}.import-reference p{display:grid;gap:3px;border-top:1px solid var(--line);padding-top:8px}.import-reference code{font-size:11px;overflow-wrap:anywhere;user-select:all}.import-summary{display:flex;gap:16px;flex-wrap:wrap;margin:24px 0 12px;font-size:12px}.import-row-results{overflow:auto;max-height:380px;border:1px solid var(--line);border-radius:7px;background:var(--surface);margin-bottom:16px}.import-row-results table{min-width:580px}.import-row-results caption{text-align:left;padding:12px;font-size:12px;font-weight:600;background:var(--surface)}.import-row-results th,.import-row-results td{padding:12px;vertical-align:top;white-space:normal;overflow-wrap:anywhere}.import-row-results thead th{position:sticky;top:0;background:#f3f3f3;z-index:1}.import-row-results th[scope=row]{width:54px;background:transparent}.import-row-results td:nth-child(3){min-width:130px;max-width:220px}.import-row-results td:nth-child(4){min-width:180px}.import-confirmation{border-top:1px solid var(--line);padding-top:8px}.import-confirmation[hidden]{display:none}.import-success{margin-top:22px;padding:15px;border:1px solid #bdbdbd;background:#f0f0f0;border-radius:7px;line-height:1.6}.import-actions{margin:18px 0}.import-modal .form-error{line-height:1.7}.import-modal .subtitle{font-size:12px}.import-modal .field small{font-size:11px}.csv-limit-note{margin:0 0 16px;font-size:11px;color:var(--muted);line-height:1.7}
@media(max-width:700px){.page-heading{flex-wrap:wrap}.heading-actions{justify-content:flex-start;flex-shrink:1}.saved-view-buttons{flex-basis:100%;order:2}.saved-views{gap:11px}.saved-views>.text-btn{font-size:11px}.import-summary{gap:10px}.import-actions{flex-wrap:wrap}.import-row-results{max-height:320px}.import-modal .modal-body{padding:18px}.import-confirmation .btn{width:100%}.form-actions{flex-wrap:wrap}}
/* Keep the collapsed mobile navigation out of the keyboard and accessibility order. */
@media(max-width:600px){.sidebar{visibility:hidden}.sidebar.open{visibility:visible}}

/* LarsaFlow 0.5.3: presentation only. Authentication and workspace behavior are unchanged. */
:root{--bg:#f7f7f4;--surface:#fff;--ink:#17181b;--muted:#6b7280;--line:#e4e5e1;--accent:#17181b;--accent-soft:#f0f1ed;--sidebar:#fcfcfa;font-family:Inter,"Segoe UI",Roboto,-apple-system,BlinkMacSystemFont,sans-serif;font-size:14px}
body{background:var(--bg);-webkit-font-smoothing:antialiased}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid #17181b;outline-offset:3px}
.setup-page,#app:has(>.login){min-height:100svh;padding:48px 20px;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at 8% 0%,#e9eef5 0,transparent 47%),radial-gradient(ellipse at 96% 7%,#e8eee7 0,transparent 45%),#f8f8f5}
.setup-card,.login{width:100%;max-width:460px;padding:26px;border:1px solid #dfdfdc;border-radius:28px;background:#fff;box-shadow:0 24px 70px rgba(23,24,27,.14)}
.login{display:grid;grid-template-columns:minmax(0,1fr);min-height:0;margin:0;gap:0}
.login-story,.auth-brand{display:flex;background:#17181b;color:white;padding:24px;min-height:104px;border-radius:22px;position:relative;overflow:hidden;align-items:center}
.login-story:after{display:none}.login-story .brand{padding:0;gap:14px;font-size:30px;line-height:1.1;letter-spacing:-1.2px;font-weight:500;color:#fff}.login-story .brand small,.auth-brand small{color:#b9bdc3;display:block;font-size:9px;letter-spacing:2px;font-weight:500;margin-top:9px}
.login-story .brand-mark,.auth-brand .brand-mark{height:42px;width:42px;border-radius:12px;background:#fff;color:#17181b;font-size:30px;letter-spacing:-3px;padding-right:4px;box-shadow:inset 0 0 0 1px #fff}
.auth-brand{gap:14px;font-size:30px;letter-spacing:-1.2px;font-weight:500;line-height:1.1}
.login-form-wrap{display:block;padding:30px 0 0}.login-form{max-width:none}.login-form .eyebrow{font-size:9px;letter-spacing:1.7px;color:#6b7280;margin:0 0 10px}.login-form h1{font-size:32px;font-weight:400;letter-spacing:-1.2px;line-height:1.2;margin:0 0 10px}.login-form .subtitle{font-size:13px;line-height:1.7;margin:0 0 26px;color:#6b7280}
.login-form .field{margin-bottom:19px}.login-form .field>span{font-size:10px;letter-spacing:1.1px;text-transform:uppercase;color:#6b7280;font-weight:500;margin-bottom:9px}.login-form .field input{height:48px;border:1px solid #dfe1e5;border-radius:12px;padding:11px 13px;background:white;font-size:14px;color:#17181b;transition:border-color .15s,box-shadow .15s}.login-form .field input::placeholder{color:#626975}.login-form .field input:focus{border-color:#7d838b;box-shadow:0 0 0 3px #17181b08}.login-form .field small{font-size:11px;line-height:1.6}.login-form .btn{min-height:48px;border-radius:12px;font-size:13px;font-weight:500;border-color:#dfe1e5;background:#f7f7f5;white-space:normal}.login-form .btn.primary{height:50px;background:#17181b;border-color:#17181b;color:#fff;justify-content:center;gap:12px}.login-form .btn.primary:hover{background:#2b2d31;filter:none}.login-form .btn:not(.primary):hover{background:#efefeb}.login-footer{padding-top:21px;margin-top:24px;border-top:1px solid #ecece8;color:#6b7280;font-size:11px;line-height:1.8}.form-error{color:#773b30;background:#fff5f1;border:1px solid #efdcd5;border-radius:12px;font-size:12px;line-height:1.65}
.setup-status{display:flex;align-items:center;gap:7px;font-size:9px;letter-spacing:1.6px;font-weight:500;color:#6b7280;margin:30px 0 13px}.setup-status>span{width:6px;height:6px;border-radius:50%;background:#a5aa9f}.setup-card h1{font-size:36px;line-height:1.15;font-weight:400;letter-spacing:-1.4px;margin:0 0 16px;color:#17181b}.setup-intro{font-size:14px;line-height:1.7;color:#6b7280;margin:0 0 26px}.setup-detail{display:flex;gap:13px;padding:19px 17px;border:1px solid #e7e7e2;border-radius:16px;background:#f8f8f5}.setup-detail-icon{flex-shrink:0;width:29px;height:29px;display:grid;place-items:center;background:white;border:1px solid #e8e8e3;border-radius:9px;font-size:18px;color:#17181b}.setup-detail strong{font-size:12px;font-weight:550;color:#17181b}.setup-detail p{font-size:11px;line-height:1.8;color:#6b7280;margin:7px 0 0}.setup-footnote{font-size:10px;line-height:1.8;text-align:center;color:#626975;margin:24px 0 0}.auth-caption{font-size:11px;line-height:1.8;letter-spacing:.1px;text-align:center;color:#626975;margin:25px 0 0;max-width:460px}
.shell{grid-template-columns:248px minmax(0,1fr)}.sidebar{width:248px;background:#fcfcfa;padding:22px 17px 16px;border-color:#e4e5e1}.sidebar>.brand{background:#17181b;color:#fff;padding:19px 16px;border-radius:17px;margin-bottom:20px;gap:11px;font-size:24px;font-weight:500}.sidebar>.brand .brand-mark{background:#fff;color:#17181b;border-radius:10px}.sidebar>.brand small{color:#b9bdc3;font-size:8px;letter-spacing:1.6px;margin-top:6px}.workspace-select{height:43px;padding:10px 12px;border-radius:11px;font-size:12px;font-weight:500;margin-bottom:13px;background:#fff}.nav-label{font-size:9px;letter-spacing:1.5px;color:#626975;margin-top:23px}.nav-item{border-radius:10px;padding:11px 12px;font-size:12px;color:#636873;gap:11px;margin:3px 0}.nav-item.active{background:#eceee9;color:#17181b;font-weight:600;box-shadow:inset 0 0 0 1px #e2e5dd}.nav-item:hover{background:#f0f1ed}.nav-item .count{background:#fff;color:#646973;border-radius:5px}.profile{background:#f0f1ed;border:1px solid #e4e5df;border-radius:12px;padding:11px}.profile-text strong{font-size:12px;font-weight:550}.profile-text small{font-size:10px;margin-top:3px}.demo-note{font-size:9px;letter-spacing:.3px;color:#747982;border-color:#e4e5df}.avatar{background:#eef0eb;color:#4e5655}
.topbar{height:78px;background:#ffffffd9;padding:0 36px;border-color:#e4e5e1}.breadcrumb{font-size:12px}.top-right{gap:18px}.global-search{background:#f5f5f2;border:1px solid #e9e9e4;border-radius:10px;padding:8px 10px;width:238px}.global-search input{font-size:11px}.key{background:#fff;border-color:#e1e3dc;border-radius:4px;font-size:9px}.content{padding:38px 36px 52px;max-width:1500px}.eyebrow{font-size:9px;letter-spacing:1.7px;color:#747982;margin-bottom:12px}.page-heading{margin-bottom:29px}.page-heading h1{font-size:32px;font-weight:400;letter-spacing:-1.2px;margin-bottom:10px}.subtitle{font-size:12px;line-height:1.7}.btn{min-height:38px;padding:9px 14px;border-radius:10px;font-size:12px;font-weight:500}.btn.primary{background:#17181b;border-color:#17181b}.btn.primary:hover{background:#2b2d31;filter:none}.stats{gap:15px;margin-bottom:28px}.stat{border-radius:17px;padding:21px 22px;border-color:#e5e6df;box-shadow:0 3px 12px #17181b03}.stat-top{font-size:11px;color:#6b7280}.stat-icon{border-radius:10px;background:#f4f5f0;color:#565f58;padding:8px}.stat-number{font-size:34px;letter-spacing:-1.3px;font-weight:450;margin:15px 0 7px}.stat-bottom{font-size:10px}.section-panel{border-radius:17px;border-color:#e5e6df;box-shadow:0 3px 12px #17181b02}.section-header{padding:22px 24px}.section-header h2,.section-title h2{font-weight:550;font-size:14px}.section-title{margin-top:28px;margin-bottom:15px}.project-card,.doc-card{border-radius:17px;border-color:#e5e6df;padding:22px;box-shadow:0 3px 12px #17181b02}.project-card:hover,.doc-card:hover{border-color:#bfc5ba;box-shadow:0 7px 20px #17181b06}.project-card h3{font-size:14px;font-weight:550}.project-card p{font-size:11px}.project-icon{border-radius:10px;background:#f1f3ed;color:#555e53;width:36px;height:36px}.project-card-footer{font-size:10px}.project-card-header{margin-bottom:20px}.progress-track{height:4px;background:#edf0e9}.progress-track span{background:#5d6a58}.note-panel{background:#eff2ea;border:1px solid #e0e5d8;border-radius:17px;padding:23px}.note-panel h3{font-size:13px;font-weight:550}.note-panel p{font-size:11px;color:#687061}.workspace-layout{gap:22px}.activity-list{padding:0 23px 16px}.activity-item{font-size:11px;line-height:1.75;padding:15px 0}.activity-item p{color:#6b7280}.activity-item time{font-size:10px}.activity-item .avatar{width:28px;height:28px;font-size:9px}
.tabs{display:flex;width:max-content;max-width:100%;overflow-x:auto;gap:3px;padding:4px;background:#ebede8;border:1px solid #e4e6df;border-radius:14px;margin-top:8px}.tab{padding:9px 14px;border:0;border-radius:10px;margin:0;font-size:11px;white-space:nowrap}.tab.active{background:#fff;color:#17181b;box-shadow:0 3px 10px rgba(23,24,27,.08);border:0}.tab:hover{color:#17181b}.filter{border-radius:9px;min-height:36px;font-size:11px;border-color:#e0e3da;padding:8px 11px}.result-count{font-size:11px}.toolbar{margin:22px 0}.table-scroll{scrollbar-width:thin}table{font-size:12px}th{font-size:10px;letter-spacing:.3px;background:#fafbf8;padding:14px 18px;color:#70766e}td{padding:17px 18px;border-color:#edeee8}tbody tr:hover{background:#fafbf8}.task-check{border-color:#ccd2c6}.task-check.done{background:#596651;border-color:#596651}.badge{border-radius:6px;padding:5px 8px;font-size:10px;background:#eef0ea;color:#5e6659}.badge.in_progress{background:#edf0f2;color:#4f616d}.badge.review{background:#f2eee7;color:#76674e}.badge.planned{background:#efefee;color:#65686c}.badge.done{background:#eaf0e6;color:#516747}.priority,.assignee,.due{font-size:11px;color:#60666c}.priority.high{color:#75594b}.priority.urgent,.due.overdue{color:#974f42}.assignee .avatar{width:26px;height:26px;font-size:9px}.board-column{background:#eff0eb;border-color:#e3e6dc;border-radius:16px;padding:13px}.board-heading{font-size:12px;padding:2px 1px}.task-card{border-radius:12px;border-color:#e1e5da;padding:16px;box-shadow:0 3px 8px #17181b03}.task-card .task-open{font-size:13px}.task-card select{border-radius:7px;padding:8px;font-size:10px}.task-card .project-name{font-size:10px}.tags .tag{border-radius:5px;background:#f1f2ee}.form-panel{border-radius:18px;border-color:#e1e4da;padding:28px}.field input,.field select,.field textarea{border-radius:10px;border-color:#dfe1e5;padding:11px 13px}.field>span{font-size:12px;font-weight:500}.modal{border-radius:22px;background:#fafbf8;border-color:#e4e7dc;box-shadow:0 24px 70px rgba(23,24,27,.18)}.modal-header{padding:23px 26px}.modal-header h2{font-weight:500}.modal-body{padding:25px 26px}.space-chip{border-radius:9px}.doc-card p{line-height:1.8}.empty{font-size:13px;line-height:1.8}.loading{font-size:13px}.error-panel{border-radius:14px}
@media(min-width:1500px){.content{padding:42px 48px}.topbar{padding:0 48px}}
@media(max-width:1000px){.shell{grid-template-columns:220px minmax(0,1fr)}.sidebar{width:220px;padding:20px 13px}.content{padding:30px 25px 44px}.topbar{padding:0 25px}.global-search{width:190px}.sidebar>.brand{font-size:22px;padding:17px 13px}.stats{gap:11px}.stat{padding:18px}.page-heading h1{font-size:29px}.heading-actions{flex-wrap:wrap;justify-content:flex-end}}
@media(max-width:600px){.setup-page,#app:has(>.login){padding:26px 16px;justify-content:center}.setup-card,.login{padding:20px;border-radius:24px;max-width:430px}.login-story,.auth-brand{display:flex;min-height:94px;padding:20px;border-radius:18px}.login-story .brand,.auth-brand{font-size:28px}.login-form-wrap{padding:27px 0 0}.login-form h1{font-size:30px}.setup-card h1{font-size:32px}.auth-caption{font-size:10px}.shell{display:block}.sidebar{width:248px}.topbar{height:67px;padding:0 16px;gap:8px}.global-search{width:120px;padding:7px 8px;gap:5px}.global-search input{font-size:10px}.topbar .breadcrumb{font-size:10px;gap:5px;min-width:0}.breadcrumb>span{max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.content{padding:28px 18px 40px}.page-heading{align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:24px}.page-heading h1{font-size:28px}.heading-actions{justify-content:flex-start;gap:7px}.heading-actions .btn{font-size:11px;min-height:36px;padding:8px 10px}.stats{gap:10px}.stat{border-radius:14px;padding:16px}.stat-number{font-size:29px}.stat-top{font-size:10px;gap:5px}.stat-icon{padding:6px}.stat-icon svg{width:15px;height:15px}.section-header{padding:19px 18px}.project-card,.doc-card{padding:20px}.tabs{width:100%;gap:2px}.tab{padding:9px 11px}.activity-list{padding:0 18px 14px}.form-panel{padding:22px}.modal-backdrop{padding:12px}.modal{border-radius:18px}.modal.drawer{width:100%}.modal-body{padding:22px}.modal-header{padding:20px 22px}}
@media(max-width:360px){.setup-page,#app:has(>.login){padding:18px 10px}.setup-card,.login{padding:17px}.login-story,.auth-brand{padding:18px}.login-story .brand,.auth-brand{font-size:25px}.login-form h1{font-size:28px}.topbar .global-search{width:100px}.content{padding-left:14px;padding-right:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
/* Keep the saved per-workspace accent functional; authentication stays monochrome. */
.btn.primary{background:var(--accent);border-color:var(--accent)}.btn.primary:hover{background:var(--accent);filter:brightness(.92)}.project-icon{background:var(--accent-soft);color:var(--accent)}.progress-track span{background:var(--accent)}.task-check.done{background:var(--accent);border-color:var(--accent)}
.login-story{flex-direction:row;justify-content:flex-start}
