html,body{width:100%;height:100%;min-width:0;min-height:0;overflow:hidden;overscroll-behavior:none}
.app{width:100%!important;height:100dvh!important;min-width:0!important;min-height:0!important;max-width:none!important;grid-template-columns:clamp(300px,25vw,400px) minmax(0,1fr)!important;grid-template-rows:clamp(58px,7.5vh,70px) minmax(0,1fr)!important}
.logo,.toolbar,.side,.scene{min-width:0!important;min-height:0!important}
.toolbar{overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;max-width:100%}
.side{overflow:auto;overscroll-behavior:contain}
.scene{overflow:hidden}
#canvas{width:100%!important;height:100%!important}
.aiveli-wardrobe-launcher{display:none!important}
.aiveli-wardrobe-tab{position:relative;border:1px solid #dfd6ca!important;background:linear-gradient(145deg,#fffdf9,#eee6dc)!important;color:#3c342c!important;box-shadow:0 6px 18px rgba(55,44,31,.07)!important}
.aiveli-wardrobe-tab::before{content:'◆';margin-right:7px;color:#b48a58;font-size:9px}
.aiveli-wardrobe-tab.active{background:linear-gradient(145deg,#241f1a,#4b4035)!important;color:#fff!important;border-color:#2b241e!important;box-shadow:0 12px 28px rgba(43,34,27,.22)!important}
.aiveli-wardrobe-library-card{display:grid;width:100%;grid-template-columns:minmax(112px,40%) 1fr;gap:14px;align-items:center;margin-top:11px;padding:11px;border:1px solid rgba(101,79,53,.14);border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(244,239,232,.98));box-shadow:0 16px 38px rgba(51,41,30,.08);text-align:left;color:#302921;cursor:pointer;overflow:hidden}
.aiveli-wardrobe-library-card:hover{transform:translateY(-2px);border-color:rgba(128,94,55,.35);box-shadow:0 20px 46px rgba(51,41,30,.14)}
.aiveli-wardrobe-library-thumb{width:100%;aspect-ratio:1.42/1;border-radius:16px;background:#e9e0d5 url('/assets/wardrobe-modular-category.svg') center/cover no-repeat;box-shadow:inset 0 0 0 1px rgba(77,61,44,.08)}
.aiveli-wardrobe-library-copy{min-width:0}.aiveli-wardrobe-library-copy small{display:block;margin-bottom:6px;color:#a17b4c;font:800 9px/1.2 Inter,system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase}.aiveli-wardrobe-library-copy strong{display:block;font:750 16px/1.2 Inter,system-ui,sans-serif;letter-spacing:-.02em}.aiveli-wardrobe-library-copy span{display:block;margin-top:6px;color:#786d62;font:500 11px/1.35 Inter,system-ui,sans-serif}.aiveli-wardrobe-library-copy em{display:inline-flex;margin-top:9px;padding:5px 8px;border-radius:999px;background:#2d2823;color:#fff;font:700 9px/1 Inter,system-ui,sans-serif;font-style:normal}
.aiveli-wardrobe-panel{position:fixed;inset:16px;z-index:2145;width:auto;max-width:none;height:auto;background:linear-gradient(155deg,rgba(252,250,247,.995),rgba(239,234,227,.99));border:1px solid rgba(255,255,255,.88);border-radius:28px;box-shadow:0 34px 110px rgba(31,25,19,.28),inset 0 1px 0 rgba(255,255,255,.94);backdrop-filter:blur(30px) saturate(1.08);-webkit-backdrop-filter:blur(30px) saturate(1.08);transform:translateY(18px) scale(.985);opacity:0;pointer-events:none;transition:opacity .24s ease,transform .3s cubic-bezier(.2,.82,.2,1);overflow:hidden;color:#2d2823;font:500 11px/1.32 Inter,system-ui,sans-serif}
.aiveli-wardrobe-panel.is-open{transform:none;opacity:1;pointer-events:auto}
.aiveli-wardrobe-head{height:64px;box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;padding:13px 18px 12px 20px;border-bottom:1px solid rgba(95,74,50,.1);background:linear-gradient(180deg,rgba(255,255,255,.74),rgba(255,255,255,.24))}
.aiveli-wardrobe-head small{display:block;letter-spacing:.18em;font-size:10px;font-weight:850;color:#8f6b41}.aiveli-wardrobe-head strong{font-size:18px;letter-spacing:-.03em;color:#2d2823}.aiveli-wardrobe-head button{border:1px solid rgba(91,72,51,.08);background:linear-gradient(145deg,#fff,#e9e2d8);width:36px;height:36px;border-radius:50%;display:grid;place-items:center;padding:0;cursor:pointer;color:#5a5046;box-shadow:0 6px 18px rgba(48,39,29,.08)}.aiveli-wardrobe-head button span{display:block;font-size:22px;line-height:1;transform:translateY(-1px)}
.aiveli-wardrobe-body{height:calc(100% - 64px);display:grid;grid-template-columns:minmax(420px,.95fr) minmax(520px,1.15fr);min-height:0}
.aiveli-wardrobe-preview{min-width:0;min-height:0;padding:18px;display:grid;grid-template-rows:minmax(310px,1fr) auto auto;gap:10px;background:radial-gradient(circle at 36% 18%,rgba(255,255,255,.95),rgba(239,232,222,.84) 48%,rgba(218,207,194,.92));border-right:1px solid rgba(85,68,47,.1)}
.aiveli-wardrobe-preview-stage{position:relative;min-height:0;border-radius:23px;overflow:hidden;background:linear-gradient(145deg,#f1ede7,#ded4c8);box-shadow:inset 0 0 0 1px rgba(69,55,38,.08),0 20px 56px rgba(56,45,31,.12)}.aiveli-wardrobe-preview-stage::after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.2),transparent 35%,rgba(68,50,31,.035))}.aiveli-wardrobe-preview-stage canvas{position:relative;z-index:1;display:block;width:100%;height:100%;cursor:grab}.aiveli-wardrobe-preview-stage canvas:active{cursor:grabbing}
.aiveli-wardrobe-preview-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 2px}.aiveli-wardrobe-preview-meta span{font-size:11px;font-weight:800;color:#4b4239}.aiveli-wardrobe-preview-meta button,.aiveli-material-head button{border:1px solid rgba(91,73,51,.13);background:rgba(255,253,250,.92);color:#51473e;border-radius:11px;padding:8px 10px;font:700 10px Inter,system-ui,sans-serif;cursor:pointer;box-shadow:0 6px 16px rgba(52,42,31,.06)}.aiveli-wardrobe-preview>p{margin:0 2px;color:#8a7e72;font-size:9px}
.aiveli-wardrobe-panel form{padding:16px 18px 18px;display:grid;align-content:start;gap:10px;overflow:auto;min-height:0;scrollbar-width:thin}.aiveli-wardrobe-panel label{display:grid;gap:5px;color:#74685d;font-size:9px;font-weight:750;letter-spacing:.02em}.aiveli-wardrobe-panel input[type=number],.aiveli-wardrobe-panel select{width:100%;box-sizing:border-box;border:1px solid rgba(91,73,51,.13);background:rgba(255,253,250,.94);border-radius:11px;padding:8px 9px;color:#302b25;font:650 11px Inter,system-ui,sans-serif;outline:none;min-height:35px;box-shadow:inset 0 1px 0 rgba(255,255,255,.75);transition:border-color .18s ease,box-shadow .18s ease}.aiveli-wardrobe-panel input[type=number]:focus,.aiveli-wardrobe-panel select:focus{border-color:rgba(151,111,65,.55);box-shadow:0 0 0 3px rgba(168,122,66,.09)}
.aiveli-wardrobe-dimensions,.aiveli-wardrobe-grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.aiveli-wardrobe-grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.aiveli-wardrobe-grid2{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.aiveli-wardrobe-summary{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:9px;padding:10px 12px;border-radius:14px;background:linear-gradient(145deg,rgba(234,226,215,.86),rgba(247,242,235,.9));border:1px solid rgba(126,97,63,.08)}.aiveli-wardrobe-summary span{display:inline-grid;place-items:center;width:34px;height:24px;border-radius:999px;background:#2e2924;color:#fff;font-size:8px;font-weight:800;letter-spacing:.06em}.aiveli-wardrobe-summary b{font-size:11px}.aiveli-wardrobe-summary em{font-style:normal;font-size:8.5px;color:#927047}.aiveli-material-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:2px}.aiveli-material-head span{font-size:10px;font-weight:850;letter-spacing:.06em;text-transform:uppercase;color:#5d5248}
.aiveli-mezzanine-row{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:9px;padding:9px 10px;border-radius:13px;background:rgba(234,227,216,.54);border:1px solid rgba(116,88,55,.07)}.aiveli-toggle{grid-template-columns:18px 1fr!important;align-items:center!important}.aiveli-toggle input{accent-color:#a87a42}.aiveli-mezzanine-row small{font-size:8.5px;color:#8b6d48;padding-bottom:9px}.aiveli-wardrobe-actions{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:8px;padding-top:2px}.aiveli-wardrobe-actions button{border:1px solid rgba(74,60,43,.12);border-radius:12px;padding:10px 8px;background:linear-gradient(145deg,#27231f,#3d352e);color:#fff;font:700 10px Inter,system-ui,sans-serif;cursor:pointer;box-shadow:0 10px 24px rgba(40,32,24,.14)}.aiveli-wardrobe-actions button[data-add-new]{background:linear-gradient(145deg,#f6f1ea,#e6ddd1);color:#40372f}.aiveli-wardrobe-actions button[data-toggle-doors]{background:linear-gradient(145deg,#bd9362,#8f693e)}.aiveli-wardrobe-help{margin:0;color:#81766b;font-size:8.5px;line-height:1.4}.aiveli-wardrobe-panel output{min-height:12px;color:#967043;font-size:8.5px}
.aiveli-wardrobe-dimension-hud{position:fixed;z-index:5000;min-width:190px;padding:9px 11px;border-radius:11px;background:rgba(34,31,28,.88);backdrop-filter:blur(12px);color:#fff;box-shadow:0 12px 34px rgba(0,0,0,.22);pointer-events:none;transform:translateY(0);transition:.18s ease}.aiveli-wardrobe-dimension-hud strong,.aiveli-wardrobe-dimension-hud span{display:block}.aiveli-wardrobe-dimension-hud strong{font:700 11px Inter,system-ui}.aiveli-wardrobe-dimension-hud span{margin-top:3px;color:#e9ddcd;font:500 9px Inter,system-ui}.aiveli-wardrobe-dimension-hud.is-finishing{opacity:0;transform:translateY(-5px)}
@media(max-width:1180px){.app{grid-template-columns:clamp(270px,29vw,340px) minmax(0,1fr)!important}.aiveli-wardrobe-panel{inset:10px}.aiveli-wardrobe-body{grid-template-columns:minmax(340px,.82fr) minmax(470px,1.18fr)}.aiveli-wardrobe-grid4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.app{grid-template-columns:minmax(250px,32vw) minmax(0,1fr)!important;grid-template-rows:58px minmax(0,1fr)!important}.logo{padding:10px 12px!important}.toolbar{padding:8px!important;gap:6px!important}.toolbar button{padding:8px 9px!important;font-size:11px!important}.aiveli-wardrobe-panel{inset:6px;border-radius:20px}.aiveli-wardrobe-head{height:52px;padding:9px 12px}.aiveli-wardrobe-body{height:calc(100% - 52px);grid-template-columns:1fr;grid-template-rows:40% 60%}.aiveli-wardrobe-preview{padding:8px;grid-template-rows:minmax(160px,1fr) auto}.aiveli-wardrobe-preview>p{display:none}.aiveli-wardrobe-preview-stage{border-radius:16px}.aiveli-wardrobe-panel form{padding:10px 12px}.aiveli-wardrobe-grid4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.app{grid-template-columns:minmax(220px,42vw) minmax(0,1fr)!important}.side{padding:10px!important}.card{padding:12px!important}.toolbarRight{min-width:0!important}.timeWrap{padding:5px 7px!important}.timeWrap input[type=range]{min-width:72px!important;width:82px!important}.aiveli-wardrobe-panel{inset:3px;border-radius:15px}.aiveli-wardrobe-body{grid-template-rows:34% 66%}.aiveli-mezzanine-row{grid-template-columns:1fr 1fr}.aiveli-mezzanine-row small{grid-column:1/-1;padding:0}.aiveli-wardrobe-library-card{grid-template-columns:1fr}.aiveli-wardrobe-library-thumb{aspect-ratio:1.65/1}}
@media(max-height:650px){.aiveli-wardrobe-panel{inset:4px}.aiveli-wardrobe-head{height:46px;padding:7px 10px}.aiveli-wardrobe-body{height:calc(100% - 46px);grid-template-columns:minmax(320px,.8fr) minmax(480px,1.2fr)}.aiveli-wardrobe-preview{padding:8px;grid-template-rows:minmax(210px,1fr) auto}.aiveli-wardrobe-preview>p{display:none}.aiveli-wardrobe-panel form{padding:8px 10px;gap:6px}.aiveli-wardrobe-panel input[type=number],.aiveli-wardrobe-panel select{min-height:30px;padding:6px 7px}}

/* AIVELI_WARDROBE_INTERFACE_FIXES_V13 */
.aiveli-wardrobe-tab{display:none!important}
.aiveliWardrobeQuickCategory{position:relative!important;overflow:hidden!important}
.aiveliWardrobeQuickCategory img{display:block!important;width:100%!important;height:106px!important;object-fit:cover!important;object-position:center!important;filter:saturate(.94) contrast(1.04)!important}
.aiveliWardrobeQuickCategory>span{position:absolute!important;z-index:2!important;left:10px!important;right:10px!important;bottom:9px!important;padding:7px 9px!important;border:1px solid rgba(255,255,255,.44)!important;border-radius:11px!important;background:rgba(250,248,245,.88)!important;backdrop-filter:blur(10px)!important;font-weight:800!important;font-size:12px!important;color:#201c19!important;text-align:center!important;box-shadow:0 5px 16px rgba(24,19,16,.12)!important}
.aiveliWardrobeQuickCategory:focus-visible{outline:2px solid rgba(91,72,51,.38)!important;outline-offset:3px!important}
.aiveliWardrobeCatalogThumb{position:absolute!important;width:1px!important;height:1px!important;left:-9999px!important;top:-9999px!important;overflow:hidden!important;background-image:url('/assets/wardrobe-modular-category.svg')!important;background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important}

.aiveli-friendly-v13 .aiveli-wardrobe-body{gap:14px!important}
.aiveli-friendly-v13 form{display:flex!important;flex-direction:column!important;gap:10px!important}
.aiveli-friendly-v13 .aiveli-friendly-section{border:1px solid rgba(68,55,44,.12)!important;border-radius:16px!important;background:rgba(255,255,255,.76)!important;box-shadow:0 8px 24px rgba(44,34,27,.055)!important;overflow:hidden!important}
.aiveli-friendly-v13 .aiveli-friendly-section>summary{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:50px!important;padding:0 16px!important;cursor:pointer!important;list-style:none!important;font-weight:800!important;color:#28221e!important;user-select:none!important}
.aiveli-friendly-v13 .aiveli-friendly-section>summary::-webkit-details-marker{display:none!important}
.aiveli-friendly-v13 .aiveli-friendly-section>summary span{font-size:14px!important}
.aiveli-friendly-v13 .aiveli-friendly-section>summary small{font-size:11px!important;font-weight:600!important;color:#8a7e74!important}
.aiveli-friendly-v13 .aiveli-friendly-section>summary:after{content:'+'!important;display:grid!important;place-items:center!important;width:25px!important;height:25px!important;flex:0 0 25px!important;border-radius:50%!important;background:#f0ebe5!important;color:#6f6258!important;font-size:18px!important;font-weight:500!important}
.aiveli-friendly-v13 .aiveli-friendly-section[open]>summary:after{content:'−'!important}
.aiveli-friendly-v13 .aiveli-friendly-section-body{padding:0 14px 14px!important;display:flex!important;flex-direction:column!important;gap:10px!important}
.aiveli-friendly-v13 .aiveli-wardrobe-summary{margin:0!important}
.aiveli-friendly-v13 label{font-size:12px!important;color:#6f645b!important;gap:6px!important}
.aiveli-friendly-v13 input,.aiveli-friendly-v13 select{min-height:42px!important;border-radius:11px!important;border:1px solid rgba(70,57,47,.14)!important;background:#fbfaf8!important;font-size:13px!important}
.aiveli-friendly-v13 .aiveli-material-head{display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;gap:4px 10px!important}
.aiveli-friendly-v13 .aiveli-cloud-sync-note{grid-column:1/-1!important;font-size:10px!important;color:#8b7f75!important;font-weight:600!important}
.aiveli-friendly-v13 [data-reload-materials]{border-radius:10px!important;padding:8px 11px!important;background:#f2eee9!important;color:#5c5048!important;border:1px solid rgba(78,63,52,.1)!important;font-weight:700!important}
.aiveli-friendly-v13 .aiveli-wardrobe-preview{border-radius:18px!important;overflow:hidden!important;background:#c8b9aa!important;box-shadow:0 12px 34px rgba(39,31,25,.11)!important}
.aiveli-friendly-v13 .aiveli-wardrobe-preview-stage{min-height:300px!important;background-position:center!important;background-size:cover!important}
.aiveli-friendly-v13 .aiveli-wardrobe-preview-stage canvas{display:block!important;width:100%!important;height:100%!important;will-change:transform!important;touch-action:none!important}
.aiveli-friendly-v13 .aiveli-wardrobe-preview-meta{gap:8px!important;padding:10px 12px!important;background:rgba(250,248,245,.9)!important;backdrop-filter:blur(12px)!important}
.aiveli-friendly-v13 [data-preview-open]{min-height:38px!important;border-radius:10px!important;padding:0 14px!important;font-weight:800!important;background:#29231f!important;color:#fff!important;border:0!important}
.aiveli-friendly-v13 .aiveli-wardrobe-actions{position:sticky!important;bottom:0!important;z-index:5!important;padding:10px!important;margin:2px -2px -2px!important;border-radius:15px!important;background:rgba(250,248,245,.94)!important;backdrop-filter:blur(14px)!important;box-shadow:0 -7px 24px rgba(46,36,28,.08)!important}
.aiveli-friendly-v13 .aiveli-wardrobe-actions button{min-height:43px!important;border-radius:11px!important;font-weight:800!important}
.aiveli-friendly-v13 .aiveli-wardrobe-help{font-size:11px!important;line-height:1.45!important;color:#8a7d73!important;margin:0 4px!important}

@media(max-width:720px){
 .aiveliWardrobeQuickCategory img{height:88px!important}
 .aiveli-friendly-v13 .aiveli-wardrobe-preview-stage{min-height:240px!important}
 .aiveli-friendly-v13 .aiveli-friendly-section>summary{min-height:46px!important;padding:0 13px!important}
 .aiveli-friendly-v13 .aiveli-friendly-section>summary small{display:none!important}
}


/* AIVELI_WARDROBE_INTERFACE_V14 */
/* AIVELI wardrobe v1.4 responsive configurator */
.aiveli-friendly-v13.aiveli-wardrobe-panel{max-height:calc(100dvh - 20px)!important;min-height:0!important;contain:layout paint!important}
.aiveli-friendly-v13 .aiveli-wardrobe-body{min-height:0!important;overflow:hidden!important;grid-template-rows:minmax(0,1fr)!important}
.aiveli-friendly-v13 .aiveli-wardrobe-body>form{height:100%!important;max-height:100%!important;min-height:0!important;min-width:0!important;box-sizing:border-box!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain!important;scrollbar-gutter:stable!important;-webkit-overflow-scrolling:touch!important;padding-bottom:96px!important;touch-action:pan-y!important}
.aiveli-friendly-v13 .aiveli-friendly-section{flex:0 0 auto!important;min-width:0!important}
.aiveli-friendly-v13 .aiveli-friendly-section-body{min-width:0!important}
.aiveli-friendly-v13 .aiveli-wardrobe-layout{width:100%!important;min-width:0!important}
.aiveli-friendly-v13 .aiveli-wardrobe-layout>small{grid-column:1/-1!important;margin:0!important;padding:2px 3px!important;color:#887a70!important;font-size:10.5px!important;line-height:1.4!important}
.aiveli-friendly-v13 .aiveli-wardrobe-layout label.is-disabled{opacity:.48!important}
.aiveli-friendly-v13 .aiveli-wardrobe-layout :disabled{cursor:not-allowed!important;background:#eeeae5!important;color:#8d847c!important}
.aiveli-friendly-v13 .aiveli-wardrobe-actions{flex:0 0 auto!important}
@media(max-width:960px){
 .aiveli-friendly-v13 .aiveli-wardrobe-body{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(180px,36vh) minmax(0,1fr)!important;gap:8px!important}
 .aiveli-friendly-v13 .aiveli-wardrobe-preview{min-height:0!important;padding:8px!important;grid-template-rows:minmax(135px,1fr) auto!important;border-right:0!important;border-bottom:1px solid rgba(85,68,47,.1)!important}
 .aiveli-friendly-v13 .aiveli-wardrobe-preview-stage{min-height:135px!important}
 .aiveli-friendly-v13 .aiveli-wardrobe-preview>p{display:none!important}
 .aiveli-friendly-v13 .aiveli-wardrobe-body>form{padding:10px 12px 96px!important}
}
@media(max-width:720px){
 .aiveli-friendly-v13.aiveli-wardrobe-panel{inset:3px!important;max-height:calc(100dvh - 6px)!important;border-radius:16px!important}
 .aiveli-friendly-v13 .aiveli-wardrobe-body{grid-template-rows:minmax(160px,31vh) minmax(0,1fr)!important}
 .aiveli-friendly-v13 .aiveli-wardrobe-preview-stage{min-height:125px!important}
 .aiveli-friendly-v13 .aiveli-wardrobe-grid4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .aiveli-friendly-v13 .aiveli-wardrobe-actions{grid-template-columns:1.2fr 1fr!important}
 .aiveli-friendly-v13 .aiveli-wardrobe-actions [data-primary]{grid-column:1/-1!important}
}
@media(max-width:520px){
 .aiveli-friendly-v13 .aiveli-wardrobe-head{height:48px!important;padding:7px 9px!important}
 .aiveli-friendly-v13 .aiveli-wardrobe-body{height:calc(100% - 48px)!important;grid-template-rows:minmax(145px,28vh) minmax(0,1fr)!important}
 .aiveli-friendly-v13 .aiveli-wardrobe-preview{padding:6px!important;gap:5px!important}
 .aiveli-friendly-v13 .aiveli-wardrobe-preview-stage{min-height:112px!important;border-radius:13px!important}
 .aiveli-friendly-v13 .aiveli-wardrobe-preview-meta{padding:6px 8px!important}
 .aiveli-friendly-v13 [data-preview-open]{min-height:34px!important;padding:0 10px!important}
 .aiveli-friendly-v13 .aiveli-wardrobe-dimensions,.aiveli-friendly-v13 .aiveli-wardrobe-grid2,.aiveli-friendly-v13 .aiveli-wardrobe-grid3,.aiveli-friendly-v13 .aiveli-wardrobe-grid4{grid-template-columns:minmax(0,1fr)!important}
 .aiveli-friendly-v13 .aiveli-wardrobe-actions{grid-template-columns:1fr!important}
 .aiveli-friendly-v13 .aiveli-wardrobe-actions [data-primary]{grid-column:auto!important}
 .aiveli-friendly-v13 .aiveli-material-head{grid-template-columns:1fr!important}
}
@media(max-height:700px) and (min-width:961px){
 .aiveli-friendly-v13.aiveli-wardrobe-panel{inset:4px!important;max-height:calc(100dvh - 8px)!important}
 .aiveli-friendly-v13 .aiveli-wardrobe-head{height:48px!important;padding:7px 11px!important}
 .aiveli-friendly-v13 .aiveli-wardrobe-body{height:calc(100% - 48px)!important;grid-template-columns:minmax(310px,.78fr) minmax(430px,1.22fr)!important}
 .aiveli-friendly-v13 .aiveli-wardrobe-preview{padding:8px!important;grid-template-rows:minmax(170px,1fr) auto!important}
 .aiveli-friendly-v13 .aiveli-wardrobe-preview-stage{min-height:170px!important}
 .aiveli-friendly-v13 .aiveli-wardrobe-preview>p{display:none!important}
 .aiveli-friendly-v13 .aiveli-wardrobe-body>form{padding:8px 10px 82px!important;gap:7px!important}
 .aiveli-friendly-v13 .aiveli-friendly-section>summary{min-height:42px!important}
 .aiveli-friendly-v13 input,.aiveli-friendly-v13 select{min-height:36px!important}
}


/* AIVELI_WARDROBE_INTERFACE_V15 */
/* AIVELI wardrobe v1.5 interface polish */
.aiveli-friendly-v13 .aiveli-mezzanine-row{align-items:center!important}
.aiveli-friendly-v13 .aiveli-toggle{display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;align-items:center!important;column-gap:8px!important;min-width:0!important;position:relative!important}
.aiveli-friendly-v13 .aiveli-toggle input[type=checkbox]{position:static!important;inset:auto!important;display:block!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;margin:0!important;padding:0!important;transform:none!important;translate:none!important;float:none!important;z-index:auto!important;opacity:1!important;appearance:auto!important;-webkit-appearance:checkbox!important;accent-color:#a87a42!important}
.aiveli-friendly-v13 .aiveli-toggle span{position:static!important;inset:auto!important;display:block!important;min-width:0!important;transform:none!important;translate:none!important;margin:0!important;padding:0!important;line-height:1.25!important;white-space:normal!important;pointer-events:none!important}
.aiveli-friendly-v13 .aiveli-preview-background-controls{display:flex!important;flex-wrap:wrap!important;gap:6px!important;align-items:center!important;margin:-2px 2px 0!important}
.aiveli-friendly-v13 .aiveli-preview-background-controls button{min-height:32px!important;border:1px solid rgba(91,73,51,.13)!important;background:rgba(255,253,250,.94)!important;color:#51473e!important;border-radius:10px!important;padding:7px 9px!important;font:700 9.5px/1 Inter,system-ui,sans-serif!important;cursor:pointer!important;box-shadow:0 5px 14px rgba(52,42,31,.06)!important}
.aiveli-friendly-v13 .aiveli-preview-background-controls button:hover{border-color:rgba(151,111,65,.42)!important;transform:translateY(-1px)!important}
.aiveli-friendly-v13 .aiveli-material-visual-list{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(78px,1fr))!important;gap:6px!important;margin-top:2px!important;max-height:132px!important;overflow:auto!important;overscroll-behavior:contain!important;padding:1px!important;scrollbar-width:thin!important}
.aiveli-friendly-v13 .aiveli-material-visual-option{display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;align-items:center!important;gap:6px!important;min-width:0!important;min-height:40px!important;padding:3px 6px 3px 3px!important;border:1px solid rgba(91,73,51,.11)!important;border-radius:9px!important;background:rgba(255,253,250,.88)!important;color:#534a42!important;text-align:left!important;cursor:pointer!important;box-shadow:none!important}
.aiveli-friendly-v13 .aiveli-material-visual-option img{display:block!important;width:34px!important;height:34px!important;object-fit:cover!important;border-radius:7px!important;box-shadow:inset 0 0 0 1px rgba(61,47,34,.08)!important;background:#ddd4c9!important}
.aiveli-friendly-v13 .aiveli-material-visual-option span{display:block!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:8.5px!important;font-weight:700!important;line-height:1.2!important;text-transform:none!important;letter-spacing:0!important;color:inherit!important}
.aiveli-friendly-v13 .aiveli-material-visual-option.no-image{grid-template-columns:1fr!important;padding-left:7px!important;background:linear-gradient(145deg,#f6f1ea,#e4dbcf)!important}
.aiveli-friendly-v13 .aiveli-material-visual-option.is-selected{border-color:rgba(151,111,65,.65)!important;background:#fffaf3!important;box-shadow:0 0 0 2px rgba(168,122,66,.11)!important}
.aiveli-friendly-v13 .aiveli-rail-limit-note{display:block!important;margin-top:1px!important;color:#9a7a55!important;font-size:8px!important;line-height:1.25!important;font-weight:600!important;letter-spacing:0!important}
@media(max-width:720px){
 .aiveli-friendly-v13 .aiveli-preview-background-controls{gap:5px!important}
 .aiveli-friendly-v13 .aiveli-preview-background-controls button{flex:1 1 auto!important;min-height:30px!important;padding:6px 7px!important;font-size:9px!important}
 .aiveli-friendly-v13 .aiveli-material-visual-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-height:118px!important}
 .aiveli-friendly-v13 .aiveli-mezzanine-row{grid-template-columns:minmax(0,1fr)!important;align-items:start!important}
 .aiveli-friendly-v13 .aiveli-mezzanine-row>small{grid-column:auto!important;padding:0!important}
}
@media(max-height:650px) and (min-width:721px){
 .aiveli-friendly-v13 .aiveli-material-visual-list{max-height:90px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .aiveli-friendly-v13 .aiveli-preview-background-controls button{min-height:28px!important;padding:5px 8px!important}
}

/* AIVELI_WARDROBE_INTERFACE_V16 */
/* AIVELI Wardrobe v1.6 — structure controls, scene palette and mobile split */
.aiveli-v16-structure{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;padding:10px 11px;border:1px solid rgba(110,84,54,.11);border-radius:15px;background:linear-gradient(145deg,rgba(255,253,249,.93),rgba(236,228,217,.78));box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.aiveli-v16-structure-title{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px}.aiveli-v16-structure-title strong{font-size:10px;letter-spacing:.07em;text-transform:uppercase;color:#50463d}.aiveli-v16-structure-title small{font-size:8px;color:#9a754a;text-align:right}
.aiveli-v16-structure-group{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important;min-width:0;padding:9px;border:1px solid rgba(89,69,48,.10);border-radius:12px;background:rgba(255,255,255,.52);box-shadow:inset 0 1px 0 rgba(255,255,255,.72)}
.aiveli-v16-structure-group>span{display:block;color:#62564b;font:750 9px/1.2 Inter,system-ui,sans-serif;letter-spacing:.01em}.aiveli-v16-structure-group.is-cells{background:rgba(244,238,230,.72);border-color:rgba(154,117,74,.14)}
.aiveli-v16-segment{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px}.aiveli-v16-segment[data-segment="cellCount"]{grid-template-columns:repeat(4,minmax(0,1fr))}
.aiveli-v16-segment button{min-width:0;min-height:32px;padding:6px 3px!important;border-radius:9px!important;border:1px solid rgba(89,69,48,.11)!important;background:rgba(255,255,255,.82)!important;color:#5c5147!important;font:800 9px/1 Inter,system-ui,sans-serif!important;box-shadow:none!important;transform:none!important}
.aiveli-v16-segment button.is-active{background:linear-gradient(145deg,#2b2723,#4a4037)!important;color:#fff!important;border-color:#2b2723!important;box-shadow:0 7px 16px rgba(44,35,27,.16)!important}.aiveli-v16-segment button:disabled{opacity:.38!important}
.aiveli-v16-structure.is-corner{background:linear-gradient(145deg,#f3eee7,#e6dccf)}

/* Reference-style dimensions: label + horizontal rail + floating value capsule. */
.aiveli-wardrobe-dimensions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:11px!important;padding:5px 0 3px!important}
.aiveli-v16-dimension-row{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;gap:12px!important;align-items:center!important;min-width:0!important;margin:0!important}
.aiveli-v16-dimension-label{display:block;color:#4b4138;font:760 11px/1.15 Inter,system-ui,sans-serif;letter-spacing:-.01em;white-space:nowrap}
.aiveli-v16-dimension{--dim-progress:50%;position:relative;display:block!important;height:48px;min-width:0;width:100%}
.aiveli-v16-dimension-source{display:none!important}
.aiveli-v16-dimension-slider{position:absolute!important;z-index:2;left:0!important;right:0!important;top:50%!important;transform:translateY(-50%)!important;width:100%!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0!important;border:0!important;border-radius:999px!important;outline:0!important;box-shadow:none!important;appearance:none!important;-webkit-appearance:none!important;background:transparent!important;cursor:pointer!important;accent-color:#a0784e}
.aiveli-v16-dimension-slider::-webkit-slider-runnable-track{height:4px;border:0;border-radius:999px;background:linear-gradient(to right,#a0784e 0 var(--dim-progress),#ded8d0 var(--dim-progress) 100%)}
.aiveli-v16-dimension-slider::-moz-range-track{height:4px;border:0;border-radius:999px;background:#ded8d0}.aiveli-v16-dimension-slider::-moz-range-progress{height:4px;border-radius:999px;background:#a0784e}
.aiveli-v16-dimension-slider::-webkit-slider-thumb{-webkit-appearance:none!important;appearance:none!important;width:72px;height:42px;margin-top:-19px;border:0!important;border-radius:999px;background:transparent!important;box-shadow:none!important;cursor:grab}.aiveli-v16-dimension-slider:active::-webkit-slider-thumb{cursor:grabbing}
.aiveli-v16-dimension-slider::-moz-range-thumb{width:72px;height:42px;border:0!important;border-radius:999px;background:transparent!important;box-shadow:none!important;cursor:grab}.aiveli-v16-dimension-slider:active::-moz-range-thumb{cursor:grabbing}
.aiveli-v16-dimension-value{position:absolute;z-index:3;left:clamp(36px,var(--dim-progress),calc(100% - 36px));top:50%;transform:translate(-50%,-50%);display:grid;place-items:center;min-width:68px;height:42px;padding:0 13px;border:1px solid rgba(75,61,48,.07);border-radius:999px;background:linear-gradient(180deg,#fff 0%,#fbfaf8 100%);box-shadow:0 10px 25px rgba(48,38,29,.14),0 2px 6px rgba(48,38,29,.07);color:#453b32;font:800 13px/1 Inter,system-ui,sans-serif;letter-spacing:.045em;white-space:nowrap;pointer-events:none;transition:transform .16s ease,box-shadow .16s ease}
.aiveli-v16-dimension.is-dragging .aiveli-v16-dimension-value{transform:translate(-50%,-50%) scale(1.045);box-shadow:0 14px 31px rgba(48,38,29,.18),0 3px 7px rgba(48,38,29,.09)}
.aiveli-v16-dimension-slider:focus-visible{box-shadow:0 0 0 4px rgba(160,120,78,.12)!important}

.scene{position:relative}
.aiveli-scene-material-palette{position:absolute;right:12px;bottom:12px;z-index:2143;width:min(410px,calc(100% - 24px));max-height:min(58%,480px);display:grid;grid-template-rows:auto auto minmax(0,1fr);border:1px solid rgba(102,78,51,.16);border-radius:20px;background:rgba(250,247,242,.96);backdrop-filter:blur(22px) saturate(1.08);-webkit-backdrop-filter:blur(22px) saturate(1.08);box-shadow:0 24px 70px rgba(35,28,21,.22);overflow:hidden;color:#342d26}.aiveli-scene-material-palette[hidden]{display:none!important}
.aiveli-scene-palette-head{display:flex;align-items:center;justify-content:space-between;padding:11px 12px 8px}.aiveli-scene-palette-head small{display:block;font-size:7px;letter-spacing:.18em;color:#9c7548;font-weight:900}.aiveli-scene-palette-head strong{display:block;margin-top:2px;font-size:12px}.aiveli-scene-palette-head button{width:28px;height:28px;padding:0!important;border-radius:50%!important;font-size:17px!important;box-shadow:none!important}
.aiveli-scene-palette-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:0 10px 8px}.aiveli-scene-palette-tabs button{min-width:0;padding:7px 4px!important;border-radius:9px!important;font-size:8px!important;box-shadow:none!important;background:#f4eee6!important;color:#6d5e50!important}.aiveli-scene-palette-tabs button.is-active{background:#322b25!important;color:#fff!important}
.aiveli-scene-palette-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:0 10px 10px;overflow:auto;overscroll-behavior:contain}.aiveli-scene-palette-option{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:7px!important;align-items:center!important;min-width:0!important;padding:4px!important;border-radius:11px!important;border:1px solid rgba(91,71,49,.11)!important;background:rgba(255,255,255,.84)!important;color:#51463c!important;text-align:left!important;box-shadow:none!important}.aiveli-scene-palette-option img{width:42px;height:36px;display:block;object-fit:cover;border-radius:8px;background:#ddd4c8}.aiveli-scene-palette-option span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:8.5px;font-weight:750}.aiveli-scene-palette-option.is-active{border-color:#a77b48!important;background:#fff8ef!important;box-shadow:0 0 0 2px rgba(167,123,72,.11)!important}
.aiveli-interior-edit-hud{position:fixed;z-index:5200;min-width:190px;padding:8px 10px;border-radius:11px;background:rgba(38,33,28,.91);color:#fff;pointer-events:none;box-shadow:0 12px 32px rgba(0,0,0,.22);backdrop-filter:blur(10px)}.aiveli-interior-edit-hud strong,.aiveli-interior-edit-hud span{display:block}.aiveli-interior-edit-hud strong{font:750 10px/1.2 Inter,system-ui,sans-serif}.aiveli-interior-edit-hud span{margin-top:3px;color:#e7d8c5;font:500 8px/1.2 Inter,system-ui,sans-serif}
.aiveli-wardrobe-ruler-label{position:absolute;z-index:45;transform:translate(-50%,-50%);pointer-events:none;padding:5px 8px;border-radius:999px;border:1px solid rgba(61,51,41,.16);background:rgba(255,253,249,.94);box-shadow:0 8px 20px rgba(34,29,24,.10);color:#342e28;font:800 9px/1 Inter,system-ui,sans-serif;white-space:nowrap;backdrop-filter:blur(8px)}
@media(max-width:720px){
 html,body{overflow:hidden!important}.app{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:52px 46px minmax(0,1fr) minmax(0,1fr)!important;height:100dvh!important;max-height:100dvh!important}
 .logo{grid-column:1!important;grid-row:1!important;border-right:0!important;padding:8px 11px!important}.toolbar{grid-column:1!important;grid-row:2!important;padding:5px 7px!important;border-left:0!important}.scene{grid-column:1!important;grid-row:3!important;min-height:0!important;border-bottom:1px solid #ddd5ca}.side{grid-column:1!important;grid-row:4!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:8px!important;border-right:0!important;border-top:1px solid rgba(111,90,67,.10);overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch}.card{padding:10px!important;margin-bottom:9px!important;border-radius:17px!important}
 .aiveli-wardrobe-panel{inset:2px!important;border-radius:13px!important}.aiveli-wardrobe-head{height:46px!important;padding:6px 9px!important}.aiveli-wardrobe-body{height:calc(100% - 46px)!important;grid-template-columns:1fr!important;grid-template-rows:minmax(0,1fr) minmax(0,1fr)!important}.aiveli-wardrobe-preview{min-height:0!important;padding:6px!important;grid-template-rows:minmax(0,1fr) auto!important}.aiveli-wardrobe-panel form{min-height:0!important;padding:8px 9px 12px!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important}.aiveli-v16-structure{grid-template-columns:1fr!important}.aiveli-v16-structure-title{grid-column:auto}.aiveli-v16-structure-title small{max-width:55%}.aiveli-wardrobe-dimensions{grid-template-columns:1fr!important}.aiveli-v16-dimension-row{grid-template-columns:68px minmax(0,1fr)!important;gap:9px!important}.aiveli-v16-dimension{height:46px}.aiveli-v16-dimension-label{font-size:10px}.aiveli-v16-dimension-value{min-width:64px;height:40px;font-size:12px}.aiveli-v16-dimension-slider{height:40px!important;min-height:40px!important}.aiveli-v16-dimension-slider::-webkit-slider-thumb{width:68px;height:40px;margin-top:-18px}.aiveli-v16-dimension-slider::-moz-range-thumb{width:68px;height:40px}.aiveli-wardrobe-grid3,.aiveli-wardrobe-grid4,.aiveli-wardrobe-grid2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .aiveli-scene-material-palette{right:6px;bottom:6px;width:calc(100% - 12px);max-height:48%;border-radius:14px}.aiveli-scene-palette-head{padding:7px 8px 5px}.aiveli-scene-palette-tabs{padding:0 7px 5px}.aiveli-scene-palette-options{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 7px 7px;gap:4px}.aiveli-scene-palette-option{grid-template-columns:32px minmax(0,1fr)!important}.aiveli-scene-palette-option img{width:32px;height:29px}
}
@media(max-width:430px){.aiveli-wardrobe-grid3,.aiveli-wardrobe-grid4,.aiveli-wardrobe-grid2{grid-template-columns:1fr!important}.aiveli-scene-palette-options{grid-template-columns:1fr}.aiveli-v16-segment button{min-height:30px!important}.aiveli-v16-dimension-row{grid-template-columns:62px minmax(0,1fr)!important}.aiveli-v16-dimension-label{font-size:9.5px}}


/* AIVELI_STORAGE_V19 */
.aiveli-storage-formats-v19{margin:0 0 16px;padding:15px;border:1px solid rgba(56,49,42,.12);border-radius:18px;background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(245,241,235,.94));box-shadow:0 18px 45px rgba(56,45,35,.07)}
.aiveli-storage-formats-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}.aiveli-storage-formats-head>div{display:grid;gap:2px}.aiveli-storage-formats-head small{font-size:9px;letter-spacing:.17em;color:#9c8262}.aiveli-storage-formats-head strong{font-size:16px;font-weight:650;color:#25211d}.aiveli-storage-formats-head>span{font-size:11px;color:#8b8177}
.aiveli-storage-format-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.aiveli-storage-format-card{appearance:none;border:1px solid rgba(74,64,54,.12);background:rgba(255,255,255,.78);border-radius:14px;padding:9px 7px 8px;min-height:112px;display:grid;grid-template-rows:57px auto 1fr;align-items:center;text-align:center;cursor:pointer;color:#2c2824;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}.aiveli-storage-format-card:hover{transform:translateY(-2px);border-color:rgba(169,132,88,.5);box-shadow:0 10px 24px rgba(89,69,48,.10)}.aiveli-storage-format-card.is-active{border-color:#b08a5e;background:linear-gradient(180deg,#fffdf9,#f5eee5);box-shadow:inset 0 0 0 1px rgba(176,138,94,.18),0 8px 22px rgba(108,77,45,.11)}.aiveli-storage-format-card strong{font-size:11px;line-height:1.15;font-weight:650}.aiveli-storage-format-card small{font-size:9px;line-height:1.25;color:#8a8178;margin-top:3px}.aiveli-storage-format-image{display:grid;place-items:center;height:54px}.aiveli-storage-format-image svg{width:68px;height:50px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;color:#766a5e}.aiveli-storage-format-card.is-active .aiveli-storage-format-image svg{color:#9a7148}
.aiveli-v19-manual-dimension{position:relative!important;display:grid!important;grid-template-columns:1fr auto!important;gap:7px!important;align-items:center!important}.aiveli-v19-manual-dimension>span:first-child{grid-column:1/-1}.aiveli-v19-manual-dimension .aiveli-v16-dimension-slider,.aiveli-v19-manual-dimension .aiveli-v16-dimension-value{display:none!important}.aiveli-v19-dimension-input,.aiveli-v19-manual-dimension .aiveli-v16-dimension-source{display:block!important;visibility:visible!important;opacity:1!important;position:static!important;width:100%!important;height:44px!important;padding:0 14px!important;border:1px solid rgba(65,57,49,.16)!important;border-radius:12px!important;background:rgba(255,255,255,.86)!important;color:#27231f!important;font:600 14px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;box-shadow:inset 0 1px 1px rgba(0,0,0,.02)!important;appearance:textfield!important}.aiveli-v19-dimension-input:focus{outline:none!important;border-color:#b08a5e!important;box-shadow:0 0 0 3px rgba(176,138,94,.12)!important}.aiveli-v19-mm{min-width:34px;height:44px;display:grid;place-items:center;padding:0 8px;border-radius:10px;background:#eee8df;color:#766b60;font-size:11px;font-weight:650;letter-spacing:.04em}
[data-reset-config-v19]{border-color:rgba(73,64,55,.18)!important;background:linear-gradient(180deg,#fbfaf8,#eee9e2)!important;color:#403a34!important}.aiveli-wardrobe-actions [data-reset-config-v19]:hover{background:#e9e2d9!important}
[data-preview-host]{position:relative}.aiveli-preview-dimensions-v19{position:absolute;inset:10px;pointer-events:none;z-index:18;color:#584c40;font:600 10px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.aiveli-preview-dim{position:absolute;padding:5px 8px;border:1px solid rgba(128,105,80,.25);border-radius:999px;background:rgba(255,252,247,.88);box-shadow:0 4px 12px rgba(72,56,40,.08);backdrop-filter:blur(7px);white-space:nowrap}.aiveli-preview-dim.is-height{left:7px;top:50%;transform:translateY(-50%) rotate(-90deg)}.aiveli-preview-dim.is-width{left:50%;bottom:8px;transform:translateX(-50%)}.aiveli-preview-dim.is-depth{right:7px;top:50%;transform:translateY(-50%)}
.aiveli-v19-field-label{display:block;margin-bottom:6px}.aiveli-wardrobe-panel [hidden]{display:none!important}
.aiveli-interior-edit-hud{z-index:10003!important}.aiveli-wardrobe-preview [data-preview-host] canvas[data-aiveli-interior-configurator="1"]{cursor:grab}.aiveli-wardrobe-preview [data-preview-host] canvas[data-aiveli-interior-dragging="1"]{cursor:ns-resize!important}
@media(max-width:980px){.aiveli-storage-format-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.aiveli-storage-format-card{min-height:102px}}
@media(max-width:640px){.aiveli-storage-formats-v19{padding:11px;border-radius:15px}.aiveli-storage-format-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.aiveli-storage-format-card{min-height:96px;grid-template-rows:49px auto 1fr}.aiveli-storage-format-image{height:46px}.aiveli-storage-format-image svg{width:58px;height:44px}.aiveli-storage-formats-head>span{display:none}.aiveli-preview-dim.is-depth{right:2px}.aiveli-preview-dim.is-height{left:0}}


/* AIVELI_STORAGE_V20 */
.aiveli-material-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.aiveli-material-head [data-aiveli-material-auto-v20]{font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#9a7956;background:rgba(176,137,95,.09);border:1px solid rgba(176,137,95,.18);border-radius:999px;padding:5px 8px}.aiveli-v20-mount-height{display:grid;grid-template-columns:minmax(0,1fr) minmax(112px,150px);align-items:center;gap:8px 16px;margin:10px 0 4px;padding:13px 14px;border-radius:14px;border:1px solid rgba(86,68,49,.13);background:linear-gradient(145deg,rgba(255,255,255,.78),rgba(245,239,231,.7));box-shadow:0 10px 28px rgba(64,49,33,.05)}.aiveli-v20-mount-height>span{font-size:12px;font-weight:750;color:#43392f}.aiveli-v20-mount-height>div{position:relative}.aiveli-v20-mount-height input{width:100%;height:38px;padding:0 34px 0 12px;border:1px solid rgba(81,63,45,.16);border-radius:10px;background:rgba(255,255,255,.9);font:700 13px/1 system-ui;color:#2f2923;outline:none}.aiveli-v20-mount-height input:focus{border-color:rgba(164,121,77,.55);box-shadow:0 0 0 3px rgba(164,121,77,.09)}.aiveli-v20-mount-height em{position:absolute;right:11px;top:50%;transform:translateY(-50%);font-size:10px;font-style:normal;color:#8a7c6e}.aiveli-v20-mount-height small{grid-column:1/-1;font-size:10px;line-height:1.35;color:#88796a}.aiveli-v20-mount-height[hidden]{display:none!important}@media(max-width:760px){.aiveli-v20-mount-height{grid-template-columns:1fr 118px;padding:10px 11px}.aiveli-material-head [data-aiveli-material-auto-v20]{font-size:9px}}


/* AIVELI_STORAGE_V21 */
[data-aiveli-material-auto-v20],[data-aiveli-cloud-label],[data-aiveli-cloud-status],[data-reload-materials]{display:none!important}
.aiveli-storage-formats-v19{padding:16px;border-color:rgba(72,59,46,.11);background:linear-gradient(155deg,rgba(255,255,255,.97),rgba(244,239,232,.95));box-shadow:0 20px 56px rgba(61,47,34,.08)}
.aiveli-storage-format-grid{gap:9px}.aiveli-storage-format-card{position:relative;overflow:hidden;min-height:120px;border-color:rgba(73,61,49,.105);background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(249,246,241,.86));box-shadow:inset 0 1px 0 rgba(255,255,255,.8);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}.aiveli-storage-format-card:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 50% 22%,rgba(190,156,116,.10),transparent 45%);opacity:.35;transition:opacity .18s ease}.aiveli-storage-format-card:hover:before,.aiveli-storage-format-card.is-active:before{opacity:1}.aiveli-storage-format-card:hover{transform:translateY(-2px);box-shadow:0 13px 30px rgba(75,56,38,.11),inset 0 1px 0 rgba(255,255,255,.9)}.aiveli-storage-format-card.is-active{background:linear-gradient(180deg,#fffdfa,#f3eadf);box-shadow:0 12px 29px rgba(113,78,43,.13),inset 0 0 0 1px rgba(176,138,94,.14)}.aiveli-storage-format-image{position:relative;z-index:1}.aiveli-storage-format-image svg{width:72px;height:53px;stroke-width:1.35;filter:drop-shadow(0 4px 7px rgba(62,49,37,.05))}.aiveli-storage-format-card strong,.aiveli-storage-format-card small{position:relative;z-index:1}.aiveli-storage-format-card strong{font-size:11.5px;letter-spacing:-.01em}.aiveli-storage-format-card small{font-size:9.2px;color:#80766d}
.aiveli-storage-actions-v21{position:absolute;left:50%;bottom:52px;z-index:40;transform:translateX(-50%);display:flex;flex-wrap:wrap;justify-content:center;gap:7px;width:min(94%,760px);padding:7px;border:1px solid rgba(76,61,46,.13);border-radius:16px;background:rgba(250,247,242,.86);box-shadow:0 12px 34px rgba(56,43,31,.12);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);pointer-events:auto}.aiveli-storage-actions-v21[hidden]{display:none!important}.aiveli-storage-action-v21{appearance:none;border:1px solid rgba(70,58,47,.15);border-radius:11px;background:linear-gradient(180deg,#fff,#f1ece5);color:#332d27;min-height:34px;padding:0 12px;font:650 11px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;cursor:pointer;box-shadow:0 4px 12px rgba(63,49,36,.06);transition:transform .15s ease,border-color .15s ease,background .15s ease,box-shadow .15s ease}.aiveli-storage-action-v21:hover{transform:translateY(-1px);border-color:rgba(171,128,79,.48);box-shadow:0 7px 17px rgba(76,55,34,.10)}.aiveli-storage-action-v21.is-active{border-color:rgba(171,128,79,.50);background:linear-gradient(180deg,#f7efe4,#e9dccb);color:#6e4b28}.aiveli-storage-action-v21.is-panel{min-height:30px;padding:0 9px;font-size:10px;background:rgba(255,255,255,.76)}
@media(max-width:760px){.aiveli-storage-format-grid{gap:7px}.aiveli-storage-format-card{min-height:103px}.aiveli-storage-actions-v21{bottom:46px;width:96%;gap:5px;padding:6px;border-radius:13px}.aiveli-storage-action-v21{min-height:32px;padding:0 9px;font-size:10px}.aiveli-storage-action-v21.is-panel{min-height:29px;font-size:9.5px}}


/* AIVELI_STORAGE_V22 */
[data-aiveli-storage-actions-v21],[data-preview-open],[data-aiveli-legacy-preview-open-v21]{display:none!important}
.aiveli-storage-formats-v19{max-width:100%;overflow:hidden!important}
.aiveli-storage-format-grid{width:100%;max-width:100%;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:10px!important;overflow:hidden!important}
.aiveli-storage-format-card{box-sizing:border-box!important;width:100%!important;min-width:0!important;max-width:100%!important;padding:10px 8px 9px!important;grid-template-rows:58px minmax(26px,auto) minmax(34px,1fr)!important;overflow:hidden!important}
.aiveli-storage-format-image{width:100%!important;height:56px!important;display:grid!important;place-items:center!important;overflow:visible!important}
.aiveli-storage-format-image svg{display:block!important;width:66px!important;height:50px!important;max-width:78%!important;margin:auto!important;overflow:visible!important;transform:none!important;transform-origin:center!important}
.aiveli-storage-format-card strong,.aiveli-storage-format-card small{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;text-overflow:clip!important;overflow:hidden!important}
.aiveli-storage-format-card strong{font-size:11.4px!important;line-height:1.15!important}
.aiveli-storage-format-card small{font-size:8.9px!important;line-height:1.25!important;padding:0 2px!important}
.aiveli-wardrobe-preview{overflow:visible!important}
.aiveli-storage-actions-v22{position:relative!important;z-index:45;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px;width:calc(100% - 18px);box-sizing:border-box;margin:9px auto 2px;padding:8px;border:1px solid rgba(76,61,46,.13);border-radius:15px;background:linear-gradient(180deg,rgba(255,253,249,.96),rgba(244,239,232,.94));box-shadow:0 10px 28px rgba(56,43,31,.09);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.aiveli-storage-actions-v22[hidden]{display:none!important}
.aiveli-storage-action-v22{appearance:none;min-height:34px;padding:0 12px;border:1px solid rgba(70,58,47,.16);border-radius:10px;background:linear-gradient(180deg,#fff,#f1ece5);color:#342e28;font:650 10.8px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:0 4px 12px rgba(63,49,36,.05);cursor:pointer;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease,opacity .15s ease}
.aiveli-storage-action-v22:hover:not(:disabled){transform:translateY(-1px);border-color:rgba(171,128,79,.5);box-shadow:0 7px 17px rgba(76,55,34,.10)}
.aiveli-storage-action-v22:disabled{cursor:default;opacity:.38;filter:saturate(.55)}
.aiveli-storage-action-v22.is-mini{min-height:30px;padding:0 8px;font-size:9.6px;background:rgba(255,255,255,.78)}
@media(max-width:980px){.aiveli-storage-format-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:640px){.aiveli-storage-format-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.aiveli-storage-format-card{grid-template-rows:50px minmax(24px,auto) minmax(30px,1fr)!important;padding:8px 6px!important}.aiveli-storage-format-image{height:48px!important}.aiveli-storage-format-image svg{width:58px!important;height:44px!important}.aiveli-storage-actions-v22{width:calc(100% - 10px);gap:5px;padding:6px}.aiveli-storage-action-v22{min-height:32px;padding:0 9px;font-size:9.8px}.aiveli-storage-action-v22.is-mini{min-height:29px;font-size:9px}}


/* AIVELI_STORAGE_V23 */
[data-aiveli-storage-actions-v22],[data-aiveli-storage-actions-v21],[data-preview-open]{display:none!important}
.aiveli-storage-actions-v23{position:relative!important;z-index:60;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px;width:calc(100% - 18px);box-sizing:border-box;margin:10px auto 1px;padding:8px;border:1px solid rgba(76,61,46,.13);border-radius:15px;background:linear-gradient(180deg,rgba(255,253,249,.98),rgba(244,239,232,.96));box-shadow:0 10px 28px rgba(56,43,31,.09);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);pointer-events:auto}
.aiveli-storage-actions-v23[hidden]{display:none!important}.aiveli-storage-action-v23{appearance:none;min-height:35px;padding:0 12px;border:1px solid rgba(70,58,47,.16);border-radius:10px;background:linear-gradient(180deg,#fff,#f1ece5);color:#342e28;font:650 10.8px/1 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;box-shadow:0 4px 12px rgba(63,49,36,.05);cursor:pointer;pointer-events:auto;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease,opacity .15s ease}.aiveli-storage-action-v23:hover:not(:disabled){transform:translateY(-1px);border-color:rgba(171,128,79,.5);box-shadow:0 7px 17px rgba(76,55,34,.10)}.aiveli-storage-action-v23:disabled{cursor:default;opacity:.36}.aiveli-storage-action-v23.is-mini{min-height:30px;padding:0 8px;font-size:9.6px;background:rgba(255,255,255,.82)}
.aiveli-wardrobe-panel form{padding-bottom:0!important}.aiveli-actions-sticky-v23{position:sticky!important;z-index:95!important;bottom:0!important;margin:24px -18px 0!important;padding:12px 18px 16px!important;background:linear-gradient(180deg,rgba(246,242,236,.12),rgba(246,242,236,.96) 28%,rgba(246,242,236,.995));backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid rgba(93,73,52,.09);box-shadow:0 -13px 26px rgba(51,41,31,.04)}
.aiveli-actions-sticky-v23 button{min-height:39px!important}
.aiveli-wardrobe-help,.aiveli-wardrobe-preview>p,[data-v16-structure-hint],.aiveli-v20-mount-height small,.aiveli-storage-formats-head>span,.aiveli-interior-edit-hud{display:none!important}
.aiveli-v19-manual-dimension .aiveli-v19-mm~.aiveli-v19-mm{display:none!important}
.aiveli-storage-format-card[data-format="shelving"] .aiveli-storage-format-image svg{stroke-width:1.55}
.aiveli-scene-ruler-summary-v23{position:absolute;left:12px;bottom:12px;z-index:2142;min-width:218px;max-width:min(380px,calc(100% - 24px));display:grid;gap:5px;padding:10px 12px;border:1px solid rgba(76,61,46,.14);border-radius:15px;background:rgba(251,248,244,.95);box-shadow:0 15px 38px rgba(42,34,27,.14);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);color:#3a332c;pointer-events:none}.aiveli-scene-ruler-summary-v23[hidden]{display:none!important}.aiveli-scene-ruler-summary-v23 strong{font:800 11px/1.2 Inter,system-ui,sans-serif}.aiveli-scene-ruler-summary-v23 span{font:600 9px/1.35 Inter,system-ui,sans-serif;color:#75685c}.aiveli-scene-ruler-label-v23{position:absolute;z-index:2141;transform:translate(-50%,-50%);pointer-events:none;padding:5px 8px;border:1px solid rgba(61,51,41,.15);border-radius:999px;background:rgba(255,253,249,.95);box-shadow:0 8px 20px rgba(34,29,24,.10);color:#342e28;font:800 9px/1 Inter,system-ui,sans-serif;white-space:nowrap;backdrop-filter:blur(8px)}
#aiveliSceneRulerBtnV23.active{background:linear-gradient(145deg,#2e2924,#4b4035)!important;color:#fff!important;border-color:#2e2924!important}
@media(max-width:900px){.aiveli-actions-sticky-v23{margin:20px -12px 0!important;padding:10px 12px 13px!important}.aiveli-storage-actions-v23{width:calc(100% - 10px);gap:5px;padding:6px}.aiveli-storage-action-v23{min-height:32px;padding:0 9px;font-size:9.8px}.aiveli-scene-ruler-summary-v23{left:7px;bottom:7px;min-width:190px}.aiveli-scene-ruler-label-v23{font-size:8px}}


/* AIVELI_STORAGE_V24 */
.aiveli-wardrobe-panel [data-v16-structure-hint]{display:none!important}.aiveli-wardrobe-panel .aiveli-wardrobe-help{display:none!important}.aiveli-wardrobe-panel[data-aiveli-storage-format="hallway"] [name="railCount"]{display:none!important}.aiveli-wardrobe-panel .aiveli-storage-format-card{overflow:hidden}.aiveli-wardrobe-panel .aiveli-storage-format-image svg{max-width:100%;max-height:100%}.aiveli-interior-edit-hud[hidden]{display:none!important}.aiveli-planner-launch{white-space:nowrap}

