/* EHSAMI UX 0.18.1: scoped layout and intake redesign, no third-party assets. */
:root{--eh-bg:#f4f7fb;--eh-card:#fff;--eh-ink:#142338;--eh-muted:#66768a;--eh-line:#e3e9ef;--eh-teal:#087d79;--eh-teal-dark:#075b61;--eh-orange:#f4a340;--eh-radius:18px}body.eh-flow,body.eh-client,body.eh-admin{margin:0;background:var(--eh-bg);color:var(--eh-ink);font-family:Vazirmatn,Tahoma,Arial,sans-serif;line-height:1.75}body.eh-flow *,body.eh-client *,body.eh-admin *{box-sizing:border-box}body.eh-flow a,body.eh-client a,body.eh-admin a{color:inherit;text-decoration:none}body.eh-flow button,body.eh-client button,body.eh-admin button{font:inherit;cursor:pointer}body.eh-flow :focus-visible,body.eh-client :focus-visible,body.eh-admin :focus-visible,.eh-audit-form :focus-visible{outline:3px solid #f0ad50;outline-offset:3px} .eh-container{max-width:1120px;padding:0 20px;margin:auto}.eh-public-head{background:#fff;border-bottom:1px solid var(--eh-line)}.eh-top{height:78px;display:flex;align-items:center;justify-content:space-between;gap:14px}.eh-brand{color:var(--eh-ink)!important;font-size:24px;font-weight:850;letter-spacing:-.6px;display:inline-flex;align-items:center;gap:10px}.eh-brand small{display:inline-block;font-size:12px;font-weight:500;color:var(--eh-muted);letter-spacing:0}.eh-top nav{display:flex;gap:24px;font-size:14px}.eh-top nav a:hover,.eh-link{color:var(--eh-teal)!important}.eh-intake-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:46px;padding-top:68px;padding-bottom:84px;align-items:start}.eh-intro{padding-top:26px}.eh-eyebrow{font-size:13px;color:var(--eh-teal);font-weight:800;letter-spacing:.1px}.eh-intro h1{font-size:clamp(32px,4vw,54px);line-height:1.3;margin:17px 0 24px;max-width:570px;letter-spacing:-1px}.eh-intro p{color:var(--eh-muted);font-size:16px;line-height:2}.eh-highlight{padding:25px 28px;background:#e5f4f2;border:1px solid #b8e1db;border-radius:var(--eh-radius);margin-top:34px}.eh-highlight strong{font-size:17px}.eh-highlight ol{padding-right:20px;margin:12px 0 0;line-height:2.2;font-size:14px}.eh-side-note{font-size:13px!important}.eh-form-card,.eh-card{background:#fff;border:1px solid var(--eh-line);box-shadow:0 13px 34px rgba(25,44,63,.035);border-radius:var(--eh-radius)}.eh-form-card{padding:32px}.eh-card-title{margin-bottom:24px}.eh-card-title span{color:var(--eh-teal);font-size:13px;font-weight:800}.eh-card-title h2{margin:4px 0;font-size:26px;letter-spacing:-.5px}.eh-card-title p{color:var(--eh-muted);font-size:13px;margin:0}.eh-form{display:flex;flex-direction:column;gap:9px}.eh-form>label,.eh-extra label:not(.eh-check){font-weight:750;font-size:14px;margin-top:11px}.eh-form label em{color:#b13b46;font-style:normal}.eh-form input:not([type=checkbox]),.eh-form textarea,.eh-form select{border:1px solid #ccd7e0;border-radius:11px;padding:13px 15px;width:100%;background:#fff;font:inherit;color:var(--eh-ink);outline-offset:2px;min-height:48px}.eh-form textarea{resize:vertical;min-height:96px}.eh-form input:focus,.eh-form textarea:focus,.eh-form select:focus{border-color:var(--eh-teal);box-shadow:0 0 0 3px #d7efeb}.eh-field-note,.eh-policy{font-size:12px;color:var(--eh-muted)}.eh-policy{margin:3px 0 0;line-height:1.8}.eh-policy a{color:var(--eh-teal)!important;text-decoration:underline!important}.eh-extra{border:1px solid var(--eh-line);border-radius:12px;margin:15px 0 8px;padding:12px 16px}.eh-extra summary{cursor:pointer;font-weight:800;font-size:14px;list-style:none;display:flex;justify-content:space-between;align-items:center}.eh-extra summary::-webkit-details-marker{display:none}.eh-extra[open] summary span{transform:rotate(45deg)}.eh-extra-fields{padding-top:20px;display:flex;flex-direction:column;gap:9px}.eh-optional-label{margin-top:14px;font-size:13px;font-weight:750}.eh-check{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--eh-ink);cursor:pointer}.eh-check input{accent-color:var(--eh-teal)}.eh-primary,.eh-audit-form button{background:var(--eh-teal);color:#fff!important;padding:13px 22px;border:1px solid var(--eh-teal);border-radius:11px;font-size:14px;font-weight:800;display:flex;align-items:center;justify-content:space-between;gap:16px;transition:.18s}.eh-primary:hover,.eh-audit-form button:hover{background:var(--eh-teal-dark)}.eh-inline{display:inline-flex;justify-content:center;white-space:nowrap}.eh-notice{padding:12px 16px;border-radius:12px;margin-bottom:14px;font-size:14px}.eh-success{background:#e4f5ec;border:1px solid #b3dcc4}.eh-error{background:#fff1f0;border:1px solid #f2c2c0}.eh-error ul{margin-bottom:0;padding-right:19px}.eh-honeypot{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;pointer-events:none!important}.eh-footer{border-top:1px solid var(--eh-line);background:#fff;padding:22px 0;font-size:13px;color:var(--eh-muted)}.eh-footer>.eh-container{display:flex;justify-content:space-between;gap:16px}.eh-audit-form{margin:0 auto;max-width:680px;display:grid;gap:11px}.eh-audit-form label{color:#263d52;font-size:14px;font-weight:800}.eh-audit-row{display:flex;gap:11px}.eh-audit-row input{min-width:0;flex:1;padding:13px 16px;border:1px solid #cad7dd;border-radius:10px;background:#fff}.eh-audit-form button{white-space:nowrap}.eh-form-note{color:#6d8092;font-size:12px;line-height:1.8}.eh-side{position:fixed;right:0;top:0;bottom:0;width:252px;overflow-y:auto;background:#fff;border-left:1px solid var(--eh-line);padding:24px 14px;display:flex;flex-direction:column;gap:13px;z-index:25;box-shadow:0 8px 30px rgba(20,39,62,.035)}.eh-side .eh-brand{font-size:21px;padding:2px 12px 24px;border-bottom:1px solid var(--eh-line);white-space:nowrap}.eh-sidebar-label{font-size:12px;font-weight:800;color:#79909b;margin:10px 12px 0}.eh-nav{display:grid;gap:4px}.eh-nav a{display:flex;align-items:center;min-height:39px;padding:7px 13px;border-radius:10px;color:#405267!important;font-size:13px;font-weight:650;line-height:1.6}.eh-nav a:hover{background:#edf6f5;color:var(--eh-teal)!important}.eh-nav a[aria-current=page]{background:var(--eh-teal)!important;color:#fff!important}.eh-side-details{border-top:1px solid var(--eh-line);padding-top:13px}.eh-side-details summary{padding:9px 12px;cursor:pointer;font-weight:800;font-size:13px;color:var(--eh-muted)}.eh-side-bottom{display:grid;gap:8px;border-top:1px solid var(--eh-line);padding:16px 10px 0;margin-top:auto}.eh-side-bottom a{color:var(--eh-teal)!important;font-size:13px;font-weight:750}.eh-workspace{margin-right:252px;min-width:0;min-height:100vh}.eh-app-header{min-height:68px;background:#fff;border-bottom:1px solid var(--eh-line);padding:12px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}.eh-app-header>strong{font-size:17px}.eh-app-actions{display:flex;align-items:center;gap:17px;flex-wrap:wrap;font-size:13px}.eh-app-actions a{color:var(--eh-teal)!important}.eh-app-actions form{margin:0}.eh-app-actions button{border:1px solid var(--eh-line);background:#fff;border-radius:8px;padding:4px 11px}.eh-app-main{max-width:1420px;margin:auto;padding:34px 34px 90px;display:grid;gap:22px}.eh-app-main h1{font-size:clamp(25px,2.6vw,35px);margin:3px 0 10px;line-height:1.4}.eh-app-main h2{font-size:18px;line-height:1.5;margin:0}.eh-app-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.eh-app-heading p{margin:0;color:var(--eh-muted);font-size:14px}.eh-card{padding:23px;min-width:0}.eh-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:15px}.eh-stat{display:flex;flex-direction:column;gap:4px}.eh-stat span{color:var(--eh-muted);font-size:13px}.eh-stat strong{color:var(--eh-ink);font-size:34px;line-height:1.4;font-variant-numeric:tabular-nums}.eh-stat a,.eh-section-head>a{font-weight:750;font-size:13px;color:var(--eh-teal)!important}.eh-next{background:linear-gradient(110deg,#fff,#e7f4f2);display:flex;justify-content:space-between;align-items:center;gap:22px}.eh-next p{color:var(--eh-muted);margin:9px 0 0;font-size:14px}.eh-outline{border:1px solid var(--eh-teal);color:var(--eh-teal)!important;border-radius:9px;padding:10px 15px;font-size:13px;font-weight:800;white-space:nowrap}.eh-section-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.eh-muted{color:var(--eh-muted);font-size:13px}.eh-table-scroll{overflow-x:auto}.eh-table{border-collapse:collapse;min-width:460px;width:100%;text-align:right;font-size:13px}.eh-table th{background:#f4f8fa;color:#42596e;font-weight:800}.eh-table td,.eh-table th{padding:12px 14px;border-bottom:1px solid var(--eh-line)}.eh-table tr:last-child td{border-bottom:0}.eh-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.eh-steps>a{display:grid;gap:6px;background:#f2f8f8;padding:17px;border-radius:12px;border:1px solid #d8eae9}.eh-steps b{display:grid;place-items:center;background:#d1ece8;color:var(--eh-teal);width:27px;height:27px;border-radius:9px;font-size:14px}.eh-steps strong{font-size:14px}.eh-steps small{font-size:12px;color:var(--eh-muted)}.eh-quick{display:flex;flex-wrap:wrap;gap:10px}.eh-quick a{padding:9px 13px;border:1px solid var(--eh-line);border-radius:10px;background:#f8fafc;font-size:13px;font-weight:750}.eh-mobile-menu{display:none}.eh-client .project-cards{display:grid;gap:15px}.eh-admin .eh-app-main>.ops-grid,.eh-admin .eh-app-main>.ops-actions{max-width:100%}body:not(.eh-flow) .eh-brand:focus-visible{outline-offset:-2px}
@media(max-width:1050px){.eh-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.eh-app-main{padding:25px 20px 70px}.eh-side{width:220px}.eh-workspace{margin-right:220px}.eh-intake-grid{gap:28px}}@media(max-width:760px){.eh-top nav{gap:12px;font-size:12px}.eh-top{height:64px}.eh-intake-grid{grid-template-columns:1fr;padding-top:25px;gap:22px}.eh-intro{padding-top:8px}.eh-intro h1{font-size:33px;margin:10px 0}.eh-intro p{font-size:14px}.eh-highlight{margin-top:18px}.eh-form-card{padding:22px 18px}.eh-side{display:none}.eh-workspace{margin-right:0}.eh-app-header{padding:12px 16px}.eh-app-actions{gap:10px}.eh-app-actions>span{display:none}.eh-mobile-menu{display:block;margin:14px 15px 0;background:#fff;border:1px solid var(--eh-line);border-radius:10px;padding:8px 13px}.eh-mobile-menu summary{cursor:pointer;font-weight:750;font-size:14px}.eh-mobile-menu .eh-nav{margin-top:8px;max-height:52vh;overflow-y:auto}.eh-app-main{padding:23px 15px 60px;gap:16px}.eh-app-heading,.eh-next{flex-direction:column;align-items:stretch}.eh-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.eh-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.eh-audit-row{flex-direction:column}.eh-audit-form button{justify-content:center}}@media(max-width:410px){.eh-brand{font-size:19px}.eh-top nav a:nth-child(1){display:none}.eh-stat-grid,.eh-steps{grid-template-columns:1fr}.eh-card{padding:17px}.eh-app-header>strong{font-size:14px}}@media(prefers-reduced-motion:reduce){.eh-primary,.eh-audit-form button{transition:none}}

/* The live public header is fixed; keep the intake content clear of it. */
body.eh-flow .eh-intake-grid{padding-top:132px}
@media(max-width:760px){body.eh-flow .eh-intake-grid{padding-top:105px}}
/* Never suppress the existing public header, footer, Trust Seal, or mobile navigation. */
body.eh-flow>.ehsami-mobile-menu{position:relative}
