@font-face{font-family:Sarabun;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/sarabun/DtVjJx26TKEr37c9aAFJn2QN.woff2) format("woff2");unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}@font-face{font-family:Sarabun;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/sarabun/DtVjJx26TKEr37c9aBpJn2QN.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Sarabun;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/sarabun/DtVjJx26TKEr37c9aBtJn2QN.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Sarabun;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/sarabun/DtVjJx26TKEr37c9aBVJnw.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Sarabun;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/sarabun/DtVmJx26TKEr37c9YOZqik8s6zDX.woff2) format("woff2");unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}@font-face{font-family:Sarabun;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/sarabun/DtVmJx26TKEr37c9YOZqilQs6zDX.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Sarabun;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/sarabun/DtVmJx26TKEr37c9YOZqilUs6zDX.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Sarabun;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/sarabun/DtVmJx26TKEr37c9YOZqilss6w.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Sarabun;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/sarabun/DtVmJx26TKEr37c9YMptik8s6zDX.woff2) format("woff2");unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}@font-face{font-family:Sarabun;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/sarabun/DtVmJx26TKEr37c9YMptilQs6zDX.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Sarabun;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/sarabun/DtVmJx26TKEr37c9YMptilUs6zDX.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Sarabun;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/sarabun/DtVmJx26TKEr37c9YMptilss6w.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Sarabun;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/sarabun/DtVmJx26TKEr37c9YK5sik8s6zDX.woff2) format("woff2");unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}@font-face{font-family:Sarabun;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/sarabun/DtVmJx26TKEr37c9YK5silQs6zDX.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Sarabun;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/sarabun/DtVmJx26TKEr37c9YK5silUs6zDX.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Sarabun;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/sarabun/DtVmJx26TKEr37c9YK5silss6w.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}app-root{display:block;min-height:100vh;background:#f5f7fb}.app-header{display:flex;align-items:center;justify-content:space-between;height:64px;padding:0 1.5rem;border-bottom:1px solid #e5e7eb;background:#fff;position:sticky;top:0;z-index:10;width:100%}.header-left{display:flex;align-items:center;gap:1rem;min-width:0;flex:1 1 auto}.app-brand{display:inline-flex;flex-direction:column;align-items:flex-start;gap:.1rem;text-decoration:none}.brand-row{display:inline-flex;align-items:baseline;gap:.08rem}.brand-title,.brand-em{font-size:1.32rem;font-weight:800;color:#2563eb;letter-spacing:.01em;font-style:normal;line-height:1}.brand-subtitle{font-size:.9rem;font-weight:700;color:#111827;letter-spacing:.04em;line-height:1;text-transform:uppercase;align-self:flex-end}.header-divider{width:1px;height:32px;background:#e5e7eb}.header-context{display:flex;flex-direction:column;gap:.1rem}.context-label{font-size:.7rem;text-transform:uppercase;letter-spacing:.08em;color:#94a3b8}.context-value{font-size:.9rem;font-weight:600;color:#0f172a}.header-actions{display:flex;align-items:center;gap:.65rem;margin-left:auto;flex-wrap:wrap;justify-content:flex-end;flex:0 0 auto;margin-right:3rem}.icon-btn.nav-toggle{display:none}.sidebar-desktop-footer{display:none;margin-top:auto}.sidebar-collapse-toggle{border:none;background:transparent;width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:#64748b;border-radius:5px;transition:color .2s ease,background-color .2s ease}.sidebar-collapse-toggle:hover{color:#1d4ed8;background:#f1f5f9}.sidebar-collapse-toggle svg{width:22px;height:22px}.sidebar-backdrop,.sidebar-mobile-header{display:none}.sidebar-close{border:none;background:transparent;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;color:#64748b}.sidebar-close svg{width:18px;height:18px}.icon-btn{width:36px;height:36px;border:none;background:transparent;cursor:pointer;position:relative;padding:0;color:#83868c;transition:color .2s ease,background-color .2s ease;border-radius:6px}.icon-btn svg{width:24px;height:24px}.icon-btn:hover{color:#1d4ed8;background:#f1f5f9}.badge{position:absolute;top:-4px;right:-4px;min-width:12px;height:12px;padding:0 3px;background:#2563eb;color:#fff;font-size:.55rem;line-height:12px;text-align:center;border:1px solid #ffffff}.notification-menu{position:relative}.lang-btn{width:auto;padding:0 .55rem;gap:.35rem;font-weight:600;color:#111827}.lang-flag{width:22px;height:16px;border-radius:2px}.lang-caret{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid #94a3b8}.header-sep{width:1px;height:20px;background:#e5e7eb}.notification-panel{width:320px;box-shadow:0 24px 48px #0f172a29;z-index:200}:is(.notification-panel,.account-dropdown){position:absolute;top:calc(100% + 12px);right:0;background:#fff;border:1px solid #e5e7eb;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-6px);transition:opacity .2s ease,transform .2s ease;z-index:5}.notification-menu.open .notification-panel{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}.notification-header{justify-content:space-between;padding:.75rem 1rem;border-bottom:1px solid #e5e7eb}.notification-tab{font-size:.9rem;font-weight:600;color:#0f172a}.notification-tab .count{color:#64748b;font-weight:500}.notification-actions{gap:.4rem}.mini-btn{border:1px solid #e5e7eb;background:#fff;padding:.3rem .5rem;font-size:.75rem;color:#334155;cursor:pointer}.mini-btn:hover{color:#1d4ed8;border-color:#cbd5f5;background:#eff6ff}.notification-section{padding:.6rem 1rem .2rem;font-size:.75rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.08em}.notification-list{display:flex;flex-direction:column}.notification-item{gap:.75rem;padding:.75rem 1rem;border-bottom:1px solid #f1f5f9}.notification-item:last-child{border-bottom:none}.notification-icon{width:36px;height:36px;border:1px solid #e5e7eb;color:#1d4ed8;background:#eff6ff}.notification-icon svg{width:18px;height:18px}.notification-content{display:flex;flex-direction:column;gap:.25rem}.notification-title{font-size:.85rem;color:#0f172a}.notification-time{font-size:.75rem;color:#94a3b8}.account-menu{position:relative;z-index:20}.account-trigger{gap:.55rem;background:transparent;border:none;padding:.2rem .4rem;border-radius:999px;cursor:pointer;color:#0f172a}.account-trigger:hover{background:#f8fafc}.account-icon{width:34px;height:34px;border:1px solid #e5e7eb;font-weight:600;border-radius:50%;text-transform:uppercase;color:#475569;background:#fff}.account-icon svg{width:18px;height:18px}.account-name{max-width:180px;font-size:.85rem;font-weight:600;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-caret{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:6px solid #94a3b8}.account-dropdown{width:240px;background:#fff;box-shadow:0 20px 40px #0f172a2e;border-radius:8px;overflow:hidden;z-index:200}.account-menu:hover .account-dropdown,.account-menu:focus-within .account-dropdown{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}.account-hero{padding:.9rem 1rem .75rem;background:#2563eb;color:#fff}.account-greeting{font-size:.95rem;font-weight:700;margin-bottom:.7rem}.account-user{margin-top:.2rem;font-size:.9rem;font-weight:600}.account-email{font-size:.8rem;opacity:.9}.account-meta{margin-top:.35rem;display:flex;flex-direction:column;gap:.2rem;font-size:.75rem;opacity:.95}.menu-item{width:100%;background:transparent;border:none;padding:.6rem 1rem;gap:.6rem;font-size:.85rem;color:#1f2937;cursor:pointer}.menu-item svg{width:18px;height:18px;color:#111827}.menu-item:hover{background:#f8fafc}.menu-item.danger{color:#dc2626}.menu-item.danger svg{color:#dc2626}.app-shell{display:flex;min-height:calc(100vh - 64px);height:calc(100vh - 64px);background:#f5f7fb}.app-sidebar{position:relative;z-index:40;width:230px;background:#fff;border-right:1px solid #e5e7eb;padding:.85rem .7rem;display:flex;flex-direction:column;gap:.75rem;transition:width .34s cubic-bezier(.22,1,.36,1),padding .34s cubic-bezier(.22,1,.36,1),border-color .2s ease,box-shadow .2s ease;will-change:width;transform:translateZ(0)}.sidebar-body{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:.4rem}.sidebar-foot{flex-shrink:0;padding-top:.5rem;border-top:1px solid #e2e8f0}.onboarding-banner{margin-top:.5rem;padding:.75rem .85rem;background:#eff6ff;border:1px solid #bfdbfe;border-radius:5px;display:flex;flex-direction:column;gap:.5rem}.onboarding-banner p{margin:0;font-size:.82rem;color:#1e40af;line-height:1.4}.onboarding-banner a{font-size:.82rem;font-weight:600;color:#1d4ed8;text-decoration:none}.onboarding-banner a:hover{text-decoration:underline}@media(min-width:901px){.sidebar-desktop-footer{display:flex;justify-content:flex-end;padding:0 .15rem;margin-top:0}.app-sidebar.collapsed{width:58px;padding:.75rem .35rem;gap:.65rem}.app-sidebar.collapsed .sidebar-desktop-footer{justify-content:center}.app-sidebar.collapsed .sidebar-foot{display:flex;justify-content:center}.app-sidebar.collapsed .onboarding-banner{display:none}.app-sidebar.collapsed .sidebar-search{width:34px;height:34px;padding:0;justify-content:center;align-self:center;border-radius:5px;box-shadow:none;background:#fbfcfe;border-color:#e2e8f0;transition:color .2s ease,background-color .2s ease,border-color .2s ease}.app-sidebar.collapsed .sidebar-search:hover{background:#f6f8fb;border-color:#cbd5e1;color:#1d4ed8}.app-sidebar.collapsed .sidebar-search input{display:none}.app-sidebar.collapsed .nav-group{align-items:center}.app-sidebar.collapsed .nav-item{justify-content:center;gap:0;width:34px;height:34px;padding:0;border-radius:5px;align-self:center}.app-sidebar.collapsed .nav-item:hover{background:#f8fafc}.app-sidebar.collapsed .nav-item.active{background:#1d4ed80f}.app-sidebar.collapsed .nav-text,.app-sidebar.collapsed .nav-caret,.app-sidebar.collapsed .sidebar-section{display:none}.app-sidebar.collapsed .nav-parent{position:relative;width:34px;align-self:center}.app-sidebar.collapsed .nav-children{position:absolute;left:calc(100% + 8px);top:50%;transform:translateY(-50%);width:232px;margin:0;padding:.6rem .75rem .75rem;border-radius:5px;border:1px solid #e5e7eb;background:#fff;box-shadow:0 18px 30px #0f172a1f;z-index:1200;display:none;gap:.7rem}.app-sidebar.collapsed .nav-parent[open] .nav-children{display:none}.app-sidebar.collapsed .nav-parent[open]:is(:hover,:focus-within) .nav-children{display:flex}.app-sidebar.collapsed .nav-subitem{padding-left:1.1rem}.app-sidebar.collapsed .nav-bullet{left:.55rem}}.sidebar-search{display:flex;align-items:center;gap:.5rem;padding:.38rem .6rem;border-radius:999px;border:1px solid #e5e7eb;color:#94a3b8;background:#fff;box-shadow:0 8px 16px #0f172a0f}.sidebar-search svg{width:16px;height:16px}.sidebar-search input{border:none;outline:none;font-size:.82rem;width:100%;background:transparent;color:#0f172a}.nav-group{display:flex;flex-direction:column;gap:.4rem}.nav-item{display:flex;align-items:center;gap:.5rem;padding:.45rem .5rem;border-radius:5px;text-decoration:none;color:#1f2937;font-size:.88rem}.nav-parent{margin:0}.nav-parent>summary{list-style:none;cursor:pointer}.nav-parent>summary::-webkit-details-marker{display:none}.nav-item:hover{background:#f9fafb}.nav-item.active{color:#1d4ed8;background:#eff6ff}.nav-icon{width:20px;height:20px;color:currentColor}.nav-icon svg{width:18px;height:18px}.nav-text{flex:1}.nav-caret{width:16px;height:16px;border:1px solid #c7d2fe;border-radius:5px;position:relative}.nav-caret:after{content:"";position:absolute;top:50%;left:50%;width:5px;height:5px;border-right:2px solid #1d4ed8;border-bottom:2px solid #1d4ed8;transform:translate(-50%,-60%) rotate(45deg)}.nav-parent[open] .nav-caret:after{transform:translate(-50%,-40%) rotate(-135deg)}.nav-children{margin-left:1.4rem;border-left:1px solid #c7d2fe;display:flex;flex-direction:column;gap:.65rem;padding:.35rem 0 .75rem .55rem}.nav-subitem{border:none;background:transparent;display:flex;align-items:center;gap:.5rem;padding:.25rem 0;font-size:.82rem;color:#334155;cursor:pointer;text-align:left;text-decoration:none;position:relative}.nav-subitem:hover{color:#1d4ed8}.nav-subitem.active{color:#1d4ed8;text-decoration:none}.nav-bullet{width:6px;height:6px;background:#93c5fd;border-radius:50%;position:absolute;left:-.55rem;top:50%;transform:translate(-50%,-50%)}.nav-subitem:hover .nav-bullet{background:#1d4ed8}.sidebar-section{font-size:.72rem;color:#94a3b8;text-transform:uppercase;letter-spacing:.08em;padding:.15rem .5rem 0}.app-content{position:relative;z-index:1;flex:1;padding:0 1.5rem 1.5rem;min-width:0;overflow-y:auto}.page-header{display:flex;justify-content:space-between;gap:1.5rem;padding:.65rem 1.25rem;margin:-1.5rem -1.5rem .85rem;border-radius:0;background:#fff;box-shadow:0 6px 16px #0f172a14;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:3}.page-left{display:flex;flex-direction:column;gap:.25rem}.page-crumb{display:inline-flex;align-items:center;gap:.5rem;font-size:.78rem;color:#94a3b8}.page-crumb svg{width:16px;height:16px;color:#94a3b8}.page-title{margin:0;font-size:1.2rem;font-weight:700;color:#0f172a}.page-right{gap:.75rem}.page-metric{gap:.5rem;padding:.4rem .6rem;border-radius:8px;border:1px solid #e2e8f0;color:#1d4ed8;font-weight:700}.page-metric svg{width:18px;height:18px}.page-cta{border:1px solid #e11d48;background:#fff;color:#e11d48;padding:.45rem .9rem;border-radius:8px;font-weight:600;cursor:pointer}.page-cta:hover{background:#fef2f2}.app-content.auth-layout{padding:0;min-height:100vh;background:#fff}.record-info,.page-info,.page-size{font-size:.85rem;color:#64748b;white-space:nowrap}.page-info,.page-size{display:inline-flex;align-items:center;gap:.4rem}:is(.view-icon,.search-icon,.toolbar-icon){width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center}:is(.view-icon svg,.search-icon svg,.toolbar-icon svg,.icon-button svg){width:16px;height:16px}.header-left,.header-actions,.notification-header,.notification-actions,.notification-item,.menu-item,.page-right{display:flex;align-items:center}.account-trigger,.page-metric{display:inline-flex;align-items:center}.icon-btn,.notification-icon,.account-icon,.nav-icon{display:inline-flex;align-items:center;justify-content:center}@media(max-width:1024px){.header-context{display:none}.app-header{padding:0 1rem}.header-left{gap:.5rem}.header-actions{gap:.4rem;margin-right:1.5rem}.account-name{max-width:120px}.page-header{padding:.6rem 1rem;margin:-1rem -1rem .7rem}.page-title{font-size:1.05rem}.app-sidebar{width:200px;padding:.7rem .6rem}.app-content{padding:0 1rem 1rem}}@media(max-width:900px){.app-shell{flex-direction:column}.app-sidebar{width:100%;border-right:none;border-bottom:1px solid #e5e7eb;flex-direction:column;align-items:stretch;justify-content:flex-start;overflow:visible;box-shadow:0 8px 18px #0f172a0f}.sidebar-backdrop{display:none}}@media(max-width:600px){.app-header{padding:0 1rem}.header-left{flex:1 1 auto}.header-actions{flex:1 1 auto;justify-content:flex-end;margin-right:1rem}.account-name{display:none}.account-dropdown{right:-20px;width:min(90vw,280px)}.notification-panel{right:-16px;width:min(90vw,320px)}.page-header{flex-direction:column;align-items:flex-start;gap:.6rem}}@media(max-width:768px){.icon-btn.nav-toggle{display:inline-flex}.app-sidebar{width:100%;padding:0 .8rem;max-height:0;overflow:hidden;opacity:0;transform:translateY(-6px);pointer-events:none;transition:max-height .4s cubic-bezier(.22,1,.36,1),opacity .32s ease,transform .32s cubic-bezier(.22,1,.36,1);gap:.8rem}.app-sidebar.open{max-height:1000px;padding:.75rem .8rem;opacity:1;transform:translateY(0);pointer-events:auto}.sidebar-backdrop{display:block;position:fixed;inset:64px 0 auto;height:100vh;background:#0f172a47;opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:1}.sidebar-backdrop.show{opacity:1;pointer-events:auto}.sidebar-mobile-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.25rem;font-weight:600;color:#0f172a}.sidebar-search,.nav-group,.nav-item,.nav-children{width:100%}.nav-item{justify-content:flex-start}.nav-parent>summary{padding-right:.2rem}.sidebar-section{margin-top:.4rem}.nav-item{padding:.45rem .5rem}.nav-children{margin-left:1.2rem}}admin-dealers{display:block;height:100%;overflow:hidden}.dealers-page{display:flex;flex-direction:column;gap:.75rem;color:#0f172a;padding-top:20px;height:calc(100vh - 64px);min-height:0;overflow:hidden;position:relative;--panel-space: 0px}admin-dealers ui-data-table{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}admin-dealers ui-data-table>.data-table{flex:1 1 auto;min-height:0}.tabs-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem 1.5rem;border-bottom:1px solid #e5e7eb;padding-bottom:.35rem}.tabs{display:flex;align-items:center;gap:1.2rem;flex-wrap:wrap}.tab-btn,.view-toggle,.toolbar-link{background:transparent;border:none;color:#64748b;text-decoration:none;cursor:pointer}.tab-btn{border-radius:0;font-size:.9rem;padding:.5rem 0;border-bottom:2px solid transparent;display:inline-flex;align-items:center;gap:.3rem}.tab-btn.active{color:#2563eb;border-bottom-color:#2563eb;font-weight:600}.tab-btn:disabled{cursor:not-allowed;opacity:.6}.tab-btn.active:disabled{opacity:1}.tab-count{font-size:.85rem}.view-toggle{display:inline-flex;align-items:center;gap:.35rem;font-size:.85rem}.caret{font-size:.8rem}.toolbar-row{display:flex;align-items:center;justify-content:space-between;gap:.8rem 1.2rem;flex-wrap:wrap;padding:.5rem 0;border-bottom:1px solid #e5e7eb}.toolbar-left{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem .9rem;flex:1 1 auto;min-width:0}.toolbar-right{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap}.icon-button{border:1px solid #e5e7eb;background:#fff;color:#64748b;width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.search-form{margin:0}.search-field{position:relative;display:flex;align-items:center;flex:1 1 220px;max-width:260px;min-width:180px}.search-icon{position:absolute;left:10px;color:#94a3b8}.search-field input{width:100%;height:32px;padding:0 .8rem 0 2.2rem;border:1px solid #e2e8f0;background:#fff;font-size:.85rem}.page-count{font-weight:600;color:#0f172a}.page-controls{display:inline-flex;align-items:center;gap:.3rem;margin-left:.4rem}.page-controls button{width:28px;height:28px;border:1px solid #e2e8f0;background:#fff;color:#64748b;cursor:pointer}.page-controls button:disabled{cursor:not-allowed;opacity:.5}.page-size select{height:32px;border:1px solid #e2e8f0;background:#fff;padding:0 .5rem;font-size:.85rem}.toolbar-link{font-size:.85rem;display:inline-flex;align-items:center;gap:.3rem;padding:.2rem .4rem}.toolbar-link:hover{color:#2563eb}.toolbar-ghost,.toolbar-primary{height:32px;padding:0 .85rem;font-size:.85rem;cursor:pointer}.toolbar-ghost{border:1px solid #e2e8f0;background:#fff;color:#334155}.toolbar-primary{border:1px solid #2563eb;background:#2563eb;color:#fff}.filter-error{width:100%;padding:.5rem .75rem;border:1px solid #fecaca;background:#fee2e2;color:#b91c1c;font-size:.85rem}.dealer-name-col{vertical-align:middle}admin-dealers .dealer-name-cell{display:inline-flex;align-items:center;gap:.6rem;vertical-align:middle;line-height:1}admin-dealers .dealer-avatar-img{width:30px;height:30px;display:block;object-fit:cover;border:1px solid #e2e8f0}admin-dealers .dealer-name-text{font-weight:600;color:#0f172a;line-height:1;display:inline-flex;align-items:center}admin-dealers .data-table{gap:.5rem;display:flex;flex-direction:column;min-height:0;height:100%}admin-dealers .table-card{box-shadow:none;border:1px solid #e5e7eb;display:flex;flex-direction:column;min-height:0;flex:1 1 auto}admin-dealers .table-scroll{flex:1 1 auto;min-height:0;overflow:auto}admin-dealers thead th{background:#f8fafc;text-transform:none;letter-spacing:0}.dealer-panel-backdrop{position:absolute;inset:0;background:#0f172a3d;opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:40}.dealer-panel{position:absolute;left:0;right:0;bottom:12px;max-height:calc(100% - 24px);background:#fff;border-top:1px solid #e5e7eb;box-shadow:0 -16px 32px #0f172a29;transform:translateY(100%);transition:transform .32s cubic-bezier(.22,1,.36,1),height .32s cubic-bezier(.22,1,.36,1);will-change:transform,height;z-index:50;display:flex;flex-direction:column;height:0;overflow:hidden}.dealer-panel.collapsed{height:36px;transform:translateY(0);box-shadow:0 -10px 18px #0f172a1f}.dealer-panel.collapsed .panel-header,.dealer-panel.collapsed .panel-tabs,.dealer-panel.collapsed .panel-body{display:none}.dealer-panel.open{transform:translateY(0)}.dealer-panel.half{height:50vh}.dealer-panel.full{height:calc(100% - 24px)}.dealers-page:has(.dealer-panel.half){--panel-space: 50vh}.dealers-page:has(.dealer-panel.full){--panel-space: 85vh}admin-dealers .dealers-page:has(.dealer-panel.half) .table-scroll{max-height:calc(100% - var(--panel-space))}admin-dealers .dealers-page:has(.dealer-panel.full) .table-scroll{max-height:calc(100% - var(--panel-space))}.panel-handle{width:54px;height:4px;border-radius:999px;background:#e2e8f0;margin:.65rem auto .4rem}.panel-header{display:flex;align-items:center;justify-content:space-between;padding:.4rem 1.25rem .75rem;gap:1rem;border-bottom:1px solid #eef2f7}.panel-title{font-weight:600;color:#0f172a}.panel-subtitle{font-size:.85rem;color:#64748b}.panel-controls{display:inline-flex;align-items:center;gap:.35rem}.panel-size-btn{width:28px;height:28px;border:1px solid #e2e8f0;background:#fff;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;position:relative}.panel-size-btn span{width:16px;height:12px;border:1.5px solid #94a3b8;position:relative;box-sizing:border-box}.panel-size-btn.active,.panel-size-btn.active span{border-color:#2563eb}.panel-size-btn span:after{content:"";position:absolute;left:0;right:0;height:3px;background:#94a3b8}.panel-size-btn.active span:after{background:#2563eb}.panel-size-btn:nth-child(1) span:after{bottom:0}.panel-size-btn:nth-child(2) span:after{top:4px}.panel-size-btn:nth-child(3) span:after{top:0}.panel-close{width:28px;height:28px;border:1px solid #e2e8f0;background:#fff;color:#64748b;font-size:1rem;cursor:pointer}.panel-tabs{display:flex;gap:.5rem;padding:0 1.25rem;border-bottom:1px solid #e5e7eb}.panel-tab{padding:.6rem .9rem;border:1px solid #e5e7eb;border-bottom:none;background:#f8fafc;font-size:.85rem;cursor:pointer;color:#334155}.panel-tab.active{background:#fff;color:#2563eb;font-weight:600;border-color:#cbd5f5}.panel-body{padding:1rem 1.25rem 1.5rem;overflow:auto;flex:1 1 auto}.panel-empty{color:#64748b;font-size:.9rem}.panel-section-title{font-weight:600;margin-bottom:.75rem}.history-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:.75rem}.history-search{position:relative;display:flex;align-items:center;min-width:220px;max-width:360px;flex:1 1 240px}.history-search input{width:100%;height:34px;padding:0 .8rem 0 2.2rem;border:1px solid #e2e8f0;background:#fff}.history-summary{display:inline-flex;align-items:center;gap:.6rem;font-size:.85rem;color:#64748b}.history-refresh{width:30px;height:30px;border:1px solid #e2e8f0;background:#fff;cursor:pointer}.history-state{padding:.6rem 0;color:#64748b}.history-state.error{color:#dc2626}.history-table{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.history-row{display:grid;grid-template-columns:1.4fr .8fr .6fr;gap:.75rem;padding:.75rem 1rem;border-bottom:1px solid #eef2f7;font-size:.9rem}.history-row:last-child{border-bottom:none}.history-header{background:#f8fafc;font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase}.history-reason{font-size:.8rem;color:#94a3b8;margin-top:.2rem}.history-source{display:inline-flex;align-items:center;padding:.08rem .4rem;margin-right:.4rem;border-radius:999px;border:1px solid #dbeafe;background:#eff6ff;color:#1d4ed8;font-size:.72rem;font-weight:600}.history-source.legal{border-color:#bfdbfe;background:#dbeafe;color:#1e3a8a}.history-status{font-weight:600;color:#1d4ed8}.review-state{padding:.65rem .75rem;border:1px solid #dbeafe;background:#eff6ff;color:#1e40af;font-size:.85rem;border-radius:8px}.review-state.error{border-color:#fecaca;background:#fef2f2;color:#b91c1c}.review-state.success{border-color:#bbf7d0;background:#f0fdf4;color:#166534}.review-layout,.profile-preview{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,.8fr);gap:1rem}.profile-preview-main,.profile-preview-side{display:flex;flex-direction:column;gap:.9rem}.profile-top-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;background:#f8fbff}.profile-top-card{border:1px solid #e2e8f0;border-radius:8px;background:#fff;padding:.7rem .75rem}.profile-top-card span{display:block;font-size:.72rem;color:#64748b;text-transform:uppercase;letter-spacing:.04em;margin-bottom:.22rem}.profile-top-card strong{display:block;font-size:.92rem;color:#0f172a}.profile-block-header{font-size:.9rem;font-weight:700;color:#0f172a;margin-bottom:.7rem}.profile-block-body.payment{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:.9rem;align-items:stretch}.profile-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem 1rem}.profile-info-grid .full{grid-column:1/-1}.profile-info-grid span{display:block;font-size:.74rem;color:#64748b;text-transform:uppercase;letter-spacing:.03em;margin-bottom:.18rem}.profile-info-grid strong{display:block;font-size:.92rem;color:#0f172a}.profile-file-preview{margin-top:.8rem;border:1px solid #e2e8f0;border-radius:8px;padding:.65rem .75rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem}.file-card-meta strong{display:block;font-size:.87rem;color:#0f172a}.file-card-meta span{display:block;margin-top:.2rem;color:#64748b;font-size:.79rem}.review-main,.review-side{display:flex;flex-direction:column;gap:.9rem}.review-card{border:1px solid #e5e7eb;background:#fff;border-radius:10px;padding:.95rem 1rem}.summary-card{background:linear-gradient(180deg,#f8fbff,#fff)}.summary-title{font-size:.75rem;color:#64748b;text-transform:uppercase;letter-spacing:.05em;margin-bottom:.7rem}.summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem 1rem}.summary-grid span,.review-info-grid span{display:block;font-size:.74rem;color:#64748b;text-transform:uppercase;letter-spacing:.03em;margin-bottom:.2rem}.summary-grid strong,.review-info-grid strong{font-size:.95rem;color:#0f172a;font-weight:600}.review-card-title{font-size:.95rem;font-weight:700;color:#0f172a;margin-bottom:.75rem}.review-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem 1rem}.review-info-grid .full{grid-column:1/-1}.review-doc-list{margin-top:.8rem;border-top:1px solid #edf2f7;padding-top:.8rem;display:flex;flex-direction:column;gap:.5rem}.review-doc-item{display:flex;align-items:center;justify-content:space-between;gap:.8rem;border:1px solid #e2e8f0;border-radius:8px;padding:.6rem .7rem}.doc-meta strong{display:block;font-size:.88rem;color:#0f172a}.doc-meta span{display:block;font-size:.78rem;color:#64748b}.doc-link{font-size:.82rem;color:#1d4ed8;text-decoration:none;font-weight:600;white-space:nowrap}.doc-link.disabled{color:#94a3b8;pointer-events:none;cursor:default}.review-qr{margin-top:.8rem;border:1px dashed #cbd5e1;border-radius:8px;min-height:156px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#f8fafc}.review-qr img{max-width:100%;max-height:220px;object-fit:contain;display:block}.review-qr.compact{margin-top:0;min-height:132px}.review-qr.empty{color:#94a3b8;font-size:.86rem}.timeline-card .timeline-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.65rem}.timeline-list li{display:grid;grid-template-columns:16px minmax(0,1fr);gap:.65rem;align-items:flex-start}.timeline-list .dot{width:12px;height:12px;border-radius:50%;border:2px solid #cbd5e1;margin-top:.25rem}.timeline-list li.done .dot{background:#2563eb;border-color:#2563eb}.timeline-list li.current .dot{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb24}.timeline-list li.rejected .dot{background:#dc2626;border-color:#dc2626}.timeline-list strong{display:block;color:#0f172a;font-size:.9rem}.timeline-list span{display:block;margin-top:.14rem;color:#64748b;font-size:.82rem}.review-note{width:100%;min-height:96px;border:1px solid #d1d5db;border-radius:8px;padding:.6rem .7rem;font-size:.9rem;resize:vertical;box-sizing:border-box}.review-actions{display:grid;grid-template-columns:1fr 1fr;gap:.65rem}.review-actions-inline{display:flex;flex-direction:column;gap:.65rem}.review-actions-inline.side .review-actions-row{grid-template-columns:1fr}.review-note-row input{width:100%;height:38px;border:1px solid #d1d5db;border-radius:8px;padding:0 .7rem;box-sizing:border-box}.review-actions-row{display:grid;grid-template-columns:1fr 1fr 1fr;gap:.6rem}.action-btn{height:38px;border-radius:8px;border:1px solid transparent;cursor:pointer;font-weight:600;font-size:.9rem}.action-btn.primary{background:#1d4ed8;color:#fff}.action-btn.danger{background:#fff;color:#b91c1c;border-color:#fecaca}.action-btn.neutral{background:#f8fafc;color:#334155;border-color:#cbd5e1}.action-btn:disabled{opacity:.5;cursor:not-allowed}@media(max-width:1024px){.tabs-row,.toolbar-row{align-items:flex-start}.view-toggle{margin-left:auto}.search-field{max-width:100%;flex:1 1 100%}.toolbar-left,.toolbar-right{width:100%}.record-info,.page-info,.page-size{white-space:normal}}@media(max-width:640px){.tabs-row{flex-direction:column;align-items:flex-start}.view-toggle{margin-left:0}.toolbar-row{flex-direction:column;align-items:flex-start}.toolbar-left,.toolbar-right{width:100%}.toolbar-right{justify-content:flex-start}.record-info,.page-info,.page-size{width:100%}.page-info{flex-wrap:wrap}.page-controls{margin-left:0}.tabs{gap:.6rem}.toolbar-link{padding:.2rem}.review-layout,.profile-preview,.profile-top-cards,.profile-info-grid,.profile-block-body.payment,.review-actions,.review-actions-row,.summary-grid,.review-info-grid{grid-template-columns:1fr}}admin-legal-profile{display:block}admin-legal-profile .legal-profile-page{display:flex;flex-direction:column;gap:1rem;padding:1.1rem 0 1.75rem;color:#0f172a}admin-legal-profile .stepper{margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));list-style:none;gap:.8rem}admin-legal-profile .step-item{position:relative;display:flex;align-items:center;gap:.6rem;min-height:42px;padding:.45rem .6rem;border:1px solid #dbeafe;background:#f8fbff}admin-legal-profile .step-item:after{content:"";position:absolute;right:-.42rem;top:50%;width:.84rem;height:.84rem;border-top:1px solid #dbeafe;border-right:1px solid #dbeafe;background:#f8fbff;transform:translateY(-50%) rotate(45deg);z-index:1}admin-legal-profile .step-item:last-child:after{display:none}admin-legal-profile .step-index{width:22px;height:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#dbeafe;color:#1e3a8a;font-size:.8rem;font-weight:700}admin-legal-profile .step-text{font-size:.82rem;font-weight:600;color:#64748b}admin-legal-profile .step-item.active{background:#eff6ff;border-color:#bfdbfe}admin-legal-profile .step-item.active:after{background:#eff6ff;border-top-color:#bfdbfe;border-right-color:#bfdbfe}admin-legal-profile .step-item.active .step-index{background:#1d4ed8;color:#fff}admin-legal-profile .step-item.active .step-text{color:#1e3a8a}admin-legal-profile .step-item.current{border-color:#1d4ed8}admin-legal-profile .step-item.current:after{border-top-color:#1d4ed8;border-right-color:#1d4ed8}admin-legal-profile .draft-status{font-size:.82rem;color:#0f766e;background:#ecfeff;border:1px solid #99f6e4;padding:.4rem .6rem;align-self:flex-start}admin-legal-profile .draft-status.error{color:#b91c1c;background:#fee2e2;border-color:#fecaca}admin-legal-profile .legal-workspace{display:grid;grid-template-columns:minmax(0,2.45fr) minmax(270px,1fr);gap:1rem;align-items:start}admin-legal-profile .workspace-main{display:flex;flex-direction:column;gap:1rem}admin-legal-profile .workspace-side{display:flex;flex-direction:column;gap:.85rem}admin-legal-profile .profile-card,admin-legal-profile .side-card{border:1px solid #e2e8f0;background:#fff;padding:1rem;box-shadow:0 8px 24px #0f172a0f}admin-legal-profile .card-title-row{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin-bottom:.85rem}admin-legal-profile .card-title-row h3{margin:0;color:#1e3a8a;font-size:1.06rem;font-weight:700}admin-legal-profile .field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}admin-legal-profile .field{display:flex;flex-direction:column;gap:.35rem}admin-legal-profile .field.field-full{grid-column:1/-1}admin-legal-profile .field-label{color:#64748b;font-size:.75rem;text-transform:uppercase;letter-spacing:.02em;font-weight:700}admin-legal-profile .field input{height:38px;border:1px solid #cbd5e1;background:#fff;padding:0 .75rem;font-size:.9rem;color:#0f172a}admin-legal-profile .field-error{color:#b91c1c;font-size:.76rem}admin-legal-profile .upload-block{margin-top:.9rem;display:flex;flex-direction:column;gap:.45rem}admin-legal-profile .upload-label{color:#475569;font-size:.78rem;text-transform:uppercase;font-weight:700}admin-legal-profile .hidden-input{display:none}admin-legal-profile .upload-dropzone{border:1px dashed #bfdbfe;background:#f8fbff;width:100%;min-height:116px;padding:.85rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.32rem;color:#1d4ed8;cursor:pointer}admin-legal-profile .upload-dropzone:hover{background:#eff6ff;border-color:#93c5fd}admin-legal-profile .upload-dropzone.qr-upload{min-height:96px}admin-legal-profile .upload-icon{width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#dbeafe}admin-legal-profile .upload-icon svg{width:20px;height:20px}admin-legal-profile .upload-title{font-size:.87rem;font-weight:600;color:#1e3a8a}admin-legal-profile .upload-caption{font-size:.76rem;color:#64748b}admin-legal-profile .upload-meta{font-size:.79rem;color:#0f766e;font-weight:600}admin-legal-profile .action-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem}admin-legal-profile .action-right{display:inline-flex;align-items:center;gap:.55rem}admin-legal-profile .btn{height:38px;padding:0 1rem;border:1px solid transparent;font-size:.86rem;font-weight:600;cursor:pointer}admin-legal-profile .btn.ghost{border-color:#cbd5e1;background:#fff;color:#334155}admin-legal-profile .btn.soft{border-color:#dbeafe;background:#eff6ff;color:#1d4ed8}admin-legal-profile .btn.primary{border-color:#1d4ed8;background:#1d4ed8;color:#fff;box-shadow:0 10px 20px #1d4ed83d}admin-legal-profile .btn:hover{filter:brightness(.98)}admin-legal-profile .btn:disabled{cursor:not-allowed;opacity:.6}admin-legal-profile .side-card h4{margin:0 0 .65rem;color:#1e3a8a;font-size:.95rem}admin-legal-profile .side-card ul{margin:0;padding-left:1rem;display:flex;flex-direction:column;gap:.45rem;color:#334155;font-size:.83rem;line-height:1.45}admin-legal-profile .side-card p{margin:0;color:#334155;font-size:.84rem;line-height:1.5}admin-legal-profile .review-main{gap:.85rem}admin-legal-profile .review-card{padding-bottom:.85rem}admin-legal-profile .inline-edit{border:none;background:transparent;color:#1d4ed8;font-size:.8rem;font-weight:600;cursor:pointer;padding:0}admin-legal-profile .review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem 1rem}admin-legal-profile .review-item{display:flex;flex-direction:column;gap:.25rem}admin-legal-profile .review-item.full{grid-column:1/-1}admin-legal-profile .review-label{font-size:.75rem;color:#64748b;text-transform:uppercase;font-weight:700}admin-legal-profile .review-item strong{font-size:.93rem;color:#0f172a;font-weight:600}admin-legal-profile .file-preview{margin-top:.8rem;border:1px solid #e2e8f0;background:#f8fafc;padding:.65rem;display:flex;align-items:center;gap:.6rem}admin-legal-profile .file-icon{width:34px;height:34px;border:1px solid #cbd5e1;background:#fff;color:#64748b;display:inline-flex;align-items:center;justify-content:center}admin-legal-profile .file-icon svg{width:18px;height:18px}admin-legal-profile .file-icon.qr{color:#16a34a}admin-legal-profile .file-name{color:#0f172a;font-size:.86rem;font-weight:600}admin-legal-profile .file-sub{color:#64748b;font-size:.76rem}admin-legal-profile .review-actions{justify-content:flex-start}admin-legal-profile .submitted-view{display:grid;grid-template-columns:minmax(0,2.4fr) minmax(280px,1fr);gap:1rem;align-items:start}admin-legal-profile .submitted-main{border:1px solid #dbeafe;background:#fff;box-shadow:0 8px 24px #0f172a0f;padding:1rem;display:flex;flex-direction:column;gap:1rem}admin-legal-profile .submitted-header{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}admin-legal-profile .submitted-header-actions{display:inline-flex;align-items:center;gap:.55rem}admin-legal-profile .submitted-label{font-size:.72rem;text-transform:uppercase;letter-spacing:.04em;color:#64748b;font-weight:700}admin-legal-profile .submitted-header h3{margin:.25rem 0 0;color:#1e3a8a;font-size:1.1rem}admin-legal-profile .submitted-status{border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;font-size:.76rem;font-weight:700;padding:.35rem .6rem;white-space:nowrap}admin-legal-profile .submitted-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;padding:.85rem;border:1px solid #e2e8f0;background:#f8fafc}admin-legal-profile .submitted-summary>div{display:flex;flex-direction:column;gap:.2rem}admin-legal-profile .summary-key{font-size:.72rem;text-transform:uppercase;color:#64748b;font-weight:700}admin-legal-profile .submitted-summary strong{color:#0f172a;font-size:.88rem;font-weight:700}admin-legal-profile .submitted-block{border-top:1px solid #e2e8f0;padding-top:.85rem}admin-legal-profile .rejected-block{border-top-color:#fecaca}admin-legal-profile .rejected-summary{grid-template-columns:repeat(2,minmax(0,1fr));border-color:#fecaca;background:#fff5f5}admin-legal-profile .rejected-summary .full{grid-column:1/-1}admin-legal-profile .submitted-block h4{margin:0 0 .7rem;font-size:.95rem;color:#1e3a8a}admin-legal-profile .submitted-payment{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:.75rem;align-items:start}admin-legal-profile .qr-preview{border:1px solid #dbeafe;background:#f8fbff;min-height:140px;display:flex;align-items:center;justify-content:center;padding:.45rem}admin-legal-profile .qr-preview img{max-width:100%;max-height:132px;object-fit:contain}admin-legal-profile .qr-placeholder{color:#94a3b8;font-size:.78rem;text-align:center}admin-legal-profile .file-content{flex:1 1 auto;min-width:0}admin-legal-profile .file-link{font-size:.78rem;color:#1d4ed8;font-weight:700;text-decoration:none}admin-legal-profile .submitted-side{display:flex;flex-direction:column;gap:.75rem}admin-legal-profile .timeline-card{padding-bottom:.75rem}admin-legal-profile .timeline-list{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:.65rem}admin-legal-profile .timeline-list li{display:grid;grid-template-columns:16px minmax(0,1fr);gap:.5rem;align-items:start;color:#64748b}admin-legal-profile .timeline-dot{width:12px;height:12px;border-radius:50%;border:2px solid #cbd5e1;margin-top:.18rem;background:#fff}admin-legal-profile .timeline-list li.active .timeline-dot{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb29}admin-legal-profile .timeline-list li.done .timeline-dot{border-color:#2563eb;background:#2563eb}admin-legal-profile .timeline-list li.rejected .timeline-dot{border-color:#dc2626;background:#dc2626}admin-legal-profile .timeline-list strong{display:block;color:#0f172a;font-size:.84rem}admin-legal-profile .timeline-list span{font-size:.76rem}admin-legal-profile .timeline-list.detailed{gap:.8rem}admin-legal-profile .timeline-list.detailed li{align-items:start}admin-legal-profile .timeline-list.detailed small{display:block;margin-top:.25rem;font-size:.75rem;color:#b91c1c}@media(max-width:1100px){admin-legal-profile .legal-workspace{grid-template-columns:minmax(0,1fr)}}@media(max-width:820px){admin-legal-profile .step-item{min-height:50px;padding:.4rem}admin-legal-profile .step-item:after{display:none}admin-legal-profile .stepper{gap:.55rem}admin-legal-profile .step-text{font-size:.74rem}}@media(max-width:720px){admin-legal-profile .field-grid,admin-legal-profile .review-grid{grid-template-columns:minmax(0,1fr)}admin-legal-profile .action-row{flex-direction:column;align-items:stretch}admin-legal-profile .action-right{width:100%;display:flex;flex-direction:column}admin-legal-profile .submitted-view{grid-template-columns:minmax(0,1fr)}admin-legal-profile .submitted-summary{grid-template-columns:minmax(0,1fr)}admin-legal-profile .submitted-payment{grid-template-columns:minmax(0,1fr)}}admin-products{display:block;height:100%;overflow:hidden;flex:1 1 auto;min-height:0}app-root:has(admin-products) .app-content{overflow:hidden;display:flex;flex-direction:column;padding-bottom:0}admin-products .products-page{display:flex;flex-direction:column;gap:.75rem;color:#0f172a;padding-top:20px;height:100%;min-height:0;overflow:hidden;position:relative;--panel-space: 0px;--stock-overlay-top: 120px;--code-tooltip-space: 0px}admin-products .search-field{flex:1 1 280px;max-width:360px}admin-products .bulk-status-tools{display:inline-flex;align-items:flex-end;gap:.5rem;flex-wrap:wrap}admin-products .toolbar-right .bulk-status-tools{justify-content:flex-end}admin-products .bulk-status-select{display:inline-flex;align-items:center;min-width:172px}admin-products .bulk-status-select select{height:32px;border:1px solid #e2e8f0;background:#fff;padding:0 .55rem;color:#0f172a;font-size:.84rem}admin-products .bulk-status-select select:disabled{background:#f8fafc;color:#94a3b8;cursor:not-allowed}admin-products .bulk-status-apply{min-width:92px;white-space:nowrap}admin-products .bulk-status-apply:disabled{opacity:.55;cursor:not-allowed}admin-products .bulk-status-count{display:inline-flex;align-items:center;height:32px;font-size:.76rem;font-weight:600;color:#2563eb;background:#2563eb14;border:1px solid rgba(37,99,235,.16);padding:0 .48rem}admin-products ui-data-table{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}admin-products ui-data-table.is-loading .table-card{position:relative}admin-products ui-data-table.is-loading .table-card:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#f8fafc00,#e2e8f0a6,#f8fafc00);background-size:200% 100%;opacity:.55;animation:tableRefreshShimmer 1.2s ease-in-out infinite;pointer-events:none}admin-products ui-data-table.is-loading .table-scroll{filter:saturate(.95)}admin-products ui-data-table>.data-table{flex:1 1 auto;min-height:0}admin-products .data-table{display:flex;flex-direction:column;min-height:0;height:100%}admin-products .table-card{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}admin-products .table-scroll{flex:1 1 auto;min-height:0;overflow:auto;padding-top:var(--code-tooltip-space);padding-bottom:calc(var(--panel-space) + 48px)}admin-products .table-scroll table{width:100%;table-layout:fixed;margin-top:calc(-1 * var(--code-tooltip-space))}admin-products .table-scroll thead th{position:sticky;top:0;z-index:2;background:#f8fafc;box-shadow:0 1px #e2e8f0cc}admin-products .refresh-btn.is-loading .toolbar-icon{animation:refreshSpin 1s linear infinite;transform-origin:center}admin-products .refresh-btn:disabled{opacity:.75;cursor:not-allowed}admin-products .toolbar-ghost.active{border-color:#2563eb;color:#1d4ed8}admin-products .advanced-filters{--filter-border: #e2e8f0;--filter-bg: #ffffff;--filter-muted: #64748b;--filter-focus: #2563eb;--filter-focus-ring: 0 0 0 3px rgba(37, 99, 235, .14);--advanced-filter-open-max-height: min(60vh, 420px);--advanced-filter-open-min-height: 156px;border:1px solid #e5e7eb;background:linear-gradient(180deg,#f8fafc,#fff 36%);border-radius:8px;padding:0 1rem;max-height:0;min-height:0;opacity:0;overflow:hidden;flex:0 0 auto;transform:translateY(-6px);transition:max-height .25s ease,opacity .25s ease,transform .25s ease,padding .25s ease}admin-products .advanced-filters.open{max-height:var(--advanced-filter-open-max-height);min-height:min(var(--advanced-filter-open-min-height),var(--advanced-filter-open-max-height));opacity:1;padding:.75rem 1rem .85rem;transform:translateY(0);overflow:auto;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}admin-products .tabs-row,admin-products .toolbar-row,admin-products .active-filter-chips,admin-products .filter-error{flex:0 0 auto}admin-products .advanced-form{display:flex;flex-direction:column;gap:.8rem}admin-products .filter-grid{display:grid;grid-template-columns:repeat(4,minmax(220px,1fr));gap:.75rem .95rem;align-items:end}admin-products .filter-field{display:flex;flex-direction:column;gap:.45rem;font-size:.8rem;color:#334155}admin-products .filter-field>span{text-transform:uppercase;font-size:.72rem;letter-spacing:.04em;color:var(--filter-muted);font-weight:600}admin-products .filter-field input,admin-products .filter-field select{height:36px;border:1px solid var(--filter-border);background:var(--filter-bg);padding:0 .65rem;color:#0f172a;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}admin-products .filter-field.filter-multi{grid-column:span 1;max-width:none;justify-self:stretch}admin-products .filter-field ui-multi-select{width:100%;--ui-multi-select-panel-max-height: clamp(160px, calc(var(--advanced-filter-open-max-height) - 160px), 320px)}admin-products .filter-field input::placeholder{color:#94a3b8}admin-products .filter-field input:focus,admin-products .filter-field select:focus{outline:none;border-color:var(--filter-focus);box-shadow:var(--filter-focus-ring);background:#fff}admin-products .filter-range{grid-column:span 2}admin-products .filter-range.compact{grid-column:span 1}admin-products .range-row{display:flex;align-items:center;gap:.45rem}admin-products .range-row input{flex:1 1 0;min-width:0}admin-products .filter-range.compact .range-row input{flex:1 1 0;width:auto}admin-products .range-divider{color:#cbd5f5;font-size:.9rem;text-transform:none;letter-spacing:0;font-weight:500;line-height:1}admin-products .filter-actions{display:flex;align-items:center;justify-content:flex-end;gap:.6rem;position:sticky;bottom:0;z-index:1;padding-top:.35rem;background:linear-gradient(180deg,#fff0,#fff 38%)}admin-products .active-filter-chips{display:flex;align-items:center;justify-content:space-between;gap:.65rem;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;padding:.5rem .65rem}admin-products .chip-list{display:flex;flex-wrap:wrap;gap:.38rem}admin-products .filter-chip{display:inline-flex;align-items:center;gap:.32rem;border:1px solid #dbe3ee;border-radius:999px;background:#fff;color:#334155;font-size:.72rem;padding:.2rem .48rem;cursor:pointer}admin-products .filter-chip:hover{border-color:#bfdbfe;color:#1e3a8a}admin-products .chip-remove{font-size:.8rem;line-height:1;color:#64748b}admin-products .chip-clear-all{border:none;background:transparent;color:#2563eb;font-size:.74rem;font-weight:600;cursor:pointer;white-space:nowrap}admin-products .chip-clear-all:hover{color:#1d4ed8}admin-products .product-name-col{vertical-align:middle}admin-products .product-name-cell{display:flex;align-items:center;gap:.6rem;min-width:0;line-height:1.25}admin-products .product-avatar{width:36px;height:36px;border-radius:8px;object-fit:cover;flex:0 0 36px;border:1px solid #dbe3ee;background:#f1f5f9}admin-products .product-name-block{display:flex;flex-direction:column;gap:.3rem;min-width:0}admin-products .product-name-text{font-weight:700;font-size:.91rem;color:#0f172a;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}admin-products .product-meta-row{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap}admin-products .product-meta{display:inline-flex;align-items:center;width:fit-content;max-width:100%;padding:.12rem .45rem;font-size:.72rem;color:#64748b;border:1px solid #e2e8f0;border-radius:999px;background:#f8fafc;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}admin-products .product-temp-flag{display:inline-flex;align-items:center;justify-content:center;height:20px;padding:0 .42rem;border-radius:999px;font-size:.67rem;font-weight:700;line-height:1;color:#92400e;background:#fef3c7;border:1px solid rgba(146,64,14,.24)}admin-products .products-table .actions-col,admin-products .products-table .action-cell{width:60px}@media(max-width:1366px)and (min-width:1201px){admin-products .products-table .actions-col,admin-products .products-table .action-cell{width:72px}admin-products .products-table .action-dropdown{min-width:112px}}@media(max-width:1200px)and (min-width:901px){admin-products .products-table .actions-col,admin-products .products-table .action-cell{width:64px}admin-products .products-table .action-dropdown{min-width:104px}}@media(max-width:900px){admin-products .products-table .actions-col,admin-products .products-table .action-cell{width:58px}}admin-products .products-table{--products-table-btn-radius: 6px;--products-table-badge-radius: 6px}admin-products .products-table .action-trigger,admin-products .products-table .action-dropdown,admin-products .products-table .action-item,admin-products .products-table .stock-adjust-btn,admin-products .products-table .stock-adjust-input{border-radius:var(--products-table-btn-radius)}admin-products .products-table .product-meta,admin-products .products-table .product-temp-flag,admin-products .products-table .code-tag,admin-products .products-table .stock-status{border-radius:var(--products-table-badge-radius)}admin-products .code-header{display:inline-flex;align-items:center;gap:.4rem;white-space:nowrap}admin-products .code-info{position:relative;display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:999px;border:1px solid #cbd5f5;background:#eef2ff;color:#4338ca;font-size:.62rem;font-weight:700;line-height:1;cursor:help;z-index:4}admin-products .code-info:focus-visible{outline:2px solid #2563eb;outline-offset:2px;box-shadow:0 0 0 3px #2563eb33}admin-products .code-tooltip{position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%,-6px);background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:.3rem .5rem;box-shadow:0 12px 24px #0f172a1f;opacity:0;pointer-events:none;transition:opacity .15s ease,transform .15s ease;z-index:10;min-width:150px}admin-products .code-tooltip:after{content:"";position:absolute;bottom:100%;left:50%;width:10px;height:10px;background:#fff;border-left:1px solid #e2e8f0;border-top:1px solid #e2e8f0;transform:translate(-50%,50%) rotate(45deg)}admin-products .code-tooltip-row{display:flex;align-items:center;gap:.35rem;white-space:nowrap}admin-products .code-tooltip-row+.code-tooltip-row{margin-top:.25rem}admin-products .code-tooltip .legend-pill{width:18px;height:18px;font-size:.65rem}admin-products .code-info:hover .code-tooltip,admin-products .code-info:focus-visible .code-tooltip{opacity:1;transform:translate(-50%)}admin-products .code-legend{display:inline-flex;align-items:center;gap:.45rem;font-size:.8rem;color:#64748b;padding:.15rem .35rem}admin-products .legend-label{font-weight:600;color:#475569}admin-products .legend-pill{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:999px;background:#e2e8f0;color:#1f2937;font-weight:700;font-size:.7rem}admin-products .legend-pill.alt{background:#dbeafe;color:#1d4ed8;width:auto;min-width:20px;padding:0 .35rem}admin-products .legend-divider{color:#cbd5f5}admin-products .legend-text{color:#475569}admin-products .product-code-col{vertical-align:middle}admin-products .code-combo-cell{display:flex;flex-direction:column;gap:.35rem;min-width:0}admin-products .code-line{display:grid;grid-template-columns:auto minmax(120px,1fr) auto;align-items:center;gap:.4rem;min-width:0}admin-products .code-tag{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:20px;padding:0 .45rem;border-radius:999px;font-size:.64rem;font-weight:700;letter-spacing:.03em;border:1px solid transparent}admin-products .code-tag.genuine{background:#dbeafe;color:#1d4ed8;border-color:#1d4ed833}admin-products .code-tag.oem{background:#dcfce7;color:#166534;border-color:#16653438}admin-products .code-value{font-size:.8rem;font-weight:700;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}admin-products .code-brand{display:inline-flex;align-items:center;justify-content:flex-end;font-size:.72rem;font-weight:600;color:#475569;white-space:nowrap;max-width:120px;overflow:hidden;text-overflow:ellipsis}admin-products .import-view{display:flex;flex-direction:column;gap:1rem;min-height:0}admin-products .import-tabs{display:flex;gap:.4rem;padding:0;border-bottom:none;background:transparent}admin-products .import-tab{border:1px solid #e2e8f0;background:#fff;padding:.45rem .75rem;border-radius:10px;font-size:.85rem;font-weight:650;color:#334155;cursor:pointer}admin-products .import-tab.active{border-color:#1d4ed840;background:#1d4ed80f;color:#1d4ed8}admin-products .import-body{display:flex;flex-direction:column;gap:1rem;min-height:0;background:transparent}admin-products .import-pane{display:flex;flex-direction:column;gap:1rem}admin-products .import-dropzone{border:1px dashed #cbd5e1;border-radius:16px;background:#fbfdff;padding:1.1rem 1rem;display:flex;flex-direction:column;align-items:center;text-align:center;gap:.35rem}admin-products .dropzone-icon{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border-radius:14px;background:#1d4ed80f;color:#1d4ed8;margin-bottom:.25rem}admin-products .dropzone-icon svg{width:22px;height:22px}admin-products .dropzone-title{font-weight:750;color:#0f172a}admin-products .dropzone-note{font-size:.8rem;color:#64748b}admin-products .import-file-input{display:none}admin-products .dropzone-actions{display:flex;gap:.6rem;margin-top:.6rem;flex-wrap:wrap;justify-content:center}admin-products .import-file-meta{display:grid;grid-template-columns:1fr auto;gap:.25rem .75rem;padding:.85rem 1rem;border:1px solid #e2e8f0;border-radius:14px;background:#fff}admin-products .file-name{font-weight:650;color:#0f172a}admin-products .file-size{text-align:right;font-size:.85rem;color:#64748b}admin-products .file-state{grid-column:1/-1;font-size:.8rem;color:#64748b}admin-products .file-error{grid-column:1/-1;font-size:.8rem;color:#dc2626}admin-products .import-preview{border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;background:#fff}admin-products .preview-title{padding:.7rem .9rem;font-weight:700;border-bottom:1px solid #eef2f7;background:#f8fafc}admin-products .preview-table{overflow:auto;max-height:220px}admin-products .preview-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(140px,1fr);gap:0}admin-products .preview-row>div{padding:.55rem .75rem;border-bottom:1px solid #f1f5f9;border-right:1px solid #f1f5f9;font-size:.85rem;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}admin-products .preview-row.preview-header>div{font-weight:700;color:#334155;background:#fbfdff}admin-products .preview-empty{padding:.9rem;color:#94a3b8;font-size:.85rem}admin-products .import-validate{border:1px solid #e2e8f0;border-radius:14px;background:#fff;padding:.85rem 1rem}admin-products .validate-title{font-weight:750;color:#0f172a;margin-bottom:.6rem}admin-products .validate-metrics{display:flex;flex-wrap:wrap;gap:.45rem}admin-products .validate-note{margin-top:.6rem;font-size:.85rem;color:#dc2626}admin-products .import-hint{font-size:.85rem;color:#64748b}admin-products .import-hint a,admin-products .import-hint .inline-template-link{color:#1d4ed8;text-decoration:none;border:none;background:transparent;cursor:pointer;padding:0;font:inherit}admin-products .import-hint a:hover,admin-products .import-hint .inline-template-link:hover{text-decoration:underline}admin-products .manual-form{border:1px solid #e2e8f0;border-radius:14px;background:#fbfdff;padding:1rem}admin-products .manual-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem 1rem}@media(min-width:1100px){admin-products .manual-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}admin-products .manual-field{display:flex;flex-direction:column;gap:.35rem;font-size:.85rem;color:#334155}admin-products .manual-field.manual-wide{grid-column:1/-1}admin-products .manual-field input,admin-products .manual-field select{height:36px;border:1px solid #e2e8f0;background:#fff;padding:0 .65rem;border-radius:8px}admin-products .manual-actions{display:flex;gap:.6rem;margin-top:.95rem;flex-wrap:wrap}admin-products .toolbar-ghost.danger,admin-products .mini-btn.danger{color:#dc2626;border-color:#dc262659;background:#dc26260a}admin-products .toolbar-ghost.danger:hover,admin-products .mini-btn.danger:hover{background:#dc262614;border-color:#dc262680}admin-products .manual-list{border:1px solid #e2e8f0;border-radius:14px;overflow:hidden;background:#fff}admin-products .manual-list-header{padding:.75rem 1rem;display:flex;flex-direction:column;align-items:center;text-align:center;gap:.35rem}admin-products .dropzone-icon{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:space-between;gap:.75rem;border-bottom:1px solid #eef2f7;background:#f8fafc;font-weight:700;color:#0f172a}admin-products .manual-list-note{font-weight:500;color:#64748b;font-size:.85rem}admin-products .manual-table{overflow:auto;max-height:260px}admin-products .manual-row{display:grid;grid-template-columns:130px 130px 1.8fr 1.1fr 1.2fr 110px 110px 80px 1.2fr 1.2fr 86px;gap:.75rem;align-items:center;padding:.65rem 1rem;border-bottom:1px solid #f1f5f9;font-size:.85rem;color:#0f172a}admin-products .manual-row:last-child{border-bottom:none}admin-products .manual-row.manual-head{font-weight:800;color:#334155;background:#fff}admin-products .manual-row .mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}admin-products .manual-row .right{text-align:right}admin-products .manual-row .center{text-align:center}admin-products .import-actions{position:sticky;bottom:0;padding:.9rem 0 0;border-top:1px solid #eef2f7;display:flex;justify-content:flex-end;gap:.6rem;background:#fff}admin-products .price-cell{display:flex;flex-direction:column;align-items:flex-start;gap:.24rem}admin-products .price-main{font-weight:700;font-size:.92rem;color:#0f172a}admin-products .price-sub{font-size:.74rem;color:#64748b}admin-products .stock-cell{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;cursor:help}admin-products .stock-main-wrap{display:inline-flex;flex-direction:column;align-items:flex-end;line-height:1.1}admin-products .stock-main{min-width:28px;font-weight:700;font-size:.96rem;color:#0f172a;text-align:right}admin-products .stock-sub{font-size:.66rem;color:#64748b;text-transform:uppercase}admin-products .stock-status{display:inline-flex;align-items:center;gap:.28rem;padding:.14rem .5rem;font-size:.71rem;font-weight:600;border-radius:999px;background:#e2e8f0;color:#0f172a}admin-products .stock-dot{width:6px;height:6px;border-radius:999px;background:currentColor}admin-products .stock-status.in_stock{background:#dcfce7;color:#166534}admin-products .stock-status.low_stock{background:#fef3c7;color:#92400e}admin-products .stock-status.out_of_stock{background:#fee2e2;color:#b91c1c}admin-products .stock-metrics{flex-basis:100%;font-size:.66rem;line-height:1.25;color:#64748b;margin-top:-1px}admin-products .stock-metrics strong{font-weight:700;color:#334155}admin-products .stock-adjust-inline{display:inline-flex;align-items:center;gap:.35rem}admin-products .stock-adjust-input{width:64px;height:30px;border:1px solid #cbd5e1;border-radius:8px;padding:0 .45rem;font-size:.82rem;color:#0f172a;background:#fff}admin-products .stock-adjust-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb24}admin-products .stock-adjust-btn{border:1px solid #cbd5e1;background:#fff;color:#334155;border-radius:8px;min-height:28px;font-size:.78rem;font-weight:700;cursor:pointer;transition:border-color .15s ease,color .15s ease,background-color .15s ease}admin-products .stock-adjust-btn:disabled{cursor:not-allowed;opacity:.7}admin-products .stock-adjust-btn.is-icon{width:28px;min-width:28px;height:28px;padding:0;display:inline-flex;align-items:center;justify-content:center;line-height:1;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(2px);transition:opacity .18s ease,transform .18s ease,visibility 0s linear .18s}admin-products .products-table tbody tr:hover .stock-adjust-btn.is-icon,admin-products .products-table tbody tr.row-selected .stock-adjust-btn.is-icon,admin-products .products-table tbody tr:focus-within .stock-adjust-btn.is-icon,admin-products .stock-cell:hover .stock-adjust-btn.is-icon{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);transition-delay:0s}admin-products .stock-adjust-btn.is-save{width:28px;min-width:28px;height:28px;padding:0;border-color:#2563eb;color:#1d4ed8;background:#eff6ff}admin-products .stock-adjust-btn:hover:not(:disabled){border-color:#94a3b8}admin-products .stock-adjust-btn.is-save svg{width:14px;height:14px}admin-products .stock-edit-icon{width:13px;height:13px;transform:scaleX(-1);transform-origin:center}admin-products .stock-save-spin{display:inline-flex;align-items:center;justify-content:center;font-size:.82rem;animation:refreshSpin .9s linear infinite}admin-products .publish-status-cell{--status-dot-core: #64748b;--status-dot-soft: rgba(100, 116, 139, .45);--status-dot-pulse: rgba(100, 116, 139, .28);display:inline-flex;align-items:center;justify-content:flex-start;gap:.42rem;min-height:24px;font-size:.86rem;font-weight:700;line-height:1.3}admin-products .publish-status-dot{position:relative;width:10px;height:10px;flex:0 0 10px;border-radius:999px;background:var(--status-dot-soft);display:inline-flex;align-items:center;justify-content:center}admin-products .publish-status-dot:before{content:"";position:absolute;inset:-5px;border-radius:inherit;background:var(--status-dot-pulse);transform:scale(.92);animation:statusDotPulse 1.8s ease-in-out infinite}admin-products .publish-status-dot:after{content:"";width:6px;height:6px;border-radius:inherit;background:var(--status-dot-core)}admin-products .publish-status-text{display:inline-flex;align-items:center;color:#334155;white-space:nowrap}admin-products .publish-status-cell.is-new{--status-dot-core: #2563eb;--status-dot-soft: rgba(37, 99, 235, .35);--status-dot-pulse: rgba(37, 99, 235, .24)}admin-products .publish-status-cell.is-sale{--status-dot-core: #15803d;--status-dot-soft: rgba(21, 128, 61, .35);--status-dot-pulse: rgba(21, 128, 61, .24)}admin-products .publish-status-cell.is-pause{--status-dot-core: #b45309;--status-dot-soft: rgba(180, 83, 9, .35);--status-dot-pulse: rgba(180, 83, 9, .24)}admin-products .publish-status-cell.is-stop{--status-dot-core: #dc2626;--status-dot-soft: rgba(220, 38, 38, .35);--status-dot-pulse: rgba(220, 38, 38, .24)}admin-products .publish-status-cell.is-default{--status-dot-core: #64748b;--status-dot-soft: rgba(100, 116, 139, .35);--status-dot-pulse: rgba(100, 116, 139, .24)}admin-products .mapping-cell{display:flex;flex-direction:column;align-items:center;gap:.35rem}admin-products .mapping-pill{display:inline-flex;align-items:center;justify-content:center;padding:.18rem .6rem;font-size:.72rem;border-radius:999px;background:#e2e8f0;color:#0f172a;font-weight:600}admin-products .mapping-pill.matched{background:#dcfce7;color:#166534}admin-products .mapping-pill.needs_review{background:#fef3c7;color:#92400e}admin-products .mapping-pill.pending{background:#e2e8f0;color:#475569}admin-products .mapping-note{font-size:.72rem;color:#94a3b8}admin-products .product-panel-backdrop{position:absolute;inset:0;background:transparent;opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:40}admin-products .product-panel-backdrop.open{opacity:1;pointer-events:none}admin-products .product-panel{position:absolute;left:0;right:0;bottom:12px;max-height:calc(100% - 24px);background:#fff;border-top:1px solid #e5e7eb;box-shadow:0 -16px 32px #0f172a29;transform:translateY(100%);transition:transform .32s cubic-bezier(.22,1,.36,1),height .32s cubic-bezier(.22,1,.36,1);will-change:transform,height;z-index:50;display:flex;flex-direction:column;height:0;overflow:hidden}admin-products .product-panel.collapsed{height:0;transform:translateY(100%);box-shadow:none;pointer-events:none}admin-products .product-panel.collapsed .panel-header,admin-products .product-panel.collapsed .panel-tabs,admin-products .product-panel.collapsed .panel-body{display:none}admin-products .product-panel.open{transform:translateY(0)}admin-products .product-panel.half{height:50vh}admin-products .product-panel.full{height:min(85vh,100% - 24px)}admin-products .products-page:has(.product-panel.half){--panel-space: 50vh}admin-products .products-page:has(.product-panel.full){--panel-space: 85vh}admin-products .products-page:has(.product-panel.half) .table-scroll,admin-products .products-page:has(.product-panel.full) .table-scroll{max-height:calc(100% - var(--panel-space))}admin-products .product-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}admin-products .summary-title{font-weight:600;font-size:1rem;color:#0f172a}admin-products .summary-subtitle{font-size:.85rem;color:#64748b}admin-products .summary-badges{display:flex;flex-wrap:wrap;gap:.4rem}admin-products .status-pill{display:inline-flex;align-items:center;justify-content:center;padding:.25rem .65rem;border-radius:999px;font-size:.75rem;font-weight:600;background:#e2e8f0;color:#0f172a}admin-products .status-pill.valid,admin-products .status-pill.success{background:#dcfce7;color:#166534}admin-products .status-pill.warning{background:#fef3c7;color:#92400e}admin-products .status-pill.error{background:#fee2e2;color:#b91c1c}admin-products .status-pill.in_stock{background:#dcfce7;color:#166534}admin-products .status-pill.low_stock{background:#fef3c7;color:#92400e}admin-products .status-pill.out_of_stock{background:#fee2e2;color:#b91c1c}admin-products .status-pill.matched{background:#dcfce7;color:#166534}admin-products .status-pill.needs_review{background:#fef3c7;color:#92400e}admin-products .status-pill.pending{background:#e2e8f0;color:#475569}admin-products .status-pill.new{background:#dbeafe;color:#1d4ed8}admin-products .status-pill.sale{background:#dcfce7;color:#166534}admin-products .status-pill.pause{background:#fef3c7;color:#92400e}admin-products .status-pill.stop{background:#e2e8f0;color:#475569}admin-products .detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.75rem;margin-bottom:1rem}admin-products .adjust-form{border:none;border-radius:0;background:transparent;padding:0}admin-products .adjust-detail-grid{margin-top:.1rem}admin-products .adjust-wide-item{grid-column:1/-1}admin-products .adjust-detail-grid .detail-item{min-width:0;overflow:hidden}admin-products .detail-input,admin-products .detail-select{box-sizing:border-box;margin-top:.35rem;width:100%;max-width:100%;min-width:0;height:36px;border:1px solid #d6ddea;background:#fff;border-radius:8px;padding:0 .65rem;color:#0f172a;font-size:.88rem;transition:border-color .15s ease,box-shadow .15s ease}admin-products .detail-input::placeholder{color:#64748b}admin-products .detail-input:focus,admin-products .detail-select:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb24}admin-products .detail-input[readonly]{background:#f8fafc;color:#64748b}admin-products .adjust-actions{display:flex;justify-content:flex-end;gap:.6rem;margin-top:.95rem}admin-products .adjust-error{margin-top:.75rem;font-size:.82rem;color:#dc2626}admin-products .detail-item{border:1px solid #e2e8f0;background:#f8fafc;padding:.65rem .75rem}admin-products .detail-label{text-transform:uppercase;font-size:.65rem;letter-spacing:.04em;color:#94a3b8;font-weight:600}admin-products .detail-value{margin-top:.25rem;font-weight:600;color:#0f172a;font-size:.9rem}admin-products .attributes-list{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:1rem}admin-products .attr-pill{display:inline-flex;align-items:center;gap:.35rem;padding:.2rem .6rem;font-size:.72rem;border-radius:999px;background:#e2e8f0;color:#0f172a}admin-products .media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(128px,148px));justify-content:flex-start;gap:.65rem;margin-bottom:1rem}admin-products .media-card{border:1px solid #e2e8f0;background:#f8fafc;width:100%;aspect-ratio:1/1;height:auto;padding:.35rem;overflow:hidden;border-radius:10px;display:flex;align-items:center;justify-content:center}admin-products .media-image{width:100%;height:100%;object-fit:contain;display:block;border-radius:8px;background:#eef2f7}admin-products .panel-note{padding:.6rem .75rem;border:1px dashed #e2e8f0;color:#64748b;font-size:.85rem}admin-products .history-row{grid-template-columns:1.5fr .7fr .8fr .6fr}admin-products .history-status{font-weight:600;color:#1d4ed8}admin-products .history-status.warning{color:#b45309}admin-products .history-status.success{color:#15803d}admin-products .products-toast{position:fixed;top:88px;right:18px;z-index:250;width:min(420px,100vw - 2rem)}admin-products .toast-card{position:relative;overflow:hidden;border-radius:12px;border:1px solid rgba(226,232,240,.9);background:#fffffff5;box-shadow:0 18px 42px #0f172a2e;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:.85rem .95rem .75rem;color:#0f172a}admin-products .toast-card.success{border-color:#22c55e40}admin-products .toast-card.error{border-color:#ef444440}admin-products .toast-message{font-size:.9rem;line-height:1.35;font-weight:600;padding-right:34px}admin-products .toast-close{position:absolute;top:8px;right:8px;width:30px;height:30px;border-radius:10px;border:1px solid rgba(226,232,240,.9);background:#f8fafce6;color:#475569;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .15s ease,border-color .15s ease,color .15s ease}admin-products .toast-close:hover{background:#f1f5f9;border-color:#cbd5e1e6;color:#0f172a}admin-products .toast-close svg{width:16px;height:16px}admin-products .toast-progress{position:absolute;left:0;right:0;bottom:0;height:3px;background:#e2e8f0bf}admin-products .toast-progress-bar{height:100%;width:100%;transform-origin:left;animation-name:toastShrink;animation-timing-function:linear;animation-fill-mode:forwards;background:#2563ebbf}admin-products .toast-card.success .toast-progress-bar{background:#22c55ebf}admin-products .toast-card.error .toast-progress-bar{background:#ef4444bf}@keyframes toastShrink{0%{transform:scaleX(1)}to{transform:scaleX(0)}}@keyframes tableRefreshShimmer{0%{background-position:200% 0}to{background-position:-200% 0}}@keyframes refreshSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes statusDotPulse{0%,to{transform:scale(.92);opacity:.65}45%{transform:scale(1.05);opacity:.38}}@media(prefers-reduced-motion:reduce){admin-products .publish-status-dot:before{animation:none}admin-products .stock-adjust-btn.is-icon{transition:none;transform:none}}@media(hover:none),(pointer:coarse){admin-products .stock-adjust-btn.is-icon{opacity:1;visibility:visible;pointer-events:auto;transform:none;transition:none}}@media(max-width:1024px){admin-products .bulk-status-tools{align-items:stretch}admin-products .bulk-status-select{flex:1 1 220px;min-width:0}admin-products .bulk-status-apply{min-width:86px}admin-products .advanced-filters{--advanced-filter-open-max-height: min(68vh, 560px)}admin-products .filter-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}admin-products .filter-field.filter-multi{grid-column:span 1;max-width:none;justify-self:stretch}admin-products .filter-range{grid-column:span 2}admin-products .filter-range.compact{grid-column:span 2}admin-products .filter-range.compact .range-row input{flex:1 1 0;width:auto}admin-products .filter-actions{justify-content:flex-start}admin-products .active-filter-chips{flex-direction:column;align-items:flex-start}admin-products .advanced-filters.open{max-height:var(--advanced-filter-open-max-height)}}@media(max-width:640px){admin-products .bulk-status-tools{gap:.4rem}admin-products .bulk-status-select,admin-products .bulk-status-apply,admin-products .bulk-status-count{width:100%}admin-products .bulk-status-apply,admin-products .bulk-status-count{justify-content:center}admin-products .filter-grid{grid-template-columns:repeat(1,minmax(180px,1fr))}admin-products .filter-field.filter-multi{grid-column:span 1;max-width:none;justify-self:stretch}admin-products .filter-range{grid-column:span 1}admin-products .filter-range.compact{grid-column:span 1}admin-products .advanced-filters{padding:0 .75rem}admin-products .advanced-filters.open{padding:.75rem}admin-products .active-filter-chips{padding:.45rem .5rem}admin-products .chip-list{width:100%}admin-products .summary-badges{width:100%}admin-products .products-toast{top:72px;right:12px;width:calc(100vw - 24px)}}admin-orders{display:block;height:100%;overflow:hidden;flex:1 1 auto;min-height:0}app-root:has(admin-orders) .app-content{overflow:hidden;display:flex;flex-direction:column;padding-bottom:0}admin-orders .orders-page{display:flex;flex-direction:column;gap:.75rem;color:#0f172a;padding-top:20px;height:100%;min-height:0;overflow:hidden;position:relative;--panel-space: 0px;--orders-radius: 5px}admin-orders .orders-page :is(.toolbar-ghost,.toolbar-primary,.search-field input,.page-controls button,.page-size select,.filter-field select,.table-card,.action-trigger,.action-dropdown,.action-item,.advanced-filters,.active-filter-chips,.filter-chip,.notice,.item-avatar,.payment-state,.order-status-dot,.status-pill,.detail-item,.order-item-card,.order-item-image,.qr-block,.qr-image,.history-table,.panel-size-btn,.panel-close,.panel-tab,.select-checkbox span,.select-radio span){border-radius:var(--orders-radius)}admin-orders .tabs-row{border-bottom:none;padding-bottom:0}admin-orders .tab-btn{border-radius:0}admin-orders ui-data-table{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}admin-orders ui-data-table>.data-table{flex:1 1 auto;min-height:0}admin-orders .data-table{display:flex;flex-direction:column;min-height:0;height:100%}admin-orders .table-card{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;border:1px solid #e5e7eb;box-shadow:none}admin-orders .table-scroll{flex:1 1 auto;min-height:0;overflow:auto;padding-bottom:calc(var(--panel-space) + 38px)}admin-orders .tabs-row,admin-orders .toolbar-row,admin-orders .advanced-filters,admin-orders .active-filter-chips,admin-orders .notice,admin-orders .filter-error{flex:0 0 auto}admin-orders .search-field{max-width:320px}admin-orders .toolbar-right{margin-left:auto}admin-orders .toolbar-link{font-weight:600}admin-orders .toolbar-ghost.active{border-color:#2563eb;color:#1d4ed8}admin-orders .advanced-filters{--filter-border: #e2e8f0;--filter-bg: #ffffff;--filter-muted: #64748b;--filter-focus: #2563eb;--filter-focus-ring: 0 0 0 3px rgba(37, 99, 235, .14);border:1px solid #e5e7eb;background:linear-gradient(180deg,#f8fafc,#fff 36%);border-radius:8px;padding:0 1rem;max-height:0;min-height:0;opacity:0;overflow:hidden;transform:translateY(-6px);transition:max-height .25s ease,opacity .25s ease,transform .25s ease,padding .25s ease}admin-orders .advanced-filters.open{max-height:min(60vh,360px);min-height:100px;opacity:1;padding:.75rem 1rem .85rem;transform:translateY(0);overflow:auto;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}admin-orders .advanced-form{display:flex;flex-direction:column;gap:.8rem}admin-orders .filter-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.75rem .95rem;align-items:end}admin-orders .filter-field{display:flex;flex-direction:column;gap:.45rem;font-size:.8rem;color:#334155}admin-orders .filter-field>span{text-transform:uppercase;font-size:.72rem;letter-spacing:.04em;color:var(--filter-muted);font-weight:600}admin-orders .filter-field input,admin-orders .filter-field select{height:36px;border:1px solid var(--filter-border);background:var(--filter-bg);padding:0 .65rem;color:#0f172a;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}admin-orders .filter-field input::placeholder{color:#94a3b8}admin-orders .filter-field input:focus,admin-orders .filter-field select:focus{outline:none;border-color:var(--filter-focus);box-shadow:var(--filter-focus-ring);background:#fff}admin-orders .filter-actions{display:flex;align-items:center;justify-content:flex-end;gap:.6rem}admin-orders .active-filter-chips{display:flex;align-items:center;justify-content:space-between;gap:.7rem;border:1px solid #e2e8f0;border-radius:var(--orders-radius);background:#f8fafc;padding:.52rem .65rem}admin-orders .chip-list{display:flex;flex-wrap:wrap;gap:.38rem}admin-orders .filter-chip{display:inline-flex;align-items:center;gap:.28rem;border:1px solid #dbe3ee;background:#fff;border-radius:var(--orders-radius);color:#334155;font-size:.72rem;padding:.2rem .48rem;cursor:pointer}admin-orders .filter-chip:hover{border-color:#bfdbfe;color:#1d4ed8}admin-orders .chip-remove{font-size:.82rem;line-height:1}admin-orders .chip-clear-all{border:none;background:transparent;color:#1d4ed8;font-size:.75rem;font-weight:700;cursor:pointer;white-space:nowrap}admin-orders .notice{border:1px solid #dbe3ee;border-radius:var(--orders-radius);background:#f8fafc;color:#334155;padding:.56rem .72rem;font-size:.84rem}admin-orders .notice.success{border-color:#bbf7d0;background:#f0fdf4;color:#166534}admin-orders .notice.error{border-color:#fecaca;background:#fef2f2;color:#b91c1c}admin-orders .orders-table .actions-col,admin-orders .orders-table .action-cell{width:70px}admin-orders .order-main-cell,admin-orders .partner-cell,admin-orders .items-cell,admin-orders .payment-cell{display:flex;flex-direction:column;gap:.24rem}admin-orders .order-code{font-size:.9rem;font-weight:700;color:#0f172a;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}admin-orders .order-time,admin-orders .partner-sub,admin-orders .items-sub,admin-orders .payment-method{font-size:.74rem;color:#64748b;line-height:1.3}admin-orders .partner-main,admin-orders .items-main{font-size:.86rem;font-weight:650;color:#0f172a;line-height:1.35}admin-orders .items-cell.has-image{display:flex;flex-direction:row;align-items:center;gap:.6rem}admin-orders .item-avatar{width:34px;height:34px;border-radius:var(--orders-radius);border:1px solid #dbe3ee;background:#f1f5f9;object-fit:cover;flex:0 0 34px}admin-orders .items-meta{min-width:0}admin-orders .payment-total{font-size:.92rem;font-weight:700;color:#0f172a}admin-orders .payment-state{width:fit-content;font-size:.71rem;font-weight:700;border-radius:var(--orders-radius);padding:.15rem .48rem;border:1px solid #dbe3ee;background:#f8fafc;color:#475569}admin-orders .payment-state.is-pending{border-color:#fed7aa;background:#fff7ed;color:#c2410c}admin-orders .payment-state.is-confirmed{border-color:#bbf7d0;background:#f0fdf4;color:#15803d}admin-orders .payment-state.is-not-required{border-color:#dbeafe;background:#eff6ff;color:#1d4ed8}admin-orders .payment-state.is-refunded{border-color:#fbcfe8;background:#fdf2f8;color:#be185d}admin-orders .order-status-cell{display:inline-flex;align-items:center;gap:.42rem;font-size:.84rem;font-weight:700;color:#334155}admin-orders .order-status-dot{width:9px;height:9px;border-radius:var(--orders-radius);background:#94a3b8;box-shadow:0 0 0 4px #94a3b838}admin-orders .order-status-cell.is-pending .order-status-dot{background:#c2410c;box-shadow:0 0 0 4px #c2410c3d}admin-orders .order-status-cell.is-processing .order-status-dot{background:#1d4ed8;box-shadow:0 0 0 4px #1d4ed838}admin-orders .order-status-cell.is-shipped .order-status-dot{background:#0f766e;box-shadow:0 0 0 4px #0f766e3d}admin-orders .order-status-cell.is-delivered .order-status-dot{background:#15803d;box-shadow:0 0 0 4px #15803d38}admin-orders .order-status-cell.is-cancelled .order-status-dot{background:#dc2626;box-shadow:0 0 0 4px #dc262638}admin-orders .order-status-cell.is-refunded .order-status-dot{background:#be185d;box-shadow:0 0 0 4px #be185d33}admin-orders .order-panel-backdrop{position:absolute;inset:0;background:transparent;opacity:0;pointer-events:none;transition:opacity .2s ease;z-index:40}admin-orders .confirm-dialog-backdrop{position:fixed;inset:0;z-index:120;background:#0f172a75;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:1rem}admin-orders .confirm-dialog{width:min(460px,100vw - 2rem);border:1px solid #dbe3ee;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fafc);box-shadow:0 20px 44px #02061752,0 2px 10px #0f172a1f;padding:1rem 1rem .9rem}admin-orders .confirm-dialog-title{font-size:1rem;font-weight:800;color:#0f172a}admin-orders .confirm-dialog-message{margin-top:.45rem;font-size:.9rem;color:#334155;line-height:1.45}admin-orders .confirm-dialog-actions{margin-top:1rem;display:flex;justify-content:flex-end;gap:.55rem}admin-orders .confirm-dialog-btn{min-width:94px;height:36px;border-radius:10px;border:1px solid #d1d5db;padding:0 .9rem;font-size:.82rem;font-weight:700;cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease,border-color .16s ease}admin-orders .confirm-dialog-btn.ghost{background:#fff;color:#334155}admin-orders .confirm-dialog-btn.ghost:hover:not(:disabled){border-color:#94a3b8;transform:translateY(-1px)}admin-orders .confirm-dialog-btn.primary{border-color:#2563eb;background:linear-gradient(135deg,#1d4ed8,#2563eb);color:#fff;box-shadow:0 8px 18px #2563eb47}admin-orders .confirm-dialog-btn.primary:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 10px 20px #2563eb57}admin-orders .confirm-dialog-btn:disabled{opacity:.62;cursor:not-allowed;transform:none;box-shadow:none}admin-orders .order-panel{position:absolute;left:0;right:0;bottom:12px;max-height:calc(100% - 24px);background:#fff;border-top:1px solid #e5e7eb;box-shadow:0 -16px 32px #0f172a29;transform:translateY(100%);transition:transform .32s cubic-bezier(.22,1,.36,1),height .32s cubic-bezier(.22,1,.36,1);will-change:transform,height;z-index:50;display:flex;flex-direction:column;height:0;overflow:hidden}admin-orders .order-panel.collapsed{height:0;transform:translateY(100%);box-shadow:none;pointer-events:none}admin-orders .order-panel.collapsed .panel-header,admin-orders .order-panel.collapsed .panel-tabs,admin-orders .order-panel.collapsed .panel-body{display:none}admin-orders .order-panel.open{transform:translateY(0)}admin-orders .order-panel.half{height:50vh}admin-orders .order-panel.full{height:min(85vh,100% - 24px)}admin-orders .orders-page:has(.order-panel.half){--panel-space: 50vh}admin-orders .orders-page:has(.order-panel.full){--panel-space: 85vh}admin-orders .orders-page:has(.order-panel.half) .table-scroll,admin-orders .orders-page:has(.order-panel.full) .table-scroll{max-height:calc(100% - var(--panel-space))}admin-orders .panel-loading,admin-orders .panel-error,admin-orders .panel-empty{padding:.72rem 0;font-size:.9rem;color:#64748b}admin-orders .panel-error{color:#dc2626}admin-orders .order-summary{display:flex;flex-direction:column;gap:.25rem;margin-bottom:.85rem}admin-orders .summary-title{font-size:1rem;font-weight:700;color:#0f172a}admin-orders .summary-subtitle{color:#64748b;font-size:.84rem}admin-orders .summary-badges{display:flex;gap:.42rem;flex-wrap:wrap}admin-orders .summary-actions{display:flex;flex-wrap:wrap;gap:.45rem;margin-top:.3rem}admin-orders .summary-actions .toolbar-primary{padding:.32rem .62rem;font-size:.78rem}admin-orders .status-pill{border:1px solid #dbe3ee;background:#f8fafc;color:#334155;font-size:.74rem;font-weight:700;border-radius:var(--orders-radius);padding:.18rem .55rem}admin-orders .detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.72rem;margin-bottom:1rem}admin-orders .detail-item{border:1px solid #e2e8f0;background:#f8fafc;padding:.62rem .72rem}admin-orders .detail-item.detail-wide{grid-column:1/-1}admin-orders .detail-label{text-transform:uppercase;font-size:.64rem;letter-spacing:.04em;color:#64748b;font-weight:700}admin-orders .detail-value{margin-top:.24rem;font-size:.88rem;font-weight:650;color:#0f172a;line-height:1.4}admin-orders .panel-section-title{font-weight:700;color:#0f172a;margin:.2rem 0 .7rem}admin-orders .order-items-list{display:grid;gap:.52rem}admin-orders .order-item-card{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:.65rem;border:1px solid #e2e8f0;background:#fff;padding:.55rem .68rem}admin-orders .order-item-image{width:42px;height:42px;border-radius:var(--orders-radius);border:1px solid #dbe3ee;object-fit:cover;background:#f1f5f9}admin-orders .order-item-main{min-width:0}admin-orders .order-item-name{font-size:.88rem;font-weight:700;color:#0f172a}admin-orders .order-item-meta,admin-orders .order-item-note{margin-top:.2rem;font-size:.75rem;color:#64748b}admin-orders .order-item-price{font-size:.85rem;font-weight:700;color:#0f172a;white-space:nowrap}admin-orders .qr-block{border:1px solid #e2e8f0;background:#f8fafc;padding:.72rem;display:grid;grid-template-columns:150px minmax(0,1fr);gap:.75rem}admin-orders .qr-image{width:100%;max-width:150px;border:1px solid #dbe3ee;background:#fff}admin-orders .qr-meta{display:grid;gap:.32rem;font-size:.82rem;color:#334155}admin-orders .history-state{color:#64748b;font-size:.86rem}admin-orders .history-table{border:1px solid #e5e7eb;border-radius:var(--orders-radius);overflow:hidden}admin-orders .history-row{display:grid;grid-template-columns:1.2fr 1fr .9fr;gap:.7rem;padding:.7rem .95rem;border-bottom:1px solid #eef2f7;font-size:.86rem;color:#0f172a}admin-orders .history-row:last-child{border-bottom:none}admin-orders .history-header{background:#f8fafc;font-size:.73rem;text-transform:uppercase;letter-spacing:.04em;color:#64748b;font-weight:700}@media(max-width:1024px){admin-orders .search-field{max-width:100%;flex:1 1 100%}admin-orders .toolbar-right{width:100%;justify-content:flex-start;margin-left:0}admin-orders .filter-grid{grid-template-columns:repeat(2,1fr)}admin-orders .active-filter-chips{flex-direction:column;align-items:flex-start}}@media(max-width:760px){admin-orders .qr-block{grid-template-columns:1fr}admin-orders .history-row{grid-template-columns:1fr;gap:.35rem}admin-orders .order-item-card{grid-template-columns:36px minmax(0,1fr)}admin-orders .order-item-price{grid-column:1/-1;justify-self:end}}admin-orders .proof-block{display:flex;flex-direction:column;gap:.75rem;padding:.75rem 1rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin-bottom:.5rem}admin-orders .proof-status-row{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}admin-orders .proof-meta-text{font-size:.78rem;color:#64748b}admin-orders .proof-reject-reason{font-size:.85rem;color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:6px;padding:.4rem .65rem}admin-orders .proof-actions{display:flex;gap:.5rem}admin-orders .proof-reject-form{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}admin-orders .proof-reject-input{flex:1 1 200px;height:34px;border:1px solid #e2e8f0;border-radius:6px;padding:0 .65rem;font-size:.85rem;color:#0f172a;background:#fff;min-width:0}admin-orders .proof-reject-input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px #2563eb24}admin-orders .proof-empty-hint{font-size:.83rem;color:#94a3b8;padding:.5rem 0}admin-orders .toolbar-danger{height:34px;padding:0 .9rem;font-size:.82rem;font-weight:600;border:1px solid #fca5a5;border-radius:6px;background:#fff;color:#dc2626;cursor:pointer;white-space:nowrap;transition:background .15s,color .15s}admin-orders .toolbar-danger:hover:not(:disabled){background:#fef2f2}admin-orders .toolbar-danger:disabled{opacity:.5;cursor:not-allowed}admin-orders .status-pill.proof-submitted{background:#dbeafe;color:#1d4ed8}admin-orders .status-pill.proof-rejected{background:#fee2e2;color:#b91c1c}.data-table{display:flex;flex-direction:column;gap:.75rem;color:#0f172a}.table-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.header-text h2{margin:0;font-size:1.2rem;font-weight:600}.header-text p{margin:.35rem 0 0;color:#64748b;font-size:.9rem}.title-row{display:flex;align-items:center;gap:.6rem}.count{min-width:28px;padding:0 .5rem;height:24px;background:#e2e8f0;color:#0f172a;font-size:.8rem}.header-actions:empty,.table-toolbar:empty{display:none}.table-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;width:100%}.table-card{background:#fff;border:1px solid #e5e7eb;box-shadow:0 10px 20px #0f172a0f;overflow:hidden}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:720px}thead th{background:#f8fafc;text-transform:none;letter-spacing:0;font-size:.82rem;font-weight:650;color:#94a3b8;padding:.75rem .9rem;border-bottom:1px solid #e5e7eb}.data-table table th,.data-table table td{border-radius:0}.sort-btn{display:inline-flex;align-items:center;gap:.35rem;border:none;background:transparent;padding:0;font:inherit;color:inherit;cursor:pointer}.sort-icons{display:inline-flex;flex-direction:column;gap:2px}.sort-icon{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent}.sort-icon.up{border-bottom:6px solid #cbd5f5}.sort-icon.down{border-top:6px solid #cbd5f5}.sort-icon.active{border-bottom-color:#2563eb;border-top-color:#2563eb}tbody td{padding:.75rem .9rem;border-bottom:1px solid #eef2f7;font-size:.9rem;color:#0f172a}tbody tr:hover{background:#f9fafb}tbody tr.row-selectable{cursor:pointer}tbody tr.row-selected{background:#dbeafe}tbody tr.row-selected:hover{background:#c7ddff}tbody tr.row-selected td{background:#dbeafe;border-bottom-color:transparent}tbody tr.row-selected:hover td{background:#c7ddff}.empty-cell{text-align:center;color:#64748b;padding:2rem 1rem}.empty-state{display:inline-flex;flex-direction:column;align-items:center;gap:.75rem}.empty-icon{width:52px;height:52px;border-radius:14px;border:1px solid #e2e8f0;background:#f8fafc;display:inline-flex;align-items:center;justify-content:center;color:#cbd5f5}.empty-icon svg{width:30px;height:30px}.empty-text{font-size:.95rem}.status-badge{padding:.2rem .6rem;font-size:.75rem;background:#e2e8f0;color:#0f172a}:is(.count,.status-badge){display:inline-flex;align-items:center;justify-content:center;font-weight:600}.status-badge.success{background:#dcfce7;color:#166534}.status-badge.warning{background:#fef3c7;color:#92400e}.status-badge.danger{background:#fee2e2;color:#b91c1c}.status-badge.info{background:#dbeafe;color:#1d4ed8}.select-col{width:22px;text-align:center;padding-left:.2rem;padding-right:.2rem}.select-cell{text-align:center;padding-left:.2rem;padding-right:.2rem}.select-radio{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.select-radio input{position:absolute;opacity:0}.select-radio input:focus-visible+span{outline:2px solid #2563eb;outline-offset:2px;box-shadow:0 0 0 3px #2563eb33}.select-radio span{width:14px;height:14px;border-radius:50%;border:1.5px solid #cbd5f5;display:inline-flex;align-items:center;justify-content:center}.select-radio input:checked+span{border-color:#2563eb}.select-radio input:checked+span:after{content:"";width:6px;height:6px;border-radius:50%;background:#2563eb}.select-checkbox{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.select-checkbox input{position:absolute;opacity:0}.select-checkbox input:focus-visible+span{outline:2px solid #2563eb;outline-offset:2px;box-shadow:0 0 0 3px #2563eb33}.select-checkbox span{width:16px;height:16px;border-radius:4px;border:1.5px solid #cbd5f5;display:inline-flex;align-items:center;justify-content:center;background:#fff}.select-checkbox input:checked+span{border-color:#2563eb;background:#2563eb}.select-checkbox.indeterminate input+span{border-color:#2563eb;background:#dbeafe}.select-checkbox.indeterminate input+span:after{content:"";width:8px;height:2px;background:#1d4ed8}.select-checkbox input:checked+span:after{content:"";width:6px;height:10px;border:solid #ffffff;border-width:0 2px 2px 0;transform:rotate(45deg)}.actions-col{text-align:right}.action-cell{text-align:right;position:relative;overflow:visible;z-index:1}.action-cell:has(.action-dropdown){z-index:40}.action-menu{display:inline-flex;justify-content:flex-end;position:relative;z-index:1}.action-trigger{border:1px solid #e2e8f0;background:#fff;color:#0f172a;width:30px;height:30px;font-size:1rem;line-height:1;cursor:pointer}.action-trigger.direct-single{display:inline-flex;align-items:center;justify-content:center}.action-open-icon{width:14px;height:14px}.action-dropdown{position:absolute;right:0;top:calc(100% + 8px);transform:none;background:#fff;border:1px solid #e2e8f0;box-shadow:0 12px 24px #0f172a1f;min-width:140px;z-index:50;display:flex;flex-direction:column}.action-dropdown:before{content:"";position:absolute;bottom:100%;right:12px;width:9px;height:9px;background:#fff;border-left:1px solid #e2e8f0;border-top:1px solid #e2e8f0;transform:translateY(50%) rotate(45deg)}.action-item{border:none;background:transparent;text-align:left;padding:.6rem .85rem;font-size:.85rem;color:#0f172a;cursor:pointer}.action-item:hover{background:#f8fafc}.action-item.primary{color:#1d4ed8}.action-item.danger{color:#dc2626}.action-item:disabled{opacity:.6;cursor:not-allowed}.table-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.75rem;color:#64748b;font-size:.85rem}.footer-right{display:flex;align-items:center;gap:.75rem}.page-size{display:flex;align-items:center;gap:.4rem}.page-size select{border:1px solid #e2e8f0;padding:.25rem .4rem;background:#fff}.pager{display:flex;align-items:center;gap:.3rem}.pager button{border:1px solid #e2e8f0;background:#fff;color:#0f172a;padding:.3rem .6rem;font-size:.8rem;cursor:pointer}.pager button.active{background:#1d4ed8;color:#fff;border-color:transparent}.pager button:disabled{cursor:not-allowed;opacity:.6}@media(max-width:900px){.table-header{flex-direction:column}.table-footer{flex-direction:column;align-items:flex-start}}html,body{font-family:BeauSansPro,Sarabun,system-ui,-apple-system,Segoe UI,sans-serif;height:100%;margin:0}body{overflow:hidden}button,input,select,textarea{font-family:inherit;border-radius:4px}*,*:before,*:after{border-radius:4px}input:focus,select:focus,textarea:focus{border-color:#2563eb;outline:none;box-shadow:0 0 0 1px #2563eb}
