.color-editor .visual-picker{display:flex;align-items:center;gap:12px;padding:10px;margin-bottom:14px;background:white;border:1px solid #cbd8d9;border-radius:8px;cursor:pointer;font-size:14px;font-weight:600}.visual-picker #custom-picker{flex:0 0 54px;width:54px;height:48px;padding:3px;cursor:pointer}.visual-picker small{font-size:12px;line-height:1.4;margin-top:3px}.sto-groups{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 12px}.sto-groups button{display:inline-flex;align-items:center;gap:6px;padding:8px;min-height:38px;border:1px solid #d3dfdc;border-radius:7px;background:white;color:#355550;font-size:12px}.sto-groups button[aria-pressed=true]{background:#173e3b;color:white;border-color:#173e3b}.sto-groups i{width:12px;height:12px;flex:0 0 12px;border-radius:50%;border:1px solid #0002}.sto-group-heading{grid-column:1/-1;margin:8px 0 2px;font-size:13px;font-weight:600;color:#355550}
.color-wrap code{max-width:112px;text-align:right;line-height:1.3}.palette-open{margin-top:12px;padding:8px 12px;min-height:40px;background:#f2f7f5;border:1px solid #cddfd8;border-radius:7px;color:#216550;font-size:14px}.palette-open[aria-expanded=true]{background:#173e3b;color:white}.color-editor{margin-top:14px;padding:14px 12px;background:#f6f8f8;border:1px solid #d9e2e3;border-radius:10px;min-width:0}.color-editor[hidden]{display:none}.editor-heading{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:14px;margin-bottom:12px}.editor-close{width:36px;height:36px;background:white;border:1px solid #d9e2e3;border-radius:6px;font-size:22px;color:#36545a}.custom-color{display:grid;grid-template-columns:32px minmax(0,1fr);gap:10px;align-items:end}.color-preview{height:40px;border:1px solid #ced8d8;border-radius:5px}.color-editor label{display:block;font-size:12px;font-weight:500}.color-editor input{min-width:0;width:100%;border:1px solid #cbd8d9;border-radius:6px;background:white;color:#203f43;padding:8px 6px;min-height:40px;font-size:16px}.color-editor input[aria-invalid=true]{border-color:#b3382d}.rgb-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;grid-column:1/-1}.color-error{color:#a13529;font-size:12px;margin:6px 0;min-height:18px}.color-editor .palette-label{font-size:14px;margin:12px 0 7px;font-weight:600}.palette-count,.palette-note{font-size:12px;line-height:1.5;color:#627a7f}.palette-count{margin:7px 0}.palette-note{margin:12px 0 0}.palette-note a{color:#216550}.sto-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:320px;overflow-y:auto;padding:4px;overscroll-behavior:contain;scrollbar-gutter:stable}.sto-chip{padding:3px;border:1px solid #d5dfdf;border-radius:6px;background:white;color:#29464b;min-width:0}.sto-chip>span:first-child{display:block;height:42px;border-radius:3px;border:1px solid #0000000a}.sto-chip>span:last-child{display:block;padding:5px 0 2px;font-size:12px;white-space:nowrap}.sto-chip[aria-pressed=true]{outline:2px solid #247f6b;outline-offset:1px}.sto-chip:hover{border-color:#247f6b}@media(max-width:850px){.sto-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.color-editor{padding:16px}.custom-color{grid-template-columns:40px minmax(90px,1fr) minmax(0,2fr)}.rgb-inputs{grid-column:auto}}@media(max-width:440px){.sto-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.custom-color{grid-template-columns:32px minmax(0,1fr)}.rgb-inputs{grid-column:1/-1}}
.material{margin-top:20px;min-width:0}.material .color{margin-top:0}.material #facade-code{font-size:14px;margin:5px 0;color:#60765a}.material .palette-open{width:100%}.material .color-editor{padding:12px 9px}.material .sto-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.material .sto-groups button{font-size:14px}.material .sto-chip>span:last-child{font-size:14px}.material .palette-note{font-size:14px}.material .visual-picker small{display:block;font-weight:400}.material .editor-close{padding:0;flex-shrink:0}.material .custom-color{grid-template-columns:32px minmax(0,1fr)}.material .rgb-inputs{grid-column:1/-1}
@media(min-width:600px) and (max-width:900px){.material .sto-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:599px){.material .sto-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}

.finish-options{margin-top:20px;padding-top:18px;border-top:1px solid #e1e7dc}.finish-options label{display:block;font-size:14px;margin-bottom:8px}.finish-options select{font-size:14px}.finish-options button{width:100%;margin-top:10px;font-size:14px}.finish-options p{font-size:12px;line-height:1.5;color:#73846c}

.finish-options select+label{margin-top:12px}.finish-options #finish-current{display:block;font-size:14px}.finish-options>a{display:block;font-size:13px;color:#406d4c}.finish-options details{margin-top:14px;padding-top:10px}.finish-options details p{font-size:12px}
/* Official PDF table viewer: seven columns and six rows, including empty cells. */
dialog.color-editor{width:min(1120px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:24px;background:#fff;border:0;border-radius:14px;box-shadow:0 20px 90px #0005;color:#253331;overflow:auto}
dialog.color-editor::backdrop{background:#13221dcc;backdrop-filter:blur(3px)}
dialog.color-editor .editor-heading{margin-bottom:18px}.editor-heading>div{display:flex;align-items:center;gap:22px}.sto-logo{width:150px;height:auto;display:block}
dialog.color-editor .visual-picker{display:none}
dialog.color-editor .custom-color{grid-template-columns:32px 140px 240px;max-width:480px;gap:12px}dialog.color-editor .rgb-inputs{grid-column:auto}
dialog.color-editor .color-error:empty{display:none}dialog.color-editor .palette-label{font-size:25px;margin:22px 0 16px;display:flex;align-items:baseline;gap:14px}.palette-label small{font-size:13px;font-weight:400;color:#6f746e}
.sto-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:20px}.sto-toolbar select{width:100%;min-height:42px;margin-top:5px;border:1px solid #ccd3cf;border-radius:6px;background:white;padding:8px;color:#253331;font-size:14px}.sto-toolbar input{margin-top:5px}
.sto-paging{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:14px 0}.sto-paging button,.sto-done{border:1px solid #cbd3cb;border-radius:6px;padding:9px 14px;background:#f5f6f2;color:#263c33;font-size:14px;cursor:pointer}.sto-paging button:disabled{opacity:.35;cursor:default}.sto-paging p{margin:0}
.sto-table-scroll{overflow:auto;padding:3px;overscroll-behavior:contain}
dialog.color-editor .sto-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:36px repeat(6,minmax(84px,auto));min-width:840px;max-height:none;overflow:visible;gap:8px 12px;padding:2px;scrollbar-gutter:auto}
dialog.color-editor .sto-group-heading{font-size:14px;line-height:1.25;margin:0;align-self:center;color:#263331}
dialog.color-editor .sto-chip{border:1px solid #e0e3dc;border-radius:4px;padding:4px;color:#202823;text-align:left;cursor:pointer;align-self:stretch}
dialog.color-editor .sto-chip>span:first-child{height:48px;border-radius:2px}.sto-chip .sto-code{display:block;font-size:12px;font-weight:600;line-height:1.2;margin:5px 0 2px;white-space:nowrap}dialog.color-editor .sto-chip small{display:block;font-size:10px;line-height:1.3;min-height:13px}
dialog.color-editor .sto-chip[aria-pressed=true]{outline:2px solid #394f3c;outline-offset:1px}dialog.color-editor .sto-chip:hover{border-color:#303d32}.sto-chip:focus-visible{outline:3px solid #665900}
dialog.color-editor .sto-grid.sto-search-results{grid-template-rows:none;grid-auto-rows:minmax(84px,auto);min-width:0;max-height:530px;overflow:auto;grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}
.sto-selection{display:inline-block;margin:18px 16px 0 0;font-size:14px;font-weight:600}.sto-done{background:#263e32;color:white;border-color:#263e32;float:right;margin-top:12px}dialog.color-editor .palette-note{clear:both;padding-top:12px;font-size:12px}
@media(max-width:650px){dialog.color-editor{padding:16px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.sto-logo{width:105px}.editor-heading>div{gap:12px;flex-wrap:wrap}.sto-toolbar{grid-template-columns:1fr;gap:12px}dialog.color-editor .custom-color{grid-template-columns:32px minmax(0,1fr)}dialog.color-editor .rgb-inputs{grid-column:1/-1}dialog.color-editor .palette-label{font-size:20px;display:block}.palette-label small{margin-left:6px}.sto-paging button{padding:8px}.sto-selection{display:block}.sto-done{float:none}dialog.color-editor .sto-table-scroll:before{content:'Tabelo lahko pomaknete levo in desno →';display:block;font-size:12px;color:#68766a;margin-bottom:10px}}
.finish-options #structure-preview{display:block;width:100%;height:auto;max-height:240px;object-fit:cover;border-radius:8px;margin-top:12px;border:1px solid #dbe0d5}.finish-options #structure-preview[hidden],.finish-options [hidden]{display:none}.finish-options select{width:100%;min-width:0;margin-bottom:12px}.finish-options h3{font-size:17px;margin:0 0 15px}.finish-options #structure-status{color:#365b40;min-height:18px}
