:root{--sys-primary: #b8894a;--sys-primary-dark: #8a6534;--sys-on-primary: #ffffff;--sys-background: #f7f5f1;--sys-surface: #ffffff;--sys-surface-soft: #faf7f3;--sys-surface-muted: #efe8df;--sys-text: #221f1a;--sys-text-soft: #6f675d;--sys-border: #e2d9cf;--sys-error: #d92d20;--shadow-sm: 0 10px 30px rgba(33, 30, 25, .05);--shadow-md: 0 20px 60px rgba(33, 30, 25, .08);--radius-sm: 10px;--radius-md: 16px;--radius-lg: 24px;--sidebar-width: 300px;--sidebar-width-collapsed: 88px}*{box-sizing:border-box}html,body,#app{min-height:100%}body{margin:0;background:linear-gradient(180deg,#fbfaf8,#f5f1eb);color:var(--sys-text);font-family:Inter,Roboto,Helvetica Neue,Arial,sans-serif}img{max-width:100%;display:block}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button{cursor:pointer}.fade-enter-active,.fade-leave-active{transition:opacity .2s ease}.fade-enter-from,.fade-leave-to{opacity:0}.btn{min-height:44px;border:0;border-radius:999px;padding:0 16px;background:var(--sys-primary);color:var(--sys-on-primary);display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:transform .15s ease,opacity .15s ease,background .15s ease}.btn:hover{transform:translateY(-1px)}.btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.btnSecondary{background:var(--sys-surface-muted);color:var(--sys-text)}.btnDanger{background:var(--sys-error);color:#fff}.btnBlock{width:100%}.icon-button{width:38px;height:38px;border-radius:999px;border:1px solid var(--sys-border);background:#ffffffd9;color:var(--sys-text);display:inline-flex;align-items:center;justify-content:center}.icon-button.danger{color:var(--sys-error)}.page{display:flex;flex-direction:column;gap:24px}.page-header,.page-title-row{display:flex;gap:16px;justify-content:space-between;align-items:flex-start;flex-wrap:wrap}.page-header h1,.page-title-row h1{margin:0;font-size:30px;line-height:1.1}.page-header p,.page-title-row p,.muted{margin:6px 0 0;color:var(--sys-text-soft)}.toolbar-inline,.toolbar-actions,.row-actions,.table-selection-actions,.section-head,.formula-row,.two-col,.form-grid,.stack,.breadcrumbs,.checkbox,.sidebar-brand,.sidebar-link,.dialog-head,.dialog-footer,.app-topbar,.table-top{display:flex}.form-grid{flex-direction:column;gap:16px}.two-col,.toolbar-inline,.toolbar-actions{gap:12px;flex-wrap:wrap}.stack{flex-direction:column;gap:14px}.card,.table-wrap,.section-card,.accordion-card,.auth-card,.dialog-window{background:#ffffffe6;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.75);box-shadow:var(--shadow-sm);border-radius:var(--radius-lg)}.card{padding:22px}.card-head{display:flex;gap:16px;justify-content:space-between;align-items:flex-start;margin-bottom:18px}.card-title{margin:0;font-size:22px}.card-subtitle{margin:6px 0 0;color:var(--sys-text-soft)}.field{display:flex;flex-direction:column;gap:8px}.field-label{font-size:14px;font-weight:600;color:var(--sys-text-soft)}.input-shell{border-radius:var(--radius-md);border:1px solid var(--sys-border);background:var(--sys-surface-soft);transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.input-shell:focus-within{border-color:var(--sys-primary);box-shadow:0 0 0 4px #b8894a24;background:#fff}.input-shell.invalid{border-color:var(--sys-error)}.field-input{width:100%;min-height:46px;border:0;outline:0;background:transparent;padding:0 14px;color:var(--sys-text)}.field-textarea{min-height:120px;resize:vertical;padding:14px}.field-error{color:var(--sys-error);font-size:13px}.field-hint{color:var(--sys-text-soft);font-size:13px}.checkbox{align-items:center;gap:8px;color:var(--sys-text)}.checkbox input{accent-color:var(--sys-primary)}.breadcrumbs{gap:8px;flex-wrap:wrap;color:var(--sys-text-soft);font-size:14px}.breadcrumbs-item{display:inline-flex;gap:8px;align-items:center}.table-wrap{overflow:hidden}.table-top{justify-content:space-between;align-items:center;gap:12px;padding:18px 18px 0;flex-wrap:wrap}.table-selection{margin:18px 18px 0;padding:12px 14px;border:1px solid var(--sys-border);border-radius:var(--radius-md);background:var(--sys-surface-soft);display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap}.table-scroll{overflow:auto;padding:18px}.table{width:100%;border-collapse:collapse;min-width:780px}.table th,.table td{padding:14px 12px;border-bottom:1px solid var(--sys-border);vertical-align:middle;text-align:left}.table th{font-size:14px;color:var(--sys-text-soft);font-weight:600}.table tr.selected{background:#b8894a14}.table-empty{min-height:220px;display:grid;place-items:center;color:var(--sys-text-soft)}.table-thumb{width:58px;height:58px;object-fit:cover;border-radius:12px;border:1px solid var(--sys-border)}.checkbox-col{width:48px}.pagination{padding:0 18px 18px;display:flex;gap:14px;justify-content:flex-end;align-items:center;flex-wrap:wrap}.empty-state{min-height:180px;display:grid;place-items:center;color:var(--sys-text-soft);text-align:center}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;background:#17151273;display:grid;place-items:center;padding:24px}.dialog-window{width:min(100%,920px);max-height:calc(100vh - 48px);overflow:auto;padding:22px}.dialog-head{justify-content:space-between;gap:16px;align-items:flex-start}.dialog-title{margin:0;font-size:24px}.dialog-subtitle{margin:6px 0 0;color:var(--sys-text-soft)}.dialog-body{margin-top:18px}.dialog-footer{margin-top:20px;justify-content:flex-end;gap:10px;flex-wrap:wrap}.dropzone{min-height:220px;border-radius:var(--radius-lg);border:2px dashed var(--sys-border);background:var(--sys-surface-soft);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:18px;text-align:center}.dropzone.active{border-color:var(--sys-primary)}.dropzone.invalid{border-color:var(--sys-error)}.dropzone-input{display:none}.dropzone-preview img,.dropzone-preview video,.preview-box img,.preview-box video{width:100%;max-height:260px;object-fit:contain;border-radius:var(--radius-md)}.auth-page{min-height:100vh;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at top left,rgba(184,137,74,.14),transparent 30%),radial-gradient(circle at bottom right,rgba(111,103,93,.1),transparent 28%),linear-gradient(180deg,#fbfaf8,#f3eee7)}.auth-card{width:min(100%,460px);padding:30px}.auth-card h1{margin:0 0 8px}.auth-logo{width:180px;margin:0 auto 22px}.app-shell{min-height:100vh;display:grid;grid-template-columns:var(--sidebar-width) 1fr}.sidebar{position:sticky;top:0;height:100vh;padding:18px;background:#ffffffbf;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-right:1px solid rgba(226,217,207,.8);display:flex;flex-direction:column;gap:16px}.sidebar.collapsed{width:var(--sidebar-width-collapsed)}.sidebar-brand{justify-content:space-between;align-items:center;gap:10px}.sidebar-brand img{width:150px}.sidebar.collapsed .sidebar-brand img{width:40px}.sidebar-menu{display:flex;flex-direction:column;gap:10px;min-height:0;overflow:auto}.sidebar-group{display:flex;flex-direction:column;gap:8px}.sidebar-title{justify-content:space-between;font-weight:700}.sidebar-link{align-items:center;gap:10px;min-height:42px;border-radius:14px;padding:0 12px;color:var(--sys-text-soft)}.sidebar-link:hover,.sidebar-link.active{background:#b8894a1f;color:var(--sys-primary-dark)}.sidebar-children{display:flex;flex-direction:column;gap:6px;padding-left:10px}.sidebar-menu-collapsed .sidebar-link{justify-content:center;font-weight:700}.sidebar-logout{margin-top:auto}.app-main{min-width:0;padding:18px 18px 24px}.app-topbar{justify-content:flex-end;margin-bottom:14px}.app-content{display:flex;flex-direction:column;gap:24px}.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px}.media-grid.compact{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.media-card{position:relative;border-radius:var(--radius-lg);overflow:hidden;background:#ffffffeb;border:1px solid var(--sys-border);min-height:180px;box-shadow:var(--shadow-sm)}.media-card img{width:100%;height:180px;object-fit:cover}.media-card-add{border:2px dashed var(--sys-border);background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--sys-text-soft)}.media-card-plus{font-size:40px;line-height:1}.media-card-video{width:100%;min-height:180px;display:grid;place-items:center;text-align:center;gap:8px;padding:18px;color:var(--sys-text-soft)}.media-card-overlay{position:absolute;inset:auto 10px 10px 10px;display:flex;justify-content:flex-end;gap:8px}.accordion-card{padding:14px 16px}.accordion-card summary{cursor:pointer;display:flex;justify-content:space-between;gap:12px;color:var(--sys-text-soft);list-style:none}.accordion-card summary::-webkit-details-marker{display:none}.folder-pick{padding:16px;border-radius:var(--radius-md);border:1px solid var(--sys-border);background:var(--sys-surface-soft);text-align:left;display:flex;flex-direction:column;gap:6px}.folder-pick:hover{border-color:var(--sys-primary)}.variant-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-top:14px}.variant-block{margin-top:18px}.products-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.section-head{justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.formula-row{align-items:flex-end;gap:12px;flex-wrap:wrap}.formula-row>*{flex:1 1 180px}.branch-page{min-height:100vh;background:#000}.branch-loader{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;display:grid;place-items:center;background:#000}.branch-loader img{width:220px;opacity:.95}.branch-swiper,.branch-swiper .swiper-wrapper,.branch-swiper .swiper-slide{width:100vw;height:100vh}.full-screen{width:100%;height:100%;object-fit:contain;background:#000}.loading-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;display:grid;place-items:center;background:#15131159;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.loading-card{background:#fffffff0;border:1px solid rgba(255,255,255,.75);border-radius:24px;padding:22px 26px;display:flex;align-items:center;gap:14px;box-shadow:var(--shadow-md)}.loading-logo{width:42px}@media(max-width:980px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;inset:0 auto 0 0;width:min(86vw,var(--sidebar-width));z-index:30}.sidebar.collapsed{transform:translate(-100%);width:min(86vw,var(--sidebar-width))}.app-main{padding-top:14px}}@media(max-width:640px){.page-header h1,.page-title-row h1{font-size:24px}.dialog-backdrop{padding:12px}.dialog-window{padding:18px}.table-scroll{padding:12px}.table-top,.pagination{padding-left:12px;padding-right:12px}}
