@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root { --ink:#162124; --muted:#617071; --line:#dce4df; --paper:#f5f7f2; --white:#fff; --green:#166b52; --deep:#103e36; --mint:#e5f4ed; --orange:#b96632; --orange-bg:#fff1e7; }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
body { margin:0; color:var(--ink); background:var(--paper); font-family:'DM Sans',Arial,sans-serif; font-size:14px; }
button,input,select,textarea { font:inherit; }
button { cursor:pointer; }
.site-header { min-height:76px; padding:0 max(4.5vw,24px); display:flex; align-items:center; justify-content:space-between; background:#fff; border-bottom:1px solid var(--line); }
.brand { display:flex; gap:11px; align-items:center; font:800 16px 'Manrope',sans-serif; letter-spacing:.13em; color:var(--deep); }
.brand-mark { width:33px; height:33px; border-radius:9px; color:#fff; background:var(--deep); display:grid; place-items:center; font-size:20px; letter-spacing:0; }
nav { display:flex; gap:5px; align-items:center; }
nav button { border:0; border-radius:7px; background:transparent; color:var(--muted); padding:10px 17px; font-weight:700; }
nav button:hover,nav .nav-active { color:var(--deep); background:var(--mint); }
main { max-width:1300px; margin:0 auto; padding:0 32px 70px; }
.hero { padding:57px 0 37px; max-width:760px; }
.hero h1 { margin:8px 0 14px; font:800 clamp(32px,4vw,48px)/1.15 'Manrope',sans-serif; letter-spacing:-.045em; color:var(--deep); }
.hero p:last-child { font-size:16px; line-height:1.65; margin:0; color:var(--muted); max-width:665px; }
.eyebrow,.step { color:var(--green); font-size:11px; font-weight:800; letter-spacing:.16em; }
.eyebrow { margin:0; }
.survey-layout { display:grid; grid-template-columns:minmax(0,1fr) 284px; gap:26px; align-items:start; }
.survey-layout > div { min-width:0; }
.panel { background:var(--white); border:1px solid var(--line); border-radius:14px; box-shadow:0 6px 22px rgba(20,42,31,.025); margin-bottom:19px; padding:28px; }
h2 { margin:8px 0 9px; font:800 23px/1.25 'Manrope',sans-serif; letter-spacing:-.03em; color:var(--deep); }
h3 { margin:0 0 9px; font:800 14px 'Manrope',sans-serif; }
p { line-height:1.55; }
.panel p { color:var(--muted); margin:0; }
label { display:block; color:#354447; font-weight:700; font-size:12px; }
input:not([type=checkbox]),select,textarea { width:100%; border:1px solid #cedbd4; border-radius:8px; background:#fff; color:var(--ink); padding:11px 12px; margin-top:8px; outline:0; }
input:focus,select:focus,textarea:focus { border-color:var(--green); box-shadow:0 0 0 3px rgba(22,107,82,.12); }
textarea { resize:vertical; }
.identity-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:22px; }
.identity-grid label:last-child { grid-column:1 / -1; }
.hint { font-size:12px; margin-top:12px !important; }
.section-top { display:flex; align-items:start; justify-content:space-between; gap:20px; }
.section-top p { max-width:655px; }
.count { white-space:nowrap; padding:7px 10px; border-radius:20px; background:var(--mint); color:var(--green); font-weight:800; font-size:11px; }
.filters { display:flex; align-items:center; gap:20px; margin:23px 0 16px; }
.filters input[type=search] { max-width:390px; margin:0; }
.archive-toggle { white-space:nowrap; display:flex; align-items:center; gap:8px; color:var(--muted); font-weight:600; }
.archive-toggle input { accent-color:var(--green); }
.service-list { display:grid; grid-template-columns:1fr 1fr; gap:8px 14px; max-height:530px; overflow:auto; padding-right:5px; }
.category-title { grid-column:1 / -1; margin:19px 0 1px; padding-bottom:6px; border-bottom:1px solid var(--line); color:var(--deep); font-size:12px; }
.category-title:first-child { margin-top:0; }
.service-option { min-height:42px; padding:9px 12px; border:1px solid var(--line); border-radius:8px; display:flex; align-items:center; gap:10px; font-size:13px; font-weight:600; cursor:pointer; }
.service-option:hover { border-color:#93bba9; background:#f7fbf8; }
.service-option:has(input:checked) { background:#edf8f1; border-color:#91c8ad; }
.service-option input { accent-color:var(--green); margin:0; }
.service-name { flex:1; }
.old-tag { font-size:10px; color:var(--muted); font-weight:500; }
.usage-details { margin-top:21px; }
.usage-card { border:1px solid var(--line); background:#fcfdfb; border-radius:9px; padding:18px; margin:10px 0; }
.usage-card > strong { color:var(--deep); font-size:14px; }
.detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:15px 0; }
.detail-field { margin-top:3px; }
.other-label { margin-top:20px; }
.empty { color:#82908a !important; font-size:13px; font-style:italic; }
.submit-row { display:flex; align-items:center; justify-content:space-between; gap:25px; margin:25px 0; }
.submit-row p { max-width:530px; font-size:12px; color:var(--muted); }
.primary { background:var(--deep); color:#fff; border:1px solid var(--deep); border-radius:8px; padding:12px 18px; font-weight:800; white-space:nowrap; }
.primary:hover { background:#17604c; }
.primary span { padding-left:8px; }
.side-note { position:sticky; top:22px; background:#e8f0e9; border:1px solid #d1e1d6; border-radius:14px; padding:25px; color:var(--deep); }
.side-icon { font-size:35px; color:var(--green); }
.side-note h3 { margin-top:23px; }
.side-note p { font-size:13px; color:#4d665c; margin:0; line-height:1.65; }
.side-rule { margin:22px 0; border-top:1px solid #cadcd1; }
.message { padding:12px 16px; border-radius:8px; margin:15px 0; font-weight:700; }
.success { color:var(--green); background:var(--mint); }
.error { color:#a8462a; background:#fff0e9; }
.admin-hero { max-width:900px; }
.login-panel { max-width:520px; }
.inline-form { display:flex; gap:10px; align-items:end; margin-top:18px; }
.inline-form input { margin:0; }
.metrics { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-bottom:19px; }
.metric { min-height:137px; background:#fff; border:1px solid var(--line); border-radius:13px; padding:22px; display:flex; flex-direction:column; }
.metric span { color:var(--muted); font-size:10px; font-weight:800; letter-spacing:.13em; }
.metric strong { font:800 29px 'Manrope',sans-serif; color:var(--deep); margin:8px 0 1px; }
.metric small { color:var(--muted); font-size:11px; }
.metric.accent { background:var(--deep); border-color:var(--deep); }
.metric.accent span,.metric.accent small { color:#b5d6c7; }
.metric.accent strong { color:#fff; }
.admin-settings { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.admin-settings > div:first-child { max-width:630px; }
.admin-settings .inline-form { min-width:315px; margin:0; }
.admin-settings button,.table-panel button:not(.primary) { border:1px solid var(--line); background:#fff; border-radius:8px; padding:11px 14px; font-weight:700; white-space:nowrap; }
.admin-settings button:hover,.table-panel button:hover { background:var(--mint); }
.table-scroll { overflow:auto; margin-top:22px; }
table { width:100%; border-collapse:collapse; min-width:800px; }
th { text-align:left; background:#f4f8f3; color:#64756c; font-size:10px; letter-spacing:.08em; text-transform:uppercase; }
th,td { border-bottom:1px solid var(--line); padding:13px 12px; vertical-align:top; }
td { font-size:13px; }
td strong { display:block; color:var(--ink); font-weight:800; }
td small { display:block; color:var(--muted); margin-top:3px; font-size:11px; line-height:1.35; }
.action { display:inline-block; background:#edf2ed; color:#51665d; border-radius:5px; padding:5px 7px; white-space:nowrap; font-size:11px; font-weight:800; }
.action.review { background:var(--orange-bg); color:var(--orange); }
.action.infra { background:#e7eef7; color:#365b82; }
.form-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:23px; align-items:end; }
.form-grid button { height:43px; }
.infra-panel .form-grid { grid-template-columns:repeat(3,1fr); }
.resource-list { margin-top:28px; }
.resource-group { border-top:1px solid var(--line); padding:17px 0 6px; }
.resource-heading { display:flex; align-items:baseline; justify-content:space-between; gap:20px; }
.resource-heading strong { color:var(--deep); }
.resource-heading span { color:var(--muted); font-size:11px; text-align:right; }
.resource-row { display:flex; justify-content:space-between; gap:18px; padding:11px 0 11px 15px; border-bottom:1px solid #edf1ed; }
.resource-row strong,.resource-row small { display:block; }
.resource-row small { color:var(--muted); font-size:11px; margin-top:3px; }
.resource-right { text-align:right; white-space:nowrap; }
.text-button { border:0; background:transparent; color:#a34b3d; padding:5px 0; font-size:11px; }
.compact { margin:9px 0 !important; }
footer { border-top:1px solid var(--line); padding:22px 32px; text-align:center; color:#8b9a91; font-size:11px; letter-spacing:.05em; }
footer span { padding:0 8px; }
@media(max-width:950px) { .survey-layout { grid-template-columns:1fr; } .side-note { position:static; } .form-grid,.infra-panel .form-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:650px) { .site-header { padding:14px 17px; flex-wrap:wrap; gap:13px; } nav { width:100%; } nav button { flex:1; } main { padding:0 16px 45px; } .hero { padding:40px 0 28px; } .panel { padding:20px; } .identity-grid,.service-list,.detail-grid,.form-grid,.infra-panel .form-grid,.metrics { grid-template-columns:1fr; } .identity-grid label:last-child { grid-column:auto; } .filters,.submit-row,.admin-settings,.resource-heading { align-items:stretch; flex-direction:column; } .filters input[type=search] { max-width:none; } .service-list { max-height:550px; } .submit-row .primary { width:100%; } .metrics { gap:10px; } .metric { min-height:112px; } .admin-settings .inline-form { min-width:0; } }
