:root{color:#243042;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:radial-gradient(circle at 0 0,#b9e2d673,#0000 32%),linear-gradient(#f5f1e8 0%,#eef4f1 52%,#f4f7fb 100%);font-family:Avenir Next,Segoe UI,sans-serif}*,:before,:after{box-sizing:border-box}html,body,#root{min-height:100vh}body{margin:0}button,input,select,textarea{font:inherit}:root{--bg-panel:#ffffffc7;--bg-panel-strong:#ffffffeb;--border-soft:#2430421c;--border-strong:#24304233;--text-main:#243042;--text-muted:#677284;--text-soft:#8a93a3;--accent:#0f766e;--accent-strong:#0b5f58;--accent-warm:#c2692f;--accent-cool:#3159c7;--danger:#b23b3b;--shadow-soft:0 24px 60px #212d421f;--shadow-card:0 16px 30px #222e3f14;--radius-xl:28px;--radius-lg:22px;--radius-md:16px;--radius-sm:12px}body{color:var(--text-main)}h1,h2,h3,h4,p{margin:0}h1,h2,h3{letter-spacing:-.03em;font-family:Georgia,Times New Roman,serif;font-weight:700}a{color:inherit}.login-screen{place-items:center;min-height:100vh;padding:32px;display:grid}.login-panel{width:min(960px,100%);box-shadow:var(--shadow-soft);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffd6;border:1px solid #ffffffb3;border-radius:32px;grid-template-columns:1.1fr .9fr;gap:24px;padding:24px;display:grid}.login-copy{color:#effaf8;background:linear-gradient(135deg,#0f766ef2,#3a885fe0),#0f766e;border-radius:26px;flex-direction:column;justify-content:flex-end;min-height:420px;padding:28px;display:flex}.login-copy h1{margin-top:16px;font-size:clamp(2rem,4vw,3.2rem)}.login-copy p{color:#effaf8e0;max-width:36ch;margin-top:18px;line-height:1.6}.login-form{background:var(--bg-panel-strong);border:1px solid var(--border-soft);border-radius:26px;flex-direction:column;justify-content:center;gap:16px;padding:28px;display:flex}.app-shell{grid-template-columns:300px minmax(0,1fr);gap:24px;min-height:100vh;padding:24px;display:grid}.sidebar{border-radius:var(--radius-xl);color:#f2f6fa;box-shadow:var(--shadow-soft);background:#12232ee6;flex-direction:column;align-self:start;gap:24px;padding:24px;display:flex;position:sticky;top:24px}.brand-card{background:#ffffff14;border:1px solid #ffffff1a;border-radius:24px;padding:20px}.brand-card h1{color:#fff;margin-top:14px;font-size:2.1rem}.brand-card p{color:#f2f6fac2;margin-top:14px;line-height:1.6}.sidebar-nav{flex-direction:column;gap:10px;display:flex}.nav-button{text-align:left;width:100%;color:inherit;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:18px;padding:16px 18px;transition:transform .2s,background-color .2s,border-color .2s}.nav-button:hover,.nav-button.active{background:#ffffff1a;border-color:#ffffff24;transform:translate(4px)}.nav-button-title{font-weight:700;display:block}.nav-button-copy{color:#f2f6faad;margin-top:4px;font-size:.92rem;display:block}.sidebar-note{background:#ffffff14;border:1px solid #ffffff14;border-radius:20px;align-items:flex-start;gap:12px;margin-top:auto;padding:18px;display:flex}.sidebar-note strong{margin-bottom:4px;display:block}.sidebar-note p{color:#f2f6faad;line-height:1.5}.status-dot{background:#7fdaaf;border-radius:999px;flex-shrink:0;width:10px;height:10px;margin-top:6px;box-shadow:0 0 0 6px #7fdaaf1f}.workspace{min-width:0}.topbar{border-radius:var(--radius-xl);background:var(--bg-panel);box-shadow:var(--shadow-card);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid #ffffffb3;justify-content:space-between;align-items:flex-start;gap:24px;padding:18px 24px;display:flex}.topbar h2{margin-top:10px;font-size:2.1rem}.topbar p{color:var(--text-muted);max-width:60ch;margin-top:10px;line-height:1.55}.topbar-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.session-pill{color:var(--accent);background:#0f766e1f;border-radius:999px;padding:10px 14px;font-weight:700}.panel-stage{margin-top:24px}.page-stack{flex-direction:column;gap:18px;display:flex}.hero-banner,.panel-card,.filter-card{border-radius:var(--radius-xl);background:var(--bg-panel);box-shadow:var(--shadow-card);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid #ffffffb8}.hero-banner{background:linear-gradient(145deg, #fffaf0fa, #edf6f3f0), var(--bg-panel);grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:20px;padding:26px;display:grid}.hero-banner h3{margin-top:10px;font-size:clamp(1.7rem,2.2vw,2.5rem)}.hero-banner p{color:var(--text-muted);max-width:56ch;margin-top:14px;line-height:1.6}.hero-meta{gap:12px;display:grid}.hero-stat{border:1px solid var(--border-soft);background:#fffc;border-radius:20px;padding:16px 18px}.hero-stat span,.summary-card span,.overview-card span,.action-list-item span,.info-list span,.rank-index,.section-kicker{letter-spacing:.08em;text-transform:uppercase;font-size:.74rem;font-weight:700}.section-kicker{color:var(--accent)}.hero-stat strong,.summary-card strong,.overview-card strong{margin-top:10px;font-size:1.8rem;display:block}.filter-card,.panel-card{padding:20px}.panel-card.nested{border-color:var(--border-soft);box-shadow:none;background:#ffffffb8;padding:18px}.panel-card-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.panel-card-head h3{margin-top:10px;font-size:1.55rem}.summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;display:grid}.summary-card{border:1px solid var(--border-soft);background:#ffffffd1;border-radius:22px;padding:18px 18px 20px}.summary-card p{color:var(--text-muted);margin-top:10px;line-height:1.5}.content-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.content-grid-wide{grid-template-columns:1.1fr .9fr}.panel-card-span-2{grid-column:span 2}.status-overview{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.status-overview-item{border-radius:18px;padding:14px 16px}.status-overview-item strong{margin-top:8px;font-size:1.5rem;display:block}.action-list,.entity-list,.rank-list{flex-direction:column;gap:12px;display:flex}.action-list-item,.entity-row,.rank-item{border:1px solid var(--border-soft);background:#ffffffc7;border-radius:18px;padding:14px 16px}.action-list-item strong{margin-top:10px;font-size:1.4rem;display:block}.action-list-item p,.entity-row p,.rank-item p,.modal-copy,.inline-alert,.form-error{color:var(--text-muted);line-height:1.5}.entity-row,.rank-item{justify-content:space-between;align-items:center;gap:16px;display:flex}.entity-row-meta{text-align:right;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;display:flex}.rank-item{justify-content:flex-start}.rank-index{width:40px;height:40px;color:var(--accent);background:#0f766e24;border-radius:14px;flex-shrink:0;place-items:center;display:grid}.filter-grid{grid-template-columns:repeat(12,minmax(0,1fr));align-items:end;gap:14px;display:grid}.filter-grid-products .field:first-child{grid-column:span 6}.filter-grid-products .field:nth-child(2),.filter-grid-products .field:nth-child(3){grid-column:span 3}.filter-grid-users .field:first-child{grid-column:span 7}.filter-grid-users .field:nth-child(2){grid-column:span 3}.filter-grid-orders .field:first-child{grid-column:span 4}.filter-grid-orders .field:nth-child(2),.filter-grid-orders .field:nth-child(3),.filter-grid-orders .field:nth-child(7),.filter-grid-orders .field:nth-child(4),.filter-grid-orders .field:nth-child(5),.filter-grid-orders .field:nth-child(6){grid-column:span 2}.filter-actions{flex-wrap:wrap;grid-column:span 2;justify-content:flex-end;gap:10px;display:flex}.field{flex-direction:column;gap:8px;display:flex}.field span{color:var(--text-muted);text-transform:uppercase;letter-spacing:.08em;font-size:.82rem;font-weight:700}.field input,.field select,.field textarea,.table-actions select,.inline-input{border:1px solid var(--border-soft);width:100%;color:var(--text-main);background:#ffffffeb;border-radius:14px;outline:none;padding:12px 14px;transition:border-color .2s,box-shadow .2s}.field input:focus,.field select:focus,.field textarea:focus,.table-actions select:focus,.inline-input:focus{border-color:#3159c773;box-shadow:0 0 0 4px #3159c71a}.field textarea{resize:vertical;min-height:110px}.field-span-2{grid-column:span 2}.data-table-wrapper{overflow-x:auto}.data-table{border-collapse:collapse;width:100%}.data-table th,.data-table td{text-align:left;vertical-align:middle;border-bottom:1px solid #24304214;padding:14px 12px}.data-table th{color:var(--text-soft);text-transform:uppercase;letter-spacing:.08em;font-size:.78rem}.data-table tbody tr:hover{background:#ffffff8c}.data-table.compact th,.data-table.compact td{padding:12px 10px}.table-link{color:var(--accent-cool);cursor:pointer;text-underline-offset:.2em;background:0 0;border:0;padding:0;font-weight:700;text-decoration:underline}.table-link.secondary{color:var(--accent)}.table-actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.pagination-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:18px;display:flex}.primary-button,.secondary-button,.ghost-button,.danger-button,.icon-button{cursor:pointer;border:1px solid #0000;border-radius:14px;padding:12px 16px;font-weight:700;transition:transform .15s,box-shadow .15s,background-color .15s,border-color .15s}.primary-button:hover,.secondary-button:hover,.ghost-button:hover,.danger-button:hover,.icon-button:hover,.nav-button:hover,.table-link:hover{transform:translateY(-1px)}.primary-button{background:linear-gradient(135deg, var(--accent), var(--accent-strong));color:#f7fffd;box-shadow:0 12px 22px #0f766e33}.secondary-button{color:var(--text-main);border-color:var(--border-soft);background:#2430420f}.ghost-button,.icon-button{color:var(--text-main);border-color:var(--border-soft);background:0 0}.danger-button{color:var(--danger);background:#b23b3b1f;border-color:#b23b3b33}.compact{border-radius:12px;padding:10px 12px}.primary-button:disabled,.secondary-button:disabled,.ghost-button:disabled,.danger-button:disabled,.icon-button:disabled{opacity:.55;cursor:not-allowed;box-shadow:none;transform:none}.status-pill{white-space:nowrap;border-radius:999px;align-items:center;gap:8px;padding:8px 12px;font-size:.8rem;font-weight:700;display:inline-flex}.status-pill.success{color:#14763f;background:#dff6d8}.status-pill.muted{color:#5d6677;background:#e9edf3}.inline-alert,.form-error{border:1px solid var(--border-soft);background:#2430420f;border-radius:14px;padding:12px 14px}.inline-alert.danger,.form-error{color:var(--danger);background:#b23b3b14;border-color:#b23b3b29}.panel-placeholder{border-radius:var(--radius-xl);background:var(--bg-panel);border:1px dashed var(--border-strong);text-align:center;color:var(--text-muted);padding:32px}.modal-overlay{z-index:50;background:#121d2a6b;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.modal-shell{width:min(1200px,100%);max-height:calc(100vh - 48px);box-shadow:var(--shadow-soft);background:#f5f8fcf5;border:1px solid #ffffffd9;border-radius:30px;padding:22px;overflow:auto}.product-modal{width:min(920px,100%)}.order-modal{width:min(1280px,100%)}.user-modal{width:min(920px,100%)}.modal-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.modal-head h3{margin-top:10px;font-size:2rem}.modal-copy{margin-top:10px}.form-grid,.editor-section-grid,.order-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.order-overview-grid{margin-bottom:18px}.overview-card{border:1px solid var(--border-soft);background:#ffffffd6;border-radius:18px;padding:16px 18px}.editor-section-grid{align-items:start}.entity-list.compact .entity-row{padding:12px 14px}.order-stagebar{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:18px;display:grid}.order-stage{border:1px solid var(--border-soft);background:#ffffffc2;border-radius:18px;align-items:center;gap:12px;padding:14px;display:flex}.stage-done{background:#daf5eef2;border-color:#0f766e2e}.stage-active{background:#e4ecfff2;border-color:#3159c73d}.order-stage-index{background:#24304214;border-radius:12px;flex-shrink:0;place-items:center;width:34px;height:34px;font-weight:700;display:grid}.editor-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:18px;display:grid}.editor-step{text-align:left;border:1px solid var(--border-soft);cursor:pointer;background:#ffffffb3;border-radius:18px;padding:14px 16px}.editor-step.active{background:#daf5eeeb;border-color:#0f766e3d}.editor-step span{font-weight:700;display:block}.editor-step small{color:var(--text-muted);margin-top:6px;line-height:1.45;display:block}.editor-panel{margin-bottom:20px}.info-list{gap:12px;display:grid}.info-list div{border:1px solid var(--border-soft);background:#ffffffc7;border-radius:16px;padding:12px 14px}.info-list strong{margin-top:8px;font-size:1.02rem;display:block}.modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;display:flex}.modal-actions.split{justify-content:space-between}.modal-actions-group{flex-wrap:wrap;gap:10px;display:flex}.login-submit{justify-content:center;width:100%}@media (width<=1400px){.summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.content-grid,.content-grid-wide{grid-template-columns:repeat(2,minmax(0,1fr))}.panel-card-span-2{grid-column:span 2}}@media (width<=1180px){.app-shell{grid-template-columns:1fr}.sidebar{position:static}.filter-grid-orders .field:first-child,.filter-grid-orders .field:nth-child(2),.filter-grid-orders .field:nth-child(3),.filter-grid-orders .field:nth-child(4),.filter-grid-orders .field:nth-child(5),.filter-grid-orders .field:nth-child(6),.filter-grid-orders .field:nth-child(7),.filter-grid-products .field:first-child,.filter-grid-products .field:nth-child(2),.filter-grid-products .field:nth-child(3),.filter-grid-users .field:first-child,.filter-grid-users .field:nth-child(2),.filter-actions{grid-column:span 6}.hero-banner{grid-template-columns:1fr}.order-stagebar,.editor-steps{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=860px){.login-screen,.app-shell,.modal-overlay{padding:14px}.login-panel,.topbar,.summary-grid,.content-grid,.content-grid-wide,.form-grid,.editor-section-grid,.order-overview-grid{grid-template-columns:1fr}.sidebar,.hero-banner,.filter-card,.panel-card,.modal-shell{border-radius:24px}.topbar{padding:18px}.topbar h2,.modal-head h3{font-size:1.7rem}.topbar-actions,.pagination-bar,.modal-actions.split{flex-direction:column;align-items:stretch}.modal-actions-group{width:100%}.modal-actions-group .primary-button,.modal-actions-group .secondary-button,.modal-actions-group .ghost-button,.modal-actions-group .danger-button,.filter-actions .primary-button,.filter-actions .secondary-button{flex:1}.filter-grid,.order-stagebar,.editor-steps{grid-template-columns:1fr}.filter-grid-orders .field:first-child,.filter-grid-orders .field:nth-child(2),.filter-grid-orders .field:nth-child(3),.filter-grid-orders .field:nth-child(4),.filter-grid-orders .field:nth-child(5),.filter-grid-orders .field:nth-child(6),.filter-grid-orders .field:nth-child(7),.filter-grid-products .field:first-child,.filter-grid-products .field:nth-child(2),.filter-grid-products .field:nth-child(3),.filter-grid-users .field:first-child,.filter-grid-users .field:nth-child(2),.filter-actions{grid-column:span 1}.data-table th,.data-table td{min-width:120px}.table-actions{min-width:260px}}
