.spaces-context-panel .context-panel__body{padding-top:var(--sp-2)}.spaces-context-panel__content{display:flex;flex-direction:column;gap:var(--sp-2);min-height:0}.spaces-context-panel__section-title{font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-muted)}.spaces-context-panel__zone-list{display:flex;flex-direction:column;gap:var(--sp-3)}.spaces-context-panel__zone{display:flex;flex-direction:column;gap:var(--sp-2);border:1px solid rgba(15,23,42,.08);border-radius:14px;padding:var(--sp-2);background:#f8fafcb3}.spaces-context-panel__zone-header{display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2);width:100%;border-bottom:1px solid rgba(15,23,42,.08);padding:0 0 var(--sp-2)}.spaces-context-panel__zone-select{flex:1;display:flex;align-items:center;justify-content:space-between;gap:var(--sp-2);border:none;background:transparent;padding:0;font-size:.68rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text);cursor:pointer;text-align:left}.spaces-context-panel__zone-remove{width:20px;height:20px;border-radius:999px;border:1px solid rgba(15,23,42,.12);background:#fff;color:var(--text);font-size:.75rem;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;flex-shrink:0}.spaces-context-panel__zone-remove:hover{background:var(--selection-bg, #f8fafc)}.spaces-context-panel__zone.is-active .spaces-context-panel__zone-header{border-color:var(--selection-accent)}.spaces-context-panel__zone-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spaces-context-panel__zone-count{font-size:.65rem;font-weight:600;color:var(--text-muted)}.spaces-context-panel__section-empty{font-size:.7rem;color:var(--text-muted);padding-left:var(--sp-1)}.spaces-context-panel__space-list{display:flex;flex-direction:column;gap:var(--sp-2)}.spaces-context-panel__space-item{display:grid;grid-template-columns:1fr auto;align-items:center;gap:var(--sp-2);padding:.4rem .6rem;border-radius:12px;border:1px solid var(--border-subtle);background:#fff;font-size:.75rem;color:var(--text);cursor:pointer;transition:background .15s ease,border-color .15s ease}.spaces-context-panel__space-item.is-selected{border-color:var(--selection-accent);background:var(--selection-bg)}.spaces-context-panel__space-item.is-editing{border-color:var(--selection-accent, #94a3b8);background:var(--edit-highlight, #fff7ed)}.spaces-context-panel__space-main{display:flex;align-items:center;min-width:0}.spaces-context-panel__space-name{font-weight:600;font-size:.75rem;color:var(--text);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.spaces-context-panel__space-input{width:100%;border:1px solid var(--selection-accent, #94a3b8);border-radius:8px;padding:.2rem .4rem;font-size:.75rem;font-weight:600;color:var(--text);background:var(--edit-highlight, #fff7ed);outline:none}.spaces-context-panel__space-color{width:28px;height:28px;border:none;background:transparent;padding:0;cursor:pointer}.spaces-context-panel__space-color:disabled{opacity:.45;cursor:default}.spaces-context-panel__hint{margin-top:var(--sp-2);font-size:.7rem;color:var(--text-muted)}.spaces-context-panel__state{font-size:.75rem;color:var(--text-muted);padding:var(--sp-2) 0}.spaces-header{padding:var(--sp-3) var(--sp-4) var(--sp-2);border-bottom:1px solid var(--border-subtle);background:#fff;display:flex;flex-direction:column;gap:var(--sp-2)}.spaces-header__top{display:flex;align-items:center;gap:var(--sp-3);flex-wrap:wrap}.spaces-header__titleBlock{display:flex;flex-direction:column;gap:.15rem}.spaces-header__titleRow{display:flex;align-items:center;gap:var(--sp-2);flex-wrap:wrap}.spaces-header__select{position:relative;display:inline-flex;align-items:center;border:1px solid var(--border-subtle);border-radius:999px;background:#ffffffd9;padding:.2rem .6rem}.spaces-header__select-input{appearance:none;border:none;background:transparent;padding:.2rem 1.4rem;font-size:.8rem;font-weight:600;color:var(--text);outline:none}.spaces-header__select-icon{position:absolute;left:.55rem;width:14px;height:14px;color:var(--text-muted)}.spaces-header__select-chevron{position:absolute;right:.55rem;width:14px;height:14px;color:var(--text-muted)}.spaces-header__actions{margin-left:auto;display:flex;gap:var(--sp-2);flex-wrap:wrap}.spaces-header__draw-group{display:inline-flex;align-items:center;gap:6px;padding:0;border-radius:999px;border:1px solid transparent;background:transparent;transition:background .15s ease,border-color .15s ease,padding .15s ease}.spaces-header__draw-group.is-expanded{padding:2px 4px 2px 2px;border-color:#e5e7eb;background:#ffffffb3}.spaces-header__draw-group.is-expanded .spaces-header__btn{border-color:transparent;background:transparent;padding:3px 6px}.spaces-header__draw-group.is-expanded .spaces-header__btn:hover{background:#fffffff2}.spaces-header__btn{border:1px solid #e5e7eb;background:#ffffffb3;border-radius:999px;padding:3px 6px;font-size:11px;font-weight:600;color:#111827;cursor:pointer;display:inline-flex;align-items:center;gap:4px}.spaces-header__btn-icon{width:16px;height:16px;stroke-width:1.8;flex-shrink:0}.spaces-header__btn--icon{width:28px;height:28px;padding:0;justify-content:center}.spaces-header__btn:disabled{opacity:.6;cursor:default}.spaces-header__btn:hover{background:#fffffff2}.spaces-header__btn--primary{background:#ffffffb3;border-color:#e5e7eb}.spaces-page{flex:1;min-height:0;height:100%;display:flex;flex-direction:column;overflow:hidden}.spaces-frame{flex:1;min-height:0;height:100%;padding:var(--sp-4);padding-bottom:var(--sp-5);display:flex;flex-direction:column;overflow:hidden}.spaces-frame__shell{flex:1;min-height:0;height:100%;border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:#fff;box-shadow:var(--shadow-card);display:flex;flex-direction:column;overflow:hidden}.spaces-frame__body{position:relative;flex:1;min-height:0;height:100%;overflow:hidden;background:#f8fafc}.space-card__close{position:absolute;top:4px;right:4px;width:16px;height:16px;border:none;border-radius:999px;background:#ffffffe6;color:var(--text);font-size:.7rem;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transition:opacity .15s ease,background .15s ease;z-index:20}.space-card{position:relative;display:flex;align-items:center;justify-content:center}.space-card.is-editing .space-card__close,.space-card.is-selected .space-card__close,.space-card:hover .space-card__close{opacity:1!important}.space-card__label{position:absolute;inset:0;z-index:1;display:flex;align-items:center;justify-content:center;text-align:center;padding:0 12px;font-size:var(--fs-3);font-weight:600;color:var(--text);line-height:1.2;pointer-events:none}.space-card__label-input{position:absolute;inset:12px;z-index:2;border:1px solid var(--selection-accent, #94a3b8);border-radius:10px;background:var(--edit-highlight, #fff7ed);color:var(--text);font-size:var(--fs-3);font-weight:600;text-align:center;outline:none}.space-card__resize{position:absolute;z-index:5;background:#3b82f68c;border-radius:999px}.space-card__resize--y{left:10px;right:10px;bottom:8px;height:6px;cursor:ns-resize}.space-card__resize--x{top:28px;bottom:10px;right:6px;width:6px;cursor:ew-resize}.space-card__resize--both{right:4px;bottom:4px;width:12px;height:12px;cursor:nwse-resize;background:#3b82f6b3}.spaces-background-layer{position:absolute;inset:0;z-index:0;pointer-events:none}.spaces-background{position:absolute;left:0;top:0;pointer-events:none}.spaces-background__image{width:100%;height:100%;object-fit:contain;display:block;border-radius:12px}.spaces-background__resize{position:absolute;right:8px;bottom:8px;width:18px;height:18px;border-radius:6px;border:1px solid rgba(15,23,42,.25);background:#ffffffd9;cursor:nwse-resize;pointer-events:auto}.spaces-background__resize-handle{position:absolute;width:18px;height:18px;border-radius:6px;border:1px solid rgba(15,23,42,.25);background:#ffffffe6;box-shadow:0 1px 2px #0f172a1f;cursor:nwse-resize;pointer-events:auto;z-index:60}.spaces-draw-layer{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;border-radius:inherit}.spaces-draw-layer.is-active{cursor:crosshair;z-index:50;pointer-events:auto}.spaces-draw-layer__svg{width:100%;height:100%;display:block;pointer-events:none}@media(max-width:720px){.spaces-header__actions{width:100%;justify-content:flex-start}}.tools-context-panel{min-height:0}.tools-context-panel .context-panel__body{padding-right:.25rem}.tools-context-panel__content{display:flex;flex-direction:column;gap:.75rem;min-height:0}.tools-context-panel__description{margin:0;font-size:.85rem;color:#64748b}.tools-context-panel__state{border:1px dashed #d0d9e5;border-radius:.75rem;padding:.75rem;font-size:.85rem;color:#64748b}.tools-context-panel__list{display:flex;flex-direction:column;gap:.5rem}.tools-context-panel__item{width:100%;border:1px solid #dbe3ef;border-radius:.75rem;background:#fff;padding:.625rem .75rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem;text-align:left;cursor:pointer;transition:border-color .16s ease,background-color .16s ease}.tools-context-panel__item:hover{border-color:#9fb2ca}.tools-context-panel__item.is-selected{border-color:#0f172a;background:#f8fafc}.tools-context-panel__item-label{font-size:.92rem;color:#111827}.tools-context-panel__item-count{border-radius:999px;background:#eef2f7;color:#334155;font-size:.78rem;min-width:2rem;padding:.16rem .5rem;text-align:center}.tools-context-panel__actions{display:flex;gap:.5rem;flex-wrap:wrap}.tools-context-panel__error{margin:0;color:#b42318;font-size:.82rem}.tools-inventory-page{height:100%;min-height:0;display:flex;flex-direction:column;gap:1rem}.tools-inventory-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;border-bottom:1px solid #e2e8f0;padding-bottom:.75rem}.tools-inventory-header h1{margin:0;font-size:1.85rem;line-height:1.1;color:#0f172a}.tools-inventory-header p{margin:.45rem 0 0;color:#64748b}.tools-inventory-header__status{display:flex;align-items:center;gap:.5rem}.tools-status-badge{border-radius:999px;border:1px solid #d1d5db;background:#f8fafc;color:#334155;font-size:.75rem;font-weight:700;padding:.3rem .65rem;text-transform:uppercase;letter-spacing:.03em}.tools-status-badge--ok{border-color:#99f6e4;background:#ecfeff;color:#0f766e}.tools-status-badge--checking{border-color:#fed7aa;background:#fff7ed;color:#9a3412}.tools-status-badge--unavailable{border-color:#fecaca;background:#fef2f2;color:#b91c1c}.tools-inventory-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem}.tools-inventory-toolbar__actions{display:flex;gap:.5rem}.tools-search-field{display:flex;flex-direction:column;gap:.35rem;min-width:min(36rem,100%)}.tools-search-field span{color:#475569;font-size:.86rem;font-weight:600}.tools-search-field input{width:100%;border-radius:.75rem;border:1px solid #cbd5e1;padding:.55rem .75rem;font-size:.92rem}.tools-search-field input:focus{outline:none;border-color:#94a3b8;box-shadow:0 0 0 2px #94a3b833}.tools-inventory-active-filters{display:flex;flex-wrap:wrap;gap:.5rem}.tools-inventory-active-filters__chip{border:1px solid #cdd8e8;border-radius:999px;background:#eef2f7;color:#334155;padding:.28rem .65rem;font-size:.82rem;cursor:pointer}.tools-create-panel{border:1px solid #dbe3ef;border-radius:1rem;background:#fff;padding:.9rem;display:grid;gap:.8rem}.tools-create-panel__header h2{margin:0;color:#111827;font-size:1.05rem}.tools-create-panel__header p{margin:.25rem 0 0;color:#64748b;font-size:.84rem}.tools-create-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem .7rem}.tools-create-form label{display:grid;gap:.28rem}.tools-create-form label span{font-size:.74rem;font-weight:600;color:#475569}.tools-create-form input,.tools-create-form select{border-radius:.65rem;border:1px solid #cbd5e1;padding:.45rem .62rem;font-size:.88rem}.tools-create-form__wide{grid-column:1 / -1}.tools-create-photo-preview{grid-column:1 / -1;border:1px solid #dbe3ef;border-radius:.85rem;padding:.55rem;background:#f8fafc;display:grid;grid-template-columns:92px 1fr;gap:.6rem;align-items:center}.tools-create-photo-preview img{width:92px;height:92px;object-fit:cover;border-radius:.7rem;border:1px solid #cbd5e1}.tools-create-photo-preview strong{display:block;margin-bottom:.4rem}.tools-create-form__error{grid-column:1 / -1;margin:0;color:#b42318;font-size:.8rem}.tools-create-form__actions{grid-column:1 / -1}.tools-create-form__submit{border:none;border-radius:.7rem;background:#0f172a;color:#fff;font-size:.86rem;font-weight:700;padding:.5rem .8rem;cursor:pointer}.tools-create-form__submit:disabled{opacity:.6;cursor:wait}.tools-inventory-list{flex:1;min-height:0;overflow:auto}.tools-inventory-list--loading,.tools-inventory-list--error,.tools-inventory-list--empty{border:1px dashed #d0d9e5;border-radius:1rem;padding:1rem;color:#64748b}.tools-inventory-list--error{border-color:#f2b8bd;background:#fff8f8;color:#9f1239;display:flex;align-items:center;justify-content:space-between;gap:1rem}.tools-inventory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:.85rem}.tools-inventory-card{border:1px solid #dbe3ef;border-radius:1rem;padding:.85rem;background:#fff;display:flex;flex-direction:column;gap:.75rem}.tools-inventory-card__photo{border-radius:.8rem;overflow:hidden;border:1px solid #dbe3ef;background:#f8fafc;max-height:160px}.tools-inventory-card__photo img{width:100%;height:100%;object-fit:cover;display:block}.tools-inventory-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}.tools-inventory-card__header h3{margin:0;font-size:1rem;color:#111827}.tools-inventory-card__kind{border-radius:999px;background:#dbeafe;color:#1d4ed8;font-size:.72rem;font-weight:700;padding:.2rem .5rem}.tools-inventory-card__meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.tools-inventory-card__meta-label{display:block;color:#64748b;font-size:.72rem;text-transform:uppercase;letter-spacing:.04em}.tools-inventory-card__chips{display:flex;flex-wrap:wrap;gap:.4rem}.tools-inventory-card__chip{border-radius:999px;font-size:.72rem;padding:.2rem .5rem}.tools-inventory-card__chip--tool{background:#fef3c7;color:#92400e}.tools-inventory-card__chip--group{background:#ede9fe;color:#6d28d9}.tools-inventory-card__zone{display:inline-flex;align-items:center;gap:.45rem;font-size:.85rem;color:#475569}.tools-inventory-card__zone-color{width:.75rem;height:.75rem;border-radius:999px;border:1px solid rgba(15,23,42,.15)}.tools-ghost-btn{border:1px solid #cbd5e1;border-radius:.65rem;background:#fff;color:#334155;font-size:.85rem;font-weight:600;padding:.4rem .7rem;cursor:pointer}.tools-ghost-btn:hover{border-color:#94a3b8;background:#f8fafc}.tools-ghost-btn:disabled{opacity:.5;cursor:not-allowed}@media(max-width:960px){.tools-inventory-header,.tools-inventory-toolbar{flex-direction:column;align-items:stretch}.tools-create-form,.tools-create-photo-preview{grid-template-columns:1fr}}*,*:before,*:after{box-sizing:border-box}body{margin:0;height:100%}:root{--fs-1: 12px;--fs-2: 13px;--fs-3: 14px;--fs-4: 16px;--sp-1: 4px;--sp-2: 8px;--sp-3: 12px;--sp-4: 16px;--sp-5: 20px;--radius-sm: 6px;--control-h: 34px;--control-h-sm: 30px;--header-h: 56px;--bg: #f5f5f4;--bg-elevated: #ffffff;--bg-elevated-soft: #fafaf9;--sidebar-bg: #fafaf9;--border-subtle: #e4e4e7;--border-strong: #d4d4d8;--text: #111827;--text-muted: #6b7280;--accent: #111827;--accent-soft: #1118270d;--accent-strong: #0f172a;--primary: #f8c400;--primary-soft: rgba(248, 196, 0, .16);--primary-border: rgba(248, 196, 0, .55);--danger: #dc2626;--warn: #f59e0b;--ok: #16a34a;--radius-lg: 18px;--radius-md: 12px;--radius-pill: 999px;--shadow-soft: 0 22px 45px rgba(15, 23, 42, .12);--shadow-card: 0 18px 40px rgba(148, 163, 184, .25);--edit-highlight: #fef9c3;--selection-accent: #f59e0b;--selection-bg: #fef3c7;--rail-width: 64px;--panel-width: 240px;--sidebar-width: calc(var(--rail-width) + var(--panel-width))}[data-density=compact]{--fs-1: 11px;--fs-2: 12px;--fs-3: 13px;--fs-4: 15px;--sp-1: 3px;--sp-2: 6px;--sp-3: 10px;--sp-4: 12px;--sp-5: 16px;--radius-sm: 6px;--control-h: 30px;--control-h-sm: 28px;--header-h: 48px}body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,SF Pro Text,Inter,Segoe UI,sans-serif;font-size:var(--fs-3);line-height:1.35;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f5f4;color:var(--text)}html,body,#root{height:100%}html{font-size:var(--fs-3)}a{color:inherit}.app-shell{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;width:100%;height:100dvh;min-height:0;overflow:hidden}.app-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;padding:1.5rem 1.75rem;overflow:hidden;box-sizing:border-box;background:#fff;height:100%;min-height:0;align-self:stretch}.app-shell__content{flex:1 1 auto;min-width:0;min-height:0;height:100%;overflow:hidden;display:flex}.standard-layout{flex:1 1 auto;min-width:0;min-height:0;height:100%;display:flex;flex-direction:row;align-items:stretch;overflow:hidden}.standard-layout>.sidebar-main,.standard-layout>.context-panel,.standard-layout>.app-main{height:100%;align-self:stretch;min-height:0}.configurator-layout{background:var(--bg)}.sidebar{width:var(--rail-width);flex:0 0 var(--rail-width);min-width:var(--rail-width);max-width:var(--rail-width);box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;height:100%;border-right:1px solid var(--border-subtle);background:var(--sidebar-bg);z-index:50}.sidebar-rail{width:var(--rail-width);flex:0 0 var(--rail-width);min-width:var(--rail-width);max-width:var(--rail-width);box-sizing:border-box;padding:var(--sp-4) var(--sp-2);display:flex;flex-direction:column;justify-content:space-between;align-items:center;border-right:1px solid var(--border-subtle);background:#f3f4f6}.sidebar-rail-top,.sidebar-rail-bottom{display:flex;flex-direction:column;gap:var(--sp-3)}.rail-icon{width:var(--control-h);height:var(--control-h);border-radius:999px;border:1px solid transparent;background:transparent;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .12s ease-out,border-color .12s ease-out,box-shadow .12s ease-out,transform .06s ease-out;color:#111827}.rail-icon svg{width:18px;height:18px;stroke-width:1.9}.rail-icon:hover{background:#fff;border-color:var(--border-subtle);box-shadow:0 8px 18px #0f172a14}.rail-icon--active{background:var(--primary);border-color:var(--primary-border);box-shadow:0 10px 22px #0f172a40;color:#111827}.rail-icon--active svg{stroke:#111827}.rail-avatar{width:32px;height:32px;border-radius:999px;border:1px solid var(--border-subtle);display:flex;align-items:center;justify-content:center;background:#fff;font-size:.85rem;font-weight:600}.sidebar-main{width:var(--panel-width);flex:0 0 var(--panel-width);min-width:var(--panel-width);max-width:var(--panel-width);box-sizing:border-box;padding:var(--sp-5) var(--sp-4);display:flex;flex-direction:column;gap:var(--sp-3);overflow:hidden}.sidebar-main-header{display:flex;align-items:center;gap:.75rem}.sidebar-main-icon{width:26px;height:26px;display:flex;align-items:center;justify-content:center;border-radius:6px;background:transparent!important;color:var(--text)}.sidebar-main-icon svg{width:22px;height:22px;stroke-width:1.7;stroke:var(--text)}.sidebar-main-text h2{margin:0;font-size:1.4rem;font-weight:600;letter-spacing:-.02em}.sidebar-subnav{margin-top:.5rem;font-size:.86rem;width:100%;max-width:100%}.sidebar-subnav-list{background:transparent;overflow:hidden}.sidebar-subnav-item{display:flex;align-items:center;gap:.75rem;padding:var(--sp-2) var(--sp-3);color:var(--text-muted);text-decoration:none;border-bottom:none;border-radius:var(--radius-sm);margin-bottom:2px;transition:background .12s ease-out,color .12s ease-out;white-space:nowrap;width:100%;max-width:100%}.sidebar-subnav-item[type=button]{appearance:none;border:0;background:transparent;font:inherit;line-height:inherit;text-align:left;cursor:pointer}.sidebar-subnav-icon{display:flex;align-items:center;justify-content:center}.sidebar-subnav-item svg,.sidebar-subnav-icon svg{width:18px;height:18px;stroke-width:1.9;flex-shrink:0;color:currentColor}.sidebar-subnav-item:last-child{border-bottom:none}.sidebar-subnav-item:hover{background:#f9fafb;color:var(--text)}.sidebar-subnav-item--active{background:#f3f4ff;color:#111827;font-weight:500}.sidebar-subnav-separator{height:1px;margin:.5rem 0 .6rem;background:#d1d5dbe6}.sidebar-subnav-add{display:inline-flex;align-items:center;gap:.3rem;font-size:.8rem;font-weight:500;color:var(--primary-text);text-decoration:none;padding:.2rem .1rem}.sidebar-subnav-add:hover{text-decoration:underline}@media(max-width:900px){.sidebar{width:100%}}.sidebar-main{height:100%;min-height:0;overflow:auto;align-self:stretch}.sidebar-subnav-group{display:flex;flex-direction:column;gap:2px;margin:2px 0 6px}.sidebar-subnav-item--nested{padding-left:calc(var(--sp-3) + 18px);font-size:.82rem}.topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}.topbar-left{display:flex;flex-direction:column;gap:.3rem}.topbar-title{margin:0;font-size:1.5rem;letter-spacing:-.02em}.topbar-subtitle{margin:0;font-size:.9rem;color:var(--text-muted)}.topbar-right{display:flex;align-items:center;gap:.5rem}.topbar-search{border-radius:999px;border:1px solid var(--border-subtle);padding:.4rem .75rem;font-size:.85rem;background:#ffffffe6}.topbar-avatar{width:32px;height:32px;border-radius:999px;border:1px solid var(--border-subtle);display:flex;align-items:center;justify-content:center;background:#fff}.topbar-spacer{flex:1}.app-content{flex:1;overflow:auto;border-radius:24px;padding:1.5rem;background:radial-gradient(circle at top left,#fff 0,#f9f6f1 55%,#f3eee5);border:1px solid var(--border-subtle);box-shadow:var(--shadow-soft)}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.grid-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}@media(max-width:1024px){.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:768px){.grid-3,.grid-2{grid-template-columns:1fr}}.remote-embed{flex:1;min-width:0;min-height:0;height:100%;width:100%;background:#fff}.remote-embed__frame{width:100%;height:100%;border:0;display:block}.context-panel{width:var(--context-panel-width, var(--panel-width));display:flex;flex-direction:column;flex:none;background:var(--context-panel-bg, #fafaf9);border-right:1px solid var(--border-color, #e2e8f0);height:100%;align-self:stretch;min-height:0}.context-panel{--context-panel-px: var(--sp-4);--context-panel-py: var(--sp-4)}.context-panel__inner{flex:1;overflow:hidden;padding:var(--context-panel-py) var(--context-panel-px);display:flex;flex-direction:column;height:100%;min-height:0}.context-panel>:not(.context-panel__inner){flex:1;min-height:0;overflow:hidden;padding:var(--context-panel-py) var(--context-panel-px);display:flex;flex-direction:column}.context-panel__frame{flex:1;min-height:0;display:flex;flex-direction:column}.context-panel__header{flex:none;height:var(--header-h);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--border-color, #e2e8f0)}.context-panel__title{font-size:var(--fs-4);font-weight:700;line-height:1;color:var(--text-strong, #0f172a);display:flex;align-items:baseline;gap:var(--sp-2)}.context-panel__headerRight{display:flex;align-items:center;gap:var(--sp-2)}.context-panel__body{flex:1;min-height:0;overflow-y:auto;padding-top:var(--sp-3)}.context-panel__body--split{display:flex;flex-direction:column}.context-panel__pane{flex:1;min-height:0;overflow-y:auto}.context-panel__divider{flex:none;height:1px;background:var(--border-color, #e2e8f0);margin:var(--sp-3) 0}.context-panel{height:100%}.btn{border-radius:var(--radius-pill);border:1px solid var(--border-subtle);padding:.5rem 1.1rem;font-size:.85rem;font-weight:500;display:inline-flex;align-items:center;gap:.35rem;cursor:pointer;background:#fff;color:var(--text);transition:background .12s ease-out,box-shadow .12s ease-out,transform .06s ease-out,border-color .12s ease-out}.btn:active{transform:translateY(1px)}.btn-primary{background:#111827;color:#f9fafb;border-color:#111827;box-shadow:0 12px 28px #0f172a59}.btn-primary:hover{filter:brightness(1.03)}.btn-icon{width:34px;height:34px;padding:0;justify-content:center;border-radius:999px}.btn-icon svg{width:18px;height:18px}.page{display:flex;flex-direction:column;gap:1.5rem;background:#fffffff5;border-radius:18px;padding:1.5rem 1.7rem;border:1px solid rgba(229,231,235,.9);box-shadow:var(--shadow-card)}.page-header h2{margin:0}.page-header p{margin:.4rem 0 0;color:var(--text-muted);font-size:.9rem}.page-header--embedded{padding-bottom:.35rem;border-bottom:1px solid rgba(229,231,235,.8)}.page-header--embedded p{font-size:.82rem}.card{background:var(--bg-elevated-soft);border-radius:var(--radius-md);padding:1.1rem 1.2rem;border:1px solid rgba(209,213,219,.9)}.card h3{margin-top:0;margin-bottom:.6rem;font-size:.95rem}.muted{color:var(--text-muted);font-size:.85rem}.field{display:flex;flex-direction:column;gap:.25rem;margin-bottom:.75rem}.field-label{font-size:.8rem;color:var(--text)}.field-required{color:var(--danger)}.field-input,.field-select,.field-textarea{border-radius:10px;border:1px solid rgba(209,213,219,.9);padding:.45rem .7rem;font-size:.85rem;background:#fff;transition:border-color .12s ease-out,box-shadow .12s ease-out}.field-input:focus,.field-select:focus,.field-textarea:focus{outline:none;border-color:var(--accent-strong);box-shadow:0 0 0 1px #6366f14d}.field-help{font-size:.75rem;color:var(--text-muted)}.language-list{display:flex;flex-direction:column;gap:.4rem;max-width:260px}.language-item{text-align:left;background:transparent;border:none;padding:.45rem .6rem;border-radius:10px;font-size:.9rem;cursor:pointer;color:var(--text)}.language-item:hover{background:#0000000a}.language-item--active{background:var(--primary-soft);font-weight:600}.table{width:100%;border-collapse:collapse;font-size:.85rem}.table thead tr{text-align:left;color:var(--text-muted);border-bottom:1px solid var(--border-subtle);background:#f9fafb}.table th,.table td{padding:.65rem .4rem}.table tbody tr{border-bottom:1px solid rgba(209,213,219,.6)}.table tbody tr:last-child{border-bottom:none}.table tbody tr:hover{background:#f9fafbcc}.badge-status{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:3px 9px;font-size:.75rem;background:#e5f6ff;color:#0c4a6e}.section-shell{display:grid;grid-template-columns:280px 1fr;gap:1rem;align-items:start}.section-sidebar{position:sticky;top:1rem;align-self:start}.section-content{min-width:0}@media(max-width:900px){.section-shell{grid-template-columns:1fr}.section-sidebar{position:relative}}.section-sidebar-card{background:var(--color-surface);border:1px solid var(--color-border);border-radius:18px;padding:.9rem}.section-sidebar-title{font-weight:600;margin-bottom:.75rem}.section-sidebar-nav{display:flex;flex-direction:column;gap:.35rem}.section-sidebar-link{text-decoration:none;color:var(--color-text-muted);padding:.55rem .75rem;border-radius:14px;border:1px solid transparent}.section-sidebar-link:hover{background:var(--color-hover);color:var(--color-text)}.section-sidebar-link-active{background:var(--color-accent-soft);border-color:var(--color-accent-border);color:var(--color-text)}.orders-platforms-panel{display:flex;flex-direction:column;gap:.6rem}.orders-platforms-panel__item{border:1px solid var(--border-subtle);border-radius:12px;padding:.65rem .75rem;background:#fff;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:.25rem;transition:border-color .12s ease-out,box-shadow .12s ease-out}.orders-platforms-panel__item:hover{border-color:var(--border-strong);box-shadow:0 10px 24px #0f172a1f}.orders-platforms-panel__item.is-active{border-color:var(--accent-strong);background:var(--bg-elevated-soft);box-shadow:0 12px 26px #0f172a2e}.orders-platforms-panel__header{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.orders-platforms-panel__name{font-weight:600;font-size:.9rem;color:var(--text)}.orders-platforms-panel__meta{display:flex;align-items:center;gap:.35rem;font-size:.75rem;color:var(--text-muted);text-transform:capitalize}.orders-platforms-panel__status{font-size:.7rem;padding:.2rem .5rem;border-radius:999px;font-weight:600}.orders-platforms-panel__status--success{background:#16a34a1f;color:var(--ok);border:1px solid rgba(22,163,74,.3)}.orders-platforms-panel__status--warning{background:#f59e0b24;color:#92400e;border:1px solid rgba(245,158,11,.28)}.orders-platforms-panel__status--muted{background:#94a3b824;color:#475569;border:1px solid rgba(148,163,184,.3)}.orders-platforms-panel__status--danger{background:#dc26261f;color:#b91c1c;border:1px solid rgba(220,38,38,.24)}.orders-platforms-panel__subcopy{font-size:.75rem;color:var(--text-muted)}.orders-panel-message{margin:0 0 .75rem;font-size:.8rem}.orders-panel-message--error{color:#b91c1c}.orders-panel-message--success{color:#15803d}.orders-page{gap:1rem}.orders-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.85rem}.orders-summary-item{min-width:0}.orders-summary-item p{margin:.2rem 0 0}.orders-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.8rem;margin-bottom:.9rem}.orders-card-header p{margin:.35rem 0 0}.orders-account-list{display:flex;flex-wrap:wrap;gap:.65rem}.orders-account-chip{display:flex;flex-direction:column;gap:.2rem;min-width:180px;border:1px solid var(--border-subtle);border-radius:12px;padding:.7rem .8rem;background:#fff;text-align:left;cursor:pointer}.orders-account-chip.is-active{border-color:var(--accent-strong);background:var(--bg-elevated-soft);box-shadow:0 8px 20px #0f172a1f}.orders-account-chip__title{font-size:.85rem;font-weight:600;color:var(--text)}.orders-account-chip__meta{font-size:.75rem;color:var(--text-muted)}.orders-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.85rem}.orders-inline-toggle{display:inline-flex;align-items:center;gap:.5rem;font-size:.85rem;margin:.5rem 0 1rem}.orders-textarea{min-height:140px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace}.orders-json{margin:0;padding:.9rem;border-radius:12px;background:#0f172a;color:#e2e8f0;font-size:.76rem;overflow:auto}.orders-page__actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1rem}.library-config-page{display:flex;flex:1 1 auto;min-height:0;min-width:0;flex-direction:column;gap:1rem;overflow-y:auto;padding:0 0 2rem;scrollbar-gutter:stable}.library-config-page__header{flex:none}.library-context-panel .context-panel__body{padding-top:.875rem}.library-context-panel__content{display:flex;min-height:0;flex-direction:column;gap:.85rem}.library-context-panel__description,.library-context-panel__error,.library-context-panel__state{font-size:.84rem;color:var(--text-muted)}.library-context-panel__actions{display:flex;flex-wrap:wrap;gap:.6rem}.library-config-grid{display:grid;gap:.85rem}.library-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 0;border-bottom:1px solid rgba(229,231,235,.9)}.library-toggle-row:last-child{border-bottom:none;padding-bottom:0}.library-toggle{width:1.1rem;height:1.1rem}.library-provider-list{display:grid;gap:.9rem;margin-top:1rem}.library-provider-list--panel{margin-top:0}.library-provider-card{border:1px solid rgba(209,213,219,.9);border-radius:14px;padding:1rem;background:#ffffffb8}.library-provider-card--panel{padding:.9rem}.library-provider-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.library-provider-card__header h4{margin:0}.library-provider-card__toggle{display:flex;flex-direction:column;align-items:flex-end;gap:.35rem}.library-provider-card__meta{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.8rem}.library-provider-card__copy{width:100%;font-size:.82rem;color:var(--text-muted)}.library-status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:.22rem .6rem;font-size:.76rem;font-weight:600;text-transform:capitalize}.library-status-pill--up{background:#16a34a24;color:#166534}.library-status-pill--degraded{background:#d9770624;color:#92400e}.library-status-pill--down{background:#dc262624;color:#991b1b}.library-status-pill--neutral{background:#0f172a14;color:#334155}.library-config-actions{display:flex;flex-wrap:wrap;gap:.75rem}
