@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');
:root{--navy:#14253b;--navy-2:#1d324d;--gold:#d7a84c;--gold-2:#f5e8ca;--ink:#1f2a3c;--muted:#758196;--line:#e7ebf0;--paper:#fff;--bg:#f5f7fa;--green:#18734d;--green-bg:#e7f5ee;--red:#b64343;--red-bg:#fcebea;--blue:#315ea8;--blue-bg:#eaf0fc;--shadow:0 10px 35px rgba(24,39,58,.055);--radius:16px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'Cairo',Tahoma,Arial,sans-serif;color:var(--ink);background:var(--bg);font-size:14px;line-height:1.7}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}img{max-width:100%}h1,h2,h3,p{margin-top:0}h1{font-size:26px;line-height:1.35;margin-bottom:8px;font-weight:800;letter-spacing:-.4px}h2{font-size:18px;line-height:1.5;margin:0 0 3px;font-weight:800}h3{font-size:16px;line-height:1.6;margin-bottom:8px}small{font-size:11px}.muted{color:var(--muted);margin-bottom:0}.eyebrow{font-size:11px;text-transform:none;color:#9a762f;font-weight:800;letter-spacing:.2px;margin-bottom:8px;display:flex;align-items:center;gap:7px}.eyebrow-dot{width:7px;height:7px;background:var(--gold);border-radius:99px;display:inline-block}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:10px;padding:10px 17px;font-size:12px;font-weight:800;transition:transform .16s ease,background .16s ease,border-color .16s ease;white-space:nowrap}.btn:hover{transform:translateY(-1px)}.btn-primary{background:var(--navy);color:#fff;border-color:var(--navy)}.btn-primary:hover{background:var(--navy-2)}.btn-outline{background:#fff;color:var(--navy);border-color:#d8dee6}.btn-outline:hover{background:#f8fafc;border-color:#b6c0cd}.btn-outline-danger{background:#fff;color:var(--red);border-color:#ecc6c6}.btn-light{background:#fff;color:var(--navy);border-color:#fff}.btn-lg{padding:13px 20px;font-size:13px;border-radius:12px}.btn-sm{padding:7px 11px;font-size:11px}.btn-block{width:100%}.text-link{font-weight:800;font-size:12px;color:#8a6826}.link-button{background:none;border:0;color:#8a6826;font-size:11px;font-weight:800;padding:2px}.link-button:hover{text-decoration:underline}.link-danger{color:var(--red)}.logout-link{color:#9c5660;font-size:11px;font-weight:800;padding:7px 10px;border-radius:8px;background:#fff4f4}.icon-button{width:36px;height:36px;background:#fff;border:1px solid var(--line);border-radius:10px;color:var(--navy);font-size:18px}.badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 9px;border-radius:7px;font-size:10px;font-weight:800;white-space:nowrap}.badge-green{color:#176b47;background:#e6f5ed}.badge-red{color:#a33a3a;background:#fbe8e8}.badge-gold{color:#916715;background:#fbf1d9}.badge-blue{color:#315a9b;background:#eaf1fd}.badge-gray{color:#667185;background:#edf0f3}.alert{padding:12px 15px;border:1px solid transparent;border-radius:11px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px}.alert button{border:0;background:none;font-size:20px;color:inherit}.alert-success{background:#eaf7ef;border-color:#c9ead7;color:#176b47}.alert-danger{background:#fff0ef;border-color:#f0ceca;color:#9f3535}.alert-warning{background:#fff7e5;border-color:#f3dfa9;color:#885e0d}.alert-info{background:#eef4ff;border-color:#d7e3fb;color:#2d579a}.field-help{color:var(--muted);font-size:11px;display:block;margin-top:6px}.field-label{font-weight:800;font-size:12px;display:block;margin-bottom:8px}
/* Application shell */
.app-body{background:#f5f7fa}.app-shell{min-height:100vh;display:flex;direction:rtl}.sidebar{width:260px;flex:0 0 260px;background:var(--navy);color:#edf2f7;display:flex;flex-direction:column;min-height:100vh;position:sticky;top:0;height:100vh;padding:23px 16px 16px;overflow-y:auto;z-index:50}.brand{display:flex;align-items:center;gap:11px;min-width:0}.brand-mark{width:43px;height:43px;flex:0 0 43px;border-radius:13px;background:linear-gradient(145deg,#f2d48c,#c08d2b);color:#17273e;display:flex;align-items:center;justify-content:center;font-size:25px;font-weight:900;box-shadow:0 5px 15px #0002}.brand b{display:block;font-size:13px;line-height:1.5;max-width:174px}.brand small{display:block;color:#aab6c6;font-size:10px;margin-top:2px}.sidebar-caption{color:#8b9bb0;font-size:10px;font-weight:800;margin:38px 12px 10px}.side-nav{display:flex;flex-direction:column;gap:4px}.nav-link{color:#c4cedb;padding:11px 12px;border-radius:10px;display:flex;align-items:center;gap:12px;font-size:12px;font-weight:700;transition:all .15s}.nav-link:hover{background:#ffffff0e;color:white}.nav-link.active{background:linear-gradient(90deg,#d8ab50,#edcf84);color:#17263c;box-shadow:0 7px 20px #0002}.nav-icon{width:23px;text-align:center;font-size:17px}.sidebar-foot{margin-top:auto;padding:14px 10px 5px;border-top:1px solid #ffffff17;color:#a9b6c7;font-size:10px;line-height:1.9}.online-dot{width:7px;height:7px;background:#5bc08a;border-radius:50%;display:inline-block;margin-left:6px}.sidebar-foot small{font-size:10px;color:#8394a9}.main-area{min-width:0;flex:1;display:flex;flex-direction:column}.topbar{height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 30px;background:#fff;border-bottom:1px solid var(--line);gap:20px}.topbar-title{display:flex;flex-direction:column;line-height:1.4;font-weight:800;font-size:15px}.topbar-title small{font-size:10px;color:var(--muted);font-weight:500;margin-top:4px}.topbar-user{display:flex;align-items:center;gap:11px}.avatar{height:37px;width:37px;border-radius:12px;background:#f3e4c4;color:#7a571b;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:900}.user-meta{display:flex;flex-direction:column;line-height:1.5}.user-meta b{font-size:11px}.user-meta small{font-size:10px;color:var(--muted)}.notification-shortcut{position:relative;width:34px;height:34px;border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:16px}.notification-shortcut i{position:absolute;right:-4px;top:-6px;min-width:16px;height:16px;padding:0 4px;border-radius:99px;background:#bc4747;color:#fff;font-style:normal;font-size:9px;display:grid;place-items:center}.mobile-menu{display:none}.page-content{padding:28px 30px 34px;flex:1;min-width:0}.app-footer{padding:18px 30px;color:#9aa3b2;font-size:10px;border-top:1px solid #e9edf2;background:#fff;text-align:center}.welcome-row{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.welcome-row .muted{font-size:12px}.welcome-row h1{margin:0 0 6px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:20px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:19px 19px 16px;box-shadow:0 5px 20px #26394d05;min-width:0}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#68758a;font-size:11px;font-weight:700}.stat-symbol{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;font-size:17px;font-weight:800}.stat-new{color:#4069a9;background:#edf3ff}.stat-progress{color:#a2761f;background:#fbf1d9}.stat-complete{color:#23825a;background:#e6f5ed}.stat-late{color:#b34747;background:#fff0ef}.stat-neutral{color:#5b6c84;background:#eef1f5}.stat-value{font-size:28px;font-weight:900;margin-top:12px;line-height:1.3;color:#17263b;overflow-wrap:anywhere}.stat-money{font-size:20px}.stat-hint{font-size:10px;color:#a0a9b6;display:block;margin-top:7px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:18px;align-items:start}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:21px;margin-bottom:18px;box-shadow:var(--shadow);min-width:0}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.panel-heading p{color:var(--muted);margin:2px 0 0;font-size:11px}.panel-heading h2{margin:0}.table-panel-heading{margin:17px 0 10px}.quick-links{display:flex;flex-direction:column}.quick-links>a{display:flex;gap:11px;align-items:center;padding:14px 0;border-bottom:1px solid #edf0f4}.quick-links>a:last-child{border-bottom:0}.quick-links>a>span{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#f8f0dd;color:#967027;font-size:19px;flex-shrink:0}.quick-links>a div{min-width:0;flex:1}.quick-links>a b{display:block;font-size:11px}.quick-links>a small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.quick-links>a i{font-style:normal;color:#9e792d;font-size:16px}.table-wrap{width:100%;overflow:auto}table{width:100%;border-collapse:separate;border-spacing:0;font-size:11px;text-align:right;white-space:nowrap}thead th{background:#f7f8fa;color:#69778b;font-size:10px;font-weight:800;padding:12px;border-top:1px solid #edf0f3;border-bottom:1px solid #e6eaf0}thead th:first-child{border-radius:0 8px 8px 0}thead th:last-child{border-radius:8px 0 0 8px}tbody td{padding:13px 12px;border-bottom:1px solid #f0f2f5;vertical-align:middle}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#fcfcfd}.table-sub{display:block;color:#9aa3b2;font-size:9px;margin-top:3px;white-space:normal;max-width:220px}.ref-text{font-size:10px;color:#273b56}.table-action{font-size:11px;font-weight:800;color:#8f6820}.late-text{color:#b23b3b}.empty-state{text-align:center;padding:35px 18px}.empty-icon{width:52px;height:52px;margin:0 auto 12px;border-radius:16px;background:#f7f0df;color:#ac812c;display:grid;place-items:center;font-size:25px}.empty-state h3{margin-bottom:6px}.empty-state p{max-width:420px;margin:0 auto 16px;color:var(--muted);font-size:12px}.text-green{color:var(--green)!important}.text-amber{color:#9b6d18!important}
/* Forms */
.form-stack{display:flex;flex-direction:column;gap:14px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px}.form-grid>label,.form-stack>label,.filters-row>label{display:flex;flex-direction:column;gap:7px;color:#364358;font-size:11px;font-weight:800;min-width:0}.form-grid input,.form-grid select,.form-grid textarea,.form-stack input,.form-stack select,.form-stack textarea,.filters-row input,.filters-row select,.form-inline-action input,.form-inline-action select,.complaint-edit select,.complaint-edit textarea{width:100%;border:1px solid #dfe4ea;border-radius:9px;min-height:43px;padding:10px 12px;background:#fff;color:var(--ink);outline:none;transition:border .15s,box-shadow .15s;font-weight:500;font-size:12px}.form-grid textarea,.form-stack textarea,.complaint-edit textarea{resize:vertical;min-height:80px}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.form-stack input:focus,.form-stack select:focus,.form-stack textarea:focus,.filters-row input:focus,.filters-row select:focus{border-color:#d0a54a;box-shadow:0 0 0 3px #d7a84c20}.form-grid input:disabled,.form-stack input:disabled{background:#f5f7fa;color:#8d97a5}.form-stack small{font-size:10px;color:var(--muted);font-weight:500}.field-span-2{grid-column:1/-1}.form-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:3px}.check-label{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:8px!important;color:#536074!important;font-weight:600!important}.check-label input{width:15px!important;height:15px!important;min-height:15px!important;accent-color:var(--navy)}.coverage-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;background:#f8f9fb;border:1px solid #edf0f3;padding:13px;border-radius:10px}.form-inline-action{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.form-inline-action select,.form-inline-action input{flex:1;min-width:180px}.filters-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.filters-row>select,.filters-row>label:not(.search-field){min-width:145px}.filters-row .search-field{flex:1;min-width:200px;display:flex;flex-direction:row;align-items:center;gap:9px;border:1px solid #dfe4ea;border-radius:9px;padding:0 12px;background:#fff}.search-field span{font-size:20px;color:#8b97a7}.search-field input{border:0!important;box-shadow:none!important;padding-right:0!important}.filters-row select,.filters-row input[type=date]{height:42px}.secondary-action{margin-top:18px;padding-top:14px;border-top:1px solid #edf0f4}.secondary-action summary,.accordion-action summary{cursor:pointer;color:#9a6a25;font-size:11px;font-weight:800;padding:6px 0}.accordion-action{padding-top:12px;margin-top:12px;border-top:1px solid #edf0f3}.accordion-action form{margin-top:12px}.service-editor{border-color:#e5d5ad}.request-form .panel-heading{margin-bottom:24px}.form-step-pill{font-size:10px;color:#977022;background:#fbf2dd;border-radius:8px;padding:6px 9px;white-space:nowrap}.upload-drop{padding:15px;border:1px dashed #d4dce6;background:#fafbfd;border-radius:12px}.upload-drop label{display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:800}.upload-drop input{padding:9px;border:1px solid #e0e5ec;border-radius:8px;background:white}.upload-drop small{display:block;color:var(--muted);font-size:10px;margin-top:7px}.service-requirements{padding:15px 17px;border-radius:10px;background:#fbf6e9;border:1px solid #eee0b9}.service-requirements b{font-size:12px;color:#785716}.service-requirements p{font-size:11px;color:#86744b;margin:5px 0 0}.service-requirements ul{padding-right:18px;margin:8px 0 0;color:#695c3b;font-size:11px}
/* Services */
.service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:20px}.service-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:20px;box-shadow:0 6px 24px #27374b05;display:flex;flex-direction:column;min-width:0;transition:transform .17s,border-color .17s}.service-card:hover{transform:translateY(-2px);border-color:#dec88f}.service-card-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.service-icon{width:39px;height:39px;border-radius:12px;display:grid;place-items:center;background:#f8f0df;color:#9e7424;font-size:20px}.service-category{font-size:10px;color:#a17c30;font-weight:800;margin-bottom:5px}.service-card h3{font-size:15px;margin:0 0 9px}.service-card>p{font-size:11px;line-height:1.9;color:var(--muted);min-height:42px;margin-bottom:15px}.service-meta{display:flex;gap:12px;flex-wrap:wrap;font-size:10px;color:#7c8797;padding:10px 0;border-top:1px solid #eff1f4;margin-top:auto}.service-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #eff1f4;padding-top:14px;font-size:11px}.service-card-bottom>b{font-size:12px}.service-card-bottom>a{font-weight:800;color:#89651f;font-size:10px}.inline-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.inline-actions>a{color:#89651f;font-size:11px;font-weight:800}.inline-form{display:inline-flex;align-items:center;gap:6px}.inline-form select{max-width:145px;min-height:30px;border:1px solid #dfe4ea;border-radius:6px;font-size:10px;padding:5px;background:#fff}
/* Request detail */
.request-topline{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.back-link{color:#7f8b9b;font-size:11px;font-weight:700}.request-ref{color:#8792a2;font-size:10px}.request-ref b{color:#233c59;font-size:12px;margin-right:7px}.request-title-row{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:20px}.request-title-row h1{margin:9px 0 5px}.request-title-row .muted{font-size:11px}.request-title-actions{display:flex;gap:9px;flex-wrap:wrap}.request-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}.request-metrics>div{background:#fff;border:1px solid var(--line);border-radius:12px;padding:15px 17px;display:flex;flex-direction:column;gap:5px;box-shadow:0 5px 20px #26394d04}.request-metrics small{color:#7f8a9a;font-size:10px}.request-metrics b{font-size:18px}.request-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:18px;align-items:start}.request-main-column,.request-side-column{min-width:0}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 25px}.detail-item{display:flex;flex-direction:column;gap:3px;min-width:0}.detail-item small{font-size:10px;color:#8b96a5}.detail-item b{font-size:12px;color:#26354a;overflow-wrap:anywhere}.detail-item>small:last-child{font-size:10px}.description-block,.result-block{padding:14px 15px;border-radius:10px;background:#f7f8fa;margin-top:20px}.description-block small,.result-block b{font-weight:800;font-size:11px;color:#68778a}.description-block p,.result-block p{margin:6px 0 0;font-size:12px;color:#3f4c60;white-space:normal;overflow-wrap:anywhere}.result-block{background:#edf8f1;border:1px solid #ccebd7}.result-block b{color:#176b47}.result-block p{color:#3a5a48}.form-grid .form-actions{margin-top:4px}.file-list{display:flex;flex-direction:column;margin-bottom:16px}.file-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #edf0f4;padding:11px 0}.file-row:last-child{border-bottom:0}.file-icon{width:37px;height:39px;flex-shrink:0;display:grid;place-items:center;border-radius:9px;background:#edf2fa;color:#4b6591;font-size:9px;font-weight:900}.file-info{min-width:0;flex:1}.file-info b{font-size:11px;display:block;overflow-wrap:anywhere}.file-info small{font-size:9px;color:var(--muted);display:block;margin-top:3px}.file-download{font-size:10px;color:#8b6724;font-weight:800;white-space:nowrap}.upload-inline-form{padding:13px;background:#f8f9fb;border:1px dashed #d8dfe8;border-radius:10px;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.upload-inline-form label{font-size:10px;display:flex;flex-direction:column;gap:5px;font-weight:800}.file-kind-label{width:140px}.file-kind-label select{height:39px;max-width:100%;border:1px solid #dfe4ea;border-radius:8px;background:white;padding:8px;font-size:10px}.file-input-label{flex:1;min-width:180px}.file-input-label input{font-size:10px;width:100%}.message-list{display:flex;flex-direction:column;gap:13px;max-height:420px;overflow:auto;padding:2px 2px 12px}.message-item{background:#f6f8fa;border:1px solid #edf0f3;border-radius:12px;padding:12px 14px;max-width:96%;align-self:flex-start}.message-item.mine{background:#fdf7e9;border-color:#efe0bc;align-self:flex-end}.message-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.message-head b{font-size:11px}.role-mini{font-size:9px;background:#fff;border-radius:5px;padding:2px 5px;color:#738096}.message-head time{font-size:9px;color:#9aa4b2;margin-right:auto}.message-item p{font-size:12px;margin:7px 0 0;white-space:normal;overflow-wrap:anywhere}.message-form{display:flex;flex-direction:column;gap:10px;padding-top:15px;border-top:1px solid #edf0f3}.message-form textarea{resize:vertical;min-height:76px;border:1px solid #dfe4ea;border-radius:10px;padding:11px;font-size:12px;outline:none}.message-form textarea:focus{border-color:#d0a54a;box-shadow:0 0 0 3px #d7a84c20}.message-form button{align-self:flex-start}.timeline{position:relative;display:flex;flex-direction:column;gap:0;padding-right:7px}.timeline:before{content:'';position:absolute;top:10px;bottom:15px;right:12px;width:1px;background:#e2e7ee}.timeline-item{position:relative;display:flex;gap:14px;padding:0 0 22px}.timeline-dot{position:relative;z-index:1;width:11px;height:11px;border-radius:50%;border:3px solid #e9d7a8;background:#b88c35;margin:6px 0 0 1px;flex-shrink:0}.timeline-item b{font-size:11px}.timeline-item p{font-size:11px;color:#69768a;margin:3px 0 5px}.timeline-item small{font-size:9px;color:#9aa3b2}.finance-line{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #edf0f4;font-size:11px;color:#788396}.finance-line b{font-size:11px;color:#26354a}.finance-total{padding-top:14px;border-bottom:0}.finance-total b{font-size:17px;color:#976d1f}.mini-record-list{display:flex;flex-direction:column}.mini-record{padding:11px 0;border-bottom:1px solid #eef1f4;display:flex;justify-content:space-between;gap:8px;align-items:center}.mini-record:last-child{border-bottom:0}.mini-record>div{display:flex;flex-direction:column;gap:2px;min-width:0}.mini-record b{font-size:11px}.mini-record small{font-size:9px;color:#8b96a5}.mini-record>a{font-size:10px;color:#886523;font-weight:800;white-space:nowrap}.commission-box{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap;background:#f9f6ed;border-radius:10px;padding:12px;margin-bottom:12px}.commission-box>b{font-size:17px}.commission-box small{width:100%;color:#7b8492}.complaint-item{padding:13px 0;border-bottom:1px solid #edf0f4}.complaint-item:last-child{border-bottom:0}.complaint-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.complaint-top b{font-size:11px}.complaint-item>p{font-size:11px;color:#5b677a;margin:7px 0}.complaint-edit{display:grid;grid-template-columns:1fr;gap:8px;margin-top:10px;padding:10px;background:#f8f9fb;border-radius:9px}.rating-saved{background:#f7f1e2;border-radius:10px;padding:12px}.rating-saved b{color:#7d5b1d}.rating-saved p{margin:5px 0 0;font-size:11px}.form-grid .field-span-2{grid-column:1/-1}
/* Reports and locations */
.report-filters>label{min-width:170px}.report-stats{margin-top:18px}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.status-report-list{display:flex;flex-direction:column;gap:16px}.status-report-row>div:first-child{display:flex;justify-content:space-between;gap:15px;font-size:11px;margin-bottom:5px}.status-report-row>div:first-child span{color:#667387}.status-report-row>div:first-child b{color:#22364e}.report-bar{height:7px;background:#eef1f5;border-radius:99px;overflow:hidden}.report-bar span{height:100%;display:block;background:linear-gradient(90deg,#cda14a,#e9ce88);border-radius:99px;min-width:2px}.alert-stat{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;background:#f9fafb;border:1px solid #eef1f5;border-radius:11px;margin-bottom:10px}.alert-stat div{display:flex;flex-direction:column;gap:3px}.alert-stat b{font-size:20px;color:#20334d}.alert-stat small{color:#7c8797}.alert-stat-icon{width:33px;height:33px;border-radius:10px;background:#fbf0d8;color:#a97a20;display:grid;place-items:center;font-weight:900}.trend-chart{height:210px;display:flex;align-items:stretch;gap:8px;padding:15px 0 0;overflow:auto;border-bottom:1px solid #eff1f4}.trend-column{flex:1;min-width:35px;display:flex;align-items:center;flex-direction:column;gap:6px}.trend-bars{height:145px;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:4px;background:repeating-linear-gradient(to top,transparent 0,transparent 35px,#edf0f4 36px,#edf0f4 37px)}.trend-bars span{width:10px;border-radius:5px 5px 0 0;min-height:2px}.trend-request{background:#d8ae55}.trend-payment{background:#547ca9}.trend-column small{font-size:9px;color:#8d98a7}.trend-column>b{font-size:10px}.chart-legend{display:flex;gap:20px;justify-content:center;padding-top:13px;color:#818b9a;font-size:10px}.chart-legend span{display:flex;gap:6px;align-items:center}.chart-legend i{width:9px;height:9px;border-radius:2px;display:inline-block}.legend-request{background:#d8ae55}.legend-payment{background:#547ca9}.location-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.compact-records{max-height:340px;overflow:auto;margin-top:15px}.compact-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;border-bottom:1px solid #edf0f4}.compact-row>div{min-width:0;display:flex;flex-direction:column}.compact-row b{font-size:11px}.compact-row small{color:#8b96a5;font-size:9px}.compact-row form{flex-shrink:0}.location-add-form{flex-wrap:nowrap}.location-add-form input,.location-add-form select{min-width:0;flex:1}.location-add-form input{max-width:180px}.location-add-form select{max-width:170px}.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
/* Notifications */
.notification-list{display:flex;flex-direction:column}.notification-item{display:flex;gap:14px;padding:16px 0;border-bottom:1px solid #edf0f4;align-items:flex-start}.notification-item:last-child{border-bottom:0}.notification-item.unread{background:linear-gradient(270deg,#fffaf0,transparent 65%);padding-right:10px}.notification-bullet{width:33px;height:33px;flex-shrink:0;border-radius:10px;display:grid;place-items:center;background:#f7f0dd;color:#a57b2b;font-size:20px;font-weight:900}.notification-item.read .notification-bullet{background:#e9f5ee;color:#277b56}.notification-content{flex:1;min-width:0}.notification-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.notification-title b{font-size:12px}.notification-content p{margin:4px 0 5px;font-size:11px;color:#667387;overflow-wrap:anywhere}.notification-content small{font-size:9px;color:#9da6b3}.notification-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.notification-actions .btn{padding:5px 9px}
/* Public landing and auth */
.public-body{background:#fff}.public-header{height:82px;padding:0 max(5vw,30px);display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #eef0f3;background:#fff}.public-brand{color:var(--navy)}.public-brand small{color:#8b95a4}.public-header nav{display:flex;align-items:center;gap:25px;font-size:12px;font-weight:800}.public-header nav>a:not(.btn){color:#526075}.public-main{max-width:1440px;margin:0 auto;min-height:60vh}.hero-section{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:60px;align-items:center;padding:78px max(6vw,36px) 75px;background:radial-gradient(ellipse at 75% 10%,#fcf5e6 0,transparent 43%),linear-gradient(180deg,#fff 0%,#fcfcfd 100%);overflow:hidden}.hero-copy{max-width:680px}.hero-copy h1{font-size:clamp(34px,4.2vw,54px);line-height:1.43;margin:13px 0 15px;letter-spacing:-1px}.hero-copy h1 span{color:#a97d2b}.hero-copy>p{font-size:14px;color:#667387;line-height:2.1;max-width:615px}.hero-actions{display:flex;gap:11px;margin-top:25px;flex-wrap:wrap}.hero-trust{display:flex;gap:19px;flex-wrap:wrap;margin-top:30px;color:#768294;font-size:10px}.hero-trust span:first-child{color:#327d59}.hero-visual{height:440px;position:relative;display:grid;place-items:center}.visual-glow{position:absolute;width:340px;height:340px;background:#f3e0b4;filter:blur(70px);opacity:.65;border-radius:50%}.visual-card{position:relative;z-index:1;background:#fff;border:1px solid #e8e1cf;border-radius:20px;box-shadow:0 30px 80px #6f55231a}.main-visual-card{width:min(100%,440px);padding:24px}.visual-card-top{display:flex;align-items:center;justify-content:space-between}.small-tag{font-size:10px;background:#f8f0dd;color:#8d6723;padding:5px 9px;border-radius:6px;font-weight:800}.live-dot{font-size:10px;color:#22835b}.mock-reference{margin-top:26px;background:#f8fafc;border:1px solid #edf0f4;border-radius:12px;padding:14px}.mock-reference small{display:block;color:#7e8a9a;font-size:10px}.mock-reference b{display:block;letter-spacing:.5px;color:#203750;margin-top:4px;font-size:16px}.mock-progress{margin-top:24px}.progress-label{display:flex;align-items:center;justify-content:space-between;font-size:11px;margin-bottom:13px}.progress-track{height:8px;border-radius:99px;background:#edf0f4;overflow:hidden}.progress-track span{height:100%;display:block;background:linear-gradient(90deg,#d0a145,#edcf84);border-radius:99px}.progress-steps{display:flex;justify-content:space-between;gap:7px;margin-top:9px;color:#a5adba;font-size:9px}.progress-steps .done{color:#387f5a}.progress-steps .current{color:#a77922;font-weight:800}.mock-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:25px;padding-top:18px;border-top:1px solid #edf0f4}.mock-summary small{display:block;font-size:10px;color:#8b96a6}.mock-summary b{font-size:11px;display:block;margin-top:3px}.floating-note,.floating-stat{position:absolute;z-index:2;background:#fff;border:1px solid #e8ebef;box-shadow:0 14px 40px #27374b14;border-radius:13px;padding:13px 15px;display:flex;align-items:center;gap:10px}.floating-note{left:-5px;top:75px}.note-check{width:28px;height:28px;background:#e4f5ec;color:#207a52;border-radius:8px;display:grid;place-items:center;font-weight:900}.floating-note b{display:block;font-size:11px}.floating-note small{display:block;color:#8993a2;font-size:9px}.floating-stat{right:0;bottom:64px;display:flex;flex-direction:column;align-items:flex-start;gap:0;min-width:125px}.floating-stat b{font-size:26px;color:#9d752b}.floating-stat small{font-size:10px;color:#7a8696}.public-section{padding:66px max(6vw,36px)}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:27px}.section-heading h2{font-size:28px;margin-bottom:6px}.section-heading p{color:#7b8798;font-size:12px;margin:0}.public-service-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.empty-public{text-align:center;background:#fbfcfd;border:1px dashed #dfe5eb;border-radius:16px;padding:34px 20px}.empty-public h3{margin-bottom:5px}.empty-public p{color:#7b8798;font-size:12px;margin-bottom:15px}.steps-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.how-section{background:#fbfcfd}.step-card{border:1px solid #e7ebf0;background:#fff;padding:24px;border-radius:15px}.step-card>span{display:block;font-size:27px;font-weight:900;color:#d4aa54;margin-bottom:15px}.step-card h3{font-size:14px}.step-card p{font-size:11px;color:#758196;margin:0;line-height:2}.final-cta{margin:20px max(6vw,36px) 60px;padding:35px 40px;background:linear-gradient(115deg,#14253b,#213953);border-radius:20px;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:20px}.final-cta .eyebrow{color:#edcf84}.final-cta h2{font-size:25px;margin:0 0 6px}.final-cta p{color:#b8c4d2;margin:0;font-size:12px}.public-footer{text-align:center;padding:26px;border-top:1px solid #edf0f4;color:#9aa3b2;font-size:10px}.auth-wrap{padding:54px 20px 70px;min-height:calc(100vh - 155px);display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 0%,#fbf4e4,transparent 55%),#fafbfc}.auth-card{width:min(100%,440px);background:#fff;border:1px solid #e5e9ee;border-radius:19px;padding:31px;box-shadow:0 20px 65px #1a2a3e0d}.auth-mark{width:50px;height:50px;background:linear-gradient(145deg,#f1d183,#d3a449);color:#1d2e45;border-radius:15px;display:grid;place-items:center;font-size:28px;font-weight:900;margin-bottom:20px}.auth-card h1{font-size:26px}.auth-card>.muted{font-size:12px;margin-bottom:23px}.auth-card .form-stack{margin-top:22px}.auth-switch{text-align:center;font-size:11px;color:#8390a1;margin:20px 0 0}.auth-switch a{font-weight:800;color:#986f22}.setup-card{width:min(100%,520px)}.setup-card code{background:#f1f3f6;padding:2px 4px;border-radius:4px;font-size:11px}
@media(max-width:1200px){.sidebar{width:230px;flex-basis:230px}.page-content{padding:24px}.topbar{padding:0 24px}.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-section{gap:30px}.hero-copy h1{font-size:42px}.request-layout{grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr)}}
@media(max-width:950px){.sidebar{position:fixed;right:-270px;top:0;bottom:0;height:100vh;transition:right .2s ease;box-shadow:0 0 0 999px transparent}.sidebar.open{right:0;box-shadow:0 0 0 999px #0d1d2c70}.mobile-menu{display:inline-grid;place-items:center}.topbar{justify-content:flex-start}.topbar-title{flex:1}.dashboard-grid,.request-layout{grid-template-columns:1fr}.request-side-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.request-side-column>.panel:last-child{grid-column:1/-1}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-section{grid-template-columns:1fr;padding-top:54px}.hero-copy{max-width:760px}.hero-visual{max-width:600px;width:100%;margin:auto}.report-grid,.location-cards{grid-template-columns:1fr}.hero-section{gap:20px}.hero-copy h1{font-size:43px}}
@media(max-width:650px){body{font-size:13px}.topbar{height:68px;padding:0 14px;gap:10px}.topbar-title{font-size:13px}.topbar-title small{font-size:9px}.topbar-user{gap:7px}.user-meta{display:none}.logout-link{padding:6px 8px}.avatar{width:32px;height:32px}.page-content{padding:18px 13px 25px}.app-footer{padding:14px 10px}.welcome-row{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:17px}.welcome-row>.btn,.welcome-row>form{align-self:stretch}.stats-grid{gap:9px}.stat-card{padding:14px}.stat-value{font-size:23px}.stat-money{font-size:16px}.stat-top{font-size:10px;align-items:flex-start}.stat-symbol{width:30px;height:30px;flex-shrink:0}.panel{padding:15px;margin-bottom:13px;border-radius:13px}.panel-heading{margin-bottom:15px;align-items:flex-start}.panel-heading h2{font-size:15px}.panel-heading p{font-size:10px}.service-grid,.public-service-grid{grid-template-columns:1fr}.service-card{padding:17px}.service-card>p{min-height:0}.form-grid{grid-template-columns:1fr;gap:13px}.field-span-2{grid-column:auto}.coverage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.filters-row{align-items:stretch}.filters-row .search-field{flex-basis:100%}.filters-row>select,.filters-row>label:not(.search-field){flex:1;min-width:110px}.filters-row>.btn{flex:1}.request-title-row{flex-direction:column;gap:12px}.request-title-actions{width:100%}.request-title-actions>.btn{flex:1}.request-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.request-metrics>div{padding:12px}.request-metrics b{font-size:16px}.detail-grid{grid-template-columns:1fr 1fr;gap:15px}.request-side-column{display:block}.request-side-column>.panel:last-child{grid-column:auto}.file-row{gap:8px;align-items:flex-start}.file-download{font-size:9px}.upload-inline-form{align-items:stretch}.file-kind-label{width:100%}.file-input-label{min-width:0;width:100%}.upload-inline-form>.btn{width:100%}.message-item{max-width:100%}.request-topline{align-items:flex-start;flex-direction:column;gap:5px}.request-title-row h1{font-size:22px}.report-grid,.location-cards,.profile-grid{grid-template-columns:1fr}.location-add-form{flex-wrap:wrap}.location-add-form input,.location-add-form select{min-width:100%;max-width:none}.public-header{height:70px;padding:0 14px}.public-header nav{gap:11px;font-size:10px}.public-header .brand b{font-size:11px;max-width:130px}.public-header .brand-mark{width:36px;height:36px;flex-basis:36px}.public-header nav .btn{padding:7px 9px;font-size:10px}.hero-section{padding:40px 17px 42px;gap:16px}.hero-copy h1{font-size:32px;letter-spacing:-.4px}.hero-copy>p{font-size:12px}.hero-actions>.btn{flex:1;padding:11px 12px;font-size:11px}.hero-trust{gap:8px 13px;font-size:9px}.hero-visual{height:345px;transform:scale(.94);transform-origin:top center;margin-bottom:-15px}.main-visual-card{padding:17px}.mock-reference b{font-size:13px}.floating-note{left:-12px;top:33px;padding:9px}.floating-stat{right:-5px;bottom:12px;padding:9px 12px}.public-section{padding:42px 17px}.section-heading{align-items:flex-start;flex-direction:column;gap:10px}.section-heading h2{font-size:23px}.steps-grid{grid-template-columns:1fr 1fr;gap:10px}.step-card{padding:16px}.step-card>span{font-size:22px;margin-bottom:8px}.final-cta{margin:7px 17px 35px;padding:25px 19px;align-items:flex-start;flex-direction:column;border-radius:15px}.final-cta h2{font-size:21px}.final-cta .btn{width:100%}.auth-wrap{padding:30px 13px 45px;min-height:calc(100vh - 125px)}.auth-card{padding:22px}.form-inline-action select,.form-inline-action input{min-width:100%}.request-side-column .form-inline-action select{min-width:0}.notification-item{gap:9px}.notification-actions{align-items:flex-start;flex-direction:column}.notification-content p{font-size:10px}.trend-chart{gap:4px}.trend-column{min-width:28px}.trend-bars span{width:7px}.stat-value{overflow-wrap:anywhere}.profile-grid>.panel{min-width:0}}
@media print{body{background:#fff!important}.sidebar,.topbar,.app-footer,.request-title-actions,.back-link,.request-side-column .accordion-action,.message-form,.upload-inline-form,.btn,.notification-shortcut{display:none!important}.app-shell{display:block}.main-area{display:block}.page-content{padding:0}.panel,.request-metrics>div{box-shadow:none;break-inside:avoid;border-color:#ddd}.request-layout{grid-template-columns:1fr 1fr}.request-main-column>.panel:nth-last-child(-n+2){display:none}.request-side-column{display:block}.request-title-row{margin-top:20px}.request-metrics{grid-template-columns:repeat(4,1fr)}a{color:inherit;text-decoration:none}}

.complaint-inline{min-width:170px}.complaint-inline summary{cursor:pointer;color:#91691f;font-weight:800;font-size:10px;padding:3px 0}.complaint-inline form{margin-top:9px;min-width:230px}.audit-detail{display:block;max-width:240px;white-space:normal;overflow-wrap:anywhere;color:#69768a}.audit-detail,code{font-family:Consolas,monospace;font-size:10px}

.logout-form{margin:0}.logout-link{border:0;cursor:pointer;font-family:inherit}

/* Area-level service coverage list */
.area-coverage-grid {
  max-height: 300px;
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--border, #e6e9ef);
  border-radius: 12px;
  background: var(--surface-soft, #f8fafc);
}
.area-coverage-grid .check-label {
  align-items: flex-start;
  min-width: 0;
}
.area-coverage-grid .check-label span {
  line-height: 1.6;
  overflow-wrap: anywhere;
}
