:root { --lime:#09e97c; --lime-deep:#06be66; --ink:#0a0f0d; --muted:#8b968f; }
html[data-bs-theme="dark"] { color-scheme:dark; --page:#090f0d; --surface:#111a16; --form:#111a16; --field:#1b2721; --text:#f5fbf7; --sub:#a7b7ad; --line:#314038; --card:#1b2721; --shadow:0 26px 100px #0007; }
html[data-bs-theme="light"] { color-scheme:light; --page:#eef4ee; --surface:#fff; --form:#fff; --field:#f5f9f5; --text:#102016; --sub:#5c7163; --line:#d9e5db; --card:#f8faf8; --shadow:0 26px 80px #23362920; }
* { box-sizing:border-box; }
body { min-height:100vh; margin:0; background:var(--page); color:var(--text); font-family:Inter,"Segoe UI",Arial,sans-serif; transition:background .25s,color .25s; }
button,input,textarea { font:inherit; }
a { color:inherit; }
.site-header { background:#090d0b; border-bottom:1px solid #25312a; }
.site-header-inner { width:min(1440px,calc(100% - 56px)); min-height:106px; display:flex; align-items:center; justify-content:space-between; margin:auto; gap:18px; }
.brand-link { width:255px; height:91px; flex:none; display:block; overflow:hidden; text-decoration:none; }
.brand-art { display:block; width:255px; height:91px; background:#090d0b url("brand-art.jpg") no-repeat -107px -34px / 461px 307px; }
.header-actions { display:flex; gap:12px; align-items:center; }
.header-link,.mode-toggle { border:1px solid #39463c; background:transparent; color:#e5eee7; text-decoration:none; border-radius:12px; min-height:42px; padding:10px 15px; font-size:.79rem; font-weight:700; letter-spacing:.03em; white-space:nowrap; }
.header-link:hover,.mode-toggle:hover { border-color:var(--lime); color:var(--lime); }
.header-pill { border-color:var(--lime); color:var(--lime); }
.header-pill span { margin-left:10px; font-size:1.05rem; }
.header-logout { display:inline-flex; margin:0; }
.mode-toggle { display:flex; gap:9px; align-items:center; cursor:pointer; }
.mode-icon { font-size:1.15rem; line-height:1; }
.site-footer { width:min(1440px,calc(100% - 56px)); margin:26px auto 22px; display:flex; align-items:center; justify-content:space-between; gap:10px; color:var(--sub); font-size:.67rem; letter-spacing:.16em; font-weight:800; }
.footer-dot { color:var(--lime-deep); padding:0 7px; }
.expo-wrap { width:min(1440px,calc(100% - 56px)); margin:34px auto 0; }
.expo-shell { display:grid; grid-template-columns:minmax(540px,1.25fr) minmax(250px,.48fr) minmax(360px,.8fr); min-height:720px; border:1px solid var(--line); border-radius:24px; overflow:hidden; box-shadow:var(--shadow); background:var(--form); }
.form-panel { padding:clamp(26px,4.1vw,70px); position:relative; }
.micro-label,.visual-kicker { display:flex; gap:12px; align-items:center; color:var(--lime-deep); font-size:.69rem; font-weight:900; letter-spacing:.22em; }
.pulse-dot { display:inline-block; width:8px; height:8px; background:var(--lime); border-radius:50%; box-shadow:0 0 0 5px #08e8791c; }
h1 { margin:20px 0 10px; font-size:clamp(2.35rem,4.1vw,4.5rem); font-weight:850; line-height:1.04; letter-spacing:-.055em; }
h1 span { color:var(--lime-deep); }
.intro { max-width:590px; color:var(--sub); font-size:.98rem; line-height:1.65; margin:0 0 28px; }
.form-fields { margin-bottom:22px; }
.form-fields.row { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:0 0 22px; }
.form-fields.row > div { width:auto; padding:0; margin:0; }
.form-fields.row > div:last-child { grid-column:1/-1; }
.field-label { display:block; color:var(--text); font-size:.78rem; font-weight:760; margin:0 0 8px; letter-spacing:.01em; }
.field-label > span:not(.optional),.consent-row strong { color:var(--lime-deep); }
.field-label .optional { font-size:.63rem; letter-spacing:.1em; color:var(--sub); font-weight:700; margin-left:6px; }
.expo-input,.expo-input.form-control { display:block; width:100%; background:var(--field); border:1px solid var(--line); border-radius:11px; color:var(--text); min-height:49px; padding:12px 15px; box-shadow:none; font-size:.91rem; }
.expo-input::placeholder { color:var(--sub); opacity:.8; }
.expo-input:focus,.expo-input.form-control:focus { color:var(--text); background:var(--field); border-color:var(--lime-deep); box-shadow:0 0 0 3px #06d87622; outline:none; }
textarea.expo-input { min-height:84px; resize:vertical; }
.services-fieldset { padding:0; margin:0 0 21px; border:0; min-width:0; }
.services-fieldset legend { float:none; width:auto; }
.services-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.service-card { display:flex; align-items:center; gap:10px; min-height:49px; padding:10px 12px; border:1px solid var(--line); border-radius:10px; background:var(--card); color:var(--text); font-size:.81rem; font-weight:650; cursor:pointer; position:relative; transition:border-color .15s,background .15s,transform .15s; }
.service-card:hover { border-color:var(--lime-deep); transform:translateY(-1px); }
.service-card:has(input:checked) { background:rgba(3,226,118,.12); border-color:var(--lime-deep); }
.service-card:has(input:focus-visible) { outline:3px solid var(--lime-deep); outline-offset:2px; }
.service-card input { position:absolute; width:1px; height:1px; opacity:0; }
.service-checkmark { flex:none; width:19px; height:19px; border:1.5px solid #6b7c70; color:transparent; border-radius:5px; display:grid; place-items:center; line-height:1; font-size:.72rem; }
.service-card:has(input:checked) .service-checkmark { background:var(--lime); border-color:var(--lime); color:#06210f; font-weight:900; }
.field-hint { display:block; margin:9px 0 0; color:var(--sub); font-size:.73rem; }
.details-field { margin-bottom:17px; }
.consent-row { display:flex; align-items:flex-start; gap:10px; color:var(--sub); font-size:.76rem; line-height:1.5; cursor:pointer; margin:0 0 19px; }
.consent-row input { width:18px; height:18px; accent-color:var(--lime-deep); flex:none; margin:0; cursor:pointer; }
.submit-button { width:100%; display:flex; justify-content:space-between; align-items:center; min-height:55px; padding:8px 11px 8px 21px; border:0; border-radius:10px; background:var(--lime); color:#05200f; font-weight:850; font-size:.91rem; cursor:pointer; box-shadow:0 13px 35px #05df7330; }
.submit-button:hover { background:#54fca2; }
.submit-button:disabled { opacity:.66; cursor:progress; }
.arrow-mark { display:grid; place-items:center; width:37px; height:37px; border-radius:8px; background:#05260f; color:#fff; font-size:1.16rem; }
.privacy-note { margin:11px 0 0; color:var(--sub); text-align:center; font-size:.7rem; }
.notice { border-radius:10px; padding:12px 14px; margin:0 0 17px; font-size:.83rem; line-height:1.45; }
.notice[hidden] { display:none; }
.notice-success { border:1px solid #20b668; color:#0a743e; background:#18e77a21; }
.notice-error { border:1px solid #e48383; color:#d94040; background:#eb33331c; }
.honeypot { position:absolute; left:-99999px; height:1px; width:1px; overflow:hidden; }
.referral-panel { position:relative; isolation:isolate; overflow:hidden; padding:42px 28px; border-left:1px solid #39e98a35; border-right:1px solid #39e98a35; background:linear-gradient(155deg,#0bd876 0%,#069653 54%,#064d30 100%); color:#031b0d; display:flex; flex-direction:column; justify-content:center; align-items:flex-start; }
.referral-panel:before { content:""; position:absolute; z-index:-1; width:290px; height:290px; border:1px solid #d9ffea4d; border-radius:50%; top:-115px; right:-155px; box-shadow:0 0 0 45px #d7ffe91c,0 0 0 95px #d7ffe910; }
.referral-panel .micro-label { color:#073a20; margin-bottom:22px; }
.referral-panel .pulse-dot { background:#062a17; box-shadow:0 0 0 5px #062a1722; }
.referral-panel h2 { margin:0 0 18px; font-weight:900; font-size:clamp(2rem,2.55vw,3.05rem); line-height:1.01; letter-spacing:-.055em; }
.referral-panel p { margin:0 0 28px; color:#07331e; font-size:.86rem; line-height:1.65; font-weight:550; }
.referral-coin { width:73px; height:73px; display:grid; place-items:center; margin-bottom:30px; border:2px solid #06311b; border-radius:50%; box-shadow:inset 0 0 0 6px #ffffff38,0 13px 38px #053c2340; background:#d4ffe6; color:#06311b; font-size:1.7rem; font-weight:950; transform:rotate(-7deg); }
.referral-open-button { width:100%; min-height:51px; display:flex; align-items:center; justify-content:space-between; gap:10px; border:1px solid #051f10; border-radius:10px; padding:10px 12px 10px 16px; background:#071d10; color:#effff5; font-size:.76rem; font-weight:850; cursor:pointer; }
.referral-open-button span { display:grid; place-items:center; width:31px; height:31px; border-radius:7px; background:var(--lime); color:#051e0f; font-size:1.05rem; }
.referral-open-button:hover { background:#0c311b; }
.referral-service-note { margin-top:12px; align-self:center; color:#06371e; text-transform:uppercase; letter-spacing:.13em; font-weight:850; font-size:.58rem; }
.referral-modal { width:min(880px,calc(100% - 30px)); max-height:calc(100vh - 30px); padding:0; border:1px solid var(--line); border-radius:19px; background:var(--surface); color:var(--text); box-shadow:0 35px 120px #000b; overflow:auto; }
.referral-modal::backdrop { background:#020604c9; backdrop-filter:blur(5px); }
.referral-modal[open] { animation:modal-in .18s ease-out; }
@keyframes modal-in { from { opacity:0; transform:translateY(12px) scale(.985); } to { opacity:1; transform:none; } }
.referral-modal-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:27px 30px 0; }
.referral-modal-head h2 { margin:13px 0 0; font-weight:900; font-size:2.15rem; letter-spacing:-.045em; }
.referral-modal-head h2 span { color:var(--lime-deep); }
.modal-close { flex:none; width:39px; height:39px; border:1px solid var(--line); border-radius:50%; background:var(--field); color:var(--text); font-size:1.65rem; line-height:1; cursor:pointer; }
.modal-close:hover { border-color:var(--lime-deep); color:var(--lime-deep); }
.referral-modal-intro { color:var(--sub); line-height:1.6; font-size:.84rem; margin:12px 30px 20px; max-width:660px; }
.referral-modal > .notice { margin-left:30px; margin-right:30px; }
.referral-modal form { padding:0 30px 30px; }
.referral-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin-bottom:16px; }
.referral-person-card { min-width:0; margin:0; padding:18px; border:1px solid var(--line); border-radius:13px; background:var(--card); display:grid; gap:13px; }
.referral-person-card legend { float:none; width:auto; padding:0 7px; margin-left:-7px; color:var(--text); font-size:.84rem; font-weight:850; }
.referral-service-field { border:0; padding:0; margin:0 0 16px; }
.referral-service-field legend { float:none; width:auto; }
.referral-service-selected { width:min(220px,100%); cursor:default; background:#08df7920; border-color:var(--lime-deep); }
.referral-service-selected .service-checkmark { background:var(--lime); border-color:var(--lime); color:#06210f; font-weight:900; }
.visual-panel { background:radial-gradient(ellipse at 65% 45%,#193f2a 0%,#0a180f 48%,#050b08 90%); color:white; min-width:0; position:relative; overflow:hidden; display:flex; flex-direction:column; }
.visual-panel:before { content:""; position:absolute; inset:0; opacity:.15; background:repeating-linear-gradient(114deg,transparent 0 71px,#fff2 72px,transparent 73px 140px); pointer-events:none; }
.visual-glow { position:absolute; width:520px; height:520px; border:1px solid #2d95564c; border-radius:50%; top:130px; right:-245px; box-shadow:0 0 0 75px #12ba4820,0 0 0 160px #18ed5511; }
.visual-top { position:relative; display:flex; align-items:center; justify-content:space-between; margin:39px 40px 0; }
.visual-kicker { color:#b1e9c3; }
.orbit-mark { display:grid; place-items:center; border:1px solid #63e29188; width:35px; height:35px; border-radius:50%; color:var(--lime); font-size:1.25rem; }
.visual-copy { position:relative; margin:56px 40px 0; z-index:1; }
.visual-copy p { margin:0 0 14px; color:white; font-weight:900; line-height:1.04; letter-spacing:-.06em; font-size:clamp(2.5rem,4vw,4.7rem); }
.visual-copy em { color:var(--lime); font-style:normal; }
.visual-copy > span { font-size:.85rem; color:#b1c9b7; }
.truck-art { position:relative; z-index:1; width:360px; max-width:100%; height:350px; align-self:center; margin:auto 0 5px; background-image:linear-gradient(90deg,#09150d,transparent 19%),url("brand-art.jpg"); background-repeat:no-repeat; background-position:center,-760px -480px; background-size:100% 100%,1382px 922px; filter:drop-shadow(0 23px 21px #0009); }
.visual-bottom { display:flex; align-items:center; gap:13px; color:#98ae9e; font-size:.65rem; font-weight:750; letter-spacing:.13em; padding:25px 40px 32px; white-space:nowrap; }
.visual-bottom span:last-child { margin-left:auto; }
.visual-line { width:20px; height:2px; background:var(--lime); flex:none; }
.admin-wrap { width:min(1320px,calc(100% - 56px)); margin:44px auto 80px; }
.admin-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:25px; }
.admin-heading .micro-label { margin-bottom:10px; }
.admin-heading h1 { font-size:clamp(2rem,3vw,3.5rem); margin:0; }
.admin-heading p { color:var(--sub); margin:8px 0 0; font-size:.91rem; }
.admin-card { background:var(--surface); border:1px solid var(--line); border-radius:17px; padding:24px; box-shadow:var(--shadow); }
.admin-card + .admin-card { margin-top:18px; }
.admin-card h2 { font-weight:800; font-size:1.2rem; letter-spacing:-.025em; margin:0 0 17px; }
.admin-card p.muted { color:var(--sub); font-size:.85rem; line-height:1.6; }
.stat-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; margin-bottom:18px; }
.stat-card { border:1px solid var(--line); background:var(--surface); border-radius:15px; padding:18px 21px; }
.stat-card .stat-number { display:block; font-weight:850; font-size:2rem; line-height:1.1; }
.stat-card .stat-label { font-size:.73rem; text-transform:uppercase; letter-spacing:.12em; color:var(--sub); font-weight:750; }
.toolbar { display:flex; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:18px; }
.toolbar .expo-input { max-width:380px; margin-right:auto; }
.action-btn { min-height:43px; border-radius:9px; padding:10px 17px; background:var(--lime); border:1px solid var(--lime); color:#05210e; text-decoration:none; font-weight:800; font-size:.8rem; cursor:pointer; white-space:nowrap; }
.action-btn:hover { background:#51f6a0; color:#05210e; }
.action-btn.secondary { background:transparent; border-color:var(--line); color:var(--text); }
.action-btn.secondary:hover { border-color:var(--lime-deep); }
.admin-table-wrap { overflow-x:auto; }
.admin-table { border-collapse:collapse; min-width:870px; width:100%; font-size:.77rem; }
.admin-table th { text-align:left; color:var(--sub); text-transform:uppercase; font-size:.64rem; letter-spacing:.1em; font-weight:850; padding:13px 12px; border-bottom:1px solid var(--line); white-space:nowrap; }
.admin-table td { padding:16px 12px; border-bottom:1px solid var(--line); vertical-align:top; line-height:1.5; }
.admin-table tr:last-child td { border:0; }
.admin-table .name-cell { font-weight:800; }
.admin-table a { color:var(--lime-deep); }
.admin-table .response-cell { max-width:260px; min-width:175px; }
.admin-table details { color:var(--sub); }
.admin-table details summary { cursor:pointer; color:var(--lime-deep); }
.admin-table details div { white-space:pre-wrap; max-height:220px; overflow:auto; padding:7px 0; overflow-wrap:anywhere; }
.status-pill { display:inline-block; border-radius:100px; padding:3px 8px; font-size:.68rem; font-weight:800; background:#98a5a427; color:var(--sub); margin-bottom:3px; }
.status-pill.accepted { background:#17c97624; color:var(--lime-deep); }
.status-pill.failed { background:#fa595529; color:#ee6464; }
.status-help { display:block; color:var(--sub); font-size:.69rem; margin-top:4px; max-width:180px; overflow-wrap:anywhere; }
.paging { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:18px; color:var(--sub); font-size:.79rem; }
.paging a { color:var(--lime-deep); font-weight:750; }
.auth-card { width:min(440px,100%); margin:55px auto 10px; }
.form-stack { display:grid; gap:15px; }
.settings-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.setting-wide { grid-column:1/-1; }
.settings-grid .field-hint { margin-top:5px; }
.settings-intro { margin-bottom:20px; }
.test-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.test-grid form { display:flex; align-items:end; gap:10px; flex-wrap:wrap; }
.test-grid .test-input { flex:1 1 160px; }
.test-grid label { display:block; }
@media (max-width:1180px) { .expo-shell { grid-template-columns:minmax(0,1fr) minmax(340px,.7fr); } .form-panel { grid-column:1; grid-row:1; } .referral-panel { grid-column:1; grid-row:2; min-height:310px; } .referral-panel h2 { max-width:620px; } .visual-panel { grid-column:2; grid-row:1 / 3; } .services-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .visual-copy { margin-left:26px; margin-right:20px; } .visual-top { margin-left:26px; margin-right:26px; } .visual-bottom { padding-left:26px; padding-right:26px; } .truck-art { transform:scale(.86); transform-origin:center bottom; margin-bottom:-35px; } }
@media (max-width:900px) { .site-header-inner { width:calc(100% - 30px); min-height:88px; padding:8px 0; flex-wrap:wrap; } .header-actions { flex-wrap:wrap; justify-content:flex-end; } .brand-link,.brand-art { width:195px; height:74px; } .brand-art { background-size:352px 235px; background-position:-82px -26px; } .expo-wrap,.admin-wrap { width:calc(100% - 24px); margin-top:12px; } .expo-shell { display:flex; flex-direction:column; } .form-panel { padding:28px 23px 32px; } .referral-panel { min-height:360px; padding:38px 28px; } .referral-panel h2 { max-width:560px; font-size:2.75rem; } .visual-panel { min-height:300px; } .visual-copy { margin:24px 25px 0; } .visual-copy p { font-size:2.8rem; } .visual-top { margin-top:23px; } .truck-art { position:absolute; width:325px; height:275px; bottom:0; right:-25px; background-position:center,-600px -385px; background-size:100% 100%,1100px 733px; transform:none; margin:0; opacity:.74; } .visual-bottom { position:relative; z-index:2; margin-top:auto; padding:18px 25px; } .visual-copy { z-index:2; } .site-footer { width:calc(100% - 36px); } .header-actions { gap:7px; } .header-link,.mode-toggle { padding:8px 10px; min-height:37px; font-size:.7rem; } .mode-label { display:none; } }
@media (max-width:520px) { .brand-link,.brand-art { width:150px; height:62px; } .brand-art { background-size:285px 190px; background-position:-67px -20px; } .site-header-inner { min-height:72px; } .header-link.header-pill { padding:8px 9px; } .header-link.header-pill span { display:none; } .site-footer { align-items:flex-start; flex-direction:column; } .form-fields.row,.referral-form-grid { grid-template-columns:1fr; } .form-fields.row > div:last-child { grid-column:auto; } .services-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .service-card { min-height:53px; font-size:.74rem; } .intro { font-size:.9rem; } .referral-panel h2 { font-size:2.25rem; } .referral-modal-head { padding:22px 18px 0; } .referral-modal-head h2 { font-size:1.75rem; } .referral-modal-intro { margin-left:18px; margin-right:18px; } .referral-modal > .notice { margin-left:18px; margin-right:18px; } .referral-modal form { padding:0 18px 22px; } .visual-panel { min-height:290px; } .visual-copy p { font-size:2.5rem; } .admin-wrap { width:calc(100% - 24px); } .admin-heading { display:block; } .admin-heading > a { display:inline-flex; margin-top:15px; } .stat-grid { grid-template-columns:repeat(3,1fr); gap:7px; } .stat-card { padding:13px 9px; } .stat-card .stat-number { font-size:1.5rem; } .stat-card .stat-label { font-size:.55rem; } .settings-grid,.test-grid { grid-template-columns:1fr; } .setting-wide { grid-column:auto; } .toolbar .expo-input { max-width:none; flex:1 1 100%; } .admin-card { padding:17px; } }
