:root{--ink:#172c32;--muted:#748186;--teal:#167b68;--border:#e5e9e7;--paper:#f5f7f6;--nav:#142d31;--red:#b83c43;font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:14px;color:var(--ink);background:var(--paper)}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,select,textarea{font:inherit}button,.button{border:1px solid #dbe2de;background:white;border-radius:6px;padding:10px 14px;cursor:pointer;color:var(--ink);font-weight:550;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}button:hover,.button:hover{background:#f0f5f2;border-color:#aebeb6}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--teal);color:white;border-color:var(--teal)}.primary:hover{background:#116653;border-color:#116653}.danger{background:var(--red);color:white;border-color:var(--red)}.danger-outline{color:var(--red);border-color:#ecc9cc}.text-button{border:0;background:transparent;padding:6px;font-size:12px;color:var(--muted)}input,select,textarea{border:1px solid #d9e1dd;padding:10px 12px;border-radius:5px;background:white;color:var(--ink);min-width:0}input:focus,select:focus,textarea:focus{outline:2px solid #9ccabb;outline-offset:1px}input[type=checkbox]{accent-color:var(--teal);width:16px;height:16px;cursor:pointer}label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600}textarea{resize:vertical;min-height:110px}h1,h2,h3,p{margin-top:0}h1{font-size:31px;letter-spacing:-1px;margin-bottom:9px;font-weight:650}h2{font-size:17px;margin-bottom:7px}h3{font-size:15px;margin-bottom:6px}.muted{color:var(--muted);line-height:1.55}.small{font-size:12px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:var(--teal);margin-bottom:12px}.sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:var(--nav);color:#e2ede7;display:flex;flex-direction:column;padding:28px 19px;z-index:5}.brand{display:flex;align-items:center;gap:11px;color:white;text-decoration:none;font-size:19px;font-weight:650;letter-spacing:-.4px;margin:0 7px 47px}.brand small{display:block;font-size:8px;font-weight:500;letter-spacing:1.5px;color:#9ab2ad;margin-top:5px}.brand-mark{width:52px;height:52px;background:var(--teal);color:white;font-size:31px;font-weight:750;position:relative;display:flex;align-items:center;justify-content:center;border-radius:11px}.brand-mark span{font-size:23px;margin-left:-2px;color:#a4dfbe}.small-mark{width:38px;height:39px;font-size:24px;border-radius:8px}.small-mark span{font-size:19px}.nav-label{font-size:9px;letter-spacing:1.7px;color:#829e99;margin:10px 13px 13px}.sidebar nav{margin-bottom:25px}.nav-item{background:none;border:0;color:#a9bfba;width:100%;text-align:left;justify-content:flex-start;padding:13px 12px;margin-bottom:4px;font-size:13px;font-weight:450}.nav-item span{width:21px;font-size:18px;color:#91ada5}.nav-item b{margin-left:auto;font-size:10px;font-weight:500;background:#ffffff10;padding:3px 6px;border-radius:4px}.nav-item:hover,.nav-item.active{background:#2a4847;color:white}.nav-item.active{box-shadow:inset 3px 0 #7ac3a5}.nav-item.active span{color:#90d5b5}.sidebar-bottom{margin-top:auto;padding:16px 8px 0;font-size:11px;color:#c6dad2}.secure-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#7ecfa9;margin-right:7px}.sidebar-bottom p{font-size:11px;line-height:1.7;color:#829e99;margin:9px 0 24px}.profile{border-top:1px solid #ffffff15;padding-top:21px;display:flex;align-items:center;gap:10px}.profile strong{font-size:11px;display:block;max-width:116px;overflow:hidden;text-overflow:ellipsis}.profile small{font-size:9px;color:#829e99;display:block;margin-top:5px}.profile button{color:#a9bfba;border:0;background:none;padding:4px;margin-left:auto;font-size:19px}.avatar{width:30px;height:30px;background:#45645a;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#d7e9dd;font-weight:650}.workspace{margin-left:236px}.topbar{height:65px;border-bottom:1px solid var(--border);padding:0 36px;display:flex;align-items:center;justify-content:space-between;background:white;font-size:11px;color:var(--muted)}.topbar b{color:#4b5d5d;font-weight:500}.divider{margin:0 12px;color:#bfcbc5}.content{padding:34px 36px 20px;max-width:2100px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.page-heading .muted{font-size:12px;margin-bottom:0}.heading-actions{display:flex;gap:9px;flex-wrap:wrap}.heading-actions button{font-size:12px;padding:11px 13px}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:25px}.stat{background:white;border:1px solid var(--border);border-radius:8px;padding:20px 22px;position:relative}.stat-label{font-size:11px;font-weight:550;color:#687b78;display:block;margin-bottom:13px}.stat strong{font-size:31px;letter-spacing:-1px;font-weight:650;display:block;margin-bottom:8px}.stat small{color:#8b9994;font-size:10px}.stat-icon{position:absolute;right:20px;top:20px;color:#7c9b8e;background:#f0f5f1;width:27px;height:27px;display:flex;align-items:center;justify-content:center;border-radius:6px}.stat.late strong{color:#b85b43}.panel{border:1px solid var(--border);background:white;border-radius:8px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 23px 18px}.panel-heading h2{font-size:15px}.view-caption{font-size:10px;color:#85968c;border:1px solid #e4ebe6;padding:6px 8px;border-radius:4px}.filters{display:flex;align-items:center;gap:10px;border-block:1px solid #edf0ed;background:#fafcfb;padding:15px 22px;flex-wrap:wrap}.filters input,.filters select{font-size:11px}.filters select{max-width:180px}.search{position:relative;flex:1;min-width:200px}.search input{padding-left:33px;width:100%}.search span{position:absolute;left:12px;top:6px;font-size:23px;color:#81958a}.checkbox-label{display:flex;flex-direction:row;align-items:center;gap:6px;font-weight:450;font-size:11px;white-space:nowrap}.table-scroll{overflow:auto;max-height:calc(100vh - 490px);min-height:240px}table{width:100%;border-collapse:collapse;text-align:left;font-size:11px;white-space:nowrap}th{background:#f7f9f7;color:#7d8c83;text-transform:uppercase;letter-spacing:.5px;font-size:9px;font-weight:650;padding:13px 11px;border-bottom:1px solid var(--border);position:sticky;top:0;z-index:1}th button{background:none;border:0;padding:0;color:inherit;font-size:inherit;text-transform:inherit;letter-spacing:inherit;font-weight:inherit}td{padding:15px 11px;border-bottom:1px solid #eef1ee;max-width:280px}tbody tr:hover{background:#f8fbf9}tbody tr.selected{background:#eaf5ee}.check-cell{width:40px;padding-left:22px}.project-link{border:0;background:none;color:var(--teal);padding:0;font-size:11px;font-weight:700}.customer{display:block;max-width:220px;overflow:hidden;text-overflow:ellipsis;font-weight:600;margin-bottom:5px}.customer-sub{display:block;color:#8c9991;font-size:10px;overflow:hidden;text-overflow:ellipsis;max-width:220px}.pill{font-size:10px;border-radius:4px;background:#f1f4f1;padding:4px 6px;display:inline-block;color:#778b7f}.priority{border-radius:5px;min-width:25px;text-align:center;background:#eef4f0;color:#6d8478;padding:5px;font-weight:650}.priority.p1{background:#fbe8e2;color:#bc6047}.priority.p2{background:#faf1d8;color:#a98539}.priority.closed{background:#e8f3ee;color:#388467}.late-text{color:#bd654c}.progress-wrap{display:flex;align-items:center;gap:7px}.progress-wrap progress{width:54px;height:5px;accent-color:var(--teal)}progress::-webkit-progress-bar{background:#edf1ed;border-radius:3px}progress::-webkit-progress-value{background:var(--teal);border-radius:3px}.task-count{border:1px solid #e1e8e1;background:#fafcf9;border-radius:4px;padding:4px 7px;font-size:10px;color:#668574}.comment-preview{max-width:260px;overflow:hidden;text-overflow:ellipsis;color:#819086}.row-menu{border:0;padding:2px 6px;font-size:17px;color:#93a196;background:none}.table-footer{display:flex;justify-content:space-between;gap:10px;padding:15px 22px;color:#92a097;font-size:10px;flex-wrap:wrap}.dot-sep{margin:0 5px;color:#bbc5bf}.page-footer{display:flex;align-items:center;gap:17px;font-size:10px;color:#98a49d;padding:19px 2px}.page-footer span{margin-right:auto}.bulk-bar{background:#edf5ef;display:flex;align-items:center;gap:10px;padding:10px 22px;flex-wrap:wrap;font-size:11px}.bulk-bar button{padding:6px 9px;font-size:11px}.empty{padding:50px;text-align:center;color:var(--muted)}dialog{border:1px solid var(--border);border-radius:12px;box-shadow:0 25px 100px #162e3440;width:460px;max-width:94vw;padding:27px;color:var(--ink);max-height:90vh;overflow:auto}dialog::backdrop{background:#0b242a80}.project-dialog{width:980px}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:21px}.dialog-heading h2{font-size:22px;margin:0;letter-spacing:-.5px}.dialog-heading .eyebrow{margin-bottom:7px}.close-dialog{border:0;padding:0 4px;font-size:27px;font-weight:400;color:#8c9a91;background:transparent}.dialog-footer{display:flex;align-items:center;justify-content:flex-end;gap:9px;margin-top:24px;padding-top:20px;border-top:1px solid var(--border);flex-wrap:wrap}.spacer{flex:1}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.form-grid .full{grid-column:1/-1}.form-grid .span2{grid-column:span 2}.tabs{display:flex;gap:23px;border-bottom:1px solid var(--border);margin-bottom:23px}.tabs button{background:none;border:0;border-bottom:2px solid transparent;border-radius:0;padding:10px 0;color:#809187;font-size:12px}.tabs button.active{color:var(--teal);border-bottom-color:var(--teal)}#task-form,#employee-form,#login-form,#admin-form{display:grid;gap:17px}.task-heading{display:flex;justify-content:space-between;gap:15px;margin-bottom:20px}.task-row{display:flex;align-items:center;gap:12px;border:1px solid var(--border);border-radius:6px;padding:15px;margin-bottom:10px}.task-main{flex:1;min-width:0}.task-main strong{font-size:13px;display:block;white-space:pre-wrap;overflow-wrap:anywhere}.task-main small{display:block;margin-top:7px;font-size:11px;color:var(--muted)}.task-row.done .task-main strong{text-decoration:line-through;color:#93a498}.task-row button{padding:5px 8px;font-size:11px}.other-panel{padding:25px;overflow:auto}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.employee-card{padding:17px;border:1px solid var(--border);border-radius:6px;display:flex;justify-content:space-between;align-items:center;gap:15px;margin:10px 0}.employee-card small{display:block;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.audit-row{border-bottom:1px solid var(--border);padding:15px 0}.audit-meta{display:flex;gap:15px;align-items:baseline;flex-wrap:wrap;font-size:12px;margin-bottom:8px}.audit-meta time{color:var(--muted);font-size:11px;margin-left:auto}.audit-row summary{cursor:pointer;font-size:11px;color:var(--teal)}.audit-diff{display:grid;grid-template-columns:1fr 1fr;gap:15px}.audit-diff pre,.source-row pre{background:#f6f8f6;padding:12px;border-radius:5px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;max-height:350px;overflow:auto}.source-row{margin-top:20px}.toast{position:fixed;bottom:25px;right:25px;max-width:520px;background:#174d3e;color:white;padding:16px 23px;border-radius:8px;box-shadow:0 10px 40px #142d3133;z-index:1000;line-height:1.5}.toast.error{background:#a84343}.error{color:var(--red);font-size:12px;line-height:1.5}.login-wrap{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.login-card{max-width:425px;align-self:center;justify-self:center;padding:40px;width:100%}.login-card>.brand-mark{margin-bottom:38px}.login-card h1{font-size:36px;line-height:1.2;margin-bottom:19px}.login-card .muted{font-size:13px}.login-card form{margin:29px 0 22px}.wide{width:100%;justify-content:space-between}.login-art{background:#173d3b;position:relative;overflow:hidden;display:flex;align-items:flex-end;padding:70px}.art-grid{position:absolute;inset:-20%;background:repeating-linear-gradient(90deg,transparent 0,transparent 79px,#ffffff0b 80px),repeating-linear-gradient(0deg,transparent 0,transparent 79px,#ffffff0b 80px);transform:rotate(-18deg)}.art-grid:after{content:'';display:block;width:400px;height:400px;border:70px solid #82bd9633;border-radius:50%;position:absolute;top:25%;left:25%;box-shadow:0 0 0 75px #82bd9610,0 0 0 150px #82bd9609}.art-note{z-index:1;color:#d9e9de;font-size:34px;line-height:1.35;letter-spacing:-1px}.art-note span{display:block;font-size:9px;letter-spacing:2px;color:#8aafa1;margin-top:30px}#export-dialog .button{display:flex;margin-top:15px}@media(min-width:1750px){.comment-preview{max-width:360px}.customer,.customer-sub{max-width:280px}.table-scroll{max-height:calc(100vh - 470px)}}@media(max-width:1200px){.sidebar{width:205px;padding-inline:13px}.workspace{margin-left:205px}.content{padding:25px 22px}.topbar{padding:0 22px}.page-heading{align-items:flex-start}.heading-actions{justify-content:flex-end}.heading-actions button{padding:9px;font-size:11px}.stats{gap:10px}.stat{padding:17px}.table-scroll{max-height:60vh}}@media(max-width:800px){.sidebar{position:static;width:100%;padding:14px;display:block}.brand{margin:0 0 12px}.sidebar .nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;margin:0;overflow:auto;gap:4px}.nav-item{width:auto;padding:9px;font-size:11px}.nav-item span{display:none}.workspace{margin:0}.topbar{height:48px}.content{padding:22px 14px}.page-heading{display:block}.heading-actions{justify-content:flex-start;margin-top:18px}.stats{grid-template-columns:repeat(2,1fr)}.form-grid{grid-template-columns:1fr 1fr}.form-grid .span2{grid-column:span 1}.form-grid .full{grid-column:1/-1}.view-caption{display:none}.filters{padding:12px}.filters select{flex:1}.table-footer span:last-child{display:none}.login-wrap{display:block}.login-card{padding:45px 30px;max-width:440px;margin:auto}.login-art{display:none}.audit-diff{grid-template-columns:1fr}.page-footer{flex-wrap:wrap}.page-footer span{width:100%}.task-row{flex-wrap:wrap}dialog{padding:20px}}

/* Lists occupy the space left by the header and filters; metrics live on their own page. */
.workspace{height:100dvh;display:flex;flex-direction:column;min-height:0}
.topbar{flex-shrink:0}.content{flex:1;display:flex;flex-direction:column;min-height:0;width:100%;max-width:none}
.page-heading,.page-footer{flex-shrink:0}
#project-section{display:flex;flex-direction:column;flex:1;min-height:0}
#project-section .panel-heading,#project-section .filters,#project-section .bulk-bar,#project-section .table-footer{flex-shrink:0}
#project-section .table-scroll{flex:1;min-height:0;max-height:none}
#project-section .empty{flex-shrink:0}
#other-section,#ldap-section,#dashboard-section{min-height:0;overflow:auto}
#other-section,#ldap-section{flex:1}
.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}
.dashboard-heading label{min-width:230px}.dashboard-links{padding:25px}.dashboard-links>div{display:flex;gap:12px;flex-wrap:wrap}
.ldap-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:25px}.ldap-full{grid-column:1/-1}
.ldap-grid small{font-size:11px;font-weight:400;color:var(--muted);line-height:1.5}
#ldap-settings-form{max-width:1050px}.ldap-test-box{background:#f6f9f7;border:1px solid var(--border);border-radius:7px;padding:20px;margin-top:25px}
.ldap-test-actions{display:flex;align-items:flex-end;gap:15px}.ldap-test-actions label{flex:1;max-width:260px}
.ldap-result{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:18px;border-radius:5px;padding:13px;font-size:12px;line-height:1.6;background:#edf0ef}
.ldap-result.success{background:#e3f2e8;color:#236747}.ldap-result.failure{background:#fae9e7;color:#a3363a}
@media(max-width:800px){#app{height:100dvh;display:flex;flex-direction:column}.sidebar{flex-shrink:0}.workspace{height:auto;flex:1}.content{padding:17px 12px 0}.page-footer{padding:10px 0}.page-heading{margin-bottom:15px}.page-heading h1{font-size:25px}.page-heading .eyebrow{display:none}.ldap-grid{grid-template-columns:1fr}.dashboard-heading,.ldap-test-actions{align-items:stretch;flex-direction:column}.dashboard-heading label{min-width:0}.ldap-test-actions label{max-width:none}}

/* Compact project workspace. */
.project-mode .topbar{height:38px}.project-mode .content{padding:12px 18px 0}
.project-mode .page-heading{margin-bottom:10px;gap:12px}.project-mode .page-heading h1{font-size:22px;letter-spacing:-.5px;margin:0}
.project-mode .page-heading .eyebrow,.project-mode .page-heading #page-description{display:none}
.project-mode .heading-actions button{padding:7px 10px;font-size:11px}.project-mode .panel-heading{padding:9px 14px 7px}
.project-mode .panel-heading h2{font-size:12px;margin:0}.project-mode .panel-heading>div:first-child{display:flex;align-items:center;gap:12px}
.project-mode .view-caption{display:none}.project-mode .filters{padding:8px 12px;gap:8px}.project-mode .filters input,.project-mode .filters select{padding-block:7px}
.project-mode .filters #filter-type{max-width:220px}.project-mode th{padding:9px}.project-mode td{padding:6px 9px}
.project-mode td.check-cell,.project-mode th.check-cell{padding-left:14px}.project-mode .customer{margin-bottom:2px;font-size:11px;line-height:13px}
.project-mode .customer-sub{font-size:9px;line-height:11px}.project-mode .table-footer{padding:8px 14px}.project-mode .page-footer{padding:6px 2px;min-height:28px}
#project-table.alternate-rows tbody tr:nth-child(odd):not(.selected){background:var(--row-odd,#ffffff);color:var(--row-odd-text,#172c32)}
#project-table.alternate-rows tbody tr:nth-child(even):not(.selected){background:var(--row-even,#f0f5f2);color:var(--row-even-text,#172c32)}
#project-table.alternate-rows tbody tr:not(.selected) .customer-sub,#project-table.alternate-rows tbody tr:not(.selected) .comment-preview{color:inherit;opacity:.72}
#project-table.alternate-rows tbody tr:not(.selected) .project-link{color:inherit;text-decoration:underline;text-underline-offset:3px}
#colors-form{display:grid;gap:18px}#colors-form input[type=color]{width:100%;height:42px;padding:3px}
.permission-options{display:grid;gap:13px;margin-top:20px}.permission-options .checkbox-label{white-space:normal;font-size:12px;line-height:1.5;align-items:flex-start}
.permission-options input{flex-shrink:0}.group-card{border:1px solid var(--border);border-radius:7px;padding:20px;display:flex;gap:20px;justify-content:space-between;margin-bottom:15px}
.group-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.group-rights{font-size:12px;line-height:1.7;margin:0;max-width:850px}.membership-heading{margin-top:30px}
.notebook-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:15px}.notebook-toolbar h3{margin:0}.notebook-toolbar #notebook-meta{margin-right:auto}
.notebook-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.notebook-grid.notebook-readonly{grid-template-columns:1fr}
#notebook-markdown{font-family:Consolas,monospace;font-size:12px;min-height:350px;line-height:1.6}
.markdown-preview{border:1px solid var(--border);border-radius:6px;padding:20px;min-height:250px;overflow:auto;overflow-wrap:anywhere;line-height:1.65}
.markdown-preview h1{font-size:24px}.markdown-preview h2{font-size:20px}.markdown-preview h3{font-size:17px}.markdown-preview pre{background:#eff3f0;padding:14px;white-space:pre-wrap;border-radius:4px}
.markdown-preview code{font-family:Consolas,monospace}.markdown-preview blockquote{border-left:3px solid #a9c5b8;padding-left:15px;margin-left:0;color:#62776b}.markdown-preview table{white-space:normal;font-size:12px}
.markdown-preview th,.markdown-preview td{position:static;border:1px solid var(--border);padding:7px;text-transform:none;letter-spacing:0}
@media(max-width:800px){.project-mode .content{padding:9px 8px 0}.project-mode .page-heading{display:flex;align-items:center;flex-wrap:wrap}.project-mode .heading-actions{margin:0;gap:5px}.project-mode .heading-actions button{padding:6px 8px}.project-mode .filters{padding:7px}.notebook-grid{grid-template-columns:1fr}.group-card{flex-direction:column}.project-mode .page-footer>span{display:none}}

/* Readable, adjustable project table; controls stay below the scrolling rows. */
#project-table{font-size:var(--project-font-size,14px);line-height:1.4}
#project-table th{font-size:.85em}
#project-table .project-link,#project-table .customer{font-size:1em;line-height:1.4}
#project-table .customer-sub{font-size:.85em;line-height:1.4}
#project-table .pill,#project-table .task-count{font-size:.9em}
#project-table .row-menu{font-size:1.2em}
.table-footer{align-items:center}
.table-font-controls{display:flex;align-items:center;gap:8px;margin-left:auto;color:var(--ink);font-size:12px;white-space:nowrap}
.table-font-controls button{padding:3px 8px;min-width:32px;min-height:32px;font-size:18px}
.table-font-controls button:disabled{cursor:default}
.table-font-controls output{min-width:36px;text-align:center;font-variant-numeric:tabular-nums}
@media(max-width:800px){.table-footer .table-legend{display:none}.table-font-controls>span{display:inline}}


#project-form input::placeholder{color:#8a929e;opacity:1}

#project-rows tr:focus,#project-rows tr:focus-within{outline:2px solid var(--teal);outline-offset:-2px}
.keyboard-shortcuts{white-space:normal}.keyboard-shortcuts th{position:static;text-transform:none;font-size:12px;color:var(--ink);min-width:125px}.keyboard-shortcuts td{font-size:12px;max-width:none}

.personal-filters{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:18px}.personal-filters label{min-width:180px}.personal-table{width:100%;border-collapse:collapse}.personal-table th,.personal-table td{padding:12px;text-align:left;border-bottom:1px solid var(--border,#dce4e5)}[data-keyboard-row]:focus,[data-keyboard-row].keyboard-active:focus-within{outline:2px solid var(--accent,#087f80);outline-offset:-2px}.teams-phone{white-space:nowrap}#contact-call-links{margin:12px 0}

.contact-call-section,.call-note-mail{margin-top:20px;border-top:1px solid #dce4e5;padding-top:16px}.call-note-excerpt{white-space:pre-wrap}#call-note-dialog{width:min(850px,96vw)}#call-note-status{white-space:pre-wrap}
