/* The builder belongs to the page: no inner scroll container. */
.workspace{grid-template-columns:minmax(390px, .85fr) minmax(0,1.35fr);align-items:start;overflow:visible}
.config-panel{min-width:0;max-height:none;height:auto;overflow:visible;background:#fff;border-radius:16px 0 0 16px}
.order-editor .home-intro,.order-editor #generator-page>.print-promo,.order-editor .builder-heading,.order-editor #home-inspiration,.order-editor .site-footer,.order-editor .main-nav,.order-editor .language-choice,.order-editor #new-model,.order-editor #order{display:none!important}
.order-editor-context{display:flex;justify-content:space-between;align-items:center;gap:28px;margin:24px 0;padding:26px;border:1px solid #cdddc4;background:#f0f6e9;border-radius:16px}.order-editor-context h1{font-size:28px;margin:8px 0}.order-editor-context p{max-width:750px;font-size:14px;line-height:1.6;margin:6px 0}.order-editor-actions{flex:0 0 280px;display:grid;gap:10px}.order-editor-actions [role=status]{font-size:12px;color:#3b623d}.order-editor .workspace{margin-top:20px}@media(max-width:700px){.order-editor-context{display:block;padding:18px}.order-editor-actions{margin-top:16px}.order-editor-context h1{font-size:24px}}
.config-tabs{grid-template-columns:repeat(3,minmax(0,1fr));position:static;border-radius:16px 0 0 0;overflow:hidden}
.config-tabs button{min-height:52px;font-size:.875rem;white-space:normal}
.config-panel .panel-section{padding:24px;max-height:none;overflow:visible}
.config-panel #map{height:260px;border-radius:10px}
.create-action{padding:20px 24px 24px;border-top:1px solid var(--border);background:#f4f8ef}
.create-action #generate{min-height:68px;font-size:1.12rem;font-weight:750;box-shadow:0 6px 15px #28533320;white-space:normal}
.create-action p{text-align:center;font-size:.78rem;color:#5a6d5e;margin-top:10px}
.create-action #save-project{margin-top:16px;min-height:48px;white-space:normal;gap:8px}
.create-action #save-project:disabled{cursor:not-allowed;opacity:1;color:#687366;background:#edf0e9;border-color:#cbd3c6}
#download{display:none}
#styles{margin:0;display:flex;flex-wrap:wrap;gap:8px}
#styles:before{display:none}
#styles button{font-size:.84rem}
#palette{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#palette .color-swatch{min-width:0}#palette input[type=text]{width:100%;font-size:.75rem}
.viewer{min-height:480px;height:clamp(480px,43vw,630px);overflow:hidden}
.viewer-loading{overflow:visible;justify-content:center;padding:24px;gap:16px}
.welcome-image{width:100%;max-width:680px;max-height:300px;object-fit:contain;box-shadow:none}
/* Owner-supplied interior visual; static imagery keeps page gestures free. */
#viewer-loading:has(>.welcome-picture){position:relative;inset:auto;padding:0;display:block;background:#f7f8f2;overflow:visible}
.viewer:has(.welcome-picture){height:auto;min-height:0;flex:none}
.viewer:has(.welcome-picture)>canvas{visibility:hidden;pointer-events:none}
.welcome-picture{display:flex;flex-direction:column;width:100%;text-align:center;touch-action:auto}
.picture-showcase{position:relative;width:100%;margin:0;overflow:hidden;background:#e8ddcd}
.picture-room-image{display:block;width:100%;height:auto;aspect-ratio:4/3;pointer-events:none}
.picture-showcase figcaption{position:absolute;bottom:14px;right:16px;max-width:calc(100% - 32px);padding:6px 10px;border:1px solid #ffffff75;border-radius:5px;background:#fffdf3e8;color:#4b5148;font-size:10px;line-height:1.4}
.picture-copy{padding:24px 24px 22px;background:linear-gradient(#f4f3e8,#f7f8f2 82%)}
.picture-copy>.eyebrow{font-size:9px;letter-spacing:.15em;color:#738064;display:block;margin-bottom:8px}
.picture-copy>strong{display:block;font-size:clamp(24px,2.4vw,34px);letter-spacing:-.045em;line-height:1.15;font-weight:750;color:#233a2b}
.picture-copy>p{font-size:12px;line-height:1.6;color:#60705a;max-width:410px;margin:10px auto 17px}
.picture-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.picture-actions .primary span{color:inherit}
.picture-actions .button{font-size:12px;min-height:44px;padding:11px 16px}
.picture-copy>small{display:block;font-size:10px;color:#73806a;margin:12px 0 0}
.model-panel:has(.welcome-picture) .model-topbar,.model-panel:has(.welcome-picture) .model-meta{display:none}
.viewer:has(.welcome-picture)>.viewer-help,.viewer:has(.welcome-picture)>.compass{visibility:hidden}
@media(max-width:760px){
 .picture-showcase figcaption{bottom:8px;right:8px;padding:4px 7px;font-size:9px}
 .picture-copy{padding:16px 14px}.picture-copy>strong{font-size:25px}.picture-copy>p{font-size:12px;margin:9px auto 14px}
 .picture-actions{gap:7px}.picture-actions .button{width:100%;font-size:12px;padding:10px 12px;min-height:44px}
 .picture-copy>small{font-size:9px;margin-top:10px}
}
.viewer-loading>span{max-width:570px;line-height:1.6}
.model-panel{min-width:0}.model-topbar{flex-wrap:wrap;gap:16px}
.search-results{max-height:none;overflow:visible}.search-results:empty{display:none}
.search-country-row{display:flex;align-items:center;gap:12px;margin:12px 0 14px;font-size:.8125rem;color:var(--muted)}
.search-country-row label{flex-shrink:0}.search-country-row select{min-width:0;width:100%;max-width:100%;padding:9px 30px 9px 10px;border:1px solid var(--border);border-radius:7px;background-color:#fff;color:var(--ink)}
.search-summary{font-size:.75rem;line-height:1.5;color:#59675e;margin:9px 0 12px}
.building-highlight{margin:22px 0 0;padding:14px;border:1px solid #d7e2d1;border-radius:12px;background:#f5f8f1;min-width:0}
.building-highlight legend{font-size:13px;font-weight:750;padding:0 5px}.building-highlight .check-label{display:flex;align-items:center;gap:9px;margin:0;font-weight:650}.building-highlight input[type=checkbox]{width:19px;height:19px;flex:none}.building-highlight [hidden]{display:none!important}
.highlight-color-row{display:grid;grid-template-columns:1fr 46px 96px;align-items:center;gap:8px;margin:14px 0 10px}.highlight-color-row input[type=color]{width:46px;height:42px;padding:3px;cursor:pointer}.highlight-color-row input[type=text]{min-width:0;width:100%;padding:9px;font-size:14px}.highlight-color-row label{margin:0;font-size:13px}.building-highlight select{width:100%;min-width:0}.building-highlight .button{width:100%;min-height:44px}.building-highlight .field-help{margin:10px 0;font-size:12px;line-height:1.5}.building-highlight .highlight-warning{color:#89551c;font-weight:600}
.search-results:not(:empty){gap:6px}.search-results button.search-more{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:9px 12px;background:#fff;border:1px solid #dce3df;border-radius:10px;color:#344b41;font-size:13px;font-weight:650}.search-more svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.search-results button.search-more:hover{background:#f2f6ef;border-color:#acbea4}
.search-results .search-related-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:12px 3px;background:transparent;border:0;color:#536c48;font-size:12px;text-align:left}
.search-results .search-related-toggle:hover{background:transparent;color:#294e32;text-decoration:underline}
.search-related-toggle span{font-size:18px}
.search-related-group{display:grid;gap:5px;padding:0 0 10px;border-bottom:1px solid var(--border)}
.search-related-group[hidden]{display:none}
.search-related-group .search-summary{margin:0 0 5px;font-size:11px;color:#778370}
.search-related-group button[data-result]{background:#f6f7f3}
.search-results button{width:100%;text-align:left;min-height:60px}.search-results button.selected{outline:2px solid var(--green)}
.search-results button.search-place{--place-color:#475e78;--place-bg:#eef2f7;display:grid;grid-template-columns:36px minmax(0,1fr) 12px;align-items:start;gap:10px;padding:9px 12px;margin:0;border:1px solid #e0e6e2;border-left:4px solid var(--place-color);border-radius:10px;background:#fff;line-height:1.4;box-shadow:0 2px 8px #203b2b06;transition:background .15s,border-color .15s,box-shadow .15s}
.search-results button.search-place:hover,.search-results button.search-place.selected{background:#fafcf8;border-color:var(--place-color);box-shadow:0 3px 12px #203b2b0c}.search-results button.search-place:focus-visible{outline:3px solid #6094c8;outline-offset:2px}
.search-results button.search-place-settlement{--place-color:#276184;--place-bg:#eaf3fa}.search-results button.search-place-nature{--place-color:#2d692c;--place-bg:#eaf3e4}.search-results button.search-place-street{--place-color:#a35813;--place-bg:#fff0e0}.search-results button.search-place-building{--place-color:#765589;--place-bg:#f4eef8}.search-results button.search-place-region{--place-color:#317078;--place-bg:#eaf5f5}
.search-place-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:var(--place-bg);color:var(--place-color);margin-top:1px}.search-place-icon svg{width:23px;height:23px}
.search-place-content{display:block;min-width:0}.search-place-heading{display:flex;align-items:center;justify-content:space-between;gap:3px 8px;flex-wrap:wrap;margin-bottom:2px}
.search-result-type{font-size:11px;line-height:1.4;font-weight:750;color:var(--place-color);letter-spacing:.045em;text-transform:uppercase;overflow-wrap:anywhere}
.search-result-country{font-size:11px;line-height:1.4;color:#3f5148;background:var(--place-bg);padding:1px 6px;border-radius:5px;overflow-wrap:anywhere}
.search-results strong.search-result-name{display:block;font-size:18px;line-height:1.3;color:#202d29;font-weight:750;letter-spacing:-.025em;overflow-wrap:anywhere}
.search-place-location{display:flex;flex-wrap:wrap;gap:3px 9px;margin-top:4px;color:#42544b;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.search-place-location>span{display:flex;align-items:flex-start;gap:4px;min-width:0;max-width:100%}.search-place-location svg{width:14px;height:14px;flex:0 0 14px;margin-top:1px;color:#62776b}.search-place-meta-text{min-width:0}.search-place-region{border-left:1px solid #dce4de;padding-left:9px}.search-place-region:only-child{border:0;padding-left:0}
.search-place-arrow{align-self:center;color:var(--place-color);display:flex}.search-place-arrow svg{width:14px;height:20px;stroke-width:2.5}
@media(max-width:420px){.search-results button.search-place{grid-template-columns:30px minmax(0,1fr) 10px;gap:7px;padding:8px 9px}.search-place-icon{width:30px;height:30px;border-radius:8px}.search-place-icon svg{width:21px;height:21px}.search-result-type{font-size:10px}.search-results strong.search-result-name{font-size:17px}.search-place-region{border:0;padding-left:0}}


.search-status{display:flex;gap:10px;align-items:center;font-size:.86rem;color:var(--green);padding:12px 0}
.search-results .search-retry{min-height:44px;text-align:center;background:white;border:1px solid var(--border);color:var(--green);font-weight:650}
.search-results .search-retry:disabled{cursor:wait;background:#f4f6f0;color:#667263;opacity:.8}
.search-spinner{width:17px;height:17px;border:2px solid #ceddc8;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite}
#panel-finish fieldset+fieldset{margin-top:24px}.model-meta{flex-wrap:wrap;gap:10px}.export-bar{flex-wrap:wrap;gap:16px}
@media(min-width:1400px){.workspace{grid-template-columns:minmax(440px,.8fr) minmax(0,1.4fr)}}
@media(max-width:1000px){.workspace{display:flex;flex-direction:column}.config-panel,.model-panel{width:100%;border-right:0}.config-tabs{grid-template-columns:repeat(6,minmax(0,1fr))}.config-tabs button{flex-direction:column;gap:5px}.config-panel .panel-section{min-height:0}.config-panel #map{height:280px}.viewer{height:520px}.create-action{padding:16px 24px}.viewer-loading{position:absolute;min-height:0}.config-panel{border-radius:16px 16px 0 0}}
@media(max-width:560px){.config-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.config-tabs button{flex-direction:row;font-size:.8rem}.config-panel .panel-section{padding:18px}.viewer{height:440px;min-height:440px}.viewer-loading{padding:18px}.welcome-image{max-height:215px}.model-topbar{padding:20px 16px}.model-tools{flex-wrap:wrap}.create-action{padding:18px}.viewer-loading>span{font-size:.85rem}#palette{grid-template-columns:repeat(3,minmax(0,1fr))}}
.private-favorites,.community-heading{grid-column:1/-1}.private-favorites{background:#fff;border:1px solid var(--border);border-radius:16px;padding:24px}.private-favorites>p,.private-favorites>a{margin-top:14px}.community-heading{padding-top:24px}.detail-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:24px 0}.detail-images a:first-child{grid-column:1/-1}.detail-images img{width:100%;height:auto;object-fit:contain;border-radius:12px;background:#edf3e7}.gallery-media-admin{display:flex;flex-wrap:wrap;gap:12px}.gallery-media-admin img{width:180px;height:110px;object-fit:cover}.detail-images+p{margin-bottom:16px}
.label-disclosure{border:1px solid var(--border);border-radius:10px;padding:14px}.label-disclosure summary{font-weight:600;cursor:pointer}.label-disclosure[open] summary{margin-bottom:18px}
.export-image-preview{width:100%;height:auto;display:block;border-radius:10px;margin-bottom:18px}

/* Pojmenované barvy v účtu a správě palet. */
.palette-summary{list-style:none;padding:0;margin:18px 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px}
.palette-summary li{display:flex;align-items:center;gap:10px;padding:10px;border:1px solid var(--border);border-radius:9px;background:#f8faf6}
.palette-chip{width:36px;height:36px;flex-shrink:0;border:1px solid #0002;border-radius:7px}
.palette-summary strong{display:block;font-size:.875rem}.palette-summary small{display:block;color:var(--muted);font: .75rem ui-monospace,monospace;margin-top:4px}
.palette-field{flex:1 1 170px;min-width:0;padding:12px;border:1px solid var(--border);border-radius:9px;background:#f8faf6}
.palette-field>label{display:block;font-size:.875rem;font-weight:600;margin-bottom:8px}.palette-field>div{display:flex;align-items:center;gap:8px}
.palette-field input[type=color]{width:48px;height:42px;padding:3px;flex-shrink:0;border:1px solid var(--border);border-radius:6px;background:white;cursor:pointer}
.palette-field .palette-hex{width:100%;min-width:0;font: .875rem ui-monospace,monospace;padding:10px 8px;text-transform:uppercase}

/* Large, explicit colour surfaces: independent of native colour input rendering. */
.palette-field .palette-controls{display:flex;flex-direction:column;align-items:stretch;gap:9px}
.palette-field .palette-picker{position:relative;display:flex;align-items:flex-end;justify-content:flex-end;height:82px;min-height:82px;margin:0;border:1px solid #0002;border-radius:8px;overflow:hidden;cursor:pointer}
.palette-picker>span{margin:7px;padding:4px 8px;border-radius:5px;background:#ffffffed;color:#23332d;font-size:.6875rem;pointer-events:none}
.palette-field .palette-picker input[type=color]{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:pointer}
.palette-picker:focus-within{outline:3px solid var(--green);outline-offset:3px}
.profile-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.profile-card{min-width:0;border:1px solid var(--border);border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 3px 12px #23332d05}
.profile-card>header{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 20px 0}.profile-card h3{font-size:1.125rem}
.profile-badge{font-size:.6875rem;color:#607357;background:#eff4e9;padding:6px 9px;border-radius:20px;white-space:nowrap}
.profile-preview{padding:0 20px}.profile-preview .palette-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:18px 0}
.profile-preview .palette-summary li{display:block;padding:0;background:transparent;border:0;min-width:0}
.profile-preview .palette-chip{display:block;width:100%;height:60px;margin-bottom:8px;border-radius:8px}
.profile-preview .palette-summary strong{font-size:.75rem}.profile-preview .palette-summary small{font-size:.6875rem}
.profile-editor{border-top:1px solid var(--border);background:#f8faf6;padding:0 20px}
.profile-editor>summary{padding:15px 0;color:var(--green);font-weight:650;font-size:.875rem;cursor:pointer}
.profile-editor>label{display:block;margin:12px 0;font-size:.8125rem}.profile-editor .palette{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.profile-editor .palette-field{background:#fff}
@media(max-width:1000px){.profile-cards{grid-template-columns:1fr}}
@media(max-width:420px){.profile-preview .palette-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-card>header{align-items:flex-start;flex-direction:column}}

/* Inline palette editing. */
.palette-hex-row{display:flex;align-items:center;min-width:0;gap:3px}.palette-hex-row .palette-hex{flex:1;min-width:0}
.copy-color{flex-shrink:0;min-width:30px;min-height:34px;border-radius:5px;color:var(--green);background:#edf3e7;font-size:20px}.copy-color:hover{background:#dce9d2}
.profile-inline>header{gap:10px}.profile-inline .profile-name{min-width:0;width:100%;padding:7px 5px;border:1px solid transparent;background:transparent;font-size:1.125rem;font-weight:700;border-radius:6px;color:var(--ink)}
.profile-inline .profile-name:hover{border-color:var(--border);background:#f8faf6}.profile-inline .profile-name:focus{border-color:var(--green);background:white;outline:2px solid #dfeccb}
.profile-inline .copy-palette{white-space:nowrap;font-size:.75rem;padding:8px 10px;min-height:36px}
.profile-inline>.palette{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 20px 20px}
.profile-inline .palette-field{display:flex;flex-direction:column;padding:0;border:0;background:transparent}.profile-inline .palette-field>label{font-size:.75rem;margin:0 0 7px}
.profile-inline .palette-picker{height:72px;min-height:72px}.profile-inline .palette-hex{font-size:.6875rem;padding:7px 3px;border-color:transparent;background:transparent}.profile-inline .palette-hex:focus{background:#fff;border-color:var(--green)}
.profile-note{display:block;padding:15px 20px;border-top:1px solid var(--border);background:#f8faf6;font-size:.75rem;color:var(--muted)}.profile-note textarea{margin-top:6px;min-height:56px;font-size:.8125rem}
.copy-palette-text{width:100%;padding:12px;font-family:monospace}
@media(max-width:600px){.profile-inline>.palette{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-inline>header{align-items:stretch;flex-direction:column}}

/* Provozní diagnostika správce. */
.log-tools{align-items:end;gap:12px;flex-wrap:wrap}.log-tools label{display:grid;gap:6px;font-size:14px}.log-tools input,.log-tools select{min-height:44px;padding:10px 12px;border:1px solid #d8e0d6;border-radius:10px;background:#fff;color:#24382d;font:inherit}.log-tools input{width:260px;max-width:100%}.log-entry{margin-top:12px;padding:20px;border-left:4px solid #8c9c86}.log-entry.log-error{border-left-color:#a34f43}.log-entry.log-warning{border-left-color:#b48b3b}.log-entry .record-actions{margin-top:14px}.log-entry h3{overflow-wrap:anywhere}.log-entry .log-box{max-height:420px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
/* Feedback and equally prominent, optional analytics choices. */
#feedback-button{background:#edf4e7;color:#356443;border:1px solid #d7e5cf}
#modal:has(#feedback-form){width:min(760px,calc(100vw - 32px));max-width:760px}
.feedback-trap{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
.feedback-message{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}
.feedback-list{max-height:70vh;overflow:auto}
.privacy-choice{position:fixed;z-index:900;bottom:20px;left:50%;transform:translateX(-50%);width:min(920px,calc(100% - 32px));box-sizing:border-box;padding:22px;background:#fff;border:1px solid #d6e1d3;border-radius:18px;box-shadow:0 12px 55px #21392b25;display:flex;gap:24px;align-items:center}
.privacy-choice p{font-size:14px;margin:8px 0 0;line-height:1.5;color:#536354}.privacy-choice .record-actions{flex-wrap:nowrap;flex-shrink:0}.privacy-choice .button{white-space:nowrap}
@media(max-width:700px){.privacy-choice{display:block;bottom:8px;padding:16px}.privacy-choice .record-actions{margin-top:14px}.privacy-choice .button{flex:1}}
#modal:has(#feedback-form) .modal-heading{align-items:flex-start;gap:16px}
#modal:has(#feedback-form) .modal-heading h2{flex:1;min-width:0}
#modal:has(#feedback-form) .modal-heading .icon-button{flex:0 0 40px;width:40px;min-width:40px;height:40px;padding:0}
@media(max-width:760px){.site-header{height:auto;min-height:0;flex-wrap:wrap;justify-content:center;padding:14px 12px 0;gap:12px}.site-header .brand{flex:0 0 100%;display:flex;justify-content:center}.site-header .brand img{width:225px}.site-header .header-actions{justify-content:center;flex-wrap:wrap;flex:0 0 100%;min-width:0;gap:8px}.site-header .main-nav{position:static;order:3;flex:0 0 100%;width:100%;height:50px;justify-content:flex-start;padding:0;border:0}.site-header+main{padding-top:0}}

/* mapSTL.com picture planning — the same quiet typography as the map builder. */
#model-mode{margin-bottom:16px}#mosaic-settings[hidden],#single-size[hidden],#mosaic-clearance-row[hidden],#mosaic-calibration[hidden]{display:none}
.mosaic-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin:12px 0}.mosaic-pair label{font-size:12px;line-height:1.45}.mosaic-pair input{width:100%;min-width:0;margin-top:5px}
#mosaic-settings>select{width:100%;margin:5px 0 8px}.mosaic-plan{display:grid;gap:5px;background:#edf2e6;border:1px solid #d4dec9;border-radius:12px;padding:14px;margin:18px 0 12px;color:#284432}.mosaic-plan strong{font-size:19px}.mosaic-plan small{line-height:1.5;color:#506049}.mosaic-grid-caption{font-size:11px;color:#65715d;margin:12px 0 7px}.mosaic-grid{display:grid;gap:2px;max-height:360px;width:100%;background:#f6f8f0;border:1px solid #a9b697;padding:3px;border-radius:8px}.mosaic-grid span{display:flex;align-items:center;justify-content:center;background:#dfe8d3;color:#385536;font-size:clamp(8px,1vw,12px);min-width:0;min-height:0}.mosaic-grid.dense span{font-size:7px}.mosaic-export-progress{min-height:26px;color:#3d603a;font-weight:600}.mosaic-selection{display:grid;gap:8px;margin:20px 0}.mosaic-size-note:empty{display:none}
#mosaic-settings input[type="number"],#mosaic-settings select,.mosaic-selection select{min-height:42px;border:1px solid #d7dfd0;border-radius:8px;padding:9px 10px;background:#fff;color:#304530;font:inherit;font-size:13px;box-sizing:border-box}#mosaic-settings input:focus,#mosaic-settings select:focus,.mosaic-selection select:focus{outline:2px solid #7b9b65;outline-offset:2px}
.mosaic-grid{margin-bottom:14px}

/* One place to start; one consistent set of controls for every builder step. */
.config-panel{display:block}
.place-guide{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:center;gap:10px 12px;padding:20px 24px;background:linear-gradient(120deg,#edf4e1,#f7f8ee);border-bottom:1px solid #d8e3cf;border-radius:15px 0 0 0}
.guide-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:#3b6c45;color:#fff;font-size:20px;font-weight:700}
.place-guide strong{font-size:16px;line-height:1.35;display:block;letter-spacing:-.02em}
.place-guide p{font-size:12px;line-height:1.5;margin-top:3px;color:#56674f;overflow-wrap:anywhere}
.guide-action{justify-self:start;min-height:36px;padding:8px 10px;border:1px solid #bfd0b2;border-radius:7px;background:#fff;color:#315b39;font-size:11px;font-weight:650;white-space:nowrap}
.guide-action:hover{background:#e2ecd7}
.place-guide.is-chosen{background:#f5f8f1;padding-top:16px;padding-bottom:16px}
.place-guide.is-chosen .guide-mark{background:#e1ecd7;color:#3b6c45;font-size:18px}
.place-guide.is-chosen .guide-action{padding:0;border:0;background:transparent;min-height:28px}
.config-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:12px;background:#f7f9f5;border-bottom:1px solid var(--border);border-radius:0;overflow:visible}
.config-tabs button{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:7px;min-width:0;min-height:44px;padding:8px 9px;border:1px solid #c8d5c4;border-radius:8px;background:#fff;color:#465b44;font-size:12px;font-weight:600;box-shadow:0 1px 2px #243f1b08}
.config-tabs .tab-step{display:grid;place-items:center;width:21px;height:21px;padding:0;flex-shrink:0;border-radius:6px;background:#e9eee4;color:#687963;font-size:11px}
.config-tabs button>span:last-child{font-size:inherit}
.config-tabs button.selected{background:var(--green);color:#fff;border-color:var(--green);box-shadow:0 2px 5px #243f1b18;font-weight:700}
.config-tabs button.selected .tab-step{background:#fff;color:var(--green-dark)}
.config-tabs button:hover{background:#edf4e8;color:#315d3a;border-color:#8aaa7e}
.config-tabs button.selected:hover{background:var(--green-dark);border-color:var(--green-dark);color:#fff}
.config-tabs button.needs-place:not(.selected){border-color:#8aaa7e;color:#315d3a;background:#fff}
.config-panel .section-heading{gap:11px;margin-bottom:12px}
.config-panel .section-heading h2{font-size:21px;line-height:1.3;letter-spacing:-.035em;font-weight:650}
.config-panel .step{display:grid;place-items:center;min-width:34px;height:34px;padding:0;border-radius:10px;font-size:13px;background:#f0f4e9;flex-shrink:0}
.panel-eyebrow{font-size:10px;letter-spacing:.12em;color:#577447;font-weight:750;margin-bottom:3px}
.config-panel .place-heading .step{min-width:40px;height:45px;background:#e5efda;color:#315b39;font-size:17px}
.config-panel .tab-help{font-size:13px;line-height:1.65;color:#65715f;margin:0 0 23px}
.config-panel .field-row{font-size:13px;gap:14px;margin:18px 0;min-width:0}
.config-panel .field-row label{flex:1;min-width:0;flex-shrink:1}
.config-panel select{min-height:42px;border:1px solid #dce4d7;border-radius:8px;background:#fff;padding:9px 10px;font-size:13px;max-width:100%}
.config-panel .field-row select{max-width:58%;min-width:82px}
.config-panel .field-label{font-size:13px;line-height:1.5}
.config-panel .field-help,.config-panel .map-hint{color:#697663;font-size:12px;line-height:1.65}
.config-panel .segmented{padding:4px;gap:4px;background:#f5f7f1;border:1px solid #e1e7db;border-radius:10px;overflow:visible}
.config-panel .segmented button{border:1px solid transparent!important;border-radius:7px;background:transparent;min-height:42px;font-size:13px;padding:9px 6px;color:#63725b}
.config-panel .segmented button.selected{background:white;border-color:#cbdcbf!important;color:#355e3e;box-shadow:0 2px 4px #203b1c08}
.config-panel input[type=checkbox]{accent-color:var(--green);width:17px;height:17px;flex-shrink:0;margin:1px 0}
.config-panel .search-form{border:1px solid #aec29f;box-shadow:0 0 0 3px #eff5e7;border-radius:10px;background:#fff;margin-top:6px}
.config-panel .search-form:focus-within{border-color:#3b6c45;box-shadow:0 0 0 3px #deecd2}
.config-panel .search-form input{padding:15px 13px;font-size:16px;min-height:54px}
.config-panel .search-form button{min-width:48px}
.builder-text-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 0;background:transparent;color:#3b6c45;font-size:12px;line-height:1.5;font-weight:600;text-align:left}
.builder-text-button:hover{text-decoration:underline}
.builder-text-button:disabled{cursor:default;color:#86927d;opacity:.5}
.builder-details,.config-panel .label-disclosure{margin-top:23px;border:1px solid #e0e7da;border-radius:10px;padding:0;background:#fafbf8}
.builder-details>summary,.config-panel .label-disclosure>summary{padding:15px;font-size:12px;font-weight:650;color:#4c6243;line-height:1.5;cursor:pointer}
.builder-details[open],.config-panel .label-disclosure[open]{padding:0 15px 15px}
.builder-details[open]>summary,.config-panel .label-disclosure[open]>summary{padding:15px 0 13px;margin:0}
.builder-details p{font-size:12px;line-height:1.65;color:#64725b;margin:10px 0 0}
.config-panel .terrain-settings{min-width:0;margin:20px 0 0;padding:12px 0 0;border:0;border-top:1px solid var(--border)}
.terrain-settings legend{padding:0 10px 0 0;font-size:14px;font-weight:700;color:var(--ink)}
.terrain-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.terrain-options>label{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:12px;font-weight:600}
.config-panel .terrain-options select{width:100%;min-height:44px;font-size:14px}
.config-panel .terrain-settings .field-help{margin:6px 0 12px;font-size:11px;line-height:1.5}
.config-panel .terrain-settings .field-label{margin:0;align-items:center}
.terrain-settings output{padding:2px 8px;border-radius:6px;background:#edf4e5;font-weight:700;white-space:nowrap}
.terrain-settings input[type=range]{display:block;width:100%;min-height:32px;margin:2px 0 0;accent-color:var(--green)}
.terrain-settings .range-labels{margin:0;font-size:10px;line-height:1.4}
.color-count-card{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f5f8ef;border:1px solid #e0e8d7;border-radius:12px;padding:14px 15px}
.color-count-card strong{display:block;font-size:14px;font-weight:650}
.color-count-card small{display:block;font-size:11px;line-height:1.5;color:#64725a;margin-top:4px}
.color-count-card select{flex-shrink:0;font-size:14px;font-weight:600}
.palette-usage{font-size:11px;line-height:1.6;color:#738167;margin:12px 0}
#palette.builder-palette{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0;align-items:stretch}
.builder-swatch{min-width:0;padding:6px;border:1px solid #dfe6da;border-radius:13px;background:#fff;transition:border-color .15s,box-shadow .15s}
.builder-swatch:hover{border-color:#9bb391;box-shadow:0 3px 12px #254e3010}
.builder-swatch .swatch-surface{position:relative;display:flex;align-items:flex-end;justify-content:flex-end;height:74px;border-radius:8px;border:1px solid #0000000d;cursor:pointer;overflow:hidden;margin:0}
.swatch-surface>span{display:flex;align-items:center;gap:12px;margin:6px;padding:4px 7px;background:#fffffff0;color:#2c4535;font-size:10px;font-weight:650;border-radius:5px;pointer-events:none;box-shadow:0 1px 3px #0000000d}
.swatch-surface input[type=color]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0;padding:0;border:0}
.swatch-surface:focus-within{outline:3px solid #6094c8;outline-offset:3px}
.swatch-caption{padding:9px 5px 5px;min-height:42px}
.builder-swatch .swatch-name{display:block;font-size:12px;font-weight:650;line-height:1.4;cursor:pointer;color:#2a3e30}
.swatch-shared{margin-top:5px;font-size:10px;line-height:1.5;color:#58664f}
.swatch-shared summary{cursor:pointer;min-height:28px;padding:4px 0;list-style-position:inside}
.swatch-shared summary span{font-weight:650;color:#3b6c45}
.swatch-shared p{margin:3px 0 4px;overflow-wrap:anywhere}
.builder-swatch .swatch-hex{display:none;gap:7px;align-items:center;font-size:10px;color:#738167;padding:5px}
#palette.show-hex .swatch-hex{display:flex}
#palette .swatch-hex input{width:100%;min-width:0;border:1px solid #d9e2d1;border-radius:5px;padding:7px 5px;background:#fafcf7;font:12px ui-monospace,monospace;text-transform:uppercase}
#palette-hex-toggle{font-size:11px;margin-top:3px}
.palette-section-title{font-size:13px;font-weight:650;letter-spacing:0;margin:18px 0 12px}
#styles.palette-styles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0 0 20px}
#styles .palette-style-card{display:flex;flex-direction:column;min-width:0;overflow:hidden;position:relative;border:1px solid #dfe6da;border-radius:11px;background:#f7f9f4;padding:0;text-align:left;color:#344738;box-shadow:0 1px 2px #243f2410;transition:border-color .15s,box-shadow .15s}
#styles .palette-style-card:hover{border-color:#86a77a;box-shadow:0 4px 12px #24472b16}
#styles .palette-style-card.is-selected{border-color:#3b6c45;box-shadow:0 0 0 1px #3b6c45;background:#eef5e7}
#styles .palette-style-card:focus-visible{outline:3px solid #6094c8;outline-offset:3px}
.palette-style-art{height:58px;display:flex;align-items:center;justify-content:center;width:100%;background:radial-gradient(ellipse at center,#fff9,transparent)}
.palette-style-art svg{display:block;width:144px;max-width:100%;height:60px}
.palette-style-check{display:none;position:absolute;top:6px;right:6px;width:18px;height:18px;align-items:center;justify-content:center;border-radius:50%;font-size:11px;color:#fff;background:#3b6c45}
.is-selected .palette-style-check{display:flex}
.palette-style-strip{display:flex;width:100%;height:9px;border-top:1px solid #20392b0a;border-bottom:1px solid #20392b0a}
.palette-style-strip i{flex:1;min-width:0}
.palette-style-caption{display:flex;justify-content:space-between;align-items:center;gap:5px;width:100%;padding:8px;min-height:35px;background:#ffffffc9}
.palette-style-caption strong{font-size:12px;font-weight:650;line-height:1.3;overflow-wrap:anywhere}
.palette-style-caption small{font-size:10px;white-space:nowrap;color:#66745e}
#highlight-colors-link[hidden]{display:none}
.palette-personal-title{grid-column:1/-1;font-size:12px;font-weight:650;padding:8px 0 0}
.palette-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:22px;font-size:13px}
#panel-colors .palette-usage{margin:2px 0 12px}
.style-note{margin:-8px 0 16px;font-size:11px;line-height:1.5}
.config-panel .layers,.config-panel .finish-settings,.config-panel .print-settings,.config-panel .label-settings{border:0;padding:0;margin:0;min-width:0}
.config-panel .layers>legend,.config-panel .finish-settings>legend,.config-panel .label-settings>legend{font-size:13px;font-weight:650;margin-bottom:12px}
.config-panel .layers>legend{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.config-panel .layers .layer-presets{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 18px}
.config-panel .layer-presets button{min-height:40px;font-size:11px;border-radius:7px;padding:8px 10px;background:#f5f7f1;border:1px solid #e0e7da;color:#637358}
.config-panel .layer-presets button[aria-pressed=true]{background:#eaf3de;border-color:#a8c392;color:#355d39}
.config-panel #layers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
.config-panel #layers label{display:flex;align-items:flex-start;gap:9px;padding:11px 9px;line-height:1.5;font-size:12px;background:#fafbf8;border:1px solid #e3e9de;border-radius:8px;cursor:pointer}
.config-panel #layers label:has(input:checked){background:#f0f6e9;border-color:#d4e3c7;color:#355336}
.config-panel .print-settings>label{display:block;font-size:13px;font-weight:550;margin:20px 0 8px}
.config-panel .print-settings>select{display:block;width:100%;max-width:100%}
.config-panel .print-settings p,.config-panel .finish-settings p{font-size:12px;line-height:1.65;color:#697860;margin:12px 0 0}
.config-panel .height-summary{border-radius:10px;margin-top:22px;background:#f3f7ed;padding:16px;font-size:13px}
.config-panel .height-summary small{font-size:11px;line-height:1.6}
.builder-tab-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 24px;border-top:1px solid #e6ebdf;background:#fcfdf9}
.builder-tab-navigation>span{font-size:11px;color:#7d8b71}
.builder-tab-navigation [hidden]{display:none}
.create-action #generate{min-height:54px;font-size:15px;border-radius:10px}
.create-action #save-project{min-height:44px;font-size:13px}
.viewer-loading>strong{font-size:20px;line-height:1.4;letter-spacing:-.025em;max-width:500px}
.viewer-loading>.button{margin-top:2px}
@media(min-width:561px) and (max-width:1000px){.config-tabs{grid-template-columns:repeat(6,minmax(0,1fr))}.config-tabs button{justify-content:center}.place-guide{grid-template-columns:40px minmax(0,1fr) auto}.place-guide .guide-action{grid-column:auto}.config-panel .panel-section{padding:28px}.place-guide{border-radius:15px 15px 0 0}#palette.builder-palette{grid-template-columns:repeat(4,minmax(0,1fr))}#styles.palette-styles{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.place-guide{grid-template-columns:36px minmax(0,1fr);padding:18px;border-radius:10px 10px 0 0}.place-guide .guide-action{grid-column:2}.place-guide strong{font-size:15px}.place-guide p{font-size:11px}.config-tabs{padding:9px;gap:5px}.config-tabs button{font-size:11px;padding:8px 6px;gap:5px}.config-panel .section-heading h2{font-size:20px}.config-panel .panel-section{padding:20px 17px}.config-panel .tab-help{font-size:12px}.config-panel #layers{gap:7px}.config-panel #layers label{font-size:11px;padding:10px 8px}.color-count-card{padding:12px}.color-count-card strong{font-size:13px}.builder-swatch .swatch-name{font-size:12px}.builder-swatch>small{font-size:10px}.builder-tab-navigation{padding:10px 18px}.config-panel .field-row{font-size:12px}.viewer-loading>strong{font-size:19px}.config-panel input[type=text],.config-panel select{font-size:16px}.color-count-card select{font-size:14px}.config-panel .field-row select{font-size:13px}.config-panel #label-text{max-width:100%}.builder-text-button{font-size:11px}.config-panel .print-settings>select{font-size:13px}}

/* A compact primary view, with detailed telemetry available on demand. */
.viewer-loading:has(>.progress-card){justify-content:center;padding:24px 18px}
.progress-card{width:min(100%,480px);padding:24px;border:1px solid #dce5d8;border-radius:20px;background:#fff;box-shadow:0 12px 40px #233c2710;text-align:left}
.progress-card-heading{display:flex;align-items:center;gap:14px}
.progress-symbol{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:14px;background:#edf3e7}
.progress-symbol .spinner{width:23px;height:23px}
.progress-card-heading>div:last-child{min-width:0}
.progress-card .progress-eyebrow{margin:0 0 4px;color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.viewer-loading .progress-card .progress-stage{margin:0;font-size:17px;font-weight:650;color:var(--ink);line-height:1.35;letter-spacing:-.015em}
.progress-meter{display:flex;align-items:center;gap:12px;margin:22px 0 10px}
.progress-card .progress-track{width:auto;flex:1;height:7px;background:#eaf0e5}
.viewer-loading .progress-card .progress-percent{width:42px;text-align:right;font-size:12px;font-weight:650;color:var(--green-dark);font-variant-numeric:tabular-nums}
.viewer-loading .progress-card>.progress-detail{margin:0 0 18px;font-size:12px;line-height:1.6;color:var(--muted);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.progress-metrics{display:grid;grid-template-columns:minmax(0,1.3fr) repeat(2,minmax(0,1fr));gap:12px;background:#f4f7f0;border-radius:12px;padding:14px 16px}
.progress-metrics>div+div{border-left:1px solid #dfe7d8;padding-left:12px}
.progress-metrics p{margin:0 0 5px;color:var(--muted);font-size:11px;line-height:1.4}
.viewer-loading .progress-card .progress-metrics strong{font-size:19px;line-height:1.3;font-weight:650;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--green-dark)}
.viewer-loading .progress-card .progress-elapsed{color:#536451}
.progress-more{margin-top:16px;border-top:1px solid #edf1e8;padding-top:12px}
.progress-more summary{cursor:pointer;color:var(--muted);font-size:12px;line-height:1.5;width:fit-content}
.progress-more summary:focus-visible{outline:2px solid var(--green);outline-offset:4px;border-radius:3px}
.progress-more-body{padding-top:10px;display:grid;gap:8px}
.viewer-loading .progress-card .progress-more-body p{margin:0;font-size:12px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.progress-more-body p:empty{display:none}
.progress-track.is-waiting .progress-bar{width:30%;animation:progress-wait 2s ease-in-out infinite alternate}
@keyframes progress-wait{from{transform:translateX(-100%)}to{transform:translateX(335%)}}
@media(prefers-reduced-motion:reduce){.progress-track.is-waiting .progress-bar{animation:none;width:100%;opacity:.45}.progress-bar{transition:none}.viewer-loading .spinner{animation:none}}
@media(max-width:560px){.viewer-loading:has(>.progress-card){min-height:320px;padding:18px 12px}.progress-card{padding:18px;border-radius:16px}.viewer-loading .progress-card .progress-stage{font-size:15px}.progress-symbol{flex-basis:38px;height:38px}.progress-card-heading{gap:10px}.progress-metrics{padding:12px 10px;gap:8px}.progress-metrics>div+div{padding-left:8px}.progress-metrics p{font-size:10px}.viewer-loading .progress-card .progress-metrics strong{font-size:16px;white-space:nowrap}}

.style-production-meta{grid-column:1/-1;font-size:10px;line-height:1.5;color:#6d7b64}

.model-topbar>div:first-child{flex:1;min-width:170px}
.model-topbar .new-model{flex-shrink:0;gap:7px;min-height:38px;padding:8px 12px;font-size:.8rem;border-color:#b6cbaa;color:var(--green);background:#f4f8ef;white-space:nowrap}
.new-model>span{font-size:1.1rem;line-height:1}
@media(max-width:600px){.model-topbar .new-model{width:100%;min-height:42px}.model-topbar .model-tools{grid-template-columns:1.7fr 1fr 1fr 1fr}}


/* Actionable recovery stays readable both over the model and in gallery dialogs. */
.recovery-card{width:100%;max-width:600px;text-align:left;line-height:1.65;margin:0 auto}
.recovery-card h3{font-size:1.35rem;line-height:1.3;margin:0 0 14px;color:var(--ink)}
.recovery-card p{margin:0 0 14px;font-size:.875rem;overflow-wrap:anywhere}
.recovery-card .recovery-saved{color:var(--green-dark);font-weight:600}
.recovery-next{padding:16px 18px;background:#fff8e7;border:1px solid #e7d9b2;border-radius:12px;margin:16px 0}
.recovery-next strong{font-size:.9rem}.recovery-next p{margin:8px 0 0}
.recovery-card .recovery-countdown{font-weight:700;color:var(--green-dark);font-variant-numeric:tabular-nums}
.recovery-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.recovery-card .recovery-note,.recovery-details{font-size:.75rem;color:var(--muted)}
.recovery-details summary{cursor:pointer;padding:6px 0}.recovery-details p{font-size:.75rem;margin:8px 0}
.recovery-place{font-size:1rem;margin:0 0 8px}
@media(max-width:560px){.recovery-actions .button{width:100%}.recovery-card h3{font-size:1.15rem}.recovery-next{padding:12px}}

/* Keep progress in view and recovery controls reachable on small screens. */
#viewer-loading{scroll-margin-top:16px}
.viewer-loading:has(>.recovery-card){overflow-y:auto;justify-content:flex-start}
#modal .modal-heading{align-items:flex-start}
#modal .modal-heading h2{flex:1;min-width:0}
#modal .modal-heading .icon-button{flex:0 0 40px;width:40px;min-width:40px;height:40px;padding:0}
@media(max-width:560px){#modal{padding:20px 16px;max-height:calc(100dvh - 24px)}#modal .modal-heading{gap:12px;margin-bottom:18px}#modal .modal-heading h2{font-size:1.2rem}.recovery-card p{font-size:.8125rem}}

/* Compact mobile editing; explanations remain available in disclosures. */
.intro-mobile{display:none}
.builder-tab-navigation{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}
.builder-tab-navigation .button{min-height:48px;padding:11px 12px;font-size:13px;font-weight:700;border-radius:9px;white-space:nowrap}
.builder-tab-navigation #builder-previous{grid-column:1;border-color:#bdccba;background:#fff;color:#355f3e}
.builder-tab-navigation #builder-position{grid-column:2;text-align:center;white-space:nowrap}
.builder-tab-navigation #builder-next{grid-column:3}
.model-details{border-top:1px solid #dce5d5;background:#f3f7ee}
.model-details>summary{cursor:pointer;min-height:48px;padding:14px 28px;color:#3d613c;font-size:13px;font-weight:650;line-height:1.5}
.model-details>summary:focus-visible{outline:2px solid var(--green);outline-offset:-4px}
.model-details .print-report{border-top:1px solid #dce5d5}
.mosaic-advanced>select{width:100%;margin-top:8px}
@media(max-width:760px){
  .site-header.navigation-ready{flex-wrap:nowrap;gap:12px}
  .site-header.navigation-ready .brand{min-width:0;max-width:calc(100% - 110px)}
  .site-header.navigation-ready .header-menu-toggle{flex-shrink:0}
  #generator-page>.intro{padding:18px 0 16px}
  #generator-page .intro .page-title{font-size:1.5rem;line-height:1.2}
  #generator-page .intro .eyebrow{display:none}
  #generator-page .intro-description{display:none}
  #generator-page .intro-mobile{display:block;font-size:.8125rem;line-height:1.5;margin-top:9px}
  #generator-page.has-selected-place>.intro{display:none}
  #generator-page.has-selected-place>.workspace{margin-top:16px}
  #generator-page>.inspiration-strip{display:none}
  .place-guide{grid-template-columns:34px minmax(0,1fr) auto;gap:9px;padding:13px 14px;border-radius:10px 10px 0 0}
  .place-guide .guide-mark{width:34px;height:34px;border-radius:10px;font-size:17px}
  .place-guide strong{font-size:13px}.place-guide p{font-size:11px;line-height:1.4}
  .place-guide .guide-action{grid-column:auto;min-height:44px;white-space:normal;max-width:98px;font-size:11px;padding:8px}
  .place-guide.is-chosen{padding:11px 14px}
  .place-guide.is-chosen .guide-action{min-height:44px;padding:8px 0;max-width:none;white-space:nowrap}
  .config-panel .panel-section{padding:18px 16px}
  .config-panel .section-heading{margin-bottom:16px}
  .config-panel .tab-help{display:none}
  .config-panel .builder-details,.config-panel .label-disclosure{margin-top:15px}
  .config-panel .builder-details>summary,.config-panel .label-disclosure>summary{min-height:46px;padding:13px;font-size:12px}
  .config-panel .builder-details[open]>summary,.config-panel .label-disclosure[open]>summary{padding:13px 0}
  .config-panel .height-summary{margin-top:16px;padding:12px}
  .builder-tab-navigation{padding:12px 14px;gap:10px}
  .builder-tab-navigation .button{font-size:13px;padding:10px 8px}
  .create-action{padding:14px 16px 16px}
  .create-action>p:not(#save-project-hint){display:none}
  .create-action #save-project{margin-top:12px}
  .create-action #save-project-hint{font-size:11px;margin-top:7px}
  .model-panel:has(#viewer-loading>.welcome-image){display:none}
  .model-topbar{padding:16px;gap:10px}
  .model-topbar>div:first-child{width:auto;min-width:100px}
  .model-topbar .eyebrow{display:none}
  .model-topbar h2{font-size:1.1rem}
  .model-topbar .new-model{width:auto;min-height:44px;font-size:11px;padding:8px 10px}
  .model-topbar .model-tools{width:100%;display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr;gap:7px}
  .model-tools .icon-button{height:44px;width:100%}
  .viewer{height:clamp(350px,65vh,480px);min-height:350px}
  .model-meta{padding:12px 16px;gap:7px 12px;font-size:11px}
  .model-details>summary{padding:14px 16px;font-size:12px}
  .model-details .model-warnings,.model-details .print-report{padding:12px 16px;font-size:12px}
  .export-bar{padding:14px 16px}
  .export-bar>div:first-child{display:none}
  .export-actions .button{min-height:44px}
  .data-credit{padding:10px 12px;font-size:10px}
}

#map.picking-building, #map.picking-building .leaflet-interactive{cursor:crosshair}

.admin-preview-progress{padding:14px 18px;border:1px solid #cdddc5;border-radius:10px;background:#eef5e8;color:#31593b;font-weight:600;margin-top:12px!important}

.building-highlight.highlight-unavailable .check-label{color:#687366;cursor:not-allowed}.building-highlight.highlight-unavailable input[type=checkbox]{cursor:not-allowed}

/* The provisional model and its progress each have their own visible area. */
#viewer:has(>#viewer-loading.has-preview:not(.hidden)){
  --preview-height:clamp(320px,43vw,520px);
  height:auto;min-height:0;flex:none;
}
#viewer:has(>#viewer-loading.has-preview:not(.hidden))>canvas{
  position:relative;inset:auto;height:var(--preview-height);
}
#viewer:has(>#viewer-loading.has-preview:not(.hidden))>.dimension-overlay{height:var(--preview-height)}
#viewer:has(>#viewer-loading.has-preview:not(.hidden))>.compass{top:calc(var(--preview-height) - 72px);bottom:auto}
#viewer:has(>#viewer-loading.has-preview:not(.hidden))>.viewer-help{top:calc(var(--preview-height) - 34px);bottom:auto}
#viewer>#viewer-loading.has-preview{
  position:relative;inset:auto;min-height:0;padding:0 12px 12px;
  background:transparent;pointer-events:auto;
}
#viewer-loading:focus{outline:none}
#viewer-loading.has-preview .progress-card{width:100%;max-width:680px;padding:16px;box-shadow:none}
#viewer-loading.has-preview .progress-eyebrow{display:none}
#viewer-loading.has-preview .progress-meter{margin:14px 0 8px}
#viewer-loading.has-preview .progress-detail{margin-bottom:12px}
#viewer-loading.has-preview .progress-more{margin-top:12px;padding-top:10px}
@media(max-width:560px){
  #viewer:has(>#viewer-loading.has-preview:not(.hidden)){--preview-height:320px}
  #viewer-loading.has-preview .progress-card{padding:14px}
  #viewer-loading.has-preview .progress-metrics strong{font-size:clamp(13px,4vw,16px);white-space:normal;overflow-wrap:anywhere}
}
#viewer:fullscreen:has(>#viewer-loading.has-preview:not(.hidden)){
  display:flex;flex-direction:column;height:100%;overflow:auto;
}
#viewer:fullscreen:has(>#viewer-loading.has-preview:not(.hidden))>canvas{flex:1;min-height:200px;height:0}
#viewer:fullscreen:has(>#viewer-loading.has-preview:not(.hidden))>.viewer-help,
#viewer:fullscreen:has(>#viewer-loading.has-preview:not(.hidden))>.compass{display:none}

/* Clear choices for the whole picture; advanced printer controls stay folded. */
.picture-actions .picture-small{background:#416a80;border:1px solid #416a80;color:#fff}.picture-actions .picture-small:hover{background:#31576c;border-color:#31576c;color:#fff}
.mosaic-step-title{font-size:14px;margin:20px 0 10px;color:#294b37}.mosaic-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mosaic-presets button{display:grid;gap:5px;min-height:70px;padding:12px 8px;text-align:center;background:#fff;border:1px solid #ccd9c7;border-radius:9px;color:#2e4937}.mosaic-presets button strong{font-size:16px;white-space:nowrap}.mosaic-presets button strong span{font-size:11px;font-weight:500}.mosaic-presets button small{font-size:11px;color:#61705d}.mosaic-presets button:hover{border-color:#527044;background:#f2f7ed}.mosaic-presets button.selected{border:2px solid #426638;padding:11px 7px;background:#eaf2e1;box-shadow:0 0 0 1px #42663816}.mosaic-presets button:focus-visible{outline:2px solid #355f7c;outline-offset:2px}.mosaic-other-size{display:grid;grid-template-columns:1fr minmax(0,1.4fr);align-items:center;gap:10px;margin:14px 0}.mosaic-other-size label{font-size:12px}.mosaic-other-size select{width:100%;min-width:0}.mosaic-plan .mosaic-total{font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:.045em}.mosaic-plan strong{font-size:25px}.mosaic-plan>span:not(.mosaic-total){font-weight:650}.mosaic-advanced>summary{line-height:1.5}#mosaic-bed-note{font-size:11px;line-height:1.6;margin-top:0}#single-size .field-label{margin-top:16px}
@media(max-width:360px){.mosaic-other-size{grid-template-columns:1fr}.mosaic-presets button strong{font-size:15px}}

/* Optional model notes are closed by default; print cautions remain in the summary. */
.model-details>summary{font-size:.875rem}
.model-detail-alert{display:inline-block;margin:4px 0 4px 12px;padding:3px 8px;border-radius:6px;background:#f7ecd0;color:#72551d;font-size:.8125rem;font-weight:600}
.model-details .model-warnings,.model-details .print-report{font-size:.875rem;line-height:1.65}
.model-warnings ul{margin:0;padding-left:20px}.model-warnings li+li{margin-top:10px}
.model-adjustments{display:flex;flex-wrap:wrap;gap:6px 20px;list-style:none;padding:0;margin:12px 0}
.model-adjustments li{padding:4px 9px;border-radius:6px;background:#fff}
.model-data-details{margin-top:12px}.model-data-details>summary{cursor:pointer;color:#3d613c;font-weight:600;padding:6px 0}
@media(max-width:760px){.model-detail-alert{display:table;margin:8px 0 0}.model-details .model-warnings,.model-details .print-report{font-size:.875rem}}

/* Keep scale warnings visible before downloading; no overlap with the viewer. */
.print-detail-notice{padding:20px 28px;background:#fff8e8;border-top:1px solid #e4d5ad;color:#674d20;font-size:.9375rem;line-height:1.6}
.print-detail-notice>strong{display:block;font-size:1rem;color:#51401f}
.print-detail-notice ul{margin:8px 0;padding-left:20px}.print-detail-notice p{margin:8px 0 12px}
.print-detail-actions{display:flex;flex-wrap:wrap;gap:8px}.print-detail-actions .button{font-size:.875rem;min-height:44px;padding:10px 14px}
@media(max-width:760px){.print-detail-notice{padding:16px}.print-detail-actions .button{flex:1 1 135px}}

/* Custom production is offered in the Czech version only. */
#order[hidden]{display:none!important}html[lang="en"] #download{display:inline-flex}
.memory-notice{margin:1rem 0;padding:1rem;border:1px solid #d8c593;border-radius:14px;background:#fff9eb;color:#665127;font-size:.9rem;line-height:1.5}
.memory-notice[hidden],.memory-notice [hidden]{display:none}
.memory-notice p{margin:.5rem 0}
.memory-notice .button{margin-top:.25rem;white-space:normal}

#panel-colors>.palette-ground-note{margin:12px 0;padding:12px 14px;background:#f0f4e9;border:1px solid #dce5d6;border-radius:10px;font-size:.8125rem;line-height:1.6;color:#405b43;overflow-wrap:anywhere}

/* A short model summary; source and printing details stay in the disclosure. */
.model-meta{gap:10px 24px;justify-content:space-between;color:#586b54;font-size:.875rem;line-height:1.5}
#meta-measurements{display:flex;flex-wrap:wrap;gap:4px 20px;align-items:baseline}
#meta-measurements[hidden]{display:none}
.model-meta #meta-size{font-size:1rem;font-weight:650;color:#2e4436}
.model-meta .meta-status{margin-left:0;font-size:.8125rem}
.model-data-info{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;margin:0;padding:18px 28px;border-top:1px solid #dce5d5;font-size:.8125rem;line-height:1.6}
.model-details .model-warnings:empty{display:none}
.model-data-info dt{font-weight:500;color:#65755e}
.model-data-info dd{margin:2px 0 0;color:#2e4436;overflow-wrap:anywhere}
.data-credit{flex-wrap:wrap;gap:5px 16px;padding:12px 24px;font-size:.75rem;line-height:1.6;color:#61705b;text-align:center}
.data-credit a{text-decoration:underline;text-underline-offset:3px}
.data-credit a:last-child{margin-left:0}
@media(max-width:760px){.model-meta{padding:14px 16px;gap:8px 16px}.model-data-info{padding:16px;grid-template-columns:1fr;gap:12px}.data-credit{padding:12px 16px;font-size:.6875rem}}

/* Public filament editor: occupy the whole palette grid and keep four colours visible. */
#palette.builder-palette.has-filaments{display:block;min-width:0}
#panel-colors>.filament-mode{display:flex;align-items:center;gap:10px;min-height:44px;margin:10px 0 18px;padding:10px 12px;border:1px solid #dce5d6;border-radius:10px;background:#fff;font-size:12px;font-weight:550;line-height:1.45;cursor:pointer}
#panel-colors>.filament-mode input{flex:none;width:18px;height:18px;margin:0;accent-color:#3b6c45}
#panel-colors .palette-heading{margin:18px 0 12px}
#panel-colors .color-count-card{padding:10px 12px;min-height:60px}
#panel-colors .color-count-card select{min-height:40px}
#panel-colors .palette-ground-note[hidden],#panel-colors .palette-usage[hidden]{display:none}
#palette .filament-editor--compact{width:100%;min-width:0}
#palette .filament-editor--compact .filament-colors{grid-template-columns:repeat(var(--filament-columns),minmax(0,1fr));gap:8px;margin:0 0 22px}
#palette .filament-color-card{min-width:0;text-align:center}
#palette .filament-color-picker{position:relative;display:block;min-height:64px;border:1px solid #0003;border-radius:10px;margin:0;overflow:hidden;cursor:pointer}
#palette .filament-color-picker>span{position:absolute;bottom:5px;left:5px;right:5px;display:flex;justify-content:space-between;gap:5px;padding:2px 5px;border-radius:4px;background:#fffffff0;color:#2c4535;font-size:12px;font-weight:700;pointer-events:none}
#palette .filament-color-picker>span b{font-size:13px;font-weight:400}
#palette .filament-color-picker input[type=color]{position:absolute;inset:0;width:100%;height:100%;min-height:0;margin:0;padding:0;opacity:0;border:0;cursor:pointer}
#palette .filament-color-picker:focus-within{outline:3px solid #6094c8;outline-offset:2px}
#palette .filament-color-name{display:block;font-size:11px;font-weight:600;color:#52634c;margin-top:6px}
#palette .filament-color-card input[type=text]{display:none;width:100%;min-width:0;margin-top:7px;border:1px solid #d9e2d1;border-radius:6px;padding:7px 4px;background:#fafcf7;font:12px ui-monospace,monospace;text-align:center;text-transform:uppercase}
#palette.show-hex .filament-color-card input[type=text]{display:block}
#palette .filament-assignments-title{margin:0 0 10px;font-size:13px;font-weight:650;color:#2a3e30}
#palette .filament-editor--compact .filament-assignments{display:block}
#palette .filament-assignment-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px 0;border-top:1px solid #e6ebdf}
#palette .filament-part-name{min-width:0;font-size:12px;font-weight:550;line-height:1.45;overflow-wrap:anywhere}
#palette .filament-assignment-row .filament-options{grid-template-columns:repeat(var(--filament-columns),44px);gap:4px}
#palette .filament-assignment-row .filament-option-face{min-height:44px;padding:3px;border-radius:8px}
#palette .filament-assignment-row .filament-option-face>i{height:20px;border-radius:3px}
#palette .filament-assignment-row .filament-option-face>span{font-size:10px;line-height:1.3;padding-top:1px}
@media(max-width:560px){#palette.show-hex .filament-editor--compact .filament-colors{grid-template-columns:repeat(2,minmax(0,1fr))}#palette .filament-color-card input[type=text]{font-size:16px}}
@media(max-width:360px){#palette .filament-assignment-row{grid-template-columns:1fr;gap:5px}#palette .filament-assignment-row .filament-options{justify-content:start}}
.custom-size-row{margin:12px 0;padding:14px;border:1px solid #dce5d6;border-radius:12px;background:#f6f8f1}
.custom-size-row[hidden]{display:none}
.custom-size-row>label{display:block;margin-bottom:8px;font-size:13px;font-weight:600}
.custom-size-row>div{display:flex;gap:8px;align-items:center}
.custom-size-row input{min-width:0;width:100%;min-height:44px;padding:8px 12px;border:1px solid #cbd7c5;border-radius:8px;font-size:16px;background:white}
.custom-size-row .button{min-height:44px;white-space:nowrap}
.custom-size-row .field-help{margin:8px 0 0}
.custom-size-row .form-error:empty{display:none}
.model-shape-settings{margin:20px 0}
#size-options{flex-wrap:wrap}
#shape-options button:disabled{opacity:.65}

/* The only Leaflet selection map stays in the Place step. */
.selection-card{border:1px solid #d9e4d2;border-radius:14px;margin:18px 0;background:#f7faf3;overflow:hidden}
.selection-card>summary{display:grid;gap:5px;cursor:pointer;padding:15px 16px;list-style:none;color:#315d3e;position:relative;padding-right:42px}
.selection-card>summary:after{content:'＋';position:absolute;right:16px;top:20px;font-size:18px}.selection-card[open]>summary:after{content:'−'}.selection-card>summary::-webkit-details-marker{display:none}
.selection-card>summary>span{font-size:12px;font-weight:650}.selection-card>summary>strong{font-size:15px;line-height:1.4}.selection-content{padding:0 12px 12px}.selection-actions{display:flex;justify-content:space-between;gap:8px;margin-bottom:10px}.selection-actions .button{padding:8px 12px;font-size:12px;min-height:40px}.config-panel .selection-card #map{height:340px}.config-panel .selection-card.is-expanded #map{height:520px}
.selection-legend{display:flex;gap:14px;flex-wrap:wrap;margin-top:12px;font-size:11px;color:#586b55}.selection-legend>span{display:flex;align-items:center;gap:6px}.selection-legend>span:before{content:'';width:14px;height:10px;border:2px solid #315f40;background:#72a25f33;border-radius:2px}.selection-legend>.map-key-frame:before{background:#b98c517a;border-color:#986c32}.selection-legend>.map-key-tiles:before{height:0;background:none;border:0;border-top:2px dashed #354f66;border-radius:0}.selection-facts{font-size:12px;line-height:1.6;color:#51674d;margin-top:10px}.selection-card .map-hint{font-size:11px;line-height:1.5}.selection-card .field-row{font-size:12px}.selection-card .boundary-selection{padding:12px;margin:12px 0 0;font-size:12px}.selection-card .boundary-selection p{font-size:12px;line-height:1.6}
@media(max-width:600px){.config-panel .selection-card #map{height:310px}.config-panel .selection-card.is-expanded #map{height:440px}.selection-content{padding:0 8px 10px}.selection-card>summary{padding-left:12px}.selection-actions .button{font-size:11px}}

/* Shorter settings: explicit map review, optional colour assignments, visible text editor. */
.selection-reminder{padding:14px;margin:18px 0;border:1px solid #d6e3cd;border-radius:12px;background:#f2f7ed}
.selection-reminder[hidden]{display:none}.selection-reminder p{margin:0 0 10px;font-size:12px;line-height:1.6;color:#435b3c}.selection-reminder .button{min-height:44px;font-size:12px}
#shape-note:empty{display:none}
#palette .filament-assignments-disclosure{border:1px solid #dce5d6;border-radius:10px;overflow:hidden;background:#fff}
#palette .filament-assignments-disclosure>summary{display:flex;justify-content:space-between;align-items:center;gap:10px;list-style:none;cursor:pointer;padding:14px;min-height:48px;font-size:13px;font-weight:650;color:#36583b;background:#f4f8ef}
#palette .filament-assignments-disclosure>summary::-webkit-details-marker{display:none}
#palette .filament-assignments-disclosure>summary>span{font-size:18px;font-weight:400}
#palette .filament-assignments-disclosure[open]>summary>span{font-size:0}#palette .filament-assignments-disclosure[open]>summary>span:after{content:'−';font-size:18px}
#palette .filament-assignments-disclosure[open]>.filament-assignments{padding:0 12px 8px}
#panel-finish .label-editor{margin:26px 0 0;padding:22px 0 0;border-top:1px solid #dce5d6}
#panel-finish .label-editor>legend{float:left;width:100%;margin:0 0 16px;font-size:17px;font-weight:700}
.label-text-heading{clear:both;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:12px;font-weight:600}
#label-count{font-size:11px;font-weight:400;color:#6b7766;white-space:nowrap}
#panel-finish #label-text{width:100%;max-width:none;min-height:46px;padding:12px;border:1px solid #cddac6;border-radius:9px;background:#fff;font-size:16px}
.label-preview{margin:12px 0 18px;padding:15px;border:1px solid #e1e7da;border-radius:10px;background:#f7f9f3;text-align:center}
.label-preview>small{display:block;font-size:10px;color:#6b7766;margin-bottom:8px}.label-preview>output{display:block;font-size:22px;font-weight:700;line-height:1.4;color:#304532;overflow-wrap:anywhere}
#label-preview-text[data-font=sans]{font-family:'Inter','Helvetica Neue',Arial,sans-serif}#label-preview-text[data-font=serif]{font-family:Georgia,'Times New Roman',serif}#label-preview-text[data-font=mono]{font-family:'Courier New',Menlo,monospace}
.label-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}.label-field-wide{grid-column:1/-1}
.label-editor-fields>.label-field{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;min-width:0}
#panel-finish .label-field select{width:100%;min-width:0;min-height:44px;padding:10px 8px;font-size:13px;font-weight:400;background:#fff;border:1px solid #d6dfce;border-radius:8px}
#label-clear{min-height:44px;font-size:12px}#label-hint{font-size:12px;line-height:1.6;margin:14px 0}
@media(max-width:360px){.label-editor-fields{grid-template-columns:1fr}.label-field-wide{grid-column:auto}}

/* The inscription preview is independent of the expensive landscape calculation. */
.label-preview>strong{display:block;font-size:13px;text-align:left;color:#344d39}
.label-preview canvas{display:block;width:100%;height:auto;max-width:100%;border-radius:8px}
.label-preview canvas[hidden],.label-preview small[hidden]{display:none}
.label-preview>small{font-size:11px;line-height:1.5;margin:8px 0 0;color:#66785f}
#label-detail-title{text-align:left;font-weight:650;margin-top:6px}
#label-preview-status{font-size:12px;line-height:1.5;margin:12px 0;color:#3f5f42}
.label-colour-field{border:0;padding:0;margin:0;min-width:0}
.label-colour-field>legend{float:none!important;width:auto!important;font-size:12px!important;font-weight:600;margin:0 0 8px!important}
.label-colour-swatches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.label-colour-swatches>label{display:grid!important;grid-template-columns:18px minmax(0,1fr);align-content:start;align-items:center;gap:6px;padding:10px 8px;border:1px solid #cddac6;border-radius:10px;background:#fff;cursor:pointer;min-width:0;position:relative}
.label-colour-swatches>label:has(input:checked){outline:2px solid #386a48;outline-offset:-2px;background:#eef5e8}
.label-colour-swatches>label:has(input:focus-visible){outline:3px solid #6c963d;outline-offset:2px}
.label-colour-swatches input{width:16px!important;height:16px!important;margin:0!important;min-height:0!important;accent-color:#386a48}
.label-colour-swatches i{width:100%;height:34px;display:block;border:1px solid #0003;border-radius:5px}
.label-colour-swatches span{grid-column:1/-1;font-size:11px;line-height:1.4;font-weight:600;overflow-wrap:anywhere}
.label-colour-swatches small{grid-column:1/-1;font-size:10px;color:#657360;font-variant-numeric:tabular-nums}

.area-size-control{margin-top:20px;padding-top:16px;border-top:1px solid #dce5d6}
.area-size-control[hidden],.area-size-control [hidden]{display:none}
.area-size-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.area-size-heading>label{font-size:13px;line-height:1.4;font-weight:600;max-width:60%}
.area-size-value{display:flex;align-items:center;gap:6px;padding:0 10px;border:1px solid #cddac6;border-radius:9px;background:#fff;flex-shrink:0}
.area-size-value:focus-within{outline:3px solid #6094c8;outline-offset:2px}
#area-size-control #area-size{width:68px;min-width:0;min-height:46px;padding:8px 0;border:0;background:transparent;outline:none;font-size:16px;text-align:right;font-variant-numeric:tabular-nums}
.area-size-value>span{font-size:13px;color:#657360}
#area-size-range{display:block;min-height:44px;margin:7px 0 0;cursor:pointer;touch-action:pan-y}
.area-size-endpoints{display:flex;justify-content:space-between;font-size:12px;color:#657360;font-variant-numeric:tabular-nums}
.area-size-presets{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);align-items:center;gap:12px;margin-top:12px}
.area-size-presets>label{font-size:13px;line-height:1.4;font-weight:600}
#area-size-presets{width:100%;min-width:0;min-height:46px;padding:8px 10px;border:1px solid #cddac6;border-radius:9px;background:#fff;font-size:16px}
#area-size-help{margin-top:12px}
#area-size-error:not([hidden]){margin-top:10px;font-size:12px;line-height:1.5}

/* A private route is optional; controls stay compact on phones. */
.gpx-settings{margin:1.25rem 0;border:1px solid #d6e1ce;border-radius:16px;background:#f7f9f4;overflow:hidden}
.gpx-settings>summary{padding:1rem;cursor:pointer;font-weight:700}.gpx-settings>summary span{display:block;font-size:.8rem;font-weight:400;color:#697761;margin-top:.25rem}
.gpx-content{padding:0 1rem 1rem}.gpx-content>p:first-child{margin-top:0}.gpx-upload{display:block;font-weight:700}.gpx-upload input{display:block;width:100%;min-height:44px;margin:.5rem 0 1rem;font-size:0}.gpx-upload input::file-selector-button{padding:.6rem;border:1px solid #bfcfbc;border-radius:8px;background:white;color:#315f40;font:650 14px system-ui;cursor:pointer;margin-right:.6rem}
.gpx-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:.75rem 0}.gpx-field{display:block;margin-top:1.2rem;font-weight:650}.gpx-field input[type=range]{display:block;width:100%;margin:.7rem 0}.gpx-field .field-help{font-weight:400}
.gpx-colors{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.5rem}.gpx-color{position:relative;display:grid;grid-template-columns:24px auto;align-items:center;gap:5px;min-height:44px;min-width:60px;background:white;border:2px solid #d6e1ce;border-radius:9px;padding:5px 6px;cursor:pointer}.gpx-color span{width:24px;height:28px;border:1px solid #0003;border-radius:5px}.gpx-color[aria-pressed=true]{border-color:#315f40;box-shadow:0 0 0 1px #315f40}.gpx-color[aria-pressed=true] b:after{content:'✓';position:absolute;right:-5px;top:-8px;display:grid;place-items:center;width:18px;height:18px;background:#315f40;color:white;border-radius:50%;font-size:11px}.gpx-warning{padding:.7rem;border-radius:8px;background:#fff3d8;color:#735719}.gpx-privacy{border-top:1px solid #d6e1ce;padding-top:.8rem;margin-bottom:0;font-size:.8rem}#gpx-name{overflow-wrap:anywhere}

.frame-height-input{display:flex;align-items:center;gap:8px}.config-panel .frame-height-input input{width:88px;text-align:right}.frame-height-input span{font-size:13px;color:#64735e}.frame-height-setting{padding-bottom:12px}

.order-editor #header-menu,.order-editor #header-menu-toggle,.order-editor .news-teaser,.order-editor .create-action>p,.order-editor .export-bar>div:first-child{display:none!important}

.rectangle-size-row{margin:12px 0;padding:14px;border:1px solid #dce5d6;border-radius:12px;background:#f6f8f1}
.rectangle-size-row[hidden],#size-options[hidden]{display:none}
.rectangle-dimensions{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;align-items:end}
.rectangle-dimensions label{font-size:13px;font-weight:600;min-width:0}
.rectangle-dimensions>span{padding-bottom:12px}
.rectangle-dimensions input{box-sizing:border-box;width:100%;min-height:44px;margin-top:8px;padding:8px 12px;border:1px solid #cbd7c5;border-radius:8px;font-size:16px;background:white}
.rectangle-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.rectangle-actions .button{min-height:44px}
.rectangle-size-row .form-error:empty{display:none}

.rectangle-size-row .field-help{margin:10px 0 0}
