/* Approved design mapped onto the existing portal's forms and API hooks. */
:root {
  --ink:#202a29; --muted:#5e6963; --line:#d4dcd5; --line-strong:#bccdb3;
  --bg:#eaf0ea; --page:#f9faf8; --paper:#fff; --panel:#fff; --panel-soft:#f3f6ef;
  --brand:#202a29; --brand-dark:#3b5146; --navy:#476c58; --green:#476c58;
  --sans:'DM Sans',system-ui,sans-serif; --display:'Manrope',system-ui,sans-serif;
}
.portal-body{font-family:var(--sans);background:var(--bg);font-size:14px;line-height:1.6}
.desk-shell{display:block;min-height:100dvh}
.desk-header{height:80px;min-height:80px;padding:0 36px;justify-content:flex-start;gap:35px;background:#fff;border-color:#ced8ce}
.desk-header .wordmark{font-family:var(--display);font-size:31px;font-weight:800;letter-spacing:-.07em;line-height:.95}
.desk-header .wordmark span{font-size:8px;letter-spacing:.25em;line-height:1;margin-top:9px}
.workspace-label{font-size:13px;color:#64735f;border-left:1px solid var(--line);padding-left:30px}
.desk-topnav{margin-left:auto;gap:10px}.guest-back{margin-left:auto}.is-authenticated .guest-back,.is-authenticated .auth-footer{display:none}
.is-guest .desk-topnav,.is-guest .workspace-label{display:none}
.desk-main{width:100%;padding:0;margin:0}
.app-layout{grid-template-columns:255px minmax(0,1fr);gap:0;align-items:start}
.desk-sidebar{position:sticky;top:80px;height:calc(100dvh - 80px);padding:32px 18px 25px;background:#fff;border:0;border-right:1px solid #ced8ce;border-radius:0;display:flex;flex-direction:column;gap:6px;overflow:auto}
.workspace-org{display:flex;gap:12px;align-items:center;margin:0 5px 30px}
.org-initial{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;background:#edf2e8;border:1px solid #dae3d4;border-radius:10px;font-size:16px}
.workspace-org strong{display:block;font-size:14px;font-weight:500;overflow-wrap:anywhere}.workspace-org small{display:block;font-size:11px;color:var(--muted);margin-top:3px}
.sidebar-caption{margin:0 12px 12px;font-size:10px;letter-spacing:.15em;color:#64765d}
.nav-item{border:0;display:flex;align-items:center;gap:12px;border-radius:8px;padding:12px;min-height:45px;color:#4b5c4b;text-align:left;font-size:14px;background:transparent;white-space:normal}
.nav-item.is-active{background:#dbe8d7;color:#29472e;box-shadow:inset 3px 0 #5a7d57}
.nav-item:hover{background:#eef3ea}.nav-item.is-active:hover{background:#dbe8d7}
.sidebar-support{margin-top:auto;padding:36px 12px 0;display:grid;gap:17px}
.sidebar-support a,.sidebar-support button{font-size:12px;color:#5c7054;justify-self:start}
.sidebar-support a:last-child{border-top:1px solid var(--line);padding-top:20px;width:100%}
.desk-workspace{padding:38px 40px 65px;min-width:0;max-width:1550px;width:100%;margin:0 auto}
.view-heading h2[tabindex="-1"]:focus{outline:none}
#customer-dashboard{gap:0}
.desk-view{min-width:0}.view-heading{margin-bottom:34px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:0;padding-bottom:0}
.desk-view>.view-heading .eyebrow{display:block;font-size:11px;letter-spacing:.14em;margin-bottom:17px;color:#64765d}
.view-heading h2{font-size:34px;line-height:1.2;letter-spacing:-.045em;font-weight:500;margin:0}
.view-heading .section-subtitle,.dashboard-greeting{margin:12px 0 0;color:#566a50;font-size:15px}
.eyebrow{color:#63765e;letter-spacing:.13em}.muted{color:#5e7156}
.console,.detail-panel{border:1px solid #ccd7c9;background:#fff;border-radius:17px;box-shadow:0 3px 9px #263b2008;overflow:hidden}
.console-top{padding:22px 25px;background:transparent;border-bottom:1px solid #e2e8dc;font-size:13px;text-transform:none;letter-spacing:0;gap:18px}
.console-top>span:first-child{font-family:var(--display);font-size:17px;letter-spacing:-.025em;color:var(--ink)}
.console-body{padding:26px;gap:23px}.console-foot{padding:20px 26px;border-color:#e2e8dc;gap:18px}
.console-toolbar{padding:18px 25px;background:#f7f9f3;border-color:#e2e8dc;font-size:13px}
.console-band{gap:18px;padding-bottom:24px;border-color:#e2e8dc}.console-band h3{font-size:12px;color:#52674a}
.console-stats{border-bottom:0}.console-stats>div{padding:23px 25px;border-color:#e2e8dc;gap:10px}
.console-stats span{font-size:13px;color:#53674a}.console-stats b{font-size:28px;font-weight:500;line-height:1.15;overflow-wrap:anywhere}
.dashboard-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:0 0 37px}
.dashboard-stats>div{padding:24px 26px;background:#fff;border:1px solid #ccd7c9;border-radius:16px;box-shadow:0 3px 9px #263b2008}
.dashboard-stats b{font-size:37px;margin:4px 0 8px}.stat-rule{height:3px;width:100%;border-radius:3px;background:#e2eade;display:block}
.dashboard-stats>div:nth-child(2) .stat-rule{background:#ccddc2}.dashboard-stats>div:nth-child(3) .stat-rule{background:#b8cfab}
.dashboard-columns{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(265px,1fr);gap:28px;align-items:start}
.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:0 0 19px}.panel-heading h3{font-size:21px;letter-spacing:-.035em;margin:0;font-family:var(--display)}
.panel-heading .muted,.panel-heading .text-link{font-size:12px}
.focus-card{padding:27px;border:1px solid #ccd7c9;border-radius:17px;background:#fff;margin-bottom:32px}
.focus-card h3{font-size:25px;letter-spacing:-.035em;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 12px}
.focus-head{margin-bottom:22px}.focus-card>.muted{font-size:13px}.focus-footer{font-size:12px;border-top:1px solid var(--line);padding-top:20px;flex-wrap:wrap}
.visit-info{margin:23px 0}.visit-info strong{font-size:15px;font-weight:500}.visit-info p{font-size:13px;color:#60754f;margin:5px 0}
.activity-panel{padding:25px;background:#f6f9f3;border:1px solid #cdd9c7;border-radius:17px}
.activity-item{padding:17px 0 26px 23px}.activity-item small{font-size:11px}.activity-item strong,.activity-item p{font-size:14px}
.activity-panel>.text-link{font-size:13px;border-top:1px solid var(--line);padding-top:20px;margin-top:8px}
.console-list{padding:0}.console-row{gap:0;border-radius:0;border-bottom:1px solid #e9eee4}.console-row:last-child{border-bottom:0}
.console-row:hover,.console-row:focus-within{background:#f6f9f2}.console-row-main{min-height:79px;padding:20px;grid-template-columns:130px minmax(0,1fr) auto auto;gap:15px}
.console-id{font-size:13px;font-weight:500}.console-summary{font-size:14px;color:#4d6147;gap:6px}.console-summary small{font-size:12px;color:#64795a}
.console-actions{padding:0 14px 0 0;gap:6px}.console-actions .view-action{display:none}.console-pay{font-size:12px;color:#617456}
.customer-list .console-row-main{grid-template-columns:125px minmax(0,1fr) auto}
#customer-dashboard-recent .console-row-main{grid-template-columns:minmax(0,1fr) auto;row-gap:6px;padding:20px}
#customer-dashboard-recent .console-id{grid-column:1;font-size:13px}#customer-dashboard-recent .console-summary{grid-column:1;grid-row:2;font-size:13px}
#customer-dashboard-recent .badge{grid-column:2;grid-row:1/3}#customer-dashboard-recent .console-summary small{font-size:12px}
.badge{padding:5px 10px;border-radius:100px;border:0;font-size:11px;line-height:1.6;font-weight:500;text-transform:none;letter-spacing:0;white-space:nowrap}
.badge.new{background:#f6ecd3;color:#755313}.badge.pending{background:#dfedd7;color:#355b2f}.badge.completed{background:#e8eeea;color:#4c6050}
label,.stacked-field{font-size:14px;color:#465e3e;gap:8px;font-weight:400}
input,select,textarea{font-size:15px;border:1px solid #bccdb3;border-radius:8px;background:#fbfcfa;min-height:45px;padding:10px 13px}
input::placeholder,textarea::placeholder{color:#75866c}input:focus,select:focus,textarea:focus{border-color:#718b66;outline:2px solid #bbcdb0;outline-offset:2px;box-shadow:none}
input[type=checkbox],input[type=radio]{min-height:0;width:17px;height:17px;padding:0;accent-color:#476c58}
.form-grid{gap:22px}.form-grid.compact{margin-top:15px}.form-note{color:#5f7353;font-size:13px;line-height:1.7}
.form-status{font-size:14px;min-height:0}.form-status:empty{display:none}
.primary-button,.ghost-button,.small-button{min-height:41px;border-radius:100px;padding:10px 19px;font-size:13px;font-weight:500;gap:9px;line-height:1.4}
.primary-button{background:#202a29;border:1px solid #202a29;color:#fff}.primary-button:hover{background:#3b5146;border-color:#3b5146}
.small-button,.ghost-button{border:1px solid #d4dfcd;background:#fff;color:#425d3b}.ghost-button{background:transparent}
.small-button:hover,.ghost-button:hover{background:#edf3e8}.icon-only{width:36px;min-height:36px;height:36px;padding:0;border-radius:50%}
.button-icon{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px}
.portal-body .ui-icon{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.6;display:block}
.button-icon svg{width:18px;height:18px}.primary-button .ui-icon{filter:none}.text-action,.text-link{color:#42613b;font-size:13px}
.portal-body .is-busy:before{display:none}.spin{display:inline-flex}.busy-spin{width:18px;height:18px}.loading-state{padding:35px;min-height:120px;gap:12px;color:#607354;font-size:13px}
.dashboard-stats>.loading-state{grid-column:1/-1}.workspace-error{padding:16px 20px;background:#fff0ec;color:#983c30;border:1px solid #e7c5ba;border-radius:10px}
.document-grid{gap:22px}.document-card{padding:28px}.document-card h3{font-size:21px;margin:18px 0 10px}.document-card .document-icon{margin-bottom:22px}
.document-card p{font-size:13px}.report-filename{overflow-wrap:anywhere}.document-card .text-link{margin-top:auto;padding-top:20px;border-top:1px solid var(--line);width:100%}
.empty-state{padding:35px 25px;font-size:14px;color:#63785a;background:#fff;border-radius:15px}
.admin-ticket-grid{gap:25px}.ticket-workspace{gap:18px;background:transparent;border:0;box-shadow:none;overflow:visible}
.ticket-summary .compact-facts{background:#f7f9f4}.compact-facts b{font-size:16px}.compact-facts>div{padding:20px}
.ticket-more>summary{font-size:13px;padding:18px 25px}.ticket-more .console-body{padding:24px}
.kv-list .detail-item{grid-template-columns:160px minmax(0,1fr);padding:12px 0;font-size:14px}.detail-item dd{overflow-wrap:anywhere}
.work-console .console-top{padding:14px 23px}.work-tabs{gap:22px}.work-tab{font-size:14px;padding:10px 0;color:#6a7d61;border-radius:0}
.work-tab.is-active{color:#345631;border-color:#789568;background:transparent}.work-panel .console-body{padding:26px}
.filter-row{gap:12px;flex-wrap:wrap}.filter-row input{width:230px}.filter-row select{width:auto;min-width:105px}
.device-row{gap:18px}.inline-add-button{justify-self:start}.notification-main{grid-template-columns:minmax(130px,.7fr) minmax(0,1.4fr) auto}
.help-overlay,.confirm-overlay{background:#23301f48;backdrop-filter:blur(5px)}.help-card,.confirm-card{border-radius:23px;border-color:#d4dfcd;box-shadow:0 40px 100px #10210b22;background:#fff;padding:30px}
.help-card h2,.confirm-card h2{font-size:26px}.help-steps p,.confirm-card p{font-size:14px;color:#566c4d}
.is-guest{background:#f9faf8}.is-guest .desk-shell{display:grid;min-height:100dvh;grid-template-rows:80px minmax(0,1fr) 46px}
.is-guest .desk-main{min-height:0}.is-guest .login-layout{width:min(1280px,calc(100% - 112px));height:100%;min-height:0;padding:16px 0;grid-template-columns:1.1fr 1fr;gap:clamp(40px,7vw,100px)}
.login-story{display:flex;flex-direction:column;height:100%;min-height:0;max-height:740px;background:#eef0e5;padding:35px 38px;border-radius:28px 120px 28px 28px;overflow:hidden}
.login-story h1{font-size:clamp(34px,4.2vh,45px);line-height:1.18;letter-spacing:-.045em;margin-bottom:21px}
.login-story .eyebrow{font-size:11px;letter-spacing:.14em;margin-bottom:25px}
.login-story>p:not(.eyebrow){font-size:15px;color:#5f6c61;margin:0}
.login-drawing{flex:1;min-height:180px;height:auto;margin:10px -15px 0;position:relative}
.login-drawing .infrastructure-composition{min-height:0;height:100%;position:absolute;inset:0}
.login-drawing .composition-stage{min-height:0;height:100%;transform:none}
.auth-console{background:transparent;border:0;border-radius:0;box-shadow:none;max-width:420px;width:100%;overflow:visible}
.auth-console>.console-top{padding:0;border-bottom:1px solid var(--line);margin-bottom:27px}
.auth-console .auth-tabs{display:flex;gap:28px;align-items:center;background:none;border:0;padding:0}
.auth-tab{font-size:14px;border:0;border-bottom:2px solid transparent;border-radius:0;padding:0 0 14px;background:none;color:#718364;min-height:0}
.auth-tab.is-active{color:#345631;border-color:#789568;background:transparent}
.auth-console .console-body{padding:0;gap:19px}.auth-heading h2{font-size:29px;line-height:1.25;letter-spacing:-.035em;margin:0}
.auth-heading .eyebrow{font-size:11px;margin-bottom:14px}.auth-heading>p:not(.eyebrow){font-size:14px;color:#607354;margin:12px 0 0}
.auth-console .console-foot{padding:0;border:0}.auth-console .primary-button{width:100%;min-height:47px;justify-content:space-between}
.auth-console .form-grid{gap:18px;grid-template-columns:1fr 1fr}.auth-console label{font-size:14px}.auth-console input{min-height:45px}
.auth-footer{display:flex;justify-content:space-between;align-items:center;padding:10px 0;font-size:11px;color:#607354}
.temp-accounts{font-size:12px;padding:12px;margin:0;overflow-wrap:anywhere}
@media(min-width:851px) and (min-height:700px){.is-guest .desk-shell{height:100dvh}}
@media(max-height:800px) and (min-width:851px){
 .auth-console .console-body{gap:13px}.auth-console>.console-top{margin-bottom:20px}.auth-heading h2{font-size:26px}.auth-console input{min-height:42px;padding:8px 12px}
 .login-story{padding:28px 32px}.login-drawing .equipment-console{transform:rotate(-7deg) scale(.8)}.login-drawing .workspace-display{transform:rotate(5deg) scale(.76);left:38%;top:28%}
}
@media(max-width:1200px){.desk-workspace{padding:32px 27px 55px}.app-layout{grid-template-columns:225px minmax(0,1fr)}.desk-sidebar{padding:28px 13px}.dashboard-columns{grid-template-columns:1fr}.view-heading h2{font-size:30px}.console-row-main{grid-template-columns:115px minmax(0,1fr) auto;gap:12px}.console-row-main .console-pay{grid-column:2;grid-row:2}.console-row-main .badge{grid-column:3;grid-row:1/3}.console-row-main .console-summary{grid-column:2}.console-top{flex-wrap:wrap}.console-stats{grid-template-columns:repeat(auto-fit,minmax(155px,1fr))}}
@media(max-width:1100px) and (min-width:701px){.app-layout{grid-template-columns:210px minmax(0,1fr)}.desk-sidebar{display:flex;flex-direction:column}.nav-item{width:100%;justify-content:flex-start}.console-stats.dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-stats>div{padding:20px 17px}.dashboard-stats b{font-size:31px}.console-stats span{font-size:12px}}
@media(max-width:850px){.is-guest .login-layout{display:flex;justify-content:center;width:calc(100% - 48px);padding:25px 0}.is-guest .login-story{display:none}.is-guest .desk-header{padding:0 24px}.is-guest .auth-footer{width:calc(100% - 48px)}.view-heading{flex-wrap:wrap}.form-grid.three{grid-template-columns:1fr 1fr}.compact-facts{grid-template-columns:1fr 1fr}.workspace-label{display:none}.notification-main{grid-template-columns:1fr}.notification-main .console-summary,.notification-main .console-pay{grid-column:1}}
@media(max-width:700px){
 .desk-header{height:70px;min-height:70px;padding:0 20px;gap:20px}.desk-header .wordmark{font-size:28px}.desk-header .wordmark span{font-size:7.5px}
 .app-layout{display:block}.desk-sidebar{top:70px;z-index:10;height:auto;padding:10px 14px;display:flex;flex-direction:row;gap:5px;overflow-x:auto;border-bottom:1px solid #ced8ce;border-right:0;white-space:nowrap}
 .workspace-org,.sidebar-caption,.sidebar-support{display:none}.nav-item{flex:0 0 auto;width:auto;min-height:41px;font-size:12px;padding:10px 12px;gap:7px;white-space:nowrap}
 .nav-item.is-active{box-shadow:inset 0 -2px #5a7d57}.nav-item[data-view="customer-raise"]{display:none}
 .desk-workspace{padding:28px 20px 50px}.view-heading{gap:20px;margin-bottom:28px}.view-heading h2{font-size:28px}.view-heading .section-subtitle{font-size:14px}
 .view-heading .primary-button{padding:11px 17px}.dashboard-stats{grid-template-columns:1fr!important;gap:13px}.dashboard-stats>div{padding:22px}
 .dashboard-stats b{font-size:33px}.dashboard-columns{gap:25px}.focus-card{padding:23px}.focus-card h3{font-size:23px}.activity-panel{padding:23px}
 .console-top,.console-body{padding:21px}.console-foot{padding:18px 21px;flex-wrap:wrap}.console-top>span:first-child{font-size:16px}
 .console-row-main,.customer-list .console-row-main{grid-template-columns:minmax(0,1fr) auto;padding:18px 15px;gap:7px;font-size:13px}
 .console-row-main .console-id{grid-column:1;grid-row:1}.console-row-main .console-summary{grid-column:1;grid-row:2;font-size:13px}.console-row-main .console-pay{grid-column:1;grid-row:3}
 .console-row-main .badge{grid-column:2;grid-row:1/3}.console-actions{padding-right:10px}.console-summary small{white-space:normal;font-size:12px}.console-id{font-size:12px}
 .console-list .badge{font-size:10px;padding:4px 7px}.console-actions .small-button{width:30px;height:30px;min-height:30px}
 .form-grid,.form-grid.three,.form-grid.two{grid-template-columns:1fr;gap:18px}.device-row{grid-template-columns:1fr 1fr auto;gap:9px}.device-row label{font-size:12px}.device-row input{padding:8px;font-size:14px}
 .filter-row{width:100%;display:flex;gap:10px}.filter-row input{width:100%;min-width:0;flex:1}.filter-row select{max-width:150px}
 .kv-list .detail-item{grid-template-columns:1fr;gap:5px}.compact-facts b{font-size:15px}.compact-facts>div{padding:18px}
 .work-panel .console-body{padding:22px}.work-tabs{gap:20px}.work-tab{font-size:13px}.auth-console .form-grid{grid-template-columns:1fr 1fr}
 .is-guest .desk-shell{grid-template-rows:70px minmax(0,1fr) 46px}.is-guest .desk-header{height:70px;min-height:70px}.auth-heading h2{font-size:27px}
 .is-guest .login-layout{padding:25px 0}.auth-footer{font-size:11px}.guest-back{font-size:12px}.auth-console .console-body{gap:17px}
 .notification-main .console-summary,.notification-main .console-pay{grid-column:1}.notification-main{grid-template-columns:1fr}.document-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:no-preference){.nav-item,.primary-button,.ghost-button,.small-button{transition:background .2s,transform .2s,box-shadow .2s}.nav-item:active .ui-icon,.small-button:active .ui-icon{transform:scale(.88)}}
@media(prefers-reduced-motion:reduce){.spin{animation:none!important}.portal-body *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* Dashboard refinement: draft-like cards and details, with calmer spacing.
   Scoped to the two overviews; ticket forms and other screens are unchanged. */
:is(#customer-dashboard,#admin-dashboard){gap:0}
:is(#customer-dashboard,#admin-dashboard) .view-heading{margin-bottom:38px}
:is(#customer-dashboard,#admin-dashboard) .view-heading .eyebrow{margin-bottom:14px}
:is(#customer-dashboard,#admin-dashboard) .view-heading h2{font-size:33px}
:is(#customer-dashboard,#admin-dashboard) .dashboard-stats{gap:20px;margin-bottom:38px}
:is(#customer-dashboard,#admin-dashboard) .dashboard-stats>div{position:relative;padding:24px 26px 22px;gap:9px;border-color:#d9e2d5;border-radius:18px;box-shadow:0 4px 16px #2a402007;background:#fff}
:is(#customer-dashboard,#admin-dashboard) .dashboard-stats>div>span{font-size:13px;color:#586b51}
:is(#customer-dashboard,#admin-dashboard) .dashboard-stats b{font-size:36px;letter-spacing:-.045em;font-weight:500;margin:5px 0 10px}
:is(#customer-dashboard,#admin-dashboard) .stat-rule{height:2px;background:#e5ecdf}
#customer-dashboard .dashboard-columns{grid-template-columns:minmax(0,1.7fr) minmax(285px,1fr);gap:32px}
:is(#customer-dashboard,#admin-dashboard) .panel-heading{margin-bottom:18px;min-height:30px}
:is(#customer-dashboard,#admin-dashboard) .panel-heading h3{font-size:20px;font-weight:500}
#customer-dashboard .panel-heading .muted{font-size:12px;color:#74826c}
#customer-dashboard .focus-card{padding:28px 30px;border-color:#d4dfcc;border-radius:20px;box-shadow:0 5px 20px #29451e08;margin-bottom:34px;background:linear-gradient(125deg,#fff 65%,#f5f8f0)}
#customer-dashboard .focus-head{margin-bottom:23px;gap:18px;flex-wrap:wrap}
#customer-dashboard .focus-head>.muted{font-size:12px;letter-spacing:.02em;margin:0}
#customer-dashboard .focus-card h3{font-size:25px;line-height:1.3;margin-bottom:9px;letter-spacing:-.04em}
#customer-dashboard .focus-card>.muted{font-size:13px;line-height:1.7;margin:0;color:#687b5d}
#customer-dashboard .visit-info{margin:27px 0;gap:16px;align-items:center}
.focus-date{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:0 0 56px;width:56px;min-height:65px;border:1px solid #dce5d3;border-radius:12px;background:#f2f6ec;line-height:1.1}
.focus-date>span{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#728563}
.focus-date>strong{font-family:var(--display);font-size:25px!important;font-weight:500;margin-top:7px;color:#455a3c}
.focus-visit-copy{min-width:0}.focus-visit-copy>strong{font-size:14px!important;line-height:1.5}
.focus-visit-copy>p{font-size:13px!important;line-height:1.7}
.focus-engineer{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;margin-left:auto;border-radius:50%;background:#e7eedf;color:#657c53;font-size:11px;letter-spacing:.02em}
#customer-dashboard .focus-footer{padding-top:20px;gap:14px;border-color:#e4eadf;color:#718265}
#customer-dashboard .focus-footer .text-link{font-size:13px}
#customer-dashboard .activity-panel{padding:26px 27px;background:#f4f7f0;border-color:#dce5d5;border-radius:20px}
#customer-dashboard .activity-panel .panel-heading{margin-bottom:11px}
#customer-dashboard .activity-item{padding:22px 0 26px 23px;border-color:#dce5d4}
#customer-dashboard .activity-item:last-child{padding-bottom:18px}
#customer-dashboard .activity-point{top:27px;background:#d5e1c9;outline-color:#c7d7b9}
#customer-dashboard .activity-item:first-child .activity-point{background:#7e9c68}
#customer-dashboard .activity-item small{font-size:11px;letter-spacing:.04em;color:#68795e;margin-bottom:12px}
#customer-dashboard .activity-item strong{font-size:14px;font-weight:500;line-height:1.6;color:#3f5535}
#customer-dashboard .activity-item p{font-size:14px;line-height:1.8;color:#607354;margin:7px 0 12px}
#customer-dashboard .activity-item button{display:inline-flex;align-items:center;gap:9px;font-size:13px;color:#506e3e}
#customer-dashboard .activity-panel>.text-link{width:100%;margin-top:14px;padding-top:19px;font-size:12px;justify-content:space-between}
:is(#customer-dashboard,#admin-dashboard) .console{border-radius:18px;border-color:#d9e2d5;box-shadow:0 4px 16px #2a402006}
.dashboard-request{align-items:stretch;border-color:#e9eee4}
.dashboard-request-main{width:100%;min-width:0;display:grid;grid-template-columns:34px minmax(0,1fr) auto 18px;gap:15px;align-items:center;text-align:left;padding:24px;border:0;background:none}
.request-emblem{display:grid;place-items:center;width:34px;height:38px;background:#f1f5ed;border:1px solid #e6eddf;border-radius:10px;color:#81956f}
.dashboard-request-copy{display:grid;gap:4px;min-width:0}
.dashboard-request-copy>strong{font-size:14px;font-weight:500;line-height:1.65;color:#344b2e;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.request-reference{font-size:12px;color:#6d7f61;letter-spacing:.015em;overflow-wrap:anywhere}
.request-meta{font-size:13px;color:#667b58;line-height:1.7}.request-meta small{font-size:12px}
.dashboard-request-copy>small{font-size:12px;color:#6b7f5d;line-height:1.65}
.request-state{display:grid;justify-items:end;gap:7px}
.request-state .console-pay{font-size:12px;color:#6b7d5e}
.request-arrow{color:#80956e}
.dashboard-request-main .badge{font-size:11px;padding:5px 9px}
:is(#customer-dashboard,#admin-dashboard) .empty-state{background:transparent;padding:32px 25px;color:#74846a}
#admin-dashboard .admin-dashboard-stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
#admin-dashboard .admin-dashboard-stats>div{padding:23px 21px}
#admin-dashboard .admin-dashboard-stats b{font-size:29px}
#admin-dashboard .admin-dashboard-stats>div:nth-child(n+4){background:#f5f8f1}
#admin-dashboard .view-heading>.console-live{font-size:12px;color:#637d50;display:flex;align-items:center;gap:9px}
#admin-dashboard .view-heading>.console-live:before{content:"";width:5px;height:5px;background:#839e70;border-radius:50%}
#backup-notice{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:17px 22px;margin:0 0 32px;background:#fafaf3!important;border:1px solid #e5e5d3;box-shadow:none!important}
#backup-notice .console-top{padding:0;border:0;background:none;gap:16px;flex-shrink:0}
#backup-notice .console-top>span{font-size:13px;font-family:var(--sans);letter-spacing:0;color:#6f714c}
#backup-notice .console-body{padding:0;font-size:12px;line-height:1.8;color:#858569}
#backup-notice .small-button{width:30px;height:30px;min-height:30px;background:transparent;border-color:#dadfc9}
#admin-dashboard .dashboard-queue{min-width:0}
@media(max-width:1250px){
 #customer-dashboard .dashboard-columns{grid-template-columns:1fr}
 #customer-dashboard .activity-panel{padding:26px 28px}
 #admin-dashboard .admin-dashboard-stats{grid-template-columns:repeat(6,minmax(0,1fr));gap:18px}
 #admin-dashboard .admin-dashboard-stats>div{grid-column:span 2}
 #admin-dashboard .admin-dashboard-stats>div:nth-child(n+4){grid-column:span 3}
 #backup-notice{align-items:flex-start;flex-direction:column;gap:9px}
}
@media(max-width:700px){
 :is(#customer-dashboard,#admin-dashboard) .view-heading{margin-bottom:30px;gap:18px}
 :is(#customer-dashboard,#admin-dashboard) .view-heading h2{font-size:28px}
 #customer-dashboard .dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px}
 #customer-dashboard .dashboard-stats>div{padding:18px 13px;gap:8px}
 #customer-dashboard .dashboard-stats>div>span{font-size:11px;min-height:34px;line-height:1.55}
 #customer-dashboard .dashboard-stats b{font-size:29px;margin:0 0 8px}
 #customer-dashboard .dashboard-columns{gap:27px}
 #customer-dashboard .focus-card{padding:24px 21px;margin-bottom:30px;border-radius:18px}
 #customer-dashboard .focus-card h3{font-size:23px}
 #customer-dashboard .focus-head{gap:10px;margin-bottom:21px}
 #customer-dashboard .visit-info{gap:12px}
 .focus-engineer{display:none}
 #customer-dashboard .activity-panel{padding:25px 22px}
 .dashboard-request-main{padding:22px 17px;grid-template-columns:30px minmax(0,1fr) auto;gap:11px}
 .request-emblem{width:30px;height:34px;align-self:start;margin-top:3px}
 .dashboard-request-copy>strong{font-size:13px}
 .request-state{grid-column:2;justify-items:start;display:flex;align-items:center;flex-wrap:wrap;gap:10px}
 .request-arrow{grid-column:3;grid-row:1}
 .dashboard-request-main .badge{font-size:10px}
 #admin-dashboard .admin-dashboard-stats{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px}
 #admin-dashboard .admin-dashboard-stats>div{padding:18px 13px}
 #admin-dashboard .admin-dashboard-stats>div>span{font-size:11px;min-height:34px;line-height:1.55}
 #admin-dashboard .admin-dashboard-stats b{font-size:25px;margin:0 0 8px}
 #backup-notice{padding:17px 19px;margin-bottom:28px}
 #customer-dashboard .panel-heading .muted{font-size:11px}
}
@media(max-width:360px){
 #customer-dashboard .dashboard-stats{grid-template-columns:1fr!important}
 #customer-dashboard .dashboard-stats>div>span{min-height:0}
 #admin-dashboard .admin-dashboard-stats{grid-template-columns:1fr 1fr!important}
 #admin-dashboard .admin-dashboard-stats>div{grid-column:auto!important}
 #admin-dashboard .admin-dashboard-stats>div:last-child{grid-column:1/-1!important}
}
