:root { --ink:#1b211d; --muted:#737a72; --paper:#f4f6f1; --panel:#fff; --line:#dfe5dc; --accent:#e2a93b; --accent-dark:#b67517; --green:#426d55; }
* { box-sizing:border-box; }
html { background:var(--paper); }
body { margin:0; background:var(--paper); color:var(--ink); font-family:Arial,Helvetica,sans-serif; }
button,input,select { font:inherit; } button { cursor:pointer; } button:disabled { cursor:not-allowed; opacity:.65; }
.site-shell { max-width:1440px; margin:0 auto; padding:48px clamp(18px,4vw,60px) 28px; }
.hero { max-width:760px; padding:18px 0 42px; }.eyebrow { color:var(--green); font-size:11px; letter-spacing:.18em; font-weight:700; display:flex; gap:9px; align-items:center; }.sun-dot { width:9px; height:9px; border-radius:100%; background:var(--accent); box-shadow:0 0 0 5px #f6e7c8; }
h1 { font-size:clamp(42px,7vw,86px); line-height:.94; letter-spacing:-.06em; font-weight:700; margin:18px 0; max-width:700px; }.hero-copy { color:var(--muted); font-size:clamp(17px,2vw,21px); line-height:1.5; max-width:620px; margin:0; }
.workspace { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(320px,.7fr); gap:18px; align-items:stretch; }.map-panel,.calculator-panel,.result-section { background:var(--panel); border:1px solid var(--line); border-radius:22px; }.map-panel { padding:20px; }.calculator-panel { padding:24px; }
.panel-heading,.result-heading { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-bottom:16px; }.panel-heading>div,.result-heading>div { display:flex; align-items:center; gap:12px; }.panel-heading h2,.result-heading h2 { font-size:19px; margin:0; letter-spacing:-.02em; }.compact { margin-bottom:28px; }.step { color:var(--accent-dark); font-size:11px; font-weight:800; letter-spacing:.08em; }.map-hint,.result-tag { color:var(--muted); font-size:11px; letter-spacing:.1em; text-transform:uppercase; }
.map-wrap { position:relative; height:clamp(360px,50vw,600px); border-radius:15px; overflow:hidden; background:#dfe7dc; }.solar-map { height:100%; width:100%; z-index:1; }.map-overlay { position:absolute; z-index:500; left:50%; transform:translateX(-50%); bottom:16px; background:rgba(255,255,255,.94); border:1px solid rgba(27,33,29,.12); border-radius:999px; padding:10px 14px; font-size:12px; white-space:nowrap; box-shadow:0 8px 20px rgba(0,0,0,.12); }
.compass-control { position:absolute; z-index:600; top:12px; right:12px; display:flex; align-items:center; gap:8px; padding:8px; border:1px solid rgba(27,33,29,.12); border-radius:12px; background:rgba(255,255,255,.94); box-shadow:0 8px 20px rgba(0,0,0,.12); }.compass-dial { position:relative; flex:0 0 38px; width:38px; height:38px; border:2px solid var(--green); border-radius:50%; background:#fff; }.compass-needle { position:absolute; z-index:1; left:50%; top:2px; width:10px; height:34px; display:block; margin-left:-5px; object-fit:contain; transform-origin:50% 100%; transition:transform .15s linear; }.compass-control small { display:block; color:var(--muted); font-size:10px; white-space:nowrap; }
.location-number-marker { background:transparent; border:0; }.location-number-marker span { display:flex; align-items:center; justify-content:center; width:32px; height:32px; border:3px solid #fff; border-radius:50%; color:#fff; font-size:14px; font-weight:800; box-shadow:0 2px 8px rgba(0,0,0,.35); }.location-marker-green span { background:#297a57; }.location-marker-blue span { background:#2f68a3; }.location-marker-red span { background:#b74d4d; }.location-marker-purple span { background:#7656a6; }.location-marker-orange span { background:#c77b2e; }.location-marker-teal span { background:#218b8b; }.location-marker-pink span { background:#b84e86; }.location-marker-brown span { background:#795548; }
.map-actions { display:flex; gap:10px; align-items:end; flex-wrap:wrap; padding-top:14px; }.coordinate-form { display:flex; flex:1 1 360px; gap:8px; align-items:end; }.coordinate-form label { display:block; position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); } input,select { border:1px solid var(--line); border-radius:10px; background:#fbfcfa; color:var(--ink); padding:11px 12px; outline:none; } input:focus,select:focus { border-color:var(--accent-dark); box-shadow:0 0 0 3px #f6e7c8; }.coordinate-form input { min-width:0; flex:1; }
.address-form { display:flex; gap:8px; align-items:center; margin-top:10px; }.address-form label { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }.address-form input { min-width:0; flex:1; }.address-results { display:grid; gap:6px; margin-top:8px; }.address-result { display:block; width:100%; padding:10px 12px; border:1px solid var(--line); border-radius:9px; background:#fbfcfa; color:var(--ink); text-align:left; font-size:12px; line-height:1.35; cursor:pointer; }.address-result:hover,.address-result:focus { border-color:var(--accent-dark); background:#fff8ea; outline:none; }.map-attribution { margin:7px 0 0; color:var(--muted); font-size:10px; }
.button { border:0; border-radius:10px; padding:11px 14px; font-weight:700; white-space:nowrap; transition:transform .15s,box-shadow .15s; }.button:hover { transform:translateY(-1px); box-shadow:0 5px 12px rgba(27,33,29,.1); }.button-dark { background:var(--ink); color:#fff; }.button-secondary { background:#eef2eb; color:var(--green); }.button-accent { background:var(--accent); color:#281d0c; }.status-line { color:var(--muted); font-size:13px; line-height:1.4; margin:13px 0 0; min-height:18px; }
.point-edit-controls { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:12px; padding:10px 12px; border:1px solid var(--line); border-radius:10px; background:#fbfcfa; color:var(--muted); font-size:12px; line-height:1.35; }.point-edit-actions { display:flex; flex-wrap:wrap; gap:7px; }.point-edit-actions .button { padding:8px 11px; font-size:12px; }
.field-grid { display:grid; gap:22px; }.field { display:grid; gap:9px; color:var(--muted); font-size:12px; font-weight:700; }.field strong { float:right; color:var(--ink); font-size:13px; }.field select { width:100%; } input[type=range] { appearance:none; height:5px; padding:0; border:0; border-radius:99px; background:#dfe5dc; } input[type=range]::-webkit-slider-thumb { appearance:none; width:20px; height:20px; border:3px solid #fff; border-radius:50%; background:var(--accent-dark); box-shadow:0 1px 5px rgba(0,0,0,.22); }.analyze-button { width:100%; margin-top:28px; padding:14px; }.notice { margin-top:14px; padding:12px; border-radius:10px; background:#fff4df; color:#76500f; font-size:12px; line-height:1.4; }.notice.neutral { background:#f0f4ee; color:var(--muted); }
.result-section { margin-top:18px; padding:25px; }.result-heading { margin-bottom:22px; }.result-grid { display:grid; grid-template-columns:1.4fr repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:14px; overflow:hidden; }.primary-result,.metric { background:#fff; padding:20px; min-height:145px; display:flex; flex-direction:column; justify-content:center; }.result-label,.metric > span { color:var(--muted); font-size:12px; font-weight:700; }.primary-result strong { font-size:clamp(35px,5vw,55px); letter-spacing:-.06em; line-height:1; margin:10px 0 7px; }.primary-result small { font-size:18px; letter-spacing:-.02em; }.result-sub,.metric > small { color:var(--muted); font-size:12px; }.metric strong { font-size:25px; margin:10px 0 5px; }.metric strong > span { font-size:inherit; color:inherit; font-weight:inherit; }.metric strong > small { color:var(--muted); font-size:13px; font-weight:600; }.result-footnote { color:var(--muted); font-size:12px; line-height:1.5; margin-top:16px; } footer { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:12px; padding:24px 2px 0; color:var(--muted); font-size:11px; letter-spacing:.04em; } footer span:first-child { justify-self:start; } footer span:nth-child(2) { justify-self:center; text-align:center; } footer span:last-child { justify-self:end; text-align:right; }
.storage-copy { color:var(--muted); font-size:13px; line-height:1.5; max-width:720px; margin:10px 0 22px; }.storage-inputs { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-bottom:18px; }.storage-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:14px; overflow:hidden; }
.location-manager { margin-top:14px; }.location-toolbar { display:flex; flex-wrap:wrap; gap:8px; }.location-toolbar .button { font-size:12px; }.location-help { color:var(--muted); font-size:11px; line-height:1.4; margin:9px 0 0; }.location-list { display:grid; gap:6px; margin-top:10px; }.location-item { display:grid; gap:8px; padding:9px 10px; border:1px solid var(--line); border-radius:9px; color:var(--muted); font-size:12px; }.location-item-header { display:flex; align-items:center; justify-content:space-between; gap:10px; }.location-label-wrap { display:flex; align-items:center; gap:8px; min-width:0; }.location-item strong { color:var(--ink); font-size:12px; }.location-list-number { display:inline-flex; align-items:center; justify-content:center; flex:0 0 24px; width:24px; height:24px; border:2px solid #fff; border-radius:50%; color:#fff; font-size:11px; font-weight:800; box-shadow:0 1px 4px rgba(0,0,0,.22); }.location-list-number.location-marker-green { background:#297a57; }.location-list-number.location-marker-blue { background:#2f68a3; }.location-list-number.location-marker-red { background:#b74d4d; }.location-list-number.location-marker-purple { background:#7656a6; }.location-list-number.location-marker-orange { background:#c77b2e; }.location-list-number.location-marker-teal { background:#218b8b; }.location-list-number.location-marker-pink { background:#b84e86; }.location-list-number.location-marker-brown { background:#795548; }.location-item button { border:0; background:transparent; color:var(--accent-dark); font-size:12px; font-weight:700; cursor:pointer; padding:3px 0; }.location-item details { border-top:1px solid var(--line); padding-top:7px; }.location-item summary { cursor:pointer; color:var(--green); font-size:11px; font-weight:700; }.location-parameter-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:12px; padding-top:12px; }.location-field { font-size:11px; }.summary-grid { display:grid; grid-template-columns:1.5fr repeat(2,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:14px; overflow:hidden; }.location-results-list { display:grid; gap:7px; margin-top:16px; }.location-result-row { display:grid; grid-template-columns:minmax(180px,1.5fr) minmax(110px,.7fr) minmax(140px,1fr); align-items:center; gap:12px; padding:12px 14px; border:1px solid var(--line); border-radius:10px; font-size:12px; }.location-result-name { display:flex; align-items:center; gap:8px; min-width:0; }.location-result-row strong { color:var(--ink); font-size:18px; }.location-result-row small { color:var(--muted); }.location-result-row.failed { background:#fff4df; color:#76500f; }
.location-parameter-panel { margin-top:18px; padding-top:16px; border-top:1px solid var(--line); }.location-parameter-heading { display:flex; justify-content:space-between; align-items:baseline; gap:10px; color:var(--ink); font-size:13px; }.location-parameter-heading span { color:var(--muted); font-size:10px; text-transform:uppercase; letter-spacing:.08em; }
@media (max-width:850px) { .site-shell { padding-top:26px; }.workspace { grid-template-columns:1fr; }.calculator-panel { padding:20px; }.result-grid { grid-template-columns:1fr 1fr; }.primary-result { grid-column:1/-1; } }
@media (max-width:850px) { .storage-grid { grid-template-columns:repeat(2,1fr); }.storage-inputs { grid-template-columns:1fr; gap:18px; }.summary-grid { grid-template-columns:1fr 1fr; }.summary-grid .primary-result { grid-column:1/-1; }.location-parameter-grid { grid-template-columns:1fr; }.location-result-row { grid-template-columns:1fr 1fr; }.location-result-row small { grid-column:1/-1; } }
@media (max-width:520px) { .map-panel { padding:12px; border-radius:17px; }.calculator-panel,.result-section { padding:18px; border-radius:17px; }.panel-heading { align-items:flex-start; flex-direction:column; }.map-hint { margin-left:23px; }.map-wrap { height:430px; }.map-overlay { width:calc(100% - 24px); text-align:center; white-space:normal; }.compass-control { top:8px; right:8px; padding:6px; }.compass-control small { display:none; }.compass-button { font-size:10px; }.coordinate-form { flex-basis:100%; }.coordinate-form .button { padding-left:12px; padding-right:12px; }.address-form { flex-wrap:wrap; }.address-form input { flex-basis:100%; }.address-form .button { flex:1; }.result-grid,.storage-grid { grid-template-columns:1fr; }.primary-result { grid-column:auto; } footer { grid-template-columns:1fr; justify-items:center; text-align:center; } footer span:first-child,footer span:nth-child(2),footer span:last-child { justify-self:center; text-align:center; } }
