.hc-start-hero {grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr);gap:clamp(24px,5vw,78px);}
.hc-start-hero h1 {max-width:12ch;margin:.28em 0;}
.hc-start-hero #start {scroll-margin-top:7rem;}
.hc-hero .hc-intro {max-width:40ch;margin:.5em 0 1.1em;}
.hc-start-form label,.hc-options label {display:block;font-weight:650;}
.hc-start-form label {font-size:.96rem;margin-bottom:6px;}
.hc-start-row,.hc-start-links,.hc-context,.hc-diagram-tools,.hc-legend,.hc-adjust {display:flex;align-items:center;gap:12px;}
.hc-start-row {max-width:39rem;gap:7px;}
.hc-start-row input,.hc-options select {font:inherit;color:#10294b;border:1px solid #9aacb8;border-radius:8px;background:#fff;}
.hc-start-row input {flex:1;min-width:0;padding:0 12px;height:48px;}
.hc-start-row input[aria-invalid="true"] {border-color:#a13540;}
.hc-start-row .btn {height:48px;white-space:nowrap;}
.hc-start-links {flex-wrap:wrap;gap:4px 23px;margin-top:8px;}
.hc-start-links a,.hc-resume,.hc-context a,.hc-map-page header a {display:inline-flex;align-items:center;min-height:44px;font-weight:650;text-underline-offset:.18em;}
.hc-resume {padding:8px 12px;border:1px solid #abc4b8;background:#f2f7f4;border-radius:8px;gap:8px;margin:0 0 14px;overflow-wrap:anywhere;}
.hc-start-hero .hc-error,.hc-pending:not(:empty) {display:block;font-size:.94rem;line-height:1.45;margin:8px 0 2px;}
.hc-pending {color:#38596a;}
.hc-error {color:#94283a;}
.hc-choices h2 {font-size:1.1rem;margin:1rem 0 .5rem;}
.hc-choices form {margin:0;}
.hc-choice {width:100%;display:flex;align-items:center;justify-content:space-between;gap:8px;background:white;border:0;border-bottom:1px solid #d0ded8;padding:10px 2px;color:#183d36;text-align:left;cursor:pointer;}
.hc-choice small {display:block;color:#526570;font-weight:450;}
.hc-context {justify-content:space-between;gap:15px;}
.hc-work-title {margin:0 0 clamp(14px,2vw,23px);}
.hc-work-title h1 {margin:.22em 0 .05em;}
.hc-work-title p {margin:0;color:#48616d;overflow-wrap:anywhere;}
.hc-board {display:grid;grid-template-columns:minmax(0,1fr) minmax(238px,29%);border:1px solid #c7d5cf;border-radius:15px;overflow:hidden;background:#fff;}
.hc-diagram {min-width:0;background:#f4f7f4;}
.hc-diagram-tools {justify-content:space-between;gap:8px;padding:8px clamp(12px,2vw,24px);}
.hc-legend {gap:6px;color:#355749;font-size:.87rem;white-space:nowrap;}
.hc-legend i {width:14px;height:10px;border:1.5px solid #6b8a78;background:#e3eee3;border-radius:2px;}
.hc-legend i:last-of-type {border:2px solid #173a53;background:white;margin-left:6px;}
.hc-zoom,.hc-adjust button {border:1px solid #c3d1cb;border-radius:7px;background:white;color:#173b39;font:inherit;font-size:.88rem;font-weight:600;min-height:44px;padding:6px 11px;cursor:pointer;}
.hc-zoom[aria-pressed="true"] {border-color:#376f51;}
.hc-canvas {display:block;width:100%;height:clamp(240px,46vh,485px);touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none;}
.hc-parcel {fill:#e5f0e6;stroke:#64836c;stroke-width:1.65;vector-effect:non-scaling-stroke;}
.hc-canvas .hc-house {fill:rgba(255,255,255,.66);stroke:#173a53;stroke-width:3;vector-effect:non-scaling-stroke;pointer-events:none;}
.hc-hit {stroke:transparent;stroke-width:12;fill:transparent;vector-effect:non-scaling-stroke;pointer-events:all;touch-action:none;cursor:grab;}
.hc-board[data-dragging] .hc-hit {cursor:grabbing;}
.hc-help {color:#41594c;font-size:.88rem;margin:0;padding:5px clamp(12px,2vw,24px) 15px;}
.hc-options {min-width:0;padding:clamp(14px,2vw,26px);border-left:1px solid #d3e0d8;}
.hc-options select {margin:6px 0 17px;padding:8px 12px;min-height:44px;width:100%;}
.hc-options .hc-rotate-label {display:flex;align-items:center;justify-content:space-between;}
.hc-rotate-label output {font-variant-numeric:tabular-nums;font-weight:550;color:#496176;}
.hc-options input[type="range"] {display:block;width:100%;height:43px;margin:0;accent-color:#176849;cursor:pointer;}
.hc-position {border-top:1px solid #d6e1db;border-bottom:1px solid #d6e1db;}
.hc-position summary {cursor:pointer;font-weight:600;min-height:45px;padding:10px 0;}
.hc-position label {font-size:.87rem;}
.hc-adjust {gap:6px;flex-wrap:wrap;margin-top:15px;}
.hc-adjust button:disabled {color:#737f83;background:#f7f8f7;cursor:default;}
.hc-state {font-size:.83rem;color:#3b6951;margin:9px 0 0;min-height:1.4em;}
.hc-work>.hc-note {margin:11px 0;}
.hc-map-page {max-width:1320px;margin:0 auto;padding:clamp(14px,3vw,36px) clamp(12px,3vw,32px);color:#10294b;}
.hc-map-page header h1 {margin:4px 0;font-size:clamp(2rem,4.5vw,3.5rem);line-height:1.07;letter-spacing:-.04em;}
.hc-map-page>header p {margin:8px 0 19px;}
.hc-map-page .map-sidebar-tools,.hc-map-page .map-legend,.hc-map-page .map-sort {display:none;}
.hc-map-start {padding-top:9px;}
.hc-map-start .btn:focus-visible,.hc-map-page a:focus-visible,.hc-map-page button:focus-visible {outline:3px solid #1b6d97;outline-offset:3px;}
@media(max-width:720px) {
    .hc-shell.hc-work,.hc-shell:has(.hc-start-hero) {padding:14px max(14px,env(safe-area-inset-left)) 28px;}
    .hc-start-hero,.hc-board {grid-template-columns:1fr;}
    .hc-start-hero {gap:12px;}
    .hc-start-hero figure {padding:8px;}
    .hc-start-hero img {height:clamp(105px,29vw,175px);}
    .hc-options {border-left:0;border-top:1px solid #d3e0d8;padding:13px 15px;}
    .hc-canvas {height:clamp(215px,34svh,355px);}
    .hc-options select {margin-bottom:10px;}
    .hc-board {border-radius:11px;}
    .hc-diagram-tools {padding:5px 10px;}
    .hc-start-row input {font-size:16px;}
    .hc-adjust {margin-top:10px;}
    .hc-help {padding:4px 10px 9px;}
    .hc-map-page {padding-inline:10px;}
}
@media(max-width:370px) {.hc-start-row {flex-wrap:wrap;}.hc-start-row input {flex:1 1 100%;}.hc-start-row .btn {width:100%;}}
.hc-review .hc-budget-form,.hc-review #wynik {margin:22px 0;border:1px solid #cddbd4;border-radius:12px;padding:clamp(13px,2.5vw,28px);}
.hc-review-fields,.hc-review dl {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:14px;}
.hc-review-fields label {min-width:0;display:block;font-size:.9rem;font-weight:650;}
.hc-review-fields select,.hc-review-fields input {max-width:100%;width:100%;font:inherit;min-height:44px;border:1px solid #aabcb3;border-radius:6px;background:white;padding:5px 9px;margin-top:4px;}
.hc-review details summary,.hc-include {display:block;padding:12px 0;font-weight:600;cursor:pointer;}
.hc-review details summary {display:list-item;}
.hc-review dl dd {margin:2px 0 10px;font-size:1.25rem;font-weight:700;}
.hc-review table {border-collapse:collapse;width:100%;text-align:left;}
.hc-review td,.hc-review th {border-bottom:1px solid #d9e1dd;padding:6px 4px;}
.hc-table-scroll {overflow-x:auto;}
