:root{--ink:#202829;--muted:#60696b;--petrol:#087c7c;--petrol-dark:#075e60;--line:#e0e4e4;--canvas:#f7f8f8;--soft:#edf3f2;--red:#a32d25;--amber:#855612}*{box-sizing:border-box}html{font-family:"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--canvas);font-size:14px;line-height:1.5;font-variant-numeric:tabular-nums;scrollbar-color:#bacccc var(--canvas)}body{margin:0}::selection{background:#c2e5e1;color:#123b3d}a{color:var(--petrol-dark);text-underline-offset:3px}button,input,select,textarea{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:var(--petrol);color:white;border:1px solid transparent;border-radius:6px;padding:10px 16px;font-weight:600;cursor:pointer;text-decoration:none;min-height:42px}button:hover,.button:hover{background:var(--petrol-dark)}button:disabled{background:#dde4e7;color:#5c6871;cursor:not-allowed}button.secondary{background:white;border-color:#c4d2d6;color:var(--ink)}button.secondary:hover{background:var(--soft)}:focus-visible{outline:3px solid #188b8b;outline-offset:3px}.sidebar{position:fixed;inset:0 auto 0 0;width:240px;background:#fcfcfc;border-right:1px solid var(--line);padding:24px 16px;display:flex;flex-direction:column;z-index:2}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font-size:12px;font-weight:600;letter-spacing:0;white-space:nowrap}.brand svg{color:var(--petrol);width:26px;height:26px}.brand small{display:block;font-size:12px;font-weight:400;letter-spacing:0;color:var(--muted);margin-top:3px}.sidebar nav{display:grid;gap:4px;margin-top:32px}.sidebar nav a{display:flex;align-items:center;gap:12px;padding:8px 12px;min-height:36px;color:#435461;text-decoration:none;border-radius:6px;font-weight:500}.sidebar nav a:hover{background:#eef3f4}.sidebar nav a.selected{background:#e2f0ee;color:#00666a;font-weight:500}.sidebar-bottom{margin-top:auto;padding:20px 4px 0;display:flex;align-items:center;gap:9px;font-size:12px}.sidebar-bottom small{display:block;color:var(--muted);font-size:11px}.sidebar-bottom strong{display:block;max-width:116px;overflow-wrap:anywhere}.sidebar-bottom form{margin-left:auto}.avatar{width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#dcecea;color:var(--petrol-dark);font-weight:500}.icon-button{background:transparent;color:var(--muted);padding:5px;min-height:32px}.icon-button:hover{background:var(--soft);color:var(--petrol)}main{margin-left:240px;padding:32px;max-width:1900px}.page-head{display:flex;justify-content:space-between;gap:24px;align-items:start;margin-bottom:24px}.page-head h1{font-size:30px;font-weight:500;letter-spacing:0;line-height:1.2;margin:0 0 9px}.page-head p{margin:0;color:var(--muted);font-size:15px}.head-meta{display:flex;align-items:flex-end;flex-direction:column;gap:7px;white-space:nowrap;font-size:12px;color:var(--muted)}.internal{border:1px solid var(--line);border-radius:5px;padding:7px 11px;background:white;color:var(--ink)}h2{font-size:18px;font-weight:500;line-height:1.3;margin:0 0 8px;letter-spacing:0}h3{font-size:16px;margin:0 0 12px}p{margin:0 0 12px;max-width:75ch}.notice{display:flex;gap:14px;align-items:center;border-radius:8px;padding:16px 20px;margin-bottom:24px;background:white;border:1px solid var(--line)}.notice svg{flex-shrink:0}.notice p:last-child{margin-bottom:0}.notice .button{margin-left:auto;white-space:nowrap}.notice.warm{background:#fff5dd;border-color:#f0d393;color:#70480d}.notice.warm .button{background:#a76508}.notice.subtle{background:#f1f3f3;color:var(--muted);border-color:var(--line)}.notice.success{background:#e7f4ee;color:#175b42;border-color:#bcdfcc}.notice.danger{background:#fff0ec;color:#9a3027;border-color:#eac2b9}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:24px}.stat{display:flex;flex-direction:column;padding:20px 22px;background:white;border:1px solid var(--line);border-radius:8px;text-decoration:none;color:var(--ink);gap:4px}.stat>span{font-size:13px;color:#526573}.stat strong{font-size:32px;line-height:1.4;letter-spacing:-.025em}.stat small{color:var(--muted);font-size:12px}.stat.risk strong{color:var(--red)}a.stat:hover{border-color:#7fb8b5}.panel{background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:24px;overflow:hidden}.panel.compact{padding:24px}.panel>p,.section-head p{color:var(--muted)}.section-head{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:24px 24px 16px}.section-head p{font-size:13px;margin-bottom:0}.compact .section-head{padding:0 0 15px}.text-link{display:inline-flex;gap:8px;align-items:center;text-decoration:none;font-size:13px;font-weight:600}.text-link:hover{text-decoration:underline}.text-link svg{width:16px;height:16px}.filters{display:flex;flex-wrap:wrap;align-items:end;gap:8px;padding:16px 24px 24px;border-bottom:1px solid var(--line)}.filters label{margin:0;flex:1;min-width:135px}.filters .search{flex:1.7;min-width:210px}.filters input,.filters select{margin:0}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th{font-weight:600;color:#54636f;font-size:12px;background:#f7f9fa;white-space:nowrap}th,td{padding:16px 20px;border-bottom:1px solid #e7ecef;vertical-align:top}td{min-width:125px}td:first-child{min-width:215px}tbody tr:last-child>td,tbody tr:last-child>th{border-bottom:0}tbody tr:hover{background:#fbfdfd}td small,th small{display:block;font-size:12px;color:var(--muted);font-weight:400;line-height:1.5;margin-top:4px}.project-link{font-size:14px;font-weight:500;color:var(--ink);text-decoration:none}.project-link:hover{color:var(--petrol);text-decoration:underline}.badge{display:inline-flex;padding:4px 9px;border-radius:5px;font-size:12px;font-weight:600;white-space:nowrap}.clear{background:#e2f1eb;color:#19604b}.critical{background:#fbe9e5;color:#9b352a}.attention{background:#fff0d4;color:#81530b}.unknown,.closed{background:#edf0f3;color:#546470}.negative{color:var(--red)}.muted{color:var(--muted)}.empty{text-align:center;padding:52px 24px 58px}.empty p{margin:0 auto 22px;max-width:58ch;color:var(--muted)}.empty h3{font-size:19px}.empty-icon{display:grid;place-items:center;color:var(--petrol);width:50px;height:50px;border-radius:12px;background:var(--soft);margin:0 auto 16px}.empty.small{padding:28px 24px}.empty.small p{margin-bottom:0}.split{display:grid;grid-template-columns:1fr 1fr;gap:22px}.split>.panel{min-width:0}.split.unboxed{gap:36px}.split.unboxed>form+form{border-left:1px solid var(--line);padding-left:30px}label{display:flex;flex-direction:column;font-size:13px;font-weight:550;gap:6px;margin:16px 0}input,select,textarea{width:100%;padding:10px 11px;min-height:42px;border:1px solid #c9d4da;background:white;color:var(--ink);border-radius:5px;caret-color:var(--petrol)}input::placeholder{color:#637480;font-weight:400}select[multiple]{min-height:160px}label small,form>small{font-size:12px;color:var(--muted);font-weight:400}form>small{display:block;margin:12px 0}form>button{margin-top:10px}fieldset{border:1px solid var(--line);border-radius:5px;margin:16px 0;padding:12px 16px}legend{font-size:13px;font-weight:600;padding:0 6px}.checkbox{flex-direction:row;align-items:center;font-weight:400;gap:10px}.checkbox input{width:17px;min-height:17px;height:17px;margin:0;accent-color:var(--petrol);flex-shrink:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.form-grid .wide{grid-column:1/-1}details{margin-top:20px;border-top:1px solid var(--line);padding-top:14px}summary{cursor:pointer;font-weight:600;color:var(--petrol-dark)}.inline-form{margin-top:16px;display:flex;align-items:center;gap:12px}.inline-form button{margin-top:0}dl{margin:16px 0}dl>div{display:flex;justify-content:space-between;gap:20px;padding:11px 0;border-bottom:1px solid #edf0f2}dt{color:var(--muted);font-size:13px}dd{margin:0;text-align:right;font-size:13px}.toolbar{display:flex;align-items:center;gap:16px;margin-bottom:22px}.heatmap th,.heatmap td{width:20%;padding:12px 16px}.heatmap tbody th{background:white;color:var(--ink);white-space:normal;min-width:170px}.heat{border-radius:5px;padding:13px 15px;min-width:140px}.heat strong{font-size:18px}.heat small{color:inherit;opacity:.9}.pagination{display:flex;justify-content:space-between;padding:17px 24px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.pagination>div{display:flex;gap:20px}footer{display:flex;justify-content:space-between;gap:16px;padding:8px 0 4px;color:#6c7b86;font-size:11px}.auth{display:grid;place-items:center;min-height:100svh;padding:24px}.auth-panel{margin:0;max-width:460px;width:100%;background:white;border:1px solid var(--line);border-radius:12px;padding:38px}.auth-panel h1{font-size:26px;line-height:1.25;margin:28px 0 12px}.auth-panel p{color:var(--muted)}.auth-panel button{width:100%;margin-top:16px}.auth-panel .brand span{background:var(--soft);color:var(--petrol-dark);padding:4px 6px;border-radius:4px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;left:20px;top:-80px;z-index:10;background:var(--petrol);color:white;padding:12px}.skip:focus{top:12px}@media(max-width:1200px){.sidebar{width:210px}main{margin-left:210px;padding:28px 22px}.stats{gap:12px}.stat{padding:16px}.head-meta{display:none}.split{gap:16px}.filters{padding:15px 18px}}@media(max-width:850px){.sidebar{position:static;width:auto;padding:18px;border-right:0;border-bottom:1px solid var(--line)}.sidebar nav{display:flex;overflow-x:auto;gap:6px;margin-top:16px}.sidebar nav a{padding:9px 12px;white-space:nowrap;gap:8px}.sidebar nav a svg{width:18px;height:18px}.sidebar-bottom{display:flex;padding-top:14px;max-width:320px}main{margin:0;padding:24px 18px}.stats{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}.page-head h1{font-size:27px}.notice{flex-wrap:wrap}.notice .button{margin-left:0}.split.unboxed>form+form{border-left:0;border-top:1px solid var(--line);padding:24px 0 0}.toolbar{flex-wrap:wrap}footer span{display:none}}@media(max-width:480px){.stat strong{font-size:27px}.stat{padding:14px}.stat small{font-size:11px}.form-grid{grid-template-columns:1fr;gap:0}.section-head{align-items:start;flex-direction:column;padding:20px}.panel.compact{padding:20px}.filters{padding:16px}.filters label{min-width:100%}.filters button{width:100%}.pagination{gap:16px;flex-direction:column}.pagination>div{justify-content:space-between}.auth-panel{padding:25px}.page-head{margin-bottom:20px}.notice{padding:16px}.brand{font-size:12px}}

.annual-report h3{margin-top:26px}.annual-report .stats{margin-top:22px}.annual-bars{margin:20px 0 30px}.annual-bar-row{display:grid;grid-template-columns:180px 1fr 100px;gap:14px;align-items:center;margin:10px 0;font-size:12px}.annual-bar-row strong{text-align:right}.annual-track{height:14px;background:#edf2f3;border-radius:3px;overflow:hidden}.annual-bar{height:14px;background:var(--petrol);border-radius:3px}.annual-report li{padding:4px 0}.annual-report .filters{padding-left:0;padding-right:0;margin-bottom:20px}.annual-report .stats .stat strong{font-size:23px}@media(max-width:600px){.annual-bar-row{grid-template-columns:112px 1fr 82px;gap:8px;font-size:11px}.annual-report .stats{grid-template-columns:1fr}.annual-report .stats .stat strong{font-size:26px}}

.attendance-limited{background:#9a651d}.attendance-detail{padding:14px 0;border-bottom:1px solid var(--line)}.attendance-detail small{display:block}.attendance-report .annual-bar-row{grid-template-columns:180px 1fr 138px}.attendance-report .annual-bar-row strong{font-size:12px}@media(max-width:600px){.attendance-report .annual-bar-row{grid-template-columns:105px 1fr 112px;gap:6px}.attendance-report .annual-bar-row strong{font-size:11px}}
.target-waiting{color:#81530b}.target-ontrack{color:#19604b}.project-target{font-weight:500}
.customer-traffic{display:inline-flex;align-items:center;gap:7px;font-weight:600;white-space:nowrap}.customer-traffic::before{content:"";height:9px;width:9px;border-radius:50%;background:#81909b}.customer-traffic.green::before{background:#218151}.customer-traffic.amber::before{background:#a76b12}.customer-traffic.red::before{background:#b43830}
.cockpit-list .table-wrap th,.cockpit-list .table-wrap td{padding:12px 16px}

.column-sort{color:inherit;text-decoration:none;display:flex;align-items:center;gap:.45rem}.column-sort:hover{color:var(--teal,#007f82)}.column-sort span{opacity:.65}.column-sort:focus-visible{outline:2px solid #007f82;outline-offset:4px}

/* Shared desktop craft: consistent icon boxes and restrained feedback. */
.sidebar nav svg{width:18px;height:18px;flex:0 0 18px;stroke-width:1.5}
.cockpit-list .notice.subtle{padding:8px 0;background:transparent;border:0;border-radius:0;margin-bottom:8px;font-size:12px;line-height:20px}
.cockpit-list .notice.subtle p{max-width:none}
.cockpit-list .notice.subtle+.panel{margin-top:24px}
.cockpit-list .filters label{min-width:144px}
.cockpit-list .table-wrap td:nth-last-child(3){font-variant-numeric:tabular-nums}
button,.button,.sidebar nav a{transition:background-color 120ms ease-out,color 120ms ease-out,border-color 120ms ease-out}
@media(prefers-reduced-motion:reduce){button,.button,.sidebar nav a,.dashboard-kpi,.dashboard-action{transition:none}}

/* Project views: one quiet, visibly interactive segmented control. */
.portfolio-tabs{display:inline-flex;align-items:center;gap:4px;padding:4px;margin:0 0 20px;background:#edf0f0;border:1px solid #dce2e2;border-radius:8px}
.portfolio-tabs a{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 16px;border:1px solid transparent;border-radius:5px;text-decoration:none;color:#515e60;font-weight:500;line-height:20px;white-space:nowrap;transition:background-color 120ms ease-out,border-color 120ms ease-out,color 120ms ease-out}
.portfolio-tabs a:hover{background:#f9fbfb;border-color:#d4dddd;color:var(--petrol-dark)}
.portfolio-tabs a.selected{background:#fff;border-color:#c2d2d1;color:var(--petrol-dark);box-shadow:0 1px 2px #2028290a}
.portfolio-tabs a:focus-visible{outline:2px solid var(--petrol);outline-offset:2px}
.portfolio-tabs a:active{background:#e5eeee}
@media(prefers-reduced-motion:reduce){.portfolio-tabs a{transition:none}}


.brand-original{display:block}.brand-original img{display:block;width:208px;max-width:100%;height:auto;filter:brightness(0)}.brand-original small{margin-top:8px;font-size:12px;line-height:16px}

.budget-link{background:transparent;color:var(--petrol-dark);padding:0;min-height:24px;border:0;border-radius:3px;font-weight:600}.budget-link:hover{background:var(--soft);text-decoration:underline}.budget-link:focus-visible{outline-offset:4px}td form:has(.budget-link){margin:0}
