
:root{--ink:#182b26;--muted:#63716c;--line:#e0e6e2;--paper:#f5f7f5;--green:#256748;--lime:#c2f36b;--orange:#a35b12;--blue:#4a66bc}*{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:var(--paper);font-size:16px;line-height:1.5}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #66993e;outline-offset:3px}button{border:1px solid var(--line);border-radius:9px;background:white;padding:9px 14px;color:var(--ink);font-size:14px;font-weight:600}button:hover{background:#edf3ed}button.primary{background:var(--ink);border-color:var(--ink);color:white}button.primary:hover{background:var(--green)}button.lime{background:var(--lime);border-color:var(--lime)}button.ghost{background:transparent;border-color:transparent}button.danger{color:#9b3f35;background:#fff1ed}input,select,textarea{width:100%;background:white;border:1px solid #ced9d1;border-radius:8px;padding:10px 12px;color:var(--ink);font-size:14px}textarea{resize:vertical;min-height:95px}label{display:block;font-size:14px;font-weight:600;margin-bottom:6px}small,.small{font-size:13px}h1,h2,h3,p{margin:0}h1{font-size:32px;letter-spacing:-1px;font-weight:650;line-height:1.25}h2{font-size:20px;letter-spacing:-.3px}h3{font-size:16px}.muted{color:var(--muted)}.app{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.sidebar{background:#152b24;color:#e9f0ec;padding:28px 18px;display:flex;flex-direction:column;gap:30px;position:sticky;top:0;height:100vh}.brand{display:flex;gap:10px;align-items:center;padding:0 9px;line-height:1.1;font-size:18px;font-weight:700}.brandmark{width:39px;height:39px;border-radius:11px;background:var(--lime);color:#152b24;display:grid;place-items:center;font-size:15px;letter-spacing:-1px}.brand span small{display:block;color:#9eafa5;letter-spacing:2px;font-size:10px;margin-top:6px}.navlabel{font-size:11px;font-weight:700;letter-spacing:1.6px;color:#9aafa3;padding:0 12px;margin-bottom:9px}.nav{display:flex;flex-direction:column;gap:5px}.nav button{border:0;color:#b7c8be;background:transparent;text-align:left;display:flex;align-items:center;gap:12px;padding:12px 13px;font-size:14px;min-height:46px}.nav button.active{color:#162b23;background:var(--lime)}.nav button:hover:not(.active){background:#233e32;color:white}.navicon{width:20px;display:grid;place-items:center}.navicon svg{width:19px;height:19px}.navcount{margin-left:auto;border-radius:5px;background:#ffffff24;font-size:12px;padding:0 5px}.sidebarbottom{margin-top:auto;padding:16px 11px;border-top:1px solid #355044}.avatar{border-radius:50%;width:36px;height:36px;display:grid;place-items:center;background:#e5eddf;font-size:13px;font-weight:700;color:#345540;flex-shrink:0}.sidebarbottom .avatar{background:#395447;color:var(--lime)}.profile{display:flex;align-items:center;gap:10px}.workspace{min-width:0}.topbar{background:#fff;border-bottom:1px solid var(--line);min-height:81px;padding:18px 32px;display:flex;justify-content:space-between;align-items:center;gap:16px}.crumb{font-size:14px;color:var(--muted)}.crumb strong{font-weight:600;color:var(--ink)}.rolebox{display:flex;align-items:center;gap:9px}.rolebox select{width:125px;padding:7px 10px}.prototype{display:inline-block;font-size:12px;font-weight:650;background:#edf4e3;color:#46622d;padding:4px 8px;border-radius:5px;white-space:nowrap}.main{padding:30px 32px 50px;max-width:1600px;margin:auto}.head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:25px}.eyebrow{font-size:12px;letter-spacing:1.4px;font-weight:700;color:var(--green);margin-bottom:8px}.head .muted{margin-top:8px;font-size:14px}.headcontrols{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.headcontrols select{width:auto;min-width:160px}.notice{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#edf3e9;border:1px solid #dce7d4;border-radius:10px;padding:11px 15px;margin-bottom:23px;font-size:14px;color:#496342}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.card,.panel{background:#fff;border:1px solid var(--line);border-radius:14px}.stat{padding:19px 21px}.statlabel{display:flex;align-items:center;justify-content:space-between;font-size:14px;color:var(--muted)}.statlabel svg{width:20px;height:20px}.statvalue{font-size:32px;font-weight:650;letter-spacing:-1px;margin:9px 0 2px;line-height:1.3}.statfoot{font-size:13px;color:var(--muted)}.stat:first-child{background:var(--ink);border-color:var(--ink);color:white}.stat:first-child .statlabel,.stat:first-child .statfoot{color:#c0d1c7}.stat:first-child .statvalue{color:var(--lime)}.grid2{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:20px;margin-bottom:24px}.panelhead{padding:21px 23px 0;display:flex;justify-content:space-between;align-items:center;gap:12px}.panelbody{padding:20px 23px 23px}.legend{display:flex;gap:17px;font-size:13px;color:var(--muted);flex-wrap:wrap}.dot{width:8px;height:8px;display:inline-block;border-radius:50%;margin-right:6px}.chart{width:100%;height:240px;display:block;margin:16px 0 7px;overflow:visible}.chart text{font-family:inherit;font-size:12px;fill:#748078}.chartnote{font-size:13px;color:var(--muted)}.target{margin-bottom:19px}.target:last-child{margin-bottom:0}.targettop{display:flex;justify-content:space-between;gap:15px;font-size:14px;margin-bottom:8px}.bar{height:7px;background:#ecf0ec;border-radius:8px;overflow:hidden}.bar>span{display:block;height:100%;border-radius:8px;background:var(--green)}.targetnote{font-size:12px;color:var(--muted);margin-top:5px}.tablewrap{overflow:auto}.table{width:100%;border-collapse:collapse;font-size:14px}.table th{text-align:left;font-size:12px;letter-spacing:.6px;text-transform:uppercase;color:var(--muted);font-weight:600;background:#fafcf9;padding:12px 22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);white-space:nowrap}.table td{padding:16px 22px;border-bottom:1px solid #eef1ed;vertical-align:middle}.table tr:last-child td{border:0}.table tbody tr:hover{background:#fbfcfa}.projectcell{display:flex;align-items:center;gap:10px}.initial{height:34px;width:34px;border-radius:9px;display:grid;place-items:center;background:#ecf3e5;color:#4e6d33;font-weight:650;font-size:12px;flex-shrink:0}.badge{display:inline-block;padding:4px 9px;border-radius:6px;white-space:nowrap;font-size:12px;font-weight:600;background:#edf0ec;color:#5d6a60}.badge.review{color:#96561b;background:#fff2df}.badge.approved{color:#2d6747;background:#e8f4eb}.badge.published{color:#3559a5;background:#ebf0fc}.badge.changes{color:#a14b3a;background:#fff0ec}.badge.inprogress{color:#66549a;background:#f1edfa}.textbutton{border:0;background:transparent;padding:0;color:var(--green);text-align:left;font-size:14px;font-weight:650}.textbutton:hover{background:transparent;text-decoration:underline}.tabs{display:flex;gap:8px;border-bottom:1px solid var(--line);margin-bottom:20px;overflow-x:auto}.tabs button{border:0;background:transparent;border-radius:0;padding:11px 15px;border-bottom:3px solid transparent;white-space:nowrap;color:var(--muted)}.tabs button.active{border-bottom-color:var(--green);color:var(--green)}.toolbar{display:flex;gap:10px;justify-content:space-between;align-items:center;margin:18px 22px}.toolbar input{max-width:330px}.toolbar select{max-width:180px}.rowactions{display:flex;gap:7px}.rowactions button{padding:7px 10px}.queue{display:grid;gap:13px}.queueitem{border:1px solid var(--line);border-radius:10px;padding:16px;display:flex;justify-content:space-between;gap:15px;align-items:center}.queueitem p{font-size:14px;margin-top:5px}.queueitem .small{margin-top:8px}.clientcards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}.clientcard{padding:23px}.clientcard .top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.clientcard h2{font-size:18px}.clientcard .initial{width:42px;height:42px}.clientcard .metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0 20px}.clientcard .metrics strong{font-size:23px;display:block}.clientcard .metrics span{font-size:13px;color:var(--muted)}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--line);border-left:1px solid var(--line);margin-top:20px}.dayname{font-size:12px;font-weight:650;color:var(--muted);text-align:center;padding:10px;background:#f8faf6;border-right:1px solid var(--line)}.day{min-height:112px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);padding:8px;font-size:13px}.day.blank{background:#fafcf9}.day.today{background:#f5faec}.daynum{font-weight:600;color:var(--muted);margin-bottom:7px}.day.today .daynum{color:var(--green)}.calevent{display:block;background:#ecf3e6;border:0;border-left:3px solid var(--green);border-radius:5px;padding:5px 6px;text-align:left;width:100%;font-size:12px;line-height:1.4;margin:4px 0;font-weight:500}.empty{padding:42px 20px;text-align:center;color:var(--muted)}.empty h3{color:var(--ink);margin-bottom:6px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:13px 20px;border-radius:10px;background:var(--ink);color:white;box-shadow:0 10px 35px #122a2433;z-index:100;max-width:90vw;font-size:14px}.mobilebrand{display:none}dialog{width:min(760px,calc(100% - 30px));border:0;border-radius:17px;padding:0;box-shadow:0 20px 100px #0d201e44;max-height:90vh;color:var(--ink)}dialog::backdrop{background:#10261f80;backdrop-filter:blur(3px)}.modalhead{padding:22px 26px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.modalbody{padding:24px 26px;overflow:auto}.modalfoot{padding:16px 26px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;background:#fafcf9}.fields{display:grid;grid-template-columns:1fr 1fr;gap:17px}.fieldfull{grid-column:1/-1}.detailtitle{font-size:22px;line-height:1.35}.detailmeta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:10px 0 22px;font-size:14px}.dates{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;padding:18px;background:#f7f9f5;border-radius:10px;margin:20px 0}.dates span{display:block;font-size:12px;color:var(--muted)}.dates strong{font-size:14px;font-weight:550}.detailsection{margin:22px 0}.detailsection h3{margin-bottom:8px}.detailsection p{font-size:14px;white-space:pre-line}.activity{border-left:2px solid #e0e9db;padding-left:15px;margin:12px 0}.activity p{font-size:14px}.activity small{color:var(--muted)}.filesample{background:#f5f8f0;border:1px dashed #c8d6bd;border-radius:10px;padding:20px;font-size:14px;display:flex;gap:15px;align-items:center}.filesample svg{width:32px;height:32px;flex-shrink:0}.reportgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.reportgrid .card{padding:22px}.reportgrid strong{display:block;font-size:30px;margin:8px 0}.rolehelp{font-size:12px;color:var(--muted)}@media(min-width:1600px){.main{padding-top:40px}}@media(max-width:1100px){.app{grid-template-columns:200px 1fr}.sidebar{padding:25px 12px}.main,.topbar{padding-left:22px;padding-right:22px}.stats{gap:10px}.stat{padding:16px}.grid2{grid-template-columns:1fr}.chart{height:240px}.head{align-items:flex-start}.headcontrols{max-width:240px}}@media(max-width:760px){.app{display:block}.sidebar{position:static;height:auto;padding:16px;gap:15px}.brand{font-size:16px}.brandmark{width:33px;height:33px}.sidebarbottom,.navlabel{display:none}.nav{flex-direction:row;overflow-x:auto;gap:4px}.nav button{white-space:nowrap;padding:9px 12px;min-height:40px}.navicon{display:none}.topbar{padding:12px 16px;min-height:60px;flex-wrap:wrap}.crumb{display:none}.rolebox{width:100%;justify-content:space-between}.main{padding:22px 16px 35px}h1{font-size:27px}.head{flex-direction:column;gap:14px}.headcontrols{max-width:none;width:100%}.headcontrols select{flex:1;min-width:130px}.notice{align-items:flex-start;font-size:13px}.stats{grid-template-columns:repeat(2,1fr);gap:10px}.statvalue{font-size:29px}.statlabel{font-size:13px}.panelhead,.panelbody{padding-left:16px;padding-right:16px}.panelhead h2{font-size:18px}.table th{display:none}.table,.table tbody,.table tr,.table td{display:block}.table tr{padding:12px 16px;border-bottom:1px solid var(--line)}.table td{padding:6px 0;border:0!important}.table td[data-label]:before{content:attr(data-label) ': ';color:var(--muted);font-size:13px}.table td:first-child{font-weight:600}.toolbar{margin:15px 16px;flex-wrap:wrap}.toolbar input{max-width:none}.queueitem{flex-direction:column;align-items:flex-start}.clientcards{grid-template-columns:1fr}.fields{grid-template-columns:1fr}.fieldfull{grid-column:auto}.dates{grid-template-columns:repeat(2,1fr)}.calendar{display:block;border:0}.dayname,.day.blank{display:none}.day{min-height:0;border:1px solid var(--line);border-radius:8px;margin:8px 0;padding:12px}.day:not(:has(.calevent)){display:none}.daynum:before{content:'October '}.calevent{font-size:14px;padding:9px}.reportgrid{grid-template-columns:1fr}.modalhead,.modalbody,.modalfoot{padding-left:19px;padding-right:19px}.chart{height:200px}.panelhead{flex-wrap:wrap}}

.attshort{display:none}.attendance-tabs{margin-top:0}.attendance-summary{grid-template-columns:repeat(4,minmax(0,1fr))}.attendance-summary .stat:first-child .statvalue{color:var(--lime)}.clockcard{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 24px;margin-bottom:22px;background:var(--ink);color:white;border-radius:14px}.clockcard .muted{color:#b9ccc0}.clocktime{font-size:28px;font-weight:650;letter-spacing:-.7px}.clockactions{display:flex;gap:9px;flex-wrap:wrap}.clockactions button{background:white}.clockactions button.primary{background:var(--lime);color:var(--ink);border-color:var(--lime)}.attendance-calendar .day{min-height:99px}.attendance-calendar .day.off{background:#f3f5f2}.attendance-calendar .day.future{background:#fafbf9;color:#8b948e}.attendance-calendar .daynum{display:flex;justify-content:space-between}.attendance-calendar .attendance-status{font-size:12px;display:block;line-height:1.5}.attendance-calendar .hours{font-size:12px;color:var(--muted);margin-top:4px}.badge.absent{background:#fbeae7;color:#a04636}.badge.leave{background:#e9effa;color:#4464a2}.badge.unrecorded{background:#f3f0e6;color:#786944}.badge.off{background:#eaeee8;color:#6b766d}.attendance-legend{display:flex;gap:10px;flex-wrap:wrap}.attendance-note{margin-top:16px;padding:12px 15px;background:#f6f8f3;border-radius:8px;font-size:13px;color:var(--muted)}.monthstatus{margin-bottom:20px}.reportfoot{font-size:13px;padding:18px 22px;color:var(--muted);border-top:1px solid var(--line)}.attendance-report-buttons{display:flex;gap:8px;flex-wrap:wrap}.attendance-calendar button.day{border-radius:0;text-align:left;font-weight:400;padding:8px;cursor:pointer}.attendance-calendar button.day:hover{background:#edf5e4}.attendance-calendar button.day:disabled{opacity:1;cursor:default}.attendance-calendar button.day:disabled:hover{background:inherit}.attendance-calendar button.off:disabled:hover{background:#f3f5f2}.calendar.attendance-calendar{margin-bottom:0}.attendance-chart{display:flex;align-items:center;gap:8px;white-space:nowrap}.attendance-chart .bar{width:90px}@media(max-width:760px){.clockcard{flex-direction:column;align-items:flex-start;padding:19px}.attendance-summary{grid-template-columns:repeat(2,1fr)}.attendance-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border-top:1px solid var(--line);border-left:1px solid var(--line)}.attendance-calendar .dayname{display:block;padding:8px 2px;font-size:10px}.attendance-calendar .day{display:block!important;min-height:87px;border-radius:0;margin:0;padding:5px 3px!important;font-size:12px}.attendance-calendar .day.blank{display:block}.attendance-calendar .daynum:before{content:none}.attendance-calendar .daynum{font-size:12px}.attendance-calendar .attendance-status{font-size:12px;word-break:normal}.attfull{display:none}.attshort{display:block}.attendance-calendar .hours{font-size:12px}.attendance-chart .bar{width:110px}.attendance-report-buttons{width:100%}}@media print{.sidebar,.topbar,.notice,.headcontrols,.attendance-tabs,.attendance-report-buttons,.clockactions{display:none!important}.app{display:block}.main{padding:0}.panel,.card{break-inside:avoid}.table{display:table}.table tbody{display:table-row-group}.table tr{display:table-row}.table th,.table td{display:table-cell}.table td:before{display:none!important}body{background:white}.stats{grid-template-columns:repeat(4,1fr)}.stat:first-child{color:var(--ink);background:white}.stat:first-child .statvalue,.stat:first-child .statfoot,.stat:first-child .statlabel{color:var(--ink)}h1{font-size:26px}.reportfoot{padding:10px}}

.login-card{max-width:460px;margin:12vh auto;padding:35px;text-align:center;background:white;border:1px solid var(--line);border-radius:18px}.login-card .brandmark{margin:0 auto 20px}.login-card p{margin:18px 0}.login-button{display:block;padding:13px;border-radius:9px;background:var(--ink);color:white;text-decoration:none;font-weight:600}.file-note{margin-top:8px;font-size:13px;color:var(--muted)}.login-card a{overflow-wrap:anywhere}

#userprojects{border:1px solid #dce5df;border-radius:10px;padding:14px}#userprojects label{display:flex;align-items:center;gap:10px}#userprojects input[type=checkbox]{width:18px;height:18px;flex:0 0 18px}
