dialog{border:1px solid var(--line);border-radius:20px;padding:28px;width:min(570px,calc(100% - 28px));max-height:90dvh;overflow:auto;color:var(--ink);box-shadow:0 25px 100px #0003;background:var(--paper)}dialog::backdrop{background:#0e30276e;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:17px}.dialog-head h2{font-size:23px}.dialog-summary{padding:15px;border:1px solid var(--line);border-radius:10px;background:var(--mint);margin-bottom:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}label{display:grid;gap:5px;font-size:12px}.full{grid-column:1/-1}.check{display:flex;align-items:start;gap:8px;font-size:11px}.check input{min-height:20px;margin-top:4px}.form-actions{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}.dialog-note{font-size:11px;margin-top:15px}.success-box{padding:30px 10px;text-align:center}.success-box b{display:block;font-size:23px;margin:15px}.success-mark{font-size:38px;color:var(--green)}.detail-list{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.detail-list dt{font-size:11px;color:var(--muted)}.detail-list dd{margin:3px 0;font-size:14px}.toast{position:fixed;bottom:24px;left:24px;right:24px;max-width:500px;margin:auto;background:var(--deep);color:white;border-radius:12px;padding:15px 20px;z-index:100;text-align:center;font-size:12px;box-shadow:var(--shadow)}
/* Responsive revision: preserve the supplied palette, typography and visual rhythm. */
:root{--green:#0f5132;--deep:#0a3221;--mint:#e2eee7;--gold:#b8891b;--ink:#16241c;--muted:#4f5d54;--paper:#fffdf9;--line:#e8e0d2;--side-w:248px}
html{scroll-padding-top:96px}body{overflow-wrap:anywhere}button,input,select,textarea{font:inherit}button,a,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #198754;outline-offset:3px}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #198754;outline-offset:2px}[hidden]{display:none!important}.skip{position:fixed;top:-100px;background:white;padding:12px;z-index:2000}.skip:focus{top:8px}.sample-banner{text-align:center;padding:12px 20px;background:#f3f7f4;border-block:1px solid var(--line);font-size:13px}.sample-banner a{font-weight:600;text-decoration:underline}.sample-tag{font-size:13px;color:var(--muted)}
body[data-page=landing] .site{overflow:visible}body[data-page=landing] .hero{min-height:auto;padding-block:48px 56px}body[data-page=landing] .hero .grid{width:100%;max-width:1280px;margin-inline:auto;padding-inline:24px;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:24px}body[data-page=landing] .hero .copy{min-width:0}body[data-page=landing] .hero .d1{font-size:clamp(34px,4.3vw,60px);line-height:1.3}body[data-page=landing] .hero .d1 .ln{white-space:normal}body[data-page=landing] .hero-art{transform:none;max-height:none;width:100%;min-width:0;aspect-ratio:5/4;isolation:isolate}body[data-page=landing] .hero-art:before{width:90%;height:auto;left:50%;bottom:0}body[data-page=landing] .hero-img{min-height:0;filter:saturate(.92) contrast(1.02)}body[data-page=landing] .hero .motif{display:none}body[data-page=landing] .statline .lead{min-width:0}body[data-page=landing] .btn{white-space:normal;height:auto;min-height:52px;padding-block:10px;line-height:1.5}body[data-page=landing] .rv{opacity:1;transform:none}body[data-page=landing] .mobile-cta{display:none}body[data-page=landing] .foot{overflow:visible}body[data-page=landing] .foot .motif{display:none}body[data-page=landing] .scrolldown{display:none}body[data-page=landing] .topbar .inner{height:auto;min-height:72px;padding-block:10px}body[data-page=landing] .nav{margin-inline-start:10px;gap:0}body[data-page=landing] .nav a{font-size:14px;padding:9px 10px}body[data-page=landing] .logo{flex-shrink:0}body[data-page=landing] .drawer a{min-height:48px}body[data-page=landing] .drawer:not(.open){display:none}
/* Dialog controls are shared by both prototypes. */
dialog{z-index:1200;font-family:inherit}dialog .btn{display:inline-flex;justify-content:center;align-items:center;padding:10px 18px;min-height:48px;border:1px solid var(--line);border-radius:10px;background:white;font-weight:600}dialog .btn.primary{background:var(--green);color:white}dialog .icon-button{min-width:48px;min-height:48px;border:1px solid var(--line);border-radius:10px;font-size:24px;background:white}dialog label{display:grid;gap:6px;font-size:15px}dialog input,dialog select,dialog textarea{width:100%;min-width:0;min-height:48px;padding:10px 12px;border:1px solid #d8cdb8;border-radius:10px;background:white;font-size:16px}dialog textarea{resize:vertical}dialog .check{display:flex;align-items:start;gap:9px}dialog .check input{width:20px;min-height:20px;flex:none}dialog .muted{color:var(--muted)}dialog .small,dialog .dialog-note{font-size:13px}dialog h3{font-size:18px}.approval-confirm{padding:20px;margin-top:20px;background:#e2eee7;border:1px solid #8fbba3;border-radius:12px}.approval-confirm p{margin-top:8px}.approval-confirm .form-actions{margin-top:15px}
/* Dashboard retains density only where the available width supports it. */
.dashboard{background:#faf6ee;font-family:'IBM Plex Sans Arabic',Tahoma,'Segoe UI',sans-serif;font-size:16px}.sidebar{width:248px}.dash-shell{margin-inline-start:248px;margin-right:248px}.sidebar .side-nav a{min-height:52px;font-size:15px}.sidebar .sidebar-label{font-size:12px}.sidebar .sidebar-bottom p{font-size:12px}.side-nav a.selected{background:var(--paper);color:var(--deep)}.dash-main{padding:32px;max-width:1500px}.topbar{height:auto;min-height:80px;padding-block:12px}.crumb,.user-name{font-size:14px}.user-name small{font-size:12px}.dash-heading p{font-size:15px}.date-chip{font-size:13px}.stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.stat-card .stat-label{font-size:14px}.stat-card .trend{font-size:12px}.stat-card .row{flex-wrap:wrap;gap:4px}.stat-card{background:var(--paper)}.stat-card b{font-size:32px}.panel{background:var(--paper)}.panel h2{font-size:19px}.panel-head .small,.attention p,.attention .btn,.legend,.chart-labels{font-size:13px}.overview-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.request-title p{font-size:14px}.btn{font-size:14px;min-height:48px}.search-wrap{min-width:0}.toolbar input{font-size:16px}.toolbar input::placeholder{font-size:14px}.filter-tab{font-size:14px;min-height:48px}.toolbar{align-items:center}.filter-tabs{flex:none}.table-wrap{overflow-x:auto}.request-panel{overflow:visible}.request-panel table{font-size:14px}.request-panel th,.request-panel td{padding:15px 14px}.person small{font-size:12px}.person{white-space:normal;min-width:120px}.person .avatar{flex:none}.badge{font-size:12px}.table-btn{min-height:48px;font-size:13px}.table-footer{font-size:12px;flex-wrap:wrap;gap:10px}.event{font-size:14px}.event small,.privacy-card p,.dash-footer{font-size:12px}.privacy-card h3{font-size:17px}.sidebar .small{font-size:14px}.detail-list dt{font-size:13px}.detail-list dd{font-size:16px}.mobile-bottom,.mobile-filter{display:none}.dashboard .sidebar .brand{min-width:0}.dashboard .demo-label{font-size:11px}.rowacts button{min-height:48px}
@media(min-width:1200px){#request-dialog{width:min(640px,44vw);height:100dvh;max-height:100dvh;margin:0 0 0 auto;border-radius:0;padding:30px}#request-dialog::backdrop{background:#17382633}.sidebar{display:flex;transform:none}}
@media(max-width:1199px){body[data-page=landing] .nav,body[data-page=landing] .topbar .cta{display:none}body[data-page=landing] .burger{display:flex}.dashboard .sidebar{display:none;transform:none;width:268px}.dashboard .sidebar.open{display:flex}.dash-shell{margin:0}.dashboard .menu-toggle{display:inline-grid;place-items:center}.dashboard .sidebar .menu-toggle{margin-inline-start:auto;color:white}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-main{padding:28px}.request-panel th:nth-child(4),.request-panel td:nth-child(4){display:none}.mobile-overlay{z-index:35}.dashboard .panel-head{flex-wrap:wrap}.dashboard .filter-tabs{flex:1}.dashboard .filter-tab{flex:1}}
@media(min-width:768px) and (max-width:1199px){body[data-page=landing] .hero .grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:20px}body[data-page=landing] .hero-art{max-width:none;max-height:none}body[data-page=landing] .hero .d1{font-size:clamp(34px,4.5vw,48px)}body[data-page=landing] .trust{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}body[data-page=landing] .cases{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-page=landing] .steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){html{scroll-padding-top:85px;scroll-padding-bottom:100px}body[data-page=landing] .hero{padding:30px 0 40px}body[data-page=landing] .hero .grid{grid-template-columns:minmax(0,1fr);padding-inline:16px;gap:20px}body[data-page=landing] .hero-art{max-width:360px;max-height:none;max-height:320px;aspect-ratio:5/4}body[data-page=landing] .hero .copy{max-width:none}body[data-page=landing] .hero .d1{font-size:clamp(34px,7vw,46px)}body[data-page=landing] .hero .sub{font-size:17px}body[data-page=landing] .hero .acts{gap:12px}body[data-page=landing] .hero .acts .btn{flex:1 1 180px}body[data-page=landing] .hero .acts .textlink{font-size:15px}body[data-page=landing] .shell{padding-inline:16px}body[data-page=landing] .cases,body[data-page=landing] .trust{grid-template-columns:minmax(0,1fr)}body[data-page=landing] .steps{grid-template-columns:1fr;gap:24px}body[data-page=landing] .step{display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:15px;padding:0}body[data-page=landing] .step .n{grid-row:1/3;width:48px;height:48px;margin:0}body[data-page=landing] .step:after{display:none}body[data-page=landing] .step h4{align-self:end}body[data-page=landing] .mobile-cta{display:block;position:sticky;bottom:0;background:#faf6eef5;padding:10px 16px calc(10px + env(safe-area-inset-bottom));border-top:1px solid var(--line);z-index:700}body[data-page=landing] .mobile-cta .btn{font-size:15px}body[data-page=landing] .statline .row{gap:20px}body[data-page=landing] .statline .lead{flex-basis:100%}body[data-page=landing] .statline .figs{flex-wrap:wrap;gap:24px}.dashboard .dash-main{padding:23px 16px calc(100px + env(safe-area-inset-bottom))}.dashboard .topbar{padding:10px 16px;min-height:72px}.dashboard .crumb{font-size:12px}.dashboard .user-name,.dashboard .date-chip{display:none}.dashboard .topbar .demo-label{display:none}.dashboard .topbar>.row{gap:8px;min-width:0}.dashboard .dash-heading h1{font-size:26px}.dashboard .dash-heading p{font-size:14px}.dashboard .stat-card{padding:16px}.dashboard .stat-label{font-size:13px}.dashboard .stat-card .trend{font-size:12px}.dashboard .overview-grid,.dashboard .bottom-grid{grid-template-columns:minmax(0,1fr)}.dashboard .panel{padding:20px}.dashboard .request-panel{padding:0}.dashboard .request-title{padding:20px 16px;flex-wrap:wrap}.dashboard .request-title .btn{font-size:13px;padding:8px 12px}.dashboard .toolbar{padding:0 16px 16px}.dashboard .search-wrap{flex-basis:100%}.mobile-filter{display:inline-flex}.dashboard .filter-tabs{display:none;flex-basis:100%}.dashboard .filter-tabs.open{display:flex}.dashboard .table-wrap{overflow:visible}.dashboard table,.dashboard tbody{display:block}.dashboard thead{display:none}.dashboard tbody tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:18px 16px;gap:12px;border-top:1px solid var(--line)}.dashboard td{display:block;padding:0!important;border:0;min-width:0}.dashboard td:before{content:attr(data-label);display:block;font-size:12px;color:var(--muted);margin-bottom:4px}.dashboard td:first-child{grid-column:1/-1}.dashboard td:nth-child(4){display:none}.dashboard td:nth-child(6){grid-column:1/-1}.dashboard td:nth-child(6):before{display:none}.dashboard .table-btn{width:100%;min-height:48px;font-size:14px}.dashboard .badge{font-size:12px;white-space:normal}.dashboard .person{font-size:16px}.dashboard .person small{font-size:12px}.dashboard .table-footer{font-size:12px}.mobile-bottom{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;bottom:0;inset-inline:0;padding-bottom:env(safe-area-inset-bottom);background:var(--paper);border-top:1px solid var(--line);z-index:30}.mobile-bottom a,.mobile-bottom button{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:66px;gap:2px;font-size:21px;border:0;background:transparent;color:var(--muted)}.mobile-bottom span{font-size:12px}.mobile-bottom [aria-current]{color:var(--green);background:#e2eee7}.dashboard .sidebar{width:min(290px,calc(100vw - 30px));overflow-y:auto}.dashboard .sidebar-bottom{padding-bottom:env(safe-area-inset-bottom)}dialog{width:100%;height:100dvh;max-height:100dvh;max-width:100%;margin:0;border-radius:0;padding:20px 16px calc(24px + env(safe-area-inset-bottom))}.form-grid{grid-template-columns:minmax(0,1fr)}.full{grid-column:auto}.form-actions{gap:12px}.form-actions>.btn{flex:1 1 180px;white-space:normal}.detail-list{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard .dash-footer{flex-wrap:wrap}.dashboard .chart{gap:7px}.dashboard .bar{max-width:16px;width:30%}}
@media(max-width:360px){.dashboard .stat-grid{grid-template-columns:minmax(0,1fr)}.dashboard .stat-card{display:grid;grid-template-columns:1fr auto;gap:3px 14px}.dashboard .stat-card .row{grid-column:1}.dashboard .stat-card b{grid-column:2;grid-row:1/3}.dashboard .stat-card .trend{grid-column:1}.dashboard .request-title .btn{width:100%}body[data-page=landing] .hero .acts{flex-direction:column;align-items:stretch}body[data-page=landing] .hero .acts .btn{flex-basis:auto}body[data-page=landing] .hero .acts .textlink{justify-content:center}}
@media(max-height:600px) and (min-width:768px){body[data-page=landing] .hero{padding-block:25px}body[data-page=landing] .hero-art{max-height:310px}.sidebar{overflow-y:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
/* Component-level reflow also handles browser magnification and embedded panels. */
.dash-shell{container-type:inline-size}.chart{gap:clamp(4px,1vw,15px)}.chart-column{min-width:0;gap:4px}.chart .bar{width:30%;max-width:18px;flex-shrink:1}.stat-card{min-width:0}.dashboard .topbar{flex-wrap:wrap}.dashboard .topbar>.row{min-width:0;flex-wrap:wrap}.dashboard .bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@container(max-width:1000px){.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-grid,.dashboard .bottom-grid{grid-template-columns:minmax(0,1fr)}.panel-head,.request-title{flex-wrap:wrap}.toolbar .filter-tabs{flex-wrap:wrap}}
@container(max-width:420px){.stat-grid{grid-template-columns:minmax(0,1fr)}.dashboard .dash-main{padding-inline:16px}.dashboard .topbar .demo-label{display:none}}
@media(min-width:361px) and (max-width:767px){.dashboard .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
