@font-face{font-family:Golos;src:url('/assets/GolosText-Variable.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{font-family:Golos,Arial,sans-serif;color:#102b4e;background:#f3f6fa;font-synthesis:none;--navy:#102b4e;--blue:#3378b2;--line:#dce4ee;--muted:#5f7086}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer;border:1px solid var(--line);background:white;border-radius:6px;padding:10px 14px;color:var(--navy);font-weight:550}button:hover{background:#eaf2f9}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--blue);border-color:var(--blue);color:white}.primary:hover{background:#28679b}.danger{color:#a02f39}.quiet{background:transparent;border:0;padding:5px 8px;color:var(--blue)}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}input,select,textarea{border:1px solid #becbd9;background:#fff;border-radius:6px;padding:10px 12px;min-width:0;color:var(--navy)}textarea{width:100%;resize:vertical;min-height:110px}label{display:grid;gap:7px;font-size:14px;color:var(--muted)}small{font-size:12px;color:var(--muted)}h1,h2,h3,p{margin-top:0}h1{font-size:30px;line-height:1.25;letter-spacing:-.6px;margin-bottom:8px}h2{font-size:19px;margin-bottom:16px}h3{font-size:16px}p{line-height:1.6}.muted{color:var(--muted)}.loading{padding:12vh;text-align:center}.layout{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--navy);color:white;padding:16px 12px;position:sticky;top:0;height:100vh;overflow-y:auto;display:flex;flex-direction:column}.brand{padding:4px 15px 23px;border-bottom:1px solid #294566;margin-bottom:18px}.brand img{width:120px;height:auto;display:block}.brand small{display:block;color:#a9c4df;margin:9px 0 0;font-size:11px}.navgroup{font-size:10px;letter-spacing:1.3px;color:#a9c4df;padding:14px 14px 6px;text-transform:uppercase}.navbutton{display:flex;align-items:center;gap:11px;width:100%;text-align:left;color:#d8e5f2;border:0;background:transparent;padding:11px 14px;border-radius:6px;font-size:13px;font-weight:450}.navbutton:hover,.navbutton.active{background:#254564;color:white}.navbutton.active{box-shadow:inset 3px 0 #80c7eb}.navicon{width:18px;text-align:center;font-size:16px}.sidebottom{margin-top:auto;padding:20px 14px 4px;font-size:11px;color:#a9c4df}.workspace{min-width:0}.topbar{padding:16px 32px;display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--line);background:white;min-height:74px}.topbar .spacer{flex:1}.topbar select{font-size:13px;min-width:155px;background:#f7f9fc}.profile{display:flex;gap:10px;align-items:center;font-size:13px}.avatar{border-radius:50%;background:#e7f0f8;width:33px;height:33px;display:grid;place-items:center;font-weight:650}.content{padding:28px 32px 48px;max-width:1600px;margin:auto}.pagehead{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-bottom:24px}.eyebrow{font-size:11px;font-weight:600;letter-spacing:1.4px;text-transform:uppercase;color:var(--blue);margin-bottom:8px}.subtitle{font-size:14px;color:var(--muted);margin-bottom:0;max-width:850px}.panel{background:white;border:1px solid var(--line);border-radius:8px;padding:22px;margin-bottom:20px}.panel.flush{padding:0;overflow:hidden}.panelhead{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--line)}.panelhead h2{margin:0}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:22px}.metric{padding:21px;background:white;border:1px solid var(--line);border-top:3px solid #80c7eb;border-radius:6px}.metric .number{font-size:34px;line-height:1.2;font-weight:650;margin:8px 0}.metric .label{font-size:13px;color:var(--muted)}.metric small{display:block;line-height:1.4}.two-col{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,1fr);gap:20px}.hint{border-left:3px solid #80c7eb;padding:12px 15px;background:#edf5fc;font-size:13px;line-height:1.6;margin-bottom:20px}.hint.warning{background:#fff7e8;border-color:#bf8c24}.filters{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin-bottom:20px}.filters input[type=search]{min-width:260px;flex:1}.filters label{min-width:130px}.filters button{white-space:nowrap}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:13px}th{background:#f5f8fc;color:var(--muted);font-size:11px;letter-spacing:.2px;font-weight:550;white-space:nowrap}th,td{padding:12px 16px;border-bottom:1px solid #e8edf3;vertical-align:top}tr:last-child td{border-bottom:0}tbody tr:hover{background:#f8fbfe}td small{display:block;margin-top:5px}.badge{display:inline-block;background:#eaf2f9;color:#285b86;border-radius:4px;padding:4px 7px;font-size:11px;line-height:1.4;white-space:normal}.badge.good{background:#edf5ef;color:#346349}.badge.warn{background:#fff2dc;color:#8b6015}.badge.bad{background:#fcecef;color:#953746}.badge.neutral{background:#eef0f4;color:#5c6b7c}.empty{padding:44px 24px;text-align:center;color:var(--muted);font-size:14px;line-height:1.7}.empty strong{display:block;color:var(--navy);font-size:17px;margin-bottom:8px}.row{display:flex;gap:12px;align-items:center}.spread{justify-content:space-between}.stack{display:grid;gap:14px}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.formgrid .wide{grid-column:1/-1}.checklabel{display:flex;align-items:center;gap:8px}.checklabel input{margin:0}.item{padding:14px 0;border-bottom:1px solid var(--line)}.item:last-child{border:0}.item p{font-size:13px;margin:7px 0 0}.datebuttons{display:flex;gap:8px}.smallbutton{font-size:12px;padding:7px 10px}.login{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.loginbrand{background:var(--navy);padding:10vh 8vw;display:flex;flex-direction:column;justify-content:space-between;color:white}.loginbrand img{width:144px}.loginbrand h1{font-size:40px;font-weight:550;max-width:450px;line-height:1.2}.loginbrand p{color:#b9d0e5;font-size:16px;max-width:420px}.loginform{display:flex;align-items:center;justify-content:center;background:#f8fafc;padding:36px}.loginform form{width:100%;max-width:360px}.loginform h2{font-size:26px;margin-bottom:8px}.loginform label{margin:20px 0}.loginform button{width:100%;margin-top:6px}.error{color:#a02f39;font-size:13px;line-height:1.5}.resulttitle{font-size:22px;margin-bottom:6px}.statusline{display:flex;justify-content:space-between;gap:12px;align-items:start}.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}.gallery img{width:100%;height:190px;object-fit:contain;background:#f0f3f7;border-radius:5px}.map{height:390px;border-radius:6px;margin-bottom:16px}.nowrap{white-space:nowrap}.pagination{padding:14px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:10px;padding:0;max-width:1050px;width:calc(100% - 40px);max-height:90vh;color:var(--navy);box-shadow:0 16px 80px #102b4e30}dialog::backdrop{background:#102b4e70}.dialoghead{position:sticky;top:0;background:white;padding:18px 24px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);z-index:5}.dialoghead h2{margin:0}.dialogbody{padding:24px}pre{white-space:pre-wrap;word-break:break-word;background:#f2f6fa;padding:15px;border-radius:5px;font-size:13px}.previewmarks{max-height:55vh;overflow:auto}#notices{position:fixed;right:24px;bottom:24px;z-index:5000;display:grid;gap:8px;max-width:450px}.notice{background:var(--navy);color:white;border-radius:6px;padding:14px 18px;font-size:13px;box-shadow:0 5px 20px #102b4e25}.notice.error{background:#923742;color:white}.ruleslist td{padding:8px 10px;font-size:12px}.ruleform{display:flex;flex-wrap:wrap;gap:8px;padding:15px;background:#f5f8fc;border-radius:5px}.ruleform select,.ruleform input{font-size:12px;max-width:190px}.chips{display:flex;gap:8px;flex-wrap:wrap}.sectionlabel{font-size:12px;color:var(--muted);margin-bottom:8px}
@media(min-width:1500px){.content{padding:36px 44px}.topbar{padding-left:44px;padding-right:44px}}
@media(max-width:1000px){.layout{grid-template-columns:190px minmax(0,1fr)}.metrics{grid-template-columns:repeat(2,1fr)}.two-col{grid-template-columns:1fr}.content{padding:22px}.topbar{padding:12px 22px}.profile span:not(.avatar){display:none}}
@media(max-width:700px){.layout{display:block}.sidebar{position:static;height:auto;display:block;padding:10px}.brand{padding:4px 8px 10px;margin-bottom:8px}.brand img{width:100px}.brand small,.navgroup,.sidebottom{display:none}.sidebar nav{display:flex;overflow-x:auto;gap:4px}.navbutton{width:auto;white-space:nowrap;padding:9px 12px;font-size:12px}.navicon{display:none}.topbar{gap:8px;padding:10px 14px}.topbar .date-display{display:none}.content{padding:20px 14px}.pagehead{display:block}.pagehead button{margin-top:12px}h1{font-size:25px}.formgrid{grid-template-columns:1fr}.metrics{gap:10px}.metric{padding:15px}.metric .number{font-size:29px}.filters input[type=search]{min-width:100%;width:100%}.panel{padding:16px}.panel.flush{padding:0}.login{display:block}.loginbrand{padding:28px}.loginbrand h1,.loginbrand p{display:none}.loginform{padding:36px 24px}.dialogbody{padding:16px}.map{height:310px}.ruleform select{width:100%;max-width:none}.ruleform input{width:100%;max-width:none}}
@media(max-width:700px){.row.spread{flex-wrap:wrap}.datebuttons+.primary{width:100%}#notices{right:14px;bottom:14px;max-width:calc(100vw - 28px)}.notice{font-size:12px;padding:11px 14px}}
.paircode{font-size:38px;letter-spacing:8px;font-weight:700}.mailtext{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;max-height:400px;overflow:auto}.automation-form{flex-wrap:wrap;padding:15px 0;border-bottom:1px solid #e6ecf2}.automation-form input[type=number]{width:100px}.planmatrix{margin-top:20px}.planmatrix .tablewrap{max-height:420px}.planmatrix td{white-space:nowrap}.planmatrix .badge{font-size:10px}

/* Login identity and approved introductory text. */
.loginidentity{display:grid;gap:10px}.loginidentity strong{font-size:28px;line-height:1.2}.loginidentity span{font-size:15px;color:#b9d0e5}.loginidentity img{margin-bottom:10px}.loginmessage{margin:44px 0}.loginbrand .loginmessage h1{font-weight:650;max-width:520px}.loginbrand .loginmessage p{max-width:440px}
@media(max-width:700px){.loginidentity{grid-template-columns:auto 1fr;column-gap:18px;row-gap:3px;align-items:center}.loginidentity img{grid-row:1/3;width:100px;margin:0}.loginidentity strong{font-size:24px}.loginidentity span{font-size:12px;line-height:1.5}.loginmessage{margin:26px 0 20px}.loginbrand .loginmessage h1{display:block;font-size:27px;line-height:1.25}.loginbrand .loginmessage p{display:block;font-size:14px;margin-bottom:0}.loginbrand>small{font-size:11px}}

@media(max-width:700px){.loginidentity{grid-template-columns:1fr;gap:12px}.loginidentity img{grid-row:auto}}

.metrics>a.metric,.photo-kpi-grid>a.metric{display:block;text-decoration:none;color:inherit;min-width:0}.metrics>a.metric:hover,.photo-kpi-grid>a.metric:hover{border-color:var(--blue)}
.photo-overview{min-width:0}.photo-overview>label{display:grid;gap:8px}.photo-overview select{width:100%;max-width:100%;min-width:0}
.photo-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:20px 0}.photo-kpi-grid .metric{padding:16px}.photo-kpi-grid .number{font-size:32px}
.photo-completion{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.photo-completion progress{width:100%;height:12px;accent-color:#218b78}.photo-overview small{line-height:1.7}.photo-overview details{margin-top:14px;font-size:12px}
.staff-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.staff-card{margin:0;min-width:0}.staff-card h2{font-size:20px;margin:16px 0 8px;overflow-wrap:anywhere}.staff-card p{color:var(--muted);font-size:13px}.staff-card dl{display:grid;gap:12px}.staff-card dl>div{display:grid;grid-template-columns:1fr 1fr;gap:10px;font-size:12px}.staff-card dt{color:var(--muted)}.staff-card dd{margin:0}.staff-card>small{display:block;margin:14px 0}.staff-map{height:350px}.staff-roster{margin-top:20px}.staff-roster>summary{cursor:pointer;font-weight:600}.staff-roster .tablewrap{margin-top:18px}.staff-metrics .number{font-size:32px}.staff-card .badge{white-space:normal}
@media(max-width:1000px){.photo-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.staff-grid{grid-template-columns:1fr}.staff-card dl>div{grid-template-columns:1fr}.staff-card dl{gap:14px}.staff-map{height:300px}.topbar #territory{max-width:100%;min-width:0;font-size:12px}.topbar{flex-wrap:wrap}.photo-kpi-grid{gap:8px}.photo-kpi-grid .metric{padding:12px}.photo-kpi-grid .label{font-size:11px}.photo-kpi-grid .number{font-size:28px}.photo-overview .row{flex-wrap:wrap}.photo-overview{padding:16px}}
