:root{--ink:#14181f;--green:#ae001e;--accent:#fbd7a8;--paper:#f5f4f2;--line:#e3e0db;--muted:#535862;--orange:#b8752d;--red:#ad4141;--blue:#4b7b9c;--radius:15px;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;scroll-behavior:smooth}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,label{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.43}a{color:inherit}button:focus-visible,a:focus-visible,summary:focus-visible,select:focus-visible,input:focus-visible{outline:3px solid #535761;outline-offset:4px}input[type=checkbox]{accent-color:var(--green);width:17px;height:17px;flex-shrink:0;margin:2px 0}input:disabled{opacity:.5}[hidden]{display:none!important}svg{display:block}.topbar{height:92px;display:flex;align-items:center;justify-content:space-between;padding:0 5.4%;border-bottom:1px solid var(--line);background:#f9f9f7}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:22px;font-weight:750;letter-spacing:-.8px}.brand svg{width:40px;height:40px;fill:none;stroke:var(--green);stroke-width:1.5}.brand-light{font-weight:400}.brand small{display:block;font-size:14px;letter-spacing:2.4px;font-weight:500;margin-top:3px}.topbar nav{display:flex;gap:30px;font-size:15px}.topbar nav a{text-decoration:none}.topbar nav a:hover{color:var(--green);text-decoration:underline}main{max-width:1440px;margin:auto;padding:0 5.4%}.intro{display:flex;align-items:center;justify-content:space-between;padding:49px 0 32px;gap:25px}.eyebrow{font-size:14px;letter-spacing:1.7px;font-weight:650;display:flex;align-items:center;gap:8px;margin:0 0 20px}.eyebrow>span:first-child{display:inline-block;background:var(--green);width:6px;height:6px;border-radius:50%}.eyebrow .version{font:14px ui-monospace,monospace;color:var(--muted);letter-spacing:0;background:#ebe9e4;padding:4px 6px;border-radius:4px;margin-left:6px}h1{font-size:clamp(35px,4vw,53px);line-height:1.08;font-weight:500;letter-spacing:-2.3px;margin:0 0 17px}h1 em{font-style:normal;color:var(--green)}.lead{font-size:16px;line-height:1.7;color:#676c79;margin:0}.intro-badge{display:flex;align-items:center;gap:12px;font-size:15px;background:#eeece7;border:1px solid #e1ded7;border-radius:10px;padding:16px 20px;align-self:center}.intro-badge svg{width:28px;height:28px;stroke:var(--green);stroke-width:1.3}.intro-badge strong,.intro-badge span{display:block}.intro-badge span{color:#535862;margin-top:6px;font-size:14px}.steps{display:flex;list-style:none;padding:0 0 21px;margin:0 0 26px;gap:30px;border-bottom:1px solid var(--line);font-size:15px;font-weight:550}.steps li{display:flex;align-items:center;gap:9px;color:#535862}.steps li.active{color:var(--ink)}.steps li>span{width:25px;height:25px;border:1px solid #dfdcd6;background:#efede9;border-radius:50%;display:grid;place-items:center;font-size:14px}.steps .active>span{background:var(--ink);border-color:var(--ink);color:var(--accent)}.workspace{display:grid;grid-template-columns:345px minmax(0,1fr);gap:22px;align-items:start}.sidebar,.main-panel{display:flex;flex-direction:column;gap:18px}.card{border:1px solid var(--line);border-radius:var(--radius);background:#ffffff;overflow:hidden}.upload-card,.layers-card,.export-card,.validation-card{padding:22px}.card-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:20px}h2{font-size:16px;font-weight:600;margin:0;letter-spacing:-.2px;display:flex;align-items:center;gap:10px}.tiny-num{color:#535862;font:14px ui-monospace,monospace}.text-button{background:none;border:0;padding:0;color:var(--green);font-size:14px;font-weight:600}.text-button:hover:not(:disabled){text-decoration:underline}.dropzone{min-height:217px;border:1px dashed #bab4a8;background:#f8f7f5;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-direction:column;cursor:pointer;position:relative;text-align:center;padding:24px 10px;transition:.18s}.dropzone:has(input:focus-visible),.dropzone.drag{outline:3px solid #a8a090;outline-offset:2px;background:#edebe6}.dropzone input{position:absolute;width:1px;height:1px;opacity:0}.dropzone svg{width:45px;height:45px;stroke:#6a6f7c;stroke-width:1.3;margin-bottom:18px}.dropzone strong{font-size:15px;font-weight:600;max-width:260px;overflow-wrap:anywhere}.dropzone>span{font-size:14px;color:#535862;margin-top:8px}.dropzone u{color:var(--green);text-underline-offset:3px}.dropzone small{font:14px ui-monospace,monospace;color:#535862;letter-spacing:.2px;margin-top:19px}.example-row{display:flex;justify-content:space-between;gap:12px;font-size:14px;padding:15px 0 20px;color:#535862}.coordinate-box{display:flex;align-items:center;justify-content:space-between;background:#f6f5f2;padding:13px;border:1px solid #e7e4df;border-radius:8px;gap:10px}.field-label{display:block;font-size:14px;letter-spacing:1.2px;font-weight:550;color:#535862;margin:0 0 7px}.coordinate-box strong{font-size:15px;font-weight:550}.code-badge{font:14px ui-monospace,monospace;white-space:nowrap;padding:5px 7px;color:#6a707d;background:#e9e7e1;border-radius:4px}.muted{color:var(--muted)}.small{font-size:14px;line-height:1.65}.upload-card>.small{margin:12px 0 0}.count{background:#efede9;color:#686d7a;border-radius:5px;font:14px ui-monospace,monospace;padding:4px 7px}.empty-layers{font-size:14px;color:#535862;line-height:1.8;min-height:68px}.layer-legend{display:flex;justify-content:space-between;font-size:14px;color:#535862;border-top:1px solid #eeece9;margin-top:16px;padding-top:15px;gap:8px}.layer-legend>span{display:flex;align-items:center;gap:5px}.swatch{display:inline-block;width:7px;height:7px;background:var(--green);border:1px solid var(--green);border-radius:1px}.swatch.line{height:2px;border:0;background:var(--blue)}.swatch.point{background:var(--orange);border-color:var(--orange);border-radius:50%}.layer-row{padding:11px 0;border-bottom:1px solid #efede9;display:flex;gap:10px;align-items:flex-start}.layer-row:last-child{border:0}.layer-row label{display:flex;gap:10px;flex:1;min-width:0;cursor:pointer}.layer-info{min-width:0;flex:1}.layer-name{font:14px ui-monospace,monospace;overflow-wrap:anywhere;color:#484c54}.layer-meta{font-size:14px;color:#535862;display:block;margin-top:6px;line-height:1.5}.layer-status{font-size:14px;padding-top:3px;white-space:nowrap}.ok{color:var(--green)}.bad{color:var(--red)}.ignored{color:#535862}.export-card h2{margin-bottom:18px}.confirm{display:flex;gap:9px;align-items:flex-start;font-size:14px;line-height:1.6;color:#535862;margin-bottom:17px;cursor:pointer}.primary{width:100%;border:1px solid var(--ink);background:var(--ink);color:#edeae4;min-height:45px;border-radius:8px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:15px;font-weight:550;transition:.15s}.primary:hover:not(:disabled){background:#212934}.primary>span:first-child{font-size:20px;font-weight:400}.export-card>.small{margin:12px 0 14px}.full{width:100%;text-align:center;font-size:14px}.preview-heading{display:flex;justify-content:space-between;align-items:center;padding:23px 25px;gap:15px}.preview-heading h2{font-size:16px;font-weight:500;overflow-wrap:anywhere}.preview-badge{font:14px ui-monospace,monospace;color:#535862;background:#f0eeeb;border:1px solid #e4e0d9;border-radius:4px;padding:6px 8px;white-space:nowrap}.canvas-wrap{position:relative;background-color:#f4f3f0;background-image:linear-gradient(#dee6d752 1px,transparent 1px),linear-gradient(90deg,#dee6d752 1px,transparent 1px),linear-gradient(#d8e2d349 1px,transparent 1px),linear-gradient(90deg,#d8e2d349 1px,transparent 1px);background-size:20px 20px,20px 20px,100px 100px,100px 100px;height:390px;overflow:hidden;border-top:1px solid #e9e7e2;border-bottom:1px solid #e4e1db}.canvas-wrap canvas{width:100%;height:100%;display:block;touch-action:none;cursor:grab}.canvas-wrap canvas:active{cursor:grabbing}.canvas-empty{position:absolute;left:0;top:50%;transform:translateY(-50%);text-align:center;width:100%;pointer-events:none}.canvas-empty svg{width:220px;height:165px;margin:0 auto 22px;opacity:.75;stroke-width:1.3}.canvas-empty .plot{stroke:#7c8290;fill:#a8c49113}.canvas-empty .building{stroke:#707683;fill:#a8c49123}.canvas-empty .dashed{stroke:#b2ab9e;stroke-dasharray:5 5;stroke-width:.8}.canvas-empty .vertices{stroke:#6b717e;fill:#f4f3f0}.canvas-empty .cross{stroke:#838895}.canvas-empty strong{font-size:15px;font-weight:500;color:#535862}.canvas-empty p{font-size:14px;color:#535862}.map-north{position:absolute;right:23px;top:20px;display:flex;flex-direction:column;text-align:center;font:14px ui-monospace,monospace;color:#535862;pointer-events:none}.map-north span{font-size:24px;margin-top:3px}.map-tools{position:absolute;right:17px;bottom:49px;display:flex;flex-direction:column;border-radius:6px;background:#ffffff;border:1px solid #dfdcd7;overflow:hidden;box-shadow:0 3px 6px #233b2510}.map-tools button{width:31px;height:31px;background:none;border:0;border-bottom:1px solid #eceae5;font-size:17px;color:#676c79}.map-tools button:last-child{border:0}.map-tools button:hover{background:#efede8}.map-footer{position:absolute;bottom:0;left:0;width:100%;display:flex;justify-content:space-between;gap:8px;padding:12px 18px;font:14px ui-monospace,monospace;color:#535862;pointer-events:none}.stats{display:grid;grid-template-columns:1fr 1fr 1.4fr;padding:22px 25px;gap:15px}.stats>div+div{border-left:1px solid #e7e4de;padding-left:22px}.stats span{font-size:14px;letter-spacing:1px;color:#535862;display:block;margin-bottom:9px}.stats strong{font:23px ui-monospace,monospace;font-weight:400;letter-spacing:-1px;white-space:nowrap}.stats small{font:14px "Segoe UI",sans-serif;color:#535862;letter-spacing:0}.status-dot{width:7px;height:7px;border-radius:50%;background:#c8c3b8}.status-dot.success{background:#6a6f7c}.status-dot.warning{background:#d0a24d}.status-dot.error{background:var(--red)}.validation-card .card-title{margin-bottom:13px}.validation-card p{font-size:14px;line-height:1.7;margin:0}.validation-item{font-size:14px;line-height:1.75;padding:7px 0;overflow-wrap:anywhere}.validation-item+.validation-item{border-top:1px solid #eeece8}.validation-item strong{font-weight:600}.validation-item.error{color:#a54b42}.validation-item.warning{color:#a17b3d}.validation-item.success{color:#565b65}.compatibility{color:#535862;font-size:14px;line-height:1.7;margin:0 4px}.compatibility strong{font-weight:550;color:#535862}.xml-card summary{padding:18px 22px;cursor:pointer;font-size:15px;font-weight:550}.xml-card summary span{float:right;color:#535862;font:14px ui-monospace,monospace}.xml-card select{margin:0 22px 15px;max-width:calc(100% - 44px);border:1px solid var(--line);padding:8px;background:#f8f7f5;border-radius:5px;font-size:14px;color:var(--ink)}pre{font:14px/1.7 ui-monospace,monospace;background:#14181f;color:#cec9c0;margin:0;padding:20px;max-height:270px;overflow:auto}.instructions{display:grid;grid-template-columns:1fr 1.3fr;gap:100px;margin-top:65px;padding:42px 0 48px;border-top:1px solid var(--line)}.instructions .eyebrow{font-size:14px;letter-spacing:1.3px;color:#535862;margin-bottom:15px}.instructions h2{font-size:26px;font-weight:450;letter-spacing:-.7px}.instructions p{font-size:15px;line-height:1.8;color:#535862}.instructions a{display:inline-block;font-size:14px;color:var(--green);text-decoration:none;border-bottom:1px solid #cdc8bf;padding-bottom:5px;margin-top:9px}.instruction-list{display:flex;flex-direction:column;gap:21px}.instruction-list article{display:flex;gap:17px}.instruction-list article>span{font:14px ui-monospace,monospace;color:#535862;padding-top:3px}.instruction-list h3{font-size:15px;font-weight:550;margin:0}.instruction-list p{font-size:14px;margin:7px 0 0}.instruction-list code{font:14px ui-monospace,monospace;background:#eae7e2;border-radius:3px;padding:2px 3px;color:#656a76}footer{max-width:1440px;margin:auto;padding:25px 5.4%;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;font-size:14px;color:#535862}.footer-divider{padding:0 10px;color:#cfcbc2}.message{border:1px solid #e5c4b7;background:#fff5f0;color:#535862;padding:17px 22px;font-size:15px;line-height:1.7;border-radius:10px;margin-bottom:22px}.toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);background:var(--ink);color:#e1ddd4;padding:14px 22px;border-radius:8px;box-shadow:0 4px 20px #0002;font-size:15px;z-index:20;max-width:90vw;text-align:center}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1500px){.canvas-wrap{height:460px}}@media(max-width:1050px){.workspace{grid-template-columns:300px minmax(0,1fr);gap:17px}.upload-card,.layers-card,.export-card,.validation-card{padding:18px}.intro-badge{padding:13px}.intro-badge span{max-width:140px;line-height:1.5}.stats{padding:20px 16px;gap:9px}.stats>div+div{padding-left:12px}.stats strong{font-size:19px}.stats span{font-size:14px;letter-spacing:.6px}.preview-heading{padding:20px 18px}.preview-heading h2{font-size:15px}.preview-badge{font-size:14px;padding:5px}.instructions{gap:50px}}
@media(max-width:760px){.topbar{height:76px;padding:0 22px}.brand{font-size:19px}.brand svg{width:34px;height:34px}.topbar nav{font-size:14px;gap:16px}.topbar nav a:last-child{display:none}main{padding:0 20px}.intro{padding:32px 0 24px;display:block}.intro-badge{display:inline-flex;margin-top:22px;padding:11px 14px}.intro-badge svg{width:23px;height:23px}.intro-badge span{max-width:none;font-size:14px}.intro-badge strong{font-size:14px}.eyebrow{font-size:14px;margin-bottom:17px}h1{font-size:38px;letter-spacing:-1.5px}.lead{font-size:15px}.desktop{display:none}.steps{gap:18px;font-size:14px;justify-content:space-between;padding-bottom:18px;margin-bottom:20px}.steps li{gap:6px}.steps li>span{width:21px;height:21px;font-size:14px}.workspace{display:flex;flex-direction:column;gap:18px}.sidebar,.main-panel{width:100%}.sidebar{display:contents}.upload-card{order:0;width:100%}.main-panel{order:1}.layers-card{order:2;width:100%}.export-card{order:3;width:100%}.dropzone{min-height:190px}.dropzone svg{margin-bottom:12px;width:36px;height:36px}.preview-heading{padding:18px}.canvas-wrap{height:315px}.stats{padding:20px 18px}.stats strong{font-size:21px}.stats span{font-size:14px}.main-panel{gap:16px}.instructions{grid-template-columns:1fr;gap:28px;margin-top:35px;padding:30px 0}.instructions h2{font-size:24px}footer{padding:20px;flex-direction:column;font-size:14px;gap:10px}.instruction-list{gap:18px}.layer-legend{justify-content:flex-start;gap:27px}.empty-layers{min-height:40px}.export-card .primary{min-height:48px}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*{transition:none!important}}

.swatch.hole{background:transparent;border:1px dashed #b88c49}.layer-legend{flex-wrap:wrap;row-gap:10px}.layer-row label:has(input:disabled){cursor:default}

/* Optional Google satellite basemap; keep its native attribution uncovered. */
.basemap-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 25px 17px}.basemap-toolbar>span{font-size:14px;letter-spacing:1.2px;color:#535862}.basemap-switch{display:flex;background:#f2f0ed;border:1px solid #e1ddd6;border-radius:7px;padding:3px;gap:3px}.basemap-switch button{border:0;background:none;padding:8px 12px;border-radius:4px;font-size:14px;color:#636975}.basemap-switch button[aria-pressed=true]{color:#edeae4;background:#14181f}.basemap-switch button:hover:not(:disabled){box-shadow:0 0 0 1px #aaa293 inset}.basemap-notice{font-size:14px;line-height:1.65;color:#5c616d;background:#f1efec;margin:0;padding:11px 25px;border-top:1px solid #e3e0d9}.basemap-notice.map-error{color:#535862;background:#fff7ed}.google-map{position:absolute;inset:0 0 29px;z-index:1}.satellite-active>canvas,.satellite-active>.canvas-empty{display:none}.satellite-active .map-tools,.satellite-active .map-north{z-index:2}.satellite-active .map-north{color:#ffffff;text-shadow:0 1px 3px #000000}.satellite-active .map-tools{bottom:72px}.satellite-active .map-footer{height:29px;background:#f5f4f1;z-index:2;padding:9px 18px;color:#606571}.basemap-privacy{font-size:14px;color:#535862;line-height:1.7;margin:0 4px}.basemap-privacy a{text-underline-offset:2px}
@media(max-width:760px){.basemap-toolbar{padding:0 18px 15px}.basemap-notice{padding:11px 18px}.basemap-switch button{font-size:14px;padding:8px 10px}}

/* Shared server-backed usage counters. */
.usage-card{display:grid;grid-template-columns:230px minmax(0,1fr);gap:12px 25px;align-items:center;border:1px solid #dfdcd6;background:#efede9;border-radius:12px;padding:22px 26px 16px;margin:3px 0 28px}.usage-intro .eyebrow{font-size:14px;letter-spacing:1.3px;color:#535862;margin:0 0 9px}.usage-intro h2{font-size:18px;letter-spacing:-.4px;font-weight:500;margin:0 0 12px}.usage-intro button{font-size:14px}.usage-numbers{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:20px}.usage-numbers>div{border-left:1px solid #dbd8d1;padding-left:25px}.usage-numbers strong{display:block;font:29px ui-monospace,monospace;letter-spacing:-1px;color:#212934;overflow-wrap:anywhere}.usage-numbers span{display:block;font-size:14px;letter-spacing:.8px;color:#535862;margin-top:9px}.usage-status{grid-column:1/-1;font-size:14px;line-height:1.7;color:#535862;margin:3px 0 0;padding-top:12px;border-top:1px solid #e0ddd6}
@media(max-width:1050px){.usage-card{grid-template-columns:190px minmax(0,1fr);gap:15px}.usage-numbers{gap:14px}.usage-numbers>div{padding-left:18px}.usage-numbers strong{font-size:25px}.usage-numbers span{font-size:14px;letter-spacing:.4px}}
@media(max-width:760px){.usage-card{grid-template-columns:1fr;padding:20px;margin-bottom:22px;gap:20px}.usage-intro{position:relative}.usage-intro h2{margin-bottom:0}.usage-intro button{position:absolute;right:0;bottom:3px}.usage-numbers{gap:12px}.usage-numbers>div{padding-left:12px}.usage-numbers>div:first-child{padding-left:0;border:0}.usage-numbers strong{font-size:24px}.usage-numbers span{font-size:14px;line-height:1.6}.usage-status{padding-top:13px;margin-top:0}}

.stats-heading{padding:20px 25px 0;display:flex;flex-direction:column;gap:9px}.stats-heading label{font-size:14px;letter-spacing:1.1px;color:#535862}.stats-heading select{border:1px solid #dddad3;background:#f5f3f0;padding:11px 12px;border-radius:7px;font-size:15px;color:#212934;max-width:100%;width:100%}.geometry-measures{grid-template-columns:1fr 1fr 1.3fr .8fr;padding-bottom:16px;gap:12px}.geometry-measures strong{font-size:20px}.geometry-measures>div+div{padding-left:15px}.geometry-measures span{font-size:14px;letter-spacing:.6px}.stat-description,.export-summary{font-size:14px;line-height:1.7;color:#535862;margin:0 25px 16px}.export-summary{border-top:1px solid #e5e2dc;padding-top:13px;margin-bottom:17px;color:#535761}.line-stat-table{margin:0 25px 18px;max-height:190px;overflow:auto}.line-stat-table table{border-collapse:collapse;width:100%;font-size:14px;text-align:left}.line-stat-table th{font-size:14px;color:#535862;font-weight:500;background:#f5f3f0;position:sticky;top:0}.line-stat-table th,.line-stat-table td{padding:10px 8px;border-bottom:1px solid #eae7e2}.line-stat-table td:first-child{font-family:ui-monospace,monospace;overflow-wrap:anywhere}.line-stat-table th:not(:first-child),.line-stat-table td:not(:first-child){text-align:right;white-space:nowrap}
@media(max-width:1050px){.geometry-measures{grid-template-columns:1fr 1fr;gap:19px}.geometry-measures>div:nth-child(3){padding-left:0;border:0}.geometry-measures strong{font-size:21px}.geometry-measures span{font-size:14px}.stats-heading{padding:18px 18px 0}.stat-description,.export-summary{margin-left:18px;margin-right:18px}.line-stat-table{margin-left:18px;margin-right:18px}}

.conversion-links{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 24px}.conversion-links a{background:#eae7e2;border:1px solid #d2cec6;padding:12px 20px;border-radius:8px;text-decoration:none;font-weight:600}.conversion-links a:hover{background:#e2ded6}.secondary{border:1px solid #c8c3ba;background:#f2f0ed;color:#212934;border-radius:8px;min-height:46px;padding:10px 15px;font-weight:550;font-size:16px}.export-card .secondary{margin:0 0 16px}.reverse-section{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:32px;margin:25px 0 48px;scroll-margin-top:30px}.reverse-intro h2{font-size:28px;margin-bottom:15px}.reverse-intro p{font-size:16px;line-height:1.65;color:#525761}.reverse-controls{display:flex;flex-direction:column;gap:14px}.reverse-file-label{font-weight:600}.reverse-controls input{width:100%;padding:14px;border:1px dashed #aba393;background:#f5f3f0;border-radius:8px}.reverse-controls p{line-height:1.65;color:#525761;margin:0 0 5px;overflow-wrap:anywhere}.faq-section{padding:32px 0 50px}.faq-section>h2{font-size:30px;margin:0 0 25px}.faq-section>details{background:#ffffff;border:1px solid #dedbd6;border-radius:9px;margin:0 0 12px}.faq-section summary{padding:18px 22px;font-size:17px;font-weight:550;line-height:1.5;cursor:pointer}.faq-section details p{padding:0 22px 21px;margin:0;color:#4b4e57;font-size:16px;line-height:1.75;max-width:85ch}.faq-section details[open]{border-color:#a79f8e}#converter{scroll-margin-top:25px}
@media(max-width:760px){.reverse-section{grid-template-columns:1fr;gap:24px;padding:22px;margin-bottom:26px}.faq-section summary{padding:17px 18px}.faq-section details p{padding:0 18px 19px}}

:root{font-size:16px;line-height:1.55}.topbar{height:auto;min-height:96px;gap:20px;padding-top:20px;padding-bottom:20px;flex-wrap:wrap}.card-title{align-items:center}h2{line-height:1.4}.lead{font-size:18px}.primary,.secondary,.basemap-switch button{min-height:48px}.text-button{min-height:32px}input[type=checkbox]{width:20px;height:20px}.layer-row{min-height:50px}.small{font-size:14px}.instructions p,.instruction-list p{font-size:16px}.instructions h3{font-size:17px}.geometry-measures span{min-height:2.8em}.line-stat-table table{font-size:15px}.line-stat-table th{font-size:14px}.stat-description,.export-summary,.usage-status,.compatibility,.basemap-privacy{font-size:14px}.usage-numbers span{font-size:14px;letter-spacing:.1px}.usage-intro .eyebrow{font-size:14px}.usage-card{grid-template-columns:240px minmax(0,1fr)}.canvas-empty p{font-size:15px}.canvas-empty strong{font-size:16px}.dropzone strong{font-size:17px}.dropzone>span{font-size:16px}.steps{font-size:15px}.topbar nav{font-size:16px}.brand small{font-size:14px;letter-spacing:1px}.confirm{font-size:15px}.example-row{flex-wrap:wrap;align-items:center;font-size:14px}.intro-badge span{font-size:14px;max-width:none}.intro-badge strong{font-size:15px}.intro-badge{padding:16px}.usage-intro button{font-size:14px}.instructions{gap:50px}.instructions a{font-size:15px}.layer-legend{font-size:14px}.layer-name{font-size:15px}.layer-meta,.layer-status{font-size:14px}.preview-heading h2{font-size:17px}.eyebrow{font-size:14px}
@media(max-width:1050px){.workspace{grid-template-columns:330px minmax(0,1fr)}.usage-card{grid-template-columns:1fr}.usage-intro{display:flex;flex-wrap:wrap;align-items:center;gap:15px}.usage-intro .eyebrow,.usage-intro h2{margin:0}.usage-numbers{padding-top:10px}.preview-heading{flex-wrap:wrap}.instructions{gap:30px}}
@media(max-width:760px){.steps{gap:10px;flex-wrap:wrap;font-size:14px}.steps li>span{width:27px;height:27px;font-size:14px}.workspace{display:flex}.usage-intro{display:block}.usage-intro .eyebrow{margin-bottom:8px}.usage-intro h2{margin-bottom:10px}.usage-intro button{position:static}.usage-numbers{grid-template-columns:1fr;gap:16px}.usage-numbers>div,.usage-numbers>div+div{padding:0 0 16px;border-left:0;border-bottom:1px solid #d9d5ce;display:flex;gap:20px;align-items:center;justify-content:space-between}.usage-numbers span{margin:0;max-width:65%;text-align:right;font-size:14px}.intro-badge{max-width:100%}.topbar nav{flex-wrap:wrap}.geometry-measures strong{font-size:24px}.geometry-measures span{font-size:14px}.layer-legend{gap:15px}.instructions{grid-template-columns:1fr}footer{font-size:14px}}

/* 1.4.1: razmaci u pregledu i iste kartice za oba smjera pretvorbe. */
.main-panel{min-width:0}
.preview-card,.geometry-statistics{padding:24px}
.preview-heading{padding:0 0 24px;align-items:flex-start;flex-wrap:wrap;gap:16px}
.preview-heading .field-label{margin-bottom:12px}
.basemap-toolbar{padding:0 0 24px;justify-content:flex-start;gap:20px;flex-wrap:wrap}
.basemap-switch{flex-wrap:wrap;max-width:100%}
.basemap-notice{padding:14px 16px;margin:0 0 20px;border:1px solid var(--line);border-radius:8px}
.canvas-wrap{border:1px solid var(--line);border-radius:10px}
.stats-heading{padding:0;gap:14px}
.geometry-measures{grid-template-columns:repeat(2,minmax(0,1fr));padding:24px 0;gap:24px}
.geometry-measures>div{min-width:0}
.geometry-measures>div+div{padding-left:0;border:0}
.geometry-measures span{min-height:0;margin-bottom:10px;letter-spacing:.3px;overflow-wrap:anywhere}
.geometry-measures strong{font-size:24px;white-space:normal;overflow-wrap:anywhere}
.stat-description,.export-summary{margin:0 0 20px}
.export-summary{margin-bottom:0;padding-top:20px}
.line-stat-table{margin:0 0 24px}
.reverse-section{display:block;padding:0;margin:25px 0 48px}
.reverse-intro{max-width:80ch;margin-bottom:26px}
.reverse-workspace{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start}
.reverse-upload-card,.reverse-output-card{padding:24px;min-width:0}
.reverse-upload-card .dropzone{min-height:217px}
.reverse-upload-card .dropzone strong{overflow-wrap:anywhere;max-width:100%}
.reverse-output-card .card-title{flex-wrap:wrap}
.reverse-status{font-size:16px;line-height:1.7;margin:0 0 24px;overflow-wrap:anywhere}
.reverse-output-file{display:flex;flex-direction:column;gap:8px;padding:18px;background:#f5f3f0;border:1px solid var(--line);border-radius:10px;margin-bottom:24px}
.reverse-output-file .field-label{margin:0}
.reverse-output-file strong{font:16px ui-monospace,monospace;overflow-wrap:anywhere}
.reverse-output-file>span:last-child{font-size:14px;color:var(--muted)}
.reverse-output-card>.small,.reverse-upload-card>.small{margin:16px 0 20px}
@media(max-width:760px){.preview-card,.geometry-statistics,.reverse-upload-card,.reverse-output-card{padding:20px}.preview-heading{padding-bottom:20px}.basemap-toolbar{padding-bottom:20px;gap:12px}.reverse-workspace{grid-template-columns:1fr;gap:18px}.reverse-intro{margin-bottom:22px}.geometry-measures{gap:24px 16px}.geometry-measures strong{font-size:22px}}

/* 1.4.2: javni ortofoto u istom HTRS96/TM pregledu. */
.ortho-map{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.ortho-map img{position:absolute;max-width:none;max-height:none}
.orthophoto-active{background:#14181f}
.orthophoto-active>canvas{position:relative;z-index:1}
.orthophoto-active .map-tools,.orthophoto-active .map-north,.orthophoto-active .map-footer{z-index:2}
.orthophoto-active .map-north{color:#ffffff;text-shadow:0 1px 4px #000000}
.orthophoto-active .map-footer{background:#f5f7f1eb}
.ortho-attribution{font-size:14px;line-height:1.7;color:var(--muted);margin:18px 0 0}
.ortho-attribution a{text-underline-offset:3px}

.app-status{font-size:15px;line-height:1.6;padding:12px 16px;margin:0 0 20px;background:#efede9;border:1px solid #dfdcd6;border-radius:8px;color:#212934}.app-status.app-failed{background:#fff2ec;border-color:#e5c4b7;color:#963d34}

.basemap-select{display:flex;flex-wrap:wrap;align-items:center;gap:10px;font-size:15px;max-width:100%}.basemap-select select{padding:10px 12px;min-height:48px;border:1px solid #c8c3ba;border-radius:8px;background:#f5f3f0;color:var(--ink);font-size:16px;max-width:100%}
.feedback-card{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:32px;padding:28px;margin:24px 0 12px}.feedback-intro h2{font-size:24px;margin:0 0 16px}.feedback-intro p{font-size:16px;line-height:1.75}.feedback-intro .small{font-size:14px}.feedback-form{display:flex;flex-direction:column;gap:18px;min-width:0}.feedback-form label{display:flex;flex-direction:column;gap:8px;font-size:16px}.feedback-form input,.feedback-form select,.feedback-form textarea{padding:12px;border:1px solid #c8c3ba;border-radius:8px;background:#f9f9f7;color:var(--ink);font:inherit;min-height:48px;max-width:100%;width:100%}.feedback-form textarea{resize:vertical;min-height:160px;line-height:1.6}.feedback-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.feedback-status{font-size:15px;line-height:1.7;margin:0;overflow-wrap:anywhere}.feedback-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}footer{flex-wrap:wrap}
@media(max-width:760px){.feedback-card{grid-template-columns:1fr;padding:20px;gap:20px}.feedback-fields{grid-template-columns:1fr}.basemap-select{width:100%}.basemap-select select{flex:1;min-width:0}}
