:root{font-family:Arial,sans-serif;color:#203a31;background:#f7f6ef;font-synthesis:none;--green:#193e33;--line:#d9ded0}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}a{color:inherit}button,.button{cursor:pointer;border:1px solid #bbc7b6;border-radius:8px;background:#fffefa;color:var(--green);padding:11px 14px;font-weight:600;text-decoration:none;min-height:44px}button:hover,.button:hover{background:#eaf0df}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,svg:focus-visible{outline:3px solid #c59444;outline-offset:3px}button:disabled{opacity:.45;cursor:not-allowed}.primary{background:var(--green);color:white;border-color:var(--green)}.primary:hover{background:#2e5947}header{padding:20px 4vw;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);font-size:13px;gap:20px}header span{font-weight:700;letter-spacing:.12em}header b{font-weight:400;color:#73816f}main{max-width:1550px;margin:auto;padding:32px 30px}.intro{display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:28px}.eyebrow{font-size:11px;letter-spacing:.18em;font-weight:700;margin:0 0 12px}h1{font:clamp(30px,4vw,48px)/1.05 Georgia,serif;margin:0 0 12px}.intro p:last-child{margin:0;color:#627161}.planner{display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:25px;align-items:start}.visual{position:sticky;top:14px;min-width:0;border:1px solid var(--line);background:#fffefa;border-radius:16px;overflow:hidden}.toolbar{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:14px;border-bottom:1px solid var(--line)}.view-tabs,.view-actions{display:flex;gap:6px}.view-tabs [aria-pressed=true]{background:var(--green);color:white}.view-actions button{padding-inline:13px}.canvas-wrap{height:clamp(420px,57vh,720px);position:relative;background:#e9eee0;overflow:hidden}#map,#plan{position:absolute;inset:0;width:100%;height:100%}#plan{touch-action:none;user-select:none}.map-overlay{position:absolute;left:0;top:0;width:1px;height:1px;overflow:visible;pointer-events:none}.map-svg{position:absolute;width:1px;height:1px;overflow:visible;pointer-events:none;touch-action:none;user-select:none}.footprint{cursor:grab;pointer-events:all;stroke-width:1.5;stroke:#fffaf0}.footprint:active{cursor:grabbing}.unit-label{pointer-events:none;fill:white;font-weight:700;font-size:12px;paint-order:stroke;stroke:#17352acc;stroke-width:3px;stroke-linejoin:round}.unit-label tspan{font-size:10px;font-weight:400}.roof-piece{pointer-events:none;fill:#ffefb3aa;stroke:#b58333;stroke-width:1;stroke-dasharray:4 3}.access-piece{fill:#e6bb6140;stroke:#b58129;stroke-dasharray:7 5;pointer-events:none}.rotation-handle{pointer-events:all;cursor:grab;fill:#fffefa;stroke:#224c3a;stroke-width:3}.rotation-line{stroke:#31543f;stroke-width:2;pointer-events:none}.rotate-icon{pointer-events:none;font-size:18px;fill:#193e33}.anchor-point{pointer-events:none;fill:white;stroke:#193e33;stroke-width:2}.grid-line{stroke:#cdd8c3;stroke-width:1}.grid-major{stroke:#b4c3a9}.grid-label{fill:#58714f;font-size:11px}.north{position:absolute;right:17px;top:18px;display:flex;flex-direction:column;align-items:center;background:#fffff3e6;border:1px solid #c7d1bd;border-radius:22px;padding:6px 13px;pointer-events:none;font-size:24px;line-height:1}.north span{font-size:10px;font-weight:bold;margin-top:5px}.map-help{position:absolute;bottom:33px;left:14px;border-radius:20px;padding:8px 12px;background:#fffff2ed;font-size:11px;pointer-events:none}.map-notice{padding:12px 18px;background:#eef2e6;font-size:12px;line-height:1.5}.map-notice.error{background:#fff0da;color:#715023}.legend{display:flex;flex-wrap:wrap;gap:12px;padding:15px 18px;font-size:11px}.legend span:before{content:'';display:inline-block;width:10px;height:10px;margin-right:5px;background:#315b46;border-radius:2px}.legend .room-dot:before{background:#5f7682}.legend .bridge-dot:before{background:#b08841}.legend .access-dot:before{background:#efd394;border:1px dashed #b58129}.dimensions{display:grid;grid-template-columns:1fr 1fr 1fr;border-top:1px solid var(--line);padding:16px 18px;gap:16px}.dimensions small{display:block;font-size:11px;color:#6a7868;margin-bottom:6px}.dimensions strong{font-size:15px;line-height:1.5}.measurement-note{font-size:11px;line-height:1.55;color:#6b7767;margin:0;padding:0 18px 18px}aside{display:grid;gap:15px}.panel{background:#fffefa;border:1px solid var(--line);padding:21px;border-radius:13px}h2{font:22px Georgia,serif;margin:0 0 18px}h2>span{display:inline-flex;width:25px;height:25px;background:#e8eedc;border-radius:50%;align-items:center;justify-content:center;font:12px Arial,sans-serif;margin-right:8px}label{display:block;font-size:12px;font-weight:600;line-height:1.5;margin-bottom:12px}input[type=text],input[type=number],select{display:block;border:1px solid #c9d2c0;border-radius:6px;background:white;min-height:44px;width:100%;padding:10px;margin-top:5px;color:#1c3c2e}input[type=range]{width:100%;accent-color:var(--green);margin:8px 0 14px;min-height:30px}input[type=checkbox]{accent-color:var(--green);width:18px;height:18px}.input-row{display:flex;gap:9px;align-items:center}.input-row>label{flex:1;min-width:0}.input-row input[type=text]{margin:0;min-width:0}.button-row{display:flex;gap:7px;margin:10px 0 17px}.button-row>button{flex:1;font-size:12px;padding:10px 8px}.wide{width:100%;margin:6px 0}.muted,.privacy{font-size:12px;line-height:1.6;color:#6e7c6b}.privacy{font-size:10px}.check{display:flex;gap:10px;align-items:center}.nudge{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:16px}.nudge small{grid-column:1/-1;font-size:11px}.save-panel{background:#eef2e6}#status{font-size:12px;line-height:1.5}#search-results button{display:block;width:100%;font-size:12px;text-align:left;margin:7px 0}footer{text-align:center;font-size:12px;padding:25px;color:#687963}[hidden]{display:none!important}@media(max-width:1000px){.planner{grid-template-columns:minmax(0,1fr) 310px}.toolbar button{font-size:12px}.dimensions{grid-template-columns:1fr 1fr}.dimensions>div:last-child{grid-column:1/-1}}@media(max-width:760px){header{padding:15px 20px}header b,.workspace-link{display:none}main{padding:24px 14px}.intro{display:block}.intro .button{display:inline-block;margin-top:20px}.planner{display:flex;flex-direction:column;gap:18px}.visual{position:relative;top:auto;width:100%}.canvas-wrap{height:390px}.toolbar{padding:10px}.view-actions button{padding:8px 11px}.view-tabs button{padding:10px}aside{width:100%;grid-template-columns:1fr}.panel{padding:20px}.dimensions{padding:14px}.legend{gap:8px;font-size:10px}.map-help{font-size:10px;left:8px}.unit-label{font-size:10px}.measurement-note{font-size:10px}}
/* Solar guide: local sun geometry and optional regional PVGIS optimisation. */
.solar-panel{background:#fffcf2}.solar-panel fieldset{border:0;margin:0;padding:0;min-width:0}.solar-panel fieldset:disabled{display:none}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}input[type=date]{font:inherit;display:block;max-width:100%;width:100%;min-height:44px;border:1px solid #c9d2c0;border-radius:6px;padding:9px;margin-top:5px;background:white;color:#203a31}.solar-panel h3{font:18px Georgia,serif;margin:21px 0 10px}.solar-panel output{display:block;font-weight:400;margin-top:4px}#sun-path,#panel-profile{display:block;width:100%;height:auto;margin:6px 0}.sun-ring{fill:none;stroke:#d2d9c9;stroke-width:1}.sun-axis{stroke:#a0ad99;stroke-width:1;fill:none}.sun-cardinal{text-anchor:middle;fill:#3c5143;font-size:12px;font-weight:bold}.sun-ring-label{fill:#728167;font-size:9px}.sun-june,.sun-december,.sun-selected{fill:none;stroke-width:2}.sun-june{stroke:#799b53;stroke-dasharray:5 3}.sun-december{stroke:#9385b4;stroke-dasharray:3 4}.sun-selected{stroke:#d08a12;stroke-width:3}.sun-dot{fill:#ffc64c;stroke:#895709;stroke-width:2}.panel-ray{fill:none;stroke:#287caf;stroke-width:2;stroke-dasharray:6 4}.panel-tip,.panel-head{fill:#287caf}.sun-ray{fill:none;stroke:#e2a32a;stroke-width:3}.sun-head{fill:#e2a32a}.sun-legend{display:flex;flex-wrap:wrap;gap:7px 11px;font-size:10px}.sun-legend span:before{content:'';display:inline-block;width:13px;height:3px;margin:0 5px 3px 0;background:#d08a12}.sun-legend .june:before{background:#799b53}.sun-legend .december:before{background:#9385b4}.sun-legend .panel-direction:before{background:#287caf}.solar-readout{font-size:13px;font-weight:bold;line-height:1.6}.panel-mount{fill:#e4edf0;stroke:#789498;stroke-width:1}.panel-surface{stroke:#287caf;stroke-width:7;fill:none}.profile-angle{font:bold 26px Arial,sans-serif;fill:#225870}.profile-caption{font:12px Arial,sans-serif;fill:#627569}.solar-optimum-box{border:1px solid #e4d4ab;background:#fbf5e4;border-radius:9px;padding:13px;margin-top:16px}.solar-optimum-box h3{margin:0}#solar-optimum{font-size:20px;line-height:1.5}#solar-message{font-size:12px;line-height:1.55}.solar-map-guide{pointer-events:none}.solar-map-label{font-size:11px;font-weight:bold;fill:#193e33;paint-order:stroke;stroke:#fffefa;stroke-width:4;stroke-linejoin:round}.solar-sources{margin-bottom:0}

.example-location{position:absolute;top:14px;left:14px;max-width:calc(100% - 85px);padding:9px 12px;background:#fff9e8;border:1px solid #bd985b;border-radius:8px;font-size:12px;pointer-events:none}.visual>#sign-in{display:block;margin:12px 18px}.map-svg .footprint{fill-opacity:.9}.map-svg .unit-label{font-size:12px}

/* Numbered key, directional controls and customer sharing. */
.unit-key-panel{padding:4px 18px 18px}.unit-key-panel h2{font:700 16px Arial,sans-serif;margin:0 0 5px}.unit-key-panel>p{font-size:12px;color:#61705e;margin:0 0 13px}.unit-key{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;list-style:none;padding:0;margin:0}.unit-key li{display:flex;align-items:center;gap:10px;min-width:0}.unit-badge{display:inline-flex;flex:none;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 5px;border-radius:7px;background:#315b46;color:white;font-size:13px;font-weight:700}.unit-bottling{background:#447457}.unit-molasses{background:#667445}.unit-shop{background:#56776b}.unit-creamery{background:#5f7682}.unit-shopStandalone{background:#677f8b}.unit-extension{background:#856324}.unit-key strong{display:block;font-size:12px;line-height:1.4}.unit-key small{display:block;font-size:10px;color:#687761;margin-top:3px;line-height:1.4}
.rotate-controls button{background:#315970;border-color:#315970;color:#fff}.rotate-controls button:hover{background:#244459}.rotate-controls span{display:block;font-size:25px;line-height:1.1}.rotate-controls #north{background:#e5ebdf;color:#244536;border-color:#bccab4}.nudge{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto repeat(3,64px);gap:7px;max-width:280px;margin:8px auto 20px}.nudge small{font-size:11px;text-align:center;color:#52634b;line-height:1.5}.nudge button{padding:5px;background:#245a42;color:white;border:1px solid #245a42;box-shadow:0 2px 0 #143c2b;display:flex;flex-direction:column;align-items:center;justify-content:center}.nudge button:hover{background:#174a33}.nudge button:active{box-shadow:none;transform:translateY(1px)}.nudge button span{font-size:29px;line-height:1}.nudge button b{font-size:10px;margin-top:4px}.move-north{grid-area:2/2}.move-west{grid-area:3/1}.move-east{grid-area:3/3}.move-south{grid-area:4/2}.nudge-centre{grid-area:3/2;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:bold;letter-spacing:.08em;color:#486244}
.share-shortcut{font-size:12px;background:#e6eddc}.share-panel{background:#eef3e8;scroll-margin-top:20px}.share-panel>p{font-size:12px;line-height:1.6}.share-panel .optional{font-weight:400}.share-panel .button{display:block;text-align:center}.share-panel .primary{background:#193e33;color:white}.share-panel input[type=email],.share-panel textarea{display:block;width:100%;min-width:0;border:1px solid #bccab4;border-radius:6px;padding:10px;margin-top:6px;background:#fffefa;color:#203a31;font:13px/1.5 Arial,sans-serif}.share-panel input{min-height:44px}.share-panel textarea{resize:vertical}.share-panel label{margin-top:16px}.share-panel details{font-size:12px;margin-top:15px}.share-panel summary{cursor:pointer;padding:6px 0}.share-panel [aria-disabled=true]{opacity:.5;cursor:not-allowed}#screenshot-preview{display:block;width:100%;height:auto;max-height:260px;object-fit:contain;background:white;border:1px solid #c7d2bd;margin-top:12px}#screenshot-filename{overflow-wrap:anywhere}#share-status{font-size:12px;line-height:1.6;color:#36553f}.capture-heading{padding:24px 20px;background:#193e33;color:white}.capture-heading>strong{font:700 11px Arial,sans-serif;letter-spacing:.1em}.capture-heading>h2{font:26px Georgia,serif;margin:10px 0}.capture-heading>p{font:12px/1.5 Arial,sans-serif;margin:0}
@media(max-width:760px){.unit-key{grid-template-columns:1fr 1fr;gap:12px 8px}.unit-key li{gap:7px;align-items:flex-start}.unit-key strong{font-size:11px}.unit-key small{font-size:9px}.unit-badge{min-width:27px;height:27px;font-size:11px}.share-shortcut{font-size:11px}.toolbar .view-actions{flex-wrap:wrap}.rotate-controls button{min-height:63px}}

/* Quick edits stay beside the live map and preserve the current farm placement. */
.edit-panel{background:#f0f4e9;scroll-margin-top:20px}.edit-units{list-style:none;margin:0 0 18px;padding:0;display:grid;gap:12px}.edit-units>li{padding:12px;border:1px solid #cbd7c2;border-radius:9px;background:#fffefa;min-width:0}.edit-unit-title{display:flex;gap:9px;align-items:center}.edit-unit-title label{flex:1;min-width:0;margin:0}.edit-unit-title select{font-size:12px;padding:8px;max-width:100%}.edit-unit-actions{display:flex;gap:5px;margin-top:10px}.edit-unit-actions button{flex:1;padding:9px 5px;font-size:11px;min-height:44px;background:#315970;border-color:#315970;color:white}.edit-unit-actions .remove-unit{background:#f7e7df;color:#7a3828;border-color:#dec0b2}.edit-unit-actions button:hover{filter:brightness(.94)}.edit-units .check{margin:11px 0 0;font-size:11px}#undo-layout{border-color:#315970;color:#315970}#edit-status{margin-bottom:0}.toolbar .view-actions{flex-wrap:wrap}

.guest-share-box{background:#fffefa;border:1px solid #b8cbae;border-radius:9px;padding:15px;margin:15px 0}.guest-share-box h3{font:20px Georgia,serif;margin:0 0 10px}.guest-share-box>p{font-size:12px;line-height:1.5}.guest-share-box .privacy{font-size:10px}.guest-actions{display:flex;gap:7px;flex-wrap:wrap}.guest-actions>*{flex:1;font-size:11px;padding:10px 7px;min-width:70px}.guest-share-box input{font-size:11px}#guest-links{list-style:none;padding:0;display:grid;gap:16px}#guest-links li{border-top:1px solid #d2ddc9;padding-top:12px}#guest-links strong{display:block;font-size:12px;overflow-wrap:anywhere}#guest-links small{display:block;margin:5px 0 9px;color:#65775b;font-size:10px}#guest-links [data-revoke]{background:#f7e7df;color:#7a3828;border-color:#dec0b2}#guest-status{font-size:12px;line-height:1.6;overflow-wrap:anywhere}#guest-stale{background:#fff1d9;padding:10px;border-radius:7px}

/* Location feedback stays beside its control, including on narrow screens. */
.location-status{font-size:12px;line-height:1.6;margin:8px 0;color:#36553f}.location-status:empty{display:none}.location-status.error{background:#fff0da;color:#715023;padding:12px;border-radius:7px}.location-help{border:1px solid #dbc99f;border-radius:8px;padding:13px;background:#fffaf0;font-size:12px;line-height:1.55}.location-help p{margin:9px 0}.location-help button{font-size:12px}.location-help input{font-size:11px}#cancel-location{border-color:#315970;color:#315970}

.selected-piece{stroke:#ffd454!important;stroke-width:5!important;stroke-dasharray:6 3}.report-panel{background:#e8efdf;scroll-margin-top:20px}.report-panel p{font-size:13px;line-height:1.6}.report-panel input:not([type=checkbox]),.report-panel textarea{display:block;width:100%;padding:12px;border:1px solid #aebfa2;border-radius:6px;margin-top:7px;font:inherit;min-width:0}.report-panel .check{align-items:flex-start;line-height:1.5;font-size:12px}.report-thumbnails{display:grid;gap:12px}.report-thumbnails figure{margin:0}.report-thumbnails img{width:100%;display:block;border-radius:6px}.report-thumbnails figcaption{font-size:12px;margin-top:5px}.report-trap{position:absolute;left:-10000px}.report-capturing .map-help{display:none}.report-capturing .rotation-line,.report-capturing .rotation-handle,.report-capturing .rotate-icon{display:none}.report-capturing #farm-visual{pointer-events:none}#report-status{min-height:20px}#report-result .button{display:block;text-align:center}.report-panel [hidden]{display:none!important}
