@import url('./interface.css');
:root{--ink:#23332d;--muted:#78827c;--green:#3b6c45;--green-dark:#285333;--lime:#dff0cd;--border:#e3e8e2;--bg:#f7f9f5;--white:#fff;--blue:#4d9ab8;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:16px;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,select,textarea{font:inherit}button,a,input,select,summary{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button:disabled{cursor:wait;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid #6094c8;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:clamp(1.8rem,3vw,2.65rem);line-height:1.15;font-weight:650;letter-spacing:-.055em}h2{font-size:1.125rem;font-weight:600;letter-spacing:-.02em}p{line-height:1.6}button{border:0}input,select,textarea{color:var(--ink)}.hidden{display:none!important}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0)}.skip:focus{position:fixed;background:white;padding:16px;z-index:10000}.site-header{height:92px;background:white;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 3.2vw;gap:24px}.brand img{display:block;width:202px;height:auto}.site-header nav{display:flex;gap:34px;height:100%;align-items:center}.site-header nav a{height:100%;display:flex;align-items:center;font-size:.875rem;color:#6a756d;border-bottom:2px solid transparent;padding-top:2px}.site-header nav a.active{border-color:var(--green);color:var(--green);font-weight:600}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:12px 19px;border-radius:8px;font-weight:600;font-size:.875rem;border:1px solid transparent;transition:background .15s,transform .15s}.button:hover{transform:translateY(-1px);text-decoration:none}.primary{background:var(--green);color:white}.primary:hover{background:var(--green-dark)}.secondary{background:white;border-color:#cdd7cf}.quiet{background:transparent;border-color:var(--border)}.full{width:100%}.user-symbol{font-size:22px;line-height:12px}main{max-width:1680px;margin:auto;padding:0 3.2vw}.intro{display:flex;justify-content:space-between;align-items:center;padding:36px 0 28px;gap:30px}.eyebrow{font-size:.6875rem;letter-spacing:.14em;font-weight:650;color:#728070;margin-bottom:11px}.intro p:not(.eyebrow){font-size:.9375rem;margin-top:12px;color:var(--muted)}.free-note{display:flex;align-items:center;gap:13px;font-size:.875rem;padding-top:12px}.free-note small{display:block;font-size:.75rem;color:var(--muted);margin-top:6px}.round-icon{display:flex;align-items:center;justify-content:center;border-radius:50%;background:#eaf1e5;color:var(--green);width:34px;height:34px}.workspace{display:grid;grid-template-columns:330px minmax(0,1fr);background:white;border:1px solid var(--border);border-radius:15px;overflow:clip;box-shadow:0 5px 16px #1c392003}.config-panel{border-right:1px solid var(--border);min-width:0;overflow:visible}.panel-section{padding:22px;border-bottom:1px solid var(--border)}.panel-section:last-child{border:0}.section-heading{display:flex;align-items:center;gap:10px;margin-bottom:18px}.section-heading h2{font-size:.9375rem}.step{color:var(--green);font-weight:600;font-size:.75rem;background:#f0f4ea;border-radius:5px;padding:5px}.small-label{margin-left:auto;font-size:.625rem;color:var(--muted)}.search-form{display:flex;background:#f7f9f5;border:1px solid var(--border);border-radius:7px;margin-bottom:14px}.search-form input{width:100%;min-width:0;border:0;background:transparent;padding:12px 10px;font-size:.8125rem;outline-offset:0}.search-form button{background:transparent;font-size:24px;color:var(--green);padding:0 12px}.search-results:not(:empty){margin:-4px 0 14px;display:grid;gap:3px}.search-results button{text-align:left;padding:9px;background:#f0f5ec;border-radius:5px;font-size:.875rem}.search-results small{display:block;font-size:.75rem;color:var(--muted);margin-top:3px}#map{height:202px;border-radius:7px;isolation:isolate;background:#edf0e5}.leaflet-control-attribution{font-size:9px!important}.map-hint{font-size:.6875rem;color:var(--muted);margin:8px 0 12px}.field-row{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:14px 0;font-size:.8125rem}.field-row select{max-width:130px;border:1px solid var(--border);border-radius:5px;background:white;padding:7px 8px;font-size:.8125rem}.field-label{display:flex;justify-content:space-between;gap:12px;font-size:.8125rem;margin:21px 0 12px}.field-label:first-of-type{margin-top:0}output{font-size:.75rem;color:var(--green);font-weight:600}.segmented{display:flex;border:1px solid var(--border);border-radius:6px;overflow:hidden}.segmented button{flex:1;padding:10px 4px;background:white;font-size:.8125rem;border-right:1px solid var(--border);color:var(--muted)}.segmented button:last-child{border:0}.segmented button.selected{background:#eff4e9;color:var(--green);font-weight:650}input[type=range]{accent-color:var(--green);width:100%;margin:4px 0;height:16px}.range-labels{display:flex;justify-content:space-between;color:var(--muted);font-size:.625rem;margin:3px 0 17px}.palette{display:flex;gap:9px;flex-wrap:wrap;margin:15px 0}.color-swatch{display:flex;align-items:center;gap:6px;flex-direction:column;font-size:.625rem;color:var(--muted);cursor:pointer}.color-swatch input{border:1px solid #d8dfd6;padding:2px;width:35px;height:31px;border-radius:6px;background:white;cursor:pointer}.layers{font-size:.8125rem;border-top:1px solid var(--border);padding-top:15px}.layers summary{cursor:pointer}.layers div{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:18px}.layers input{accent-color:var(--green)}.layers p{font-size:.75rem;color:var(--muted);margin-top:14px}.model-panel{position:relative;display:flex;flex-direction:column;min-width:0;background:linear-gradient(145deg,#f9fbf7,#f0f4ed 60%,#f8faf7)}.model-topbar{display:flex;justify-content:space-between;align-items:center;padding:24px 28px 12px;gap:12px}.model-topbar .eyebrow{font-size:.5625rem;margin:0 0 7px}.model-topbar h2{font-size:1.25rem}.model-tools{display:flex;gap:8px}.icon-button{height:35px;min-width:35px;border-radius:7px;border:1px solid #dfe5db;background:#ffffffb8;color:#516a53;font-size:21px;display:inline-flex;align-items:center;justify-content:center}.style-options{display:flex;gap:5px;margin:0 28px;flex-wrap:wrap}.style-options button{font-size:.6875rem;background:transparent;color:#7c877b;border:1px solid transparent;padding:7px 12px;border-radius:20px}.style-options button.selected{background:white;color:var(--green);border-color:#dce5d5;box-shadow:0 2px 4px #27362203}.viewer{position:relative;min-height:390px;flex:1;touch-action:auto;overflow:hidden}.viewer canvas{display:block;width:100%;height:100%;position:absolute;inset:0;outline:none}.viewer-loading{position:absolute;inset:0;z-index:3;background:#f3f6eee8;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:13px;font-size:.875rem;text-align:center;padding:28px}.viewer-loading span:last-child{font-size:.75rem;color:var(--muted)}.spinner{width:28px;height:28px;border:2px solid #d4dfcd;border-top-color:var(--green);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.compass{position:absolute;right:27px;bottom:34px;z-index:2;display:flex;align-items:center;flex-direction:column;font-size:.625rem;color:#81907d;pointer-events:none}.compass span{font-size:28px;line-height:1.1}.viewer-help{position:absolute;bottom:15px;left:0;width:100%;text-align:center;color:#96a08f;font-size:.6875rem;pointer-events:none}.viewer-help span{padding:0 8px}.model-meta{padding:15px 28px;border-top:1px solid #e0e7db;display:flex;flex-wrap:wrap;align-items:center;gap:18px;color:#7c8777;font-size:.6875rem}.meta-status{margin-left:auto;display:flex;align-items:center;gap:6px;color:var(--green)}.meta-status:before{content:'';height:5px;width:5px;border-radius:50%;background:currentColor}.model-warnings:not(:empty){background:#f8f0dc;color:#7e642c;padding:10px 28px;font-size:.75rem;line-height:1.5}.export-bar{background:white;border-top:1px solid var(--border);padding:23px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}.export-bar strong{font-size:.8125rem;font-weight:600;display:block}.export-bar span{display:block;font-size:.75rem;color:var(--muted);margin-top:6px}.export-actions{display:flex;gap:9px;flex-shrink:0}.export-actions .button{font-size:.8125rem;padding:11px 15px}.data-credit{display:flex;gap:4px;justify-content:center;padding:9px;font-size:.5625rem;color:#919989;background:#fff}.data-credit a:last-child{margin-left:12px;text-decoration:underline}.inspiration-strip{display:flex;align-items:center;gap:25px;margin:28px 0 32px;border:1px solid var(--border);border-radius:10px;padding:22px 25px;background:#fff}.inspiration-strip .eyebrow{font-size:.5625rem;margin:0 0 7px}.inspiration-strip h2{font-size:.9375rem}.quick-places{display:flex;flex-wrap:wrap;gap:9px;margin-left:auto}.quick-places button{display:flex;gap:9px;padding:9px 12px;border-radius:6px;background:#f4f6f0;font-size:.75rem;color:#607357}.quick-places button:hover{background:#e8efdf}.inspiration-strip>a{font-size:.6875rem;color:var(--green);white-space:nowrap}.page-heading{padding:45px 0 28px}.page-heading p:not(.eyebrow){color:var(--muted);margin-top:15px}.filter-tabs{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:25px}.filter-tabs button{padding:10px 18px;border-radius:25px;background:#eaf0e5;color:#728269;font-size:.875rem}.filter-tabs button.selected{background:var(--green);color:white}.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding-bottom:55px}.place-card{border:1px solid var(--border);border-radius:12px;background:#fff;overflow:hidden}.place-visual{height:160px;display:flex;align-items:center;justify-content:space-between;background:#eaf0e2;padding:24px;position:relative}.place-visual img{width:135px;height:135px;object-fit:contain}.place-visual span{font-size:3.5rem;letter-spacing:-.08em;color:#7f9765;font-weight:300}.place-card:nth-child(3n+2) .place-visual{background:#e8eff0}.place-card:nth-child(3n+2) .place-visual span{color:#8aadb2}.place-card:nth-child(3n) .place-visual{background:#f1ede4}.place-card:nth-child(3n) .place-visual span{color:#baaa86}.place-copy{padding:24px}.place-copy .eyebrow{font-size:.625rem}.place-copy h2{font-size:1.35rem}.place-copy p{color:var(--muted);font-size:.875rem;margin:12px 0 20px;min-height:42px}.place-copy .button{width:100%}.prose{max-width:820px;padding:48px 0 60px}.prose h1{margin-bottom:28px}.prose h2{margin:32px 0 12px;font-size:1.25rem}.prose p,.prose li{line-height:1.8;color:#657061}.prose a{text-decoration:underline;color:var(--green)}.prose ul{padding-left:24px}.notice{padding:18px 20px;background:#eff4e9;border-radius:9px;line-height:1.6;color:#657354;margin:20px 0;font-size:.875rem}.toast{position:fixed;z-index:9999;bottom:25px;left:50%;transform:translate(-50%,20px);background:#253e2d;color:#fff;box-shadow:0 5px 30px #0002;border-radius:9px;padding:14px 22px;max-width:calc(100vw - 30px);width:max-content;opacity:0;pointer-events:none;font-size:.875rem;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1550px){.workspace{grid-template-columns:360px 1fr}.viewer{min-height:470px}.intro{padding-top:42px;padding-bottom:32px}}
@media(max-width:1100px){.workspace{grid-template-columns:300px 1fr}.panel-section{padding:18px}.export-bar{align-items:flex-start;flex-direction:column;gap:13px}.export-actions{width:100%}.export-actions .button{flex:1}.model-meta{gap:10px}.meta-status{margin-left:0}.inspiration-strip{flex-wrap:wrap}.quick-places{margin-left:0}.free-note{display:none}.site-header nav{gap:20px}.brand img{width:175px}.viewer{min-height:410px}}
@media(max-width:760px){.site-header{height:76px;padding:0 18px;gap:10px}.brand img{width:149px}.site-header nav{position:absolute;top:76px;left:0;right:0;justify-content:center;gap:28px;height:45px;background:#fff;border-bottom:1px solid var(--border)}.site-header nav a{font-size:.8125rem}.site-header .button{font-size:.75rem;padding:8px 11px;min-height:37px}main{padding:45px 16px 0}.intro{padding:28px 0 23px}.intro h1{font-size:1.9rem}.intro p:not(.eyebrow){font-size:.875rem}.intro .eyebrow{font-size:.5625rem}.workspace{display:flex;flex-direction:column;overflow:visible;border-radius:11px}.config-panel{border-right:0;display:grid;grid-template-columns:1fr 1fr}.panel-section{padding:16px;border-bottom:1px solid var(--border)}.panel-section:first-child{border-right:1px solid var(--border)}.panel-section:last-child{border-bottom:1px solid var(--border)}.small-label{display:none}.section-heading{gap:7px}.section-heading h2{font-size:.8125rem}#map{height:170px}.search-form input{font-size:.75rem}.field-label,.field-row{font-size:.75rem}.segmented button{font-size:.6875rem}.layers div{grid-template-columns:1fr}.model-panel{border-radius:0 0 11px 11px}.model-topbar{padding:22px 20px 14px}.style-options{margin:0 16px}.viewer{min-height:380px}.model-meta{padding:12px 18px}.export-bar{padding:20px 18px}.data-credit{font-size:.5625rem;flex-wrap:wrap}.inspiration-strip{padding:20px;margin-top:20px}.inspiration-strip>a{font-size:.8125rem}.quick-places button{font-size:.8125rem}.gallery-grid{grid-template-columns:1fr 1fr;gap:15px}.place-copy{padding:18px}.place-copy h2{font-size:1.125rem}.place-visual{height:140px;padding:16px}.place-visual img{width:100px;height:100px}.place-visual span{font-size:2.5rem}.page-heading{padding-top:30px}}
@media(max-width:480px){.config-panel{display:block}.panel-section:first-child{border-right:0}.panel-section:nth-child(2){display:none}.config-panel.show-settings .panel-section:nth-child(2){display:block}.config-panel.show-settings .panel-section:first-child{display:none}.viewer{min-height:310px}#map{height:200px}.model-tools{gap:5px}.model-topbar h2{font-size:1.1rem}.style-options button{padding:7px 9px}.gallery-grid{grid-template-columns:1fr}.export-actions{flex-wrap:wrap}.export-actions .button{flex-basis:100%}.viewer-help{font-size:.625rem}.free-note{display:none}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep supporting text readable on high-density and narrow screens. */
.eyebrow,.small-label,.map-hint,.range-labels,.color-swatch,.model-topbar .eyebrow,.viewer-help,.model-meta,.inspiration-strip .eyebrow,.inspiration-strip>a,.data-credit{font-size:.75rem}.style-options button{font-size:.8125rem}.field-label,.field-row,.search-form input,.section-heading h2{font-size:.875rem}.data-credit{line-height:1.5;flex-wrap:wrap}.small-label{font-size:.625rem}.compass{font-size:.75rem}.palette{gap:10px}.color-swatch{font-size:.6875rem}.viewer{min-height:420px}.viewer-help{bottom:17px}.model-topbar .eyebrow{font-size:.6875rem}.export-bar strong{font-size:.875rem}.export-bar span{font-size:.8125rem}.map-hint{line-height:1.45}@media(max-width:1100px){.export-bar{padding:19px 22px}.model-meta{font-size:.6875rem}}@media(max-width:760px){.viewer{min-height:360px}.model-meta{font-size:.75rem}.data-credit{font-size:.625rem}.field-label{flex-wrap:wrap;gap:5px}.range-labels{font-size:.625rem}.style-options button{font-size:.75rem}}@media(max-width:480px){.viewer{min-height:310px}.intro .eyebrow{font-size:.6875rem}.section-heading h2{font-size:1rem}.search-form input{font-size:.875rem}.map-hint{font-size:.75rem}}

/* Settings follow the document scroll; keep the preview beside long desktop controls. */
@media(min-width:761px){.workspace{align-items:start}.model-panel{position:sticky;top:16px}.viewer{flex:none;height:clamp(420px,55vh,620px)}}

/* --- Úpravy rozvržení: širší panel se záložkami, větší logo, nadpis na celou šířku --- */
.site-header{height:104px}
.brand img{width:290px}
.intro>div:first-child{max-width:none;flex:1}
.intro .page-title,.page-title{max-width:none;text-wrap:pretty;font-size:clamp(2rem,3.4vw,3.1rem)}
.intro p:not(.eyebrow){max-width:none;font-size:1.0625rem}
.workspace{grid-template-columns:420px minmax(0,1fr)}
.config-panel{display:block!important}
.config-panel .panel-section{display:block;border-right:0;padding:22px 24px}
.config-panel .panel-section[hidden]{display:none!important}
.config-tabs{display:grid;grid-template-columns:repeat(4,1fr);position:sticky;top:0;z-index:3;background:#fff;border-bottom:1px solid var(--border)}
.config-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;padding:15px 6px;font-size:.9375rem;font-weight:600;color:var(--muted);background:#fff;border-bottom:3px solid transparent;transition:background .15s,color .15s}
.config-tabs button:hover{background:#f4f8f0;color:var(--ink)}
.config-tabs button.selected{color:var(--green-dark);border-color:var(--green);background:#f4f8f0}
.config-tabs .tab-step{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:#e7eee0;color:#5d6f57;font-size:.75rem;font-weight:700}
.config-tabs button.selected .tab-step{background:var(--green);color:#fff}
.tab-help{font-size:.875rem;color:var(--muted);margin:-8px 0 18px;line-height:1.55}
.config-panel .panel-section>*+*{margin-top:16px}
#map{height:300px}
@media(min-width:1550px){.workspace{grid-template-columns:460px minmax(0,1fr)}}
@media(max-width:1100px){.workspace{grid-template-columns:360px minmax(0,1fr)}.brand img{width:230px}.site-header{height:96px}}
@media(max-width:760px){.site-header{height:80px}.brand img{width:200px}.config-tabs button{font-size:.8125rem;padding:12px 4px;gap:5px}#map{height:240px}}
@media(max-width:480px){.brand img{width:170px}.config-tabs button span:last-child{font-size:.75rem}}
.intro{display:block;padding:26px 0 20px}
.intro .page-title,.page-title{font-size:clamp(1.9rem,3.3vw,3rem)}
.intro p:not(.eyebrow){margin-top:10px}
.intro .free-note{display:inline-flex;margin-top:14px;padding:9px 16px 9px 10px;background:#eef4e8;border-radius:999px;gap:10px}
.intro .free-note small{margin-top:2px}
@media(max-width:760px){.intro .free-note{display:none}}
.print-settings{border:0;padding:0;margin:0}

.site-header .header-note{display:inline-flex;align-items:center;gap:10px;padding:8px 14px 8px 9px;background:#eef4e8;border-radius:999px;font-size:.8125rem;margin-left:auto;white-space:nowrap}
.site-header .header-note small{font-size:.6875rem;margin-top:2px}
.site-header nav{margin-left:auto}
@media(max-width:1180px){.site-header .header-note{display:none}}

.progress-track{width:min(360px,80%);height:8px;border-radius:999px;background:#dfe6d8;overflow:hidden}
.progress-bar{height:100%;width:0;background:var(--green);border-radius:999px;transition:width .4s ease}
.progress-stage{font-size:.875rem;color:var(--ink)}
.viewer-loading .progress-time{font-size:.75rem;color:var(--muted)}

.color-swatch .hex-input{width:82px;font-family:ui-monospace,Menlo,monospace;font-size:.75rem;padding:5px 7px;border:1px solid var(--border);border-radius:5px;background:#fff;text-transform:lowercase}

.theme-swatches{display:flex;gap:4px;margin:6px 0}.theme-swatches span{width:22px;height:22px;border-radius:5px;border:1px solid #0001;display:inline-block}
.theme-actions{display:flex;flex-direction:column;gap:6px;align-items:flex-start}.theme-actions small{color:var(--muted);font-size:.75rem}
.style-options .theme-button{display:inline-flex;align-items:center;gap:6px}.theme-dots{display:inline-flex;gap:2px}.theme-dots i{width:9px;height:9px;border-radius:50%;display:inline-block;border:1px solid #0002}
.welcome-image{width:min(100%,560px);height:auto;border-radius:12px;box-shadow:0 12px 30px #1c392026;margin-bottom:6px}
.admin-help{color:var(--muted);font-size:.9375rem;margin:-10px 0 18px;line-height:1.55}
.tab-count{display:inline-block;min-width:20px;padding:1px 6px;border-radius:999px;background:#c8502e;color:#fff;font-size:.75rem;text-align:center}
.stats-grid button.stat-card{text-align:left;cursor:pointer;font:inherit}.stat-card small{display:block;color:var(--muted);font-size:.75rem;margin-top:4px}.stat-card.stat-alert{border:2px solid #c8502e}
.todo-list{padding-left:20px;line-height:1.7}.todo-list .text-button{font-weight:600}
.profile-row{border:1px solid var(--border);border-radius:8px;padding:12px 14px;margin-bottom:14px}.profile-row legend{font-weight:600;padding:0 6px}
.badge.status-new{background:#c8502e;color:#fff}.badge.status-confirmed{background:#3b6c45;color:#fff}.badge.status-printing{background:#4d9ab8;color:#fff}
/* Mobil: záložky panelu platí i pod 760/480 px (přebíjí starší pravidla pro přepínač 01/02). */
.config-panel .panel-section:first-child,.config-panel .panel-section:nth-child(2),.config-panel.show-settings .panel-section:first-child{display:block;border-right:0}
.config-panel .panel-section[hidden]{display:none!important}
.mobile-config-toggle{display:none!important}
.viewer-loading{overflow:auto;justify-content:flex-start;padding-top:24px}
.viewer-loading>*{flex-shrink:0}
@media(max-width:760px){.welcome-image{max-height:34vh;width:auto;max-width:100%}.viewer-loading{padding:18px 14px;gap:10px}.viewer-loading span{font-size:.8125rem}}
/* Lišta nad 3D náhledem: tlačítko Rozměry ve stejné velikosti jako ikony, na mobilu v jedné řadě pod nadpisem. */
.icon-button{height:38px;min-width:38px;font-size:19px}
.icon-button.dimensions-toggle{font-size:.8125rem;font-weight:600;padding:0 13px;letter-spacing:.01em}
.icon-button.dimensions-toggle[aria-pressed="true"]{background:var(--lime);border-color:#b9d3a6;color:var(--green-dark)}
@media(max-width:600px){.model-topbar{flex-wrap:wrap;padding:16px 16px 10px;gap:10px}.model-topbar>div:first-child{width:100%}.model-tools{width:100%;display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr;gap:6px}.icon-button{height:40px;width:100%}.style-options{margin:0 12px 6px;gap:3px}.style-options button{padding:6px 9px;font-size:.75rem}.model-topbar h2{font-size:1.15rem}}
.log-box{background:#1f2b25;color:#dfe8dc;font-size:.75rem;line-height:1.5;padding:14px;border-radius:8px;max-height:420px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}
/* Značka: velké logo na počítači i na mobilu. */
.site-header{height:124px}
.brand img{width:360px}
@media(max-width:1180px){.brand img{width:300px}.site-header{height:110px}}
@media(max-width:760px){.site-header{height:104px;padding:0 14px}.brand img{width:270px}.site-header nav{top:104px}.site-header .button{font-size:.75rem;padding:8px 10px}}
@media(max-width:480px){.site-header{height:96px}.brand img{width:225px}.site-header nav{top:96px;gap:18px}}
/* Přepínač jazyka, stránka Novinky, dvousloupcové formuláře v administraci */
.lang-switch{display:flex;flex-shrink:0;border:1px solid var(--border);border-radius:7px;overflow:hidden;font-size:.75rem;font-weight:650;letter-spacing:.04em}.lang-switch a{padding:9px 10px;color:#6a756d;background:#f0f4ed}.lang-switch a:hover{text-decoration:none;background:#f0f4ea}.lang-switch a.active{background:var(--green);color:#fff}
@media(max-width:760px){.site-header{gap:8px}.lang-switch{font-size:.6875rem}.lang-switch a{padding:8px 8px}}
.news-item{padding:26px 0;border-top:1px solid var(--border)}.news-item:first-of-type{border-top:0}.news-item time{display:block;font-size:.75rem;color:var(--muted);letter-spacing:.06em;margin-bottom:8px}.news-item h2{margin:0 0 10px}.news-item p+p{margin-top:10px}
.two-column{display:grid;grid-template-columns:1fr 1fr;gap:14px}@media(max-width:600px){.two-column{grid-template-columns:1fr}}.form-stack textarea{width:100%;min-height:120px;border:1px solid var(--border);border-radius:7px;padding:10px;font-size:.875rem;line-height:1.5}
.site-header nav a{white-space:nowrap}@media(max-width:1400px){.site-header nav{gap:24px}}

/* Odezva tlačítek, barevné styly, rámečky nastavení (nápis, boky, tisk), uvítání na mobilu */
@keyframes press{0%{transform:scale(.9);background:#cfe3c0;border-color:#8fb57f}100%{transform:none}}.pressed{animation:press .32s ease}
.icon-button{transition:background .15s,border-color .15s,transform .1s;cursor:pointer}.icon-button:hover{background:#fff;border-color:#a9c39f;color:var(--green-dark)}.icon-button:active{transform:scale(.94)}
.style-options{align-items:center;gap:6px}.style-options::before{content:attr(aria-label) ':';font-size:.75rem;color:var(--muted);margin-right:4px}.style-options button{background:#f1f5ec;color:#4d5f4a;border:1px solid #d9e2d3;padding:8px 14px;font-size:.8125rem;font-weight:500;transition:background .15s,border-color .15s}.style-options button:hover{background:#e6eedf;border-color:#b9cbb0}.style-options button.selected{background:var(--green);color:#fff;border-color:var(--green);font-weight:600;box-shadow:none}
.label-settings,.finish-settings,.print-settings,.layers{border:1px solid var(--border);border-radius:10px;padding:14px 16px 16px;margin:20px 0 0;background:#fbfcf9;min-width:0}.layers{border-top:1px solid var(--border);padding-top:14px}legend{font-weight:650;font-size:.875rem;padding:0 8px;color:var(--ink)}
.label-settings .field-label{display:block;margin:6px 0 6px;font-size:.8125rem}.label-settings input[type=text]{width:100%;border:1px solid #d2dbcf;border-radius:7px;padding:10px 12px;font-size:.9375rem;background:#fff;margin-bottom:6px}.label-settings input[type=text]:focus{border-color:var(--green)}
.field-row select{max-width:175px;min-width:0}.field-row label{flex-shrink:0}
@media(max-width:760px){.style-options{margin:0 16px 8px}.style-options button{padding:7px 12px;font-size:.75rem}.viewer-loading{position:relative;min-height:380px;overflow:visible}.viewer-loading .button{width:100%}.welcome-image{max-height:30vh}}
@media(max-width:600px){.style-options::before{width:100%;margin:0 0 2px}.style-options{margin:0 12px 8px}}

/* Celá obrazovka pro 3D náhled */
.viewer:fullscreen,.viewer:-webkit-full-screen{background:linear-gradient(145deg,#f9fbf7,#f0f4ed 60%,#f8faf7)}.icon-button[aria-pressed="true"]:not(.dimensions-toggle){background:var(--lime);border-color:#b9d3a6}
@media(max-width:600px){.model-tools{grid-template-columns:1.6fr 1fr 1fr 1fr 1fr}}
/* Hlavička: výrazné menu, akce vpravo (Podpořte nás, účet, jazyk) */
.site-header{gap:18px}.site-header .main-nav{gap:6px;flex-wrap:nowrap;min-width:0}.site-header .main-nav a{height:auto;padding:10px 14px;border-radius:9px;border:0;font-size:.9375rem;font-weight:600;color:#3d4b3f;background:#f0f4ed;white-space:nowrap;transition:background .15s,color .15s}.site-header .main-nav a:hover{background:#e3ecdd;color:var(--green-dark);text-decoration:none}.site-header .main-nav a.active{background:var(--green);color:#fff}.site-header .main-nav a.nav-print{color:#8c2f24;background:#f7eee9}.site-header .main-nav a.nav-print:hover{background:#f9ebe8;color:#8c2f24}.site-header .main-nav a.nav-print.active{background:#8c2f24;color:#fff}
.header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.support-button{background:#f5eeea;color:#805c4e;border-color:#e8dcd4;padding:11px 15px}.support-button:hover{background:#ede0d8;color:#704c3e;border-color:#ddcbbf}.support-button span{font-size:1.05em;line-height:1}
.site-header #account-button{background:var(--green);color:#fff;border-color:var(--green);font-weight:700;box-shadow:0 2px 5px #28533318}.site-header #account-button:hover{background:var(--green-dark);border-color:var(--green-dark);color:#fff}
@media(max-width:1400px){.site-header .main-nav a{font-size:.875rem;padding:9px 11px}.site-header{gap:12px}}
@media(max-width:1180px){.site-header .main-nav a{font-size:.8125rem;padding:8px 9px}.support-button{padding:9px 11px;font-size:.8125rem}}
@media(max-width:760px){.site-header .main-nav{position:absolute;left:0;right:0;justify-content:flex-start;gap:4px;height:48px;padding:0 10px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;background:#fff;border-bottom:1px solid var(--border)}.site-header .main-nav::-webkit-scrollbar{display:none}.site-header .main-nav a{font-size:.8125rem;padding:8px 10px;flex-shrink:0}.header-actions{gap:6px}.support-button{padding:8px 9px;font-size:.75rem}.support-button span+*{display:none}.site-header .button.quiet{padding:8px 9px}}
@media(max-width:480px){.support-button{font-size:0;padding:8px 10px}.support-button span{font-size:1rem}}
/* Karty galerie a oblíbených */
.place-visual{display:block;height:auto;aspect-ratio:16/9;padding:0;overflow:hidden;background:#e9efe1;position:relative}.place-visual:hover{text-decoration:none}.place-visual .place-preview{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}.place-card:hover .place-preview{transform:scale(1.04)}.place-number{position:absolute;left:14px;top:10px;font-size:1.5rem;font-weight:300;letter-spacing:-.05em;color:#fff;text-shadow:0 1px 6px #0006;z-index:1}.place-placeholder{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#7f9765;font-size:.75rem}.place-placeholder img{width:120px;height:120px;object-fit:contain;opacity:.9}
.place-card:nth-child(3n+2) .place-placeholder,.place-card:nth-child(3n) .place-placeholder{color:#7f9765}.place-card:nth-child(3n+2) .place-visual{background:#e8eff0}.place-card:nth-child(3n) .place-visual{background:#f1ede4}
.place-copy p{min-height:0}.place-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.place-actions .button{width:100%;font-size:.8125rem;padding:11px 8px}.favorites-hint{color:var(--muted);font-size:.875rem;padding:0 0 50px}
@media(max-width:760px){.place-visual{aspect-ratio:16/9;height:auto;padding:0}.place-actions{grid-template-columns:1fr}.place-placeholder img{width:80px;height:80px}}
/* Okno Podpořte nás */
.support-modal{border:0;border-radius:18px;padding:26px 28px;max-width:min(94vw,560px);width:100%;max-height:90dvh;overflow:auto;box-shadow:0 20px 60px #0004}.support-modal::backdrop{background:#1d2b2199}.support-modal .modal-heading h2{color:var(--green)}.support-modal .modal-heading .icon-button{width:40px;flex:0 0 40px}.support-modal h3{font-size:1rem;margin:20px 0 12px}.support-intro{line-height:1.6}.support-qr{margin:16px auto;width:min(220px,65vw)}.support-qr svg{width:100%;height:auto;display:block;border:1px solid var(--border);border-radius:10px;background:#fff}.support-details{display:grid;gap:8px;font-size:.875rem}.support-details>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 12px;border:1px solid var(--border);border-radius:10px;padding:10px 12px;background:#f7f9f5}.support-details span{color:var(--muted);grid-column:1;font-size:.75rem}.support-details strong{grid-column:1;font-weight:600;overflow-wrap:anywhere;white-space:pre-line;line-height:1.4}.support-details button{grid-column:2;grid-row:1/3;align-self:center;min-height:36px}.support-transfer-note{font-size:.8125rem;line-height:1.6;margin:14px 0}.support-more{border-top:1px solid var(--border);padding-top:12px;margin-top:16px;font-size:.875rem}.support-more summary{cursor:pointer;font-weight:600;color:var(--green)}.support-more[open] summary{margin-bottom:12px}.support-more p{font-size:.8125rem;line-height:1.6}.support-more a{text-decoration:underline}.form-message.small{font-size:.75rem;margin-top:12px}
@media(max-width:480px){.support-modal{padding:20px 16px}.support-modal .modal-heading h2{font-size:1.3rem}.support-details>div{padding:9px 10px;gap:4px 8px}}

/* Administrace: náhledy v seznamu galerie */
.record-preview{display:grid;grid-template-columns:192px 1fr;gap:16px;align-items:start}.record-thumb{width:192px;height:108px;object-fit:cover;border-radius:8px;border:1px solid var(--border);background:#eef2e8}.record-thumb-empty{display:flex;align-items:center;justify-content:center;font-size:.75rem;color:var(--muted)}@media(max-width:600px){.record-preview{grid-template-columns:1fr}}
.filter-tabs a{padding:10px 18px;border-radius:25px;background:#eaf0e5;color:#728269;font-size:.875rem;font-weight:500}.filter-tabs a:hover{text-decoration:none;background:#dfe8d8}.filter-tabs a.selected{background:var(--green);color:white}
.place-visual .place-number{font-size:1.5rem;font-weight:400;color:#fff}.place-visual .place-placeholder span{font-size:.75rem;letter-spacing:0;font-weight:500;color:#7f9765}
@media(max-width:1600px){.site-header .main-nav a{font-size:.8125rem;padding:8px 9px}.site-header{gap:10px}.header-actions{gap:8px}.support-button{padding:9px 11px;font-size:.8125rem}.site-header .button.quiet{padding:9px 11px;font-size:.8125rem}}
@media(max-width:1280px){.brand img{width:300px}.site-header .main-nav a{font-size:.75rem;padding:7px 7px}}
@media(max-width:1100px){.site-header .main-nav{position:absolute;top:110px;left:0;right:0;justify-content:center;gap:6px;height:50px;background:#fff;border-bottom:1px solid var(--border);padding:0 10px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.site-header .main-nav a{font-size:.875rem;padding:9px 12px;flex-shrink:0}main{padding-top:54px}.brand img{width:300px}}
@media(max-width:760px){.site-header .main-nav{top:104px;justify-content:flex-start;height:48px}main{padding-top:50px}.brand img{width:270px}}
@media(max-width:480px){.site-header .main-nav{top:96px}.site-header .support-button{font-size:0;padding:8px 10px;gap:0}.site-header .support-button span{font-size:1.05rem}.site-header #account-button{font-size:0;padding:8px 10px;gap:0}.site-header #account-button .user-symbol{font-size:22px}.brand img{width:200px}}
@media(max-width:480px){.site-header #account-button{font-size:1rem}.site-header #account-button .account-label{display:none}.site-header #account-button .user-symbol{font-size:22px;line-height:14px}}

.style-note{background:#eef4e8;border-radius:8px;padding:10px 12px;margin:0 0 12px;color:#4e6049}
/* Podstránky galerie a oblíbených: nadpis a záložky na střed */
#gallery-page .page-heading,#favorites-page .page-heading,#account-page .page-heading{text-align:center;max-width:860px;margin:0 auto;padding:48px 0 26px}#gallery-page .page-heading .eyebrow,#favorites-page .page-heading .eyebrow,#account-page .page-heading .eyebrow{margin-bottom:12px}#gallery-page .filter-tabs{justify-content:center;margin-bottom:32px}#favorites-page .favorites-hint{text-align:center}
@media(max-width:760px){#gallery-page .page-heading,#favorites-page .page-heading,#account-page .page-heading{padding:30px 0 20px}}
.export-support{display:flex;gap:18px;padding:22px;margin:8px 0 24px;border:1px solid #c5d6b7;border-radius:16px;background:linear-gradient(125deg,#edf4e6,#f8faf4);color:var(--ink);text-align:left}.export-support-heart{display:grid;place-items:center;flex:0 0 44px;height:44px;border-radius:50%;background:#dfeccc;color:#3b6b42;font-size:23px}.export-support .export-support-eyebrow{margin:0 0 5px;color:#557148;text-transform:uppercase;letter-spacing:.09em;font-size:.6875rem;font-weight:800}.export-support h3{margin:0 0 8px;font-size:1.25rem;line-height:1.2}.export-support p{margin:0 0 14px;font-size:.875rem;line-height:1.5}.export-support .button{display:inline-flex;gap:14px;align-items:center}.export-support small{display:block;margin-top:10px;color:#64745c;font-size:.75rem;line-height:1.5}@media(max-width:480px){.export-support{padding:17px;gap:12px}.export-support-heart{flex-basis:32px;height:32px;font-size:19px}.export-support .button{width:100%;justify-content:center}}

/* Download choices use the available desktop width; other dialogs stay compact. */
#modal:has(.export-layout){width:min(1200px,calc(100vw - 40px));max-width:none;max-height:calc(100dvh - 32px);padding:26px 30px}
#modal:has(.export-layout) .modal-heading{margin-bottom:20px;gap:20px;align-items:flex-start}
#modal:has(.export-layout) .modal-heading .icon-button{flex:0 0 40px;width:40px;height:40px}
.export-layout{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:26px;align-items:start}
.export-layout:not(:has(.export-support)){grid-template-columns:minmax(0,1fr)}
.export-main{min-width:0}.export-main>.form-message{font-size:.85rem;line-height:1.55;margin:0 0 10px}
.export-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.export-options .export-option{margin:0;padding:16px;gap:12px;align-items:flex-start;height:100%}
.export-options .file-type{flex:0 0 44px;width:44px;height:44px;font-size:.8rem}
.export-options .export-option strong{font-size:.95rem;line-height:1.3}
.export-options .export-option small{font-size:.78rem;line-height:1.5;margin-top:6px}
.export-options .export-picture-png{grid-column:1/-1;align-items:center;background:#f7f9f4}
.export-documents{margin:22px 0 18px;padding:20px;background:#f6f8f2;border:1px solid #e0e7d9;border-radius:12px}
.export-documents-heading h3{margin:0 0 6px;font-size:1rem;color:#344e3c}.export-documents-heading p{margin:0;color:#63725e;font-size:.8125rem;line-height:1.5}
.export-document-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0 12px}
.export-document{display:flex;flex-direction:column;gap:12px;align-items:flex-start;width:100%;padding:15px;border:1px solid #dbe4d3;border-radius:9px;text-align:left;text-decoration:none;color:#304936;background:#fff;line-height:1.45}
.export-document:hover{border-color:#94ad80;background:#edf4e7}.export-document:focus-visible{outline:3px solid #86a46c;outline-offset:3px}
.document-type{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:29px;padding:0 7px;background:#eaf1e2;color:#527340;font-size:.6875rem;font-weight:750;border-radius:5px}
.export-document strong{display:block;font-size:.8125rem;font-weight:650}.export-document small{display:block;margin-top:5px;color:#6e7c67;font-size:.75rem;line-height:1.5}
.export-document-note{margin:0;font-size:.75rem;color:#75816e;line-height:1.6}
#modal:has(.image-export){width:min(880px,calc(100vw - 32px));max-width:none;padding:24px;max-height:calc(100dvh - 24px)}
.image-export .export-image-preview{width:100%;max-height:52dvh;object-fit:contain;background:#f7f9f5;border:1px solid #e3e9dd;margin-bottom:12px}
.image-export .form-message{margin:0 0 14px}.image-export-actions{display:flex;flex-wrap:wrap;gap:10px}.image-export-actions .button{flex:1;min-height:46px;white-space:normal;text-align:center}
.image-export-status{margin:14px 0 0;padding:12px 14px;background:#edf5e8;border-radius:8px;color:#396345;font-size:.8125rem;line-height:1.5}
@media(max-width:560px){.export-documents{padding:16px}.export-document-options{grid-template-columns:1fr}.export-document{flex-direction:row;gap:12px;padding:13px;align-items:center}.document-type{flex:0 0 42px}.export-document strong{font-size:.875rem}.image-export-actions{flex-direction:column}#modal:has(.image-export){padding:18px;width:calc(100vw - 20px)}.image-export .export-image-preview{max-height:42dvh}}
.export-main>.notice{font-size:.8rem;line-height:1.55;padding:14px 16px;margin:14px 0}
.export-layout .export-support{display:block;margin:0;padding:22px;position:sticky;top:0}
.export-layout .export-support-heart{width:40px;height:40px;margin-bottom:16px}
.export-layout .export-support .button{width:100%;justify-content:center}
.export-details{border-top:1px solid var(--border);padding-top:12px;font-size:.8rem}
.export-details summary{cursor:pointer;color:var(--green);font-weight:600;padding:6px 0}
.export-details .notice{font-size:.8rem;margin-top:12px;line-height:1.6}
.export-main>.form-error:empty,.export-main>.mosaic-export-progress:empty{display:none}
@media(max-width:900px){.export-layout{grid-template-columns:1fr}.export-layout .export-support{position:static;display:flex;padding:18px;gap:16px}.export-layout .export-support-heart{flex:0 0 40px;margin:0}.export-layout .export-support .button{width:auto}.export-layout .export-support p{margin-bottom:10px}}
@media(max-width:560px){#modal:has(.export-layout){width:calc(100vw - 20px);padding:20px 16px;max-height:calc(100dvh - 20px)}.export-options{grid-template-columns:1fr;gap:10px}.export-layout{gap:18px}.export-options .export-option{padding:14px}.export-layout .export-support{padding:16px}.export-layout .export-support .button{width:100%}}

/* Keep the last preview visible while the user edits; rebuilding is explicit. */
.model-pending{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:8px 24px 12px;padding:16px 18px;border:1px solid #dbcfa8;border-radius:12px;background:#fff8e8;color:#655225;font-size:.875rem}
.model-pending strong{display:block;margin-bottom:4px}.model-pending p{font-size:.8125rem;line-height:1.5}.model-pending .button{flex-shrink:0}
@media(max-width:760px){.model-pending{margin:8px 14px 12px;flex-direction:column;align-items:stretch}.model-pending .button{width:100%}}
.contact-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:28px 0}.contact-cards a{display:grid;gap:10px;padding:24px;border:1px solid #d9e4d0;background:#fff;border-radius:14px;text-decoration:none;min-width:0}.contact-cards span{font-size:13px;color:#75816d}.contact-cards strong{color:#315c3b;font-size:clamp(16px,2vw,22px);overflow-wrap:anywhere}.contact-cards small{font-size:13px;color:#5b7250}.contact-cards a:hover{background:#eef5e7;border-color:#a9c094}.contact-note{padding:24px;border-radius:14px;background:#edf3e7}.contact-note h2{margin-top:0}.contact-note p{max-width:none}.news-item{padding:26px 0;border-bottom:1px solid #dfe7d7}.news-item time{display:inline-block;color:#557a44;background:#edf3e6;padding:5px 10px;border-radius:6px;font-size:12px}.news-item h2{margin-top:14px}@media(max-width:640px){.contact-cards{grid-template-columns:1fr;gap:12px}.contact-cards a,.contact-note{padding:18px}}

/* Download feedback stays separate from actual errors and print instructions. */
.export-facts{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:0 0 10px;color:var(--muted);font-size:.875rem}
.export-facts strong{font-size:1.1rem;color:var(--ink)}
.export-caution{padding:10px 14px;margin:12px 0;border-left:3px solid #b79445;border-radius:0 8px 8px 0;background:#fbf5e5;color:#72551d;font-size:.875rem;font-weight:600}
.export-feedback{display:flex;gap:12px;align-items:flex-start;padding:16px;margin:16px 0;border:1px solid #a8c1a3;border-radius:12px;background:#eff6ea;color:#315b38;scroll-margin:20px}
.export-feedback[hidden]{display:none}.export-feedback>div{min-width:0}.export-feedback strong{display:block;font-size:1rem;line-height:1.4}.export-feedback p{margin:6px 0;font-size:.875rem;line-height:1.5}.export-feedback .spinner{flex:0 0 24px;width:24px;height:24px;margin:1px 0 0;border-width:3px}.export-elapsed{display:block;margin-top:6px;font-size:.8125rem;font-variant-numeric:tabular-nums;color:#586b51}
.export-feedback[data-state=error]{background:#faf1ed;border-color:#e1c3b7;color:#853e2c}
.export-options .export-option.is-exporting{border-color:#47794d;background:#edf5e7;opacity:1}
.export-details{font-size:.875rem}.export-details ul{padding:4px 0 0 20px;margin:0;color:#56634e;line-height:1.6}.export-details li{padding:0 0 10px}
.export-options .export-option small{font-size:.8125rem}

.export-feedback>div{min-width:0}.export-retry{display:block;width:fit-content;margin:12px 0;overflow-wrap:anywhere;white-space:normal}.export-retry[hidden]{display:none}

.boundary-selection{margin:1rem 0;padding:1rem;border:1px solid var(--border,#d8e1d2);border-radius:14px;background:var(--surface,#f3f7ed)}
.boundary-selection[hidden]{display:none}.boundary-selection p{margin:.5rem 0 1rem;line-height:1.5}
/* Physical filament slots and reusable category assignments. */
.filament-mode{margin:1rem 0;padding:1rem;background:var(--surface-soft,#f0f4e9);border-radius:12px}
.palette.has-filaments{display:block}
.filament-editor>p{color:var(--muted,#53664a);line-height:1.55;margin:0 0 1.2rem}
.filament-colors{display:grid;grid-template-columns:repeat(auto-fit,minmax(115px,1fr));gap:1rem;margin-bottom:1.5rem}
.filament-colors>label{min-width:0;display:grid;gap:.5rem;font-weight:700}
.filament-colors input[type=color]{display:block;width:100%;height:72px;padding:4px;border:1px solid #ccd6c5;border-radius:12px;cursor:pointer;background:#fff}
.filament-colors input[type=text]{width:100%;min-width:0;font-family:monospace}
.filament-assignments{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}
.filament-assignment{min-width:0;margin:0;padding:0;border:0}
.filament-assignment>legend{padding:0;margin-bottom:.6rem;font-size:.875rem;font-weight:650}
.filament-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:6px}
.filament-option{position:relative;display:block;min-width:0;margin:0;cursor:pointer}
.filament-option>input[type=radio]{position:absolute;width:1px;height:1px;padding:0;margin:0;border:0;clip-path:inset(50%);overflow:hidden}
.filament-option-face{display:block;padding:5px;border:2px solid #dce3d7;border-radius:10px;background:#fff;color:#52634c;transition:border-color .12s,background .12s}
.filament-option-face>i{display:block;height:32px;border:1px solid #0003;border-radius:5px}
.filament-option-face>span{display:flex;justify-content:space-between;align-items:center;gap:2px;padding-top:3px;font-size:12px;line-height:1.4}
.filament-option-check{visibility:hidden;font-weight:800}
.filament-option:hover .filament-option-face{border-color:#8b9e80}
.filament-option>input:checked+.filament-option-face{border-color:#3b6c45;background:#edf4e7;color:#284f32}
.filament-option>input:checked+.filament-option-face .filament-option-check{visibility:visible}
.filament-option>input:focus-visible+.filament-option-face{outline:3px solid #234b69;outline-offset:2px}
.filament-selected{margin:.45rem 0 0;color:var(--muted,#53664a);font-size:.75rem;line-height:1.5}
.filament-panel[hidden],.palette[hidden],.highlight-color-row[hidden]{display:none!important}
@media(max-width:600px){.filament-colors{grid-template-columns:repeat(2,minmax(0,1fr))}.filament-assignments{grid-template-columns:1fr}}

#palette-hex-toggle[hidden],[data-restore-aurapol][hidden]{display:none!important}

/* Portable 3MF palette reference, shared by single maps, pictures and frames. */
.export-filaments{margin:1.25rem 0;padding:1rem;border:1px solid var(--line,#dce3d7);border-radius:14px;background:#f6f9f2}
.export-filaments ol{display:flex;flex-wrap:wrap;gap:.75rem 1.25rem;list-style:none;padding:0;margin:.8rem 0}
.export-filaments li{display:flex;align-items:center;gap:.6rem;min-width:125px}
.export-filaments li>i{display:block;width:36px;height:36px;flex:none;border:1px solid #0003;border-radius:8px}
.export-filaments li b,.export-filaments li small{display:block;line-height:1.5}
.export-filaments li small{font-size:.75rem;color:var(--muted)}
.export-filaments p{margin:0;font-size:.85rem;line-height:1.5;color:var(--muted)}

/* Download policy and recoverable daily quota notice. */
.export-usage-notice{padding:1rem 1.2rem;margin-bottom:1.3rem;border:1px solid #dbe5d5;border-radius:14px;background:#f5f8f1}.export-usage-notice p{margin:.45rem 0;font-size:.9rem;line-height:1.55}.export-usage-notice a{text-decoration:underline}.download-limit-number strong{font-size:2rem;color:#365e40}.download-limit-modal p{line-height:1.6}.download-limit-modal .button{margin-top:.7rem}
