:root{--orange:#ff5a00;--red:#f52f2f;--ink:#201814;--muted:#746860;--line:#eadbd2;--paper:#f8f4ef;--white:#fff}*{box-sizing:border-box}body{color:var(--ink);background:var(--paper);margin:0;font-family:Inter,PingFang SC,Microsoft YaHei,Arial,sans-serif}.shop-surface,.special-surface,.subsidy-surface,.entry-surface,.coupon-surface,.cart-surface,.orders-surface,.profile-surface,.recycle-surface,.service-surface,.withdraw-surface,.method-surface,.fund-surface,.logs-surface,.auth-surface{overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;height:100dvh;min-height:100dvh;overflow-y:auto}button,input,select,textarea{font:inherit}button{color:var(--white);cursor:pointer;background:linear-gradient(135deg, var(--orange), var(--red));border:0;border-radius:999px;font-weight:800}button:disabled{cursor:not-allowed;opacity:.45}input,select,textarea{border:1px solid var(--line);background:#fffaf7;border-radius:8px;outline:0;min-height:36px;padding:0 10px}textarea{resize:vertical;min-height:88px;padding-top:10px}.admin-shell{--orange:#ff7a1a;--red:#f05a24;--ink:#242831;--muted:#6b7280;--line:#e1e5eb;--paper:#fff;--admin-accent:#c47a55;--admin-accent-soft:#f6eee9;min-height:100vh;color:var(--ink);background-color:#fff;background-image:url(/assets/admin-morning-glory-pattern.svg);background-repeat:repeat;background-size:360px 240px;grid-template-columns:236px minmax(0,1fr);display:grid}.admin-main{min-width:0;min-height:100vh}.admin-topbar{z-index:45;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffeb;border-bottom:1px solid #e1e5ebeb;justify-content:flex-start;align-items:center;gap:16px;min-height:62px;padding:10px 24px;display:flex;position:sticky;top:0}.topbar-copy{gap:3px;min-width:0;display:grid}.topbar-copy strong{color:#242831;font-size:15px}.topbar-copy small{color:#6b7280;font-size:12px}.order-alerts{flex-wrap:wrap;justify-content:flex-end;gap:9px;display:flex}.order-sound-toggle{flex:none;min-height:38px;margin-left:auto;padding:0 14px;font-size:13px;font-weight:900;color:#e34a00!important;background:#fff8f4!important;border:1px solid #f3c7b3!important;border-radius:999px!important;box-shadow:0 8px 20px #1820270d!important}.order-sound-toggle.off{color:#6b7280!important;background:#fff!important;border-color:#dfe5ec!important}.order-alert-link{color:#3f4652;background:#fff;border:1px solid #dfe5ec;border-radius:999px;align-items:center;gap:7px;min-height:38px;padding:0 12px 0 8px;font-size:13px;font-weight:800;text-decoration:none;display:inline-flex;position:relative;box-shadow:0 8px 20px #1820270d}.order-alert-link.has-pending{color:#e34a00;background:#fff8f4;border-color:#f3c7b3}.order-alert-icon{color:#fff;background:linear-gradient(135deg,#ff8a24,#f05a24);border-radius:999px;justify-content:center;align-items:center;width:26px;height:26px;font-size:12px;font-weight:900;display:inline-flex}.order-alert-badge{color:#fff;background:#f52f2f;border:2px solid #fff;border-radius:999px;justify-content:center;align-items:center;min-width:19px;height:19px;padding:0 5px;font-size:11px;font-weight:900;line-height:1;display:inline-flex;position:absolute;top:-7px;right:-7px}.order-alert-toast{z-index:90;color:#fff;opacity:0;pointer-events:none;background:#20252df0;border-radius:12px;max-width:min(380px,100vw - 32px);padding:12px 16px;font-size:14px;font-weight:800;transition:transform .18s,opacity .18s;position:fixed;top:18px;right:24px;transform:translateY(-18px);box-shadow:0 18px 46px #1820273d}.order-alert-toast.show{opacity:1;transform:translateY(0)}.site-message-popup{z-index:90;background:#20181461;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.site-message-popup-panel{color:#211814;background:#fff;border:1px solid #f0dfd5;border-radius:16px;gap:10px;width:min(360px,100%);padding:22px 18px 18px;display:grid;box-shadow:0 18px 50px #2316123d}.site-message-popup-icon{color:#e34a00;background:linear-gradient(135deg,#fff1e8,#ffe0cc);border-radius:16px;place-items:center;width:42px;height:42px;font-size:20px;font-weight:900;display:grid}.site-message-popup-panel h2{margin:2px 0 0;font-size:20px;line-height:1.25}.site-message-popup-panel p{color:#4d403b;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.7}.site-message-popup-panel small{color:#8a756b;font-size:12px;font-weight:800}.site-message-popup-panel button{color:#fff;background:linear-gradient(135deg, var(--orange), var(--red));border:0;border-radius:999px;min-height:38px;margin-top:4px}.side-nav{color:#e9edf0;background:radial-gradient(circle at 28% 4%,#c47a5529,#0000 28%),radial-gradient(circle at 86% 48%,#ffffff0e,#0000 26%),linear-gradient(#2b2d35 0%,#20252d 48%,#182027 100%);border-right:1px solid #ffffff14;flex-direction:column;height:100vh;padding:16px 12px;display:flex;position:sticky;top:0;overflow-y:auto}.nav-brand{color:#f8faf8;border-bottom:1px solid #ffffff14;align-items:center;gap:12px;margin:0 6px 18px;padding:6px 0 18px;line-height:1.2;display:flex}.nav-logo{color:#fff;background:linear-gradient(135deg,#d08a63,#b8694f);border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;font-size:18px;font-weight:900;display:inline-flex;box-shadow:0 10px 24px #c47a553d}.nav-title{gap:3px;min-width:0;display:grid}.nav-title strong{color:#fff;font-size:17px;font-weight:800}.nav-title small{color:#a9b2ba;font-size:12px;font-weight:600}.admin-menu{gap:7px;display:grid}.nav-group{gap:4px;display:grid;position:relative}.side-nav .nav-section{color:#cbd3da;letter-spacing:0;width:100%;min-height:46px;box-shadow:none;background:0 0;border:1px solid #0000;border-radius:10px;justify-content:space-between;align-items:center;gap:12px;margin:0;padding:0 12px;font-size:14px;font-weight:700;line-height:1;display:flex}.side-nav .nav-section:hover{color:#fff;background:#ffffff0f;border-color:#ffffff14}.nav-group.is-active>.nav-section{color:#fff;background:#ffffff14;border-color:#ffffff1f}.nav-group.is-active:before{content:"";background:var(--admin-accent);border-radius:999px;width:3px;height:24px;position:absolute;top:11px;left:-12px}.nav-section-main{align-items:center;gap:10px;min-width:0;display:inline-flex}.nav-icon{color:#d9aa93;background:#ffffff14;border-radius:9px;flex:none;justify-content:center;align-items:center;width:30px;height:30px;font-size:13px;font-weight:900;display:inline-flex}.nav-group.is-active .nav-icon{color:#fff;background:linear-gradient(135deg,#d08a63,#b8694f);box-shadow:0 10px 22px #c47a5538}.nav-chevron{color:#9ca7af;font-size:12px;line-height:1;transition:transform .16s;transform:rotate(-90deg)}.nav-group.is-open .nav-chevron{transform:rotate(0)}.nav-submenu{border-left:0;gap:4px;margin:0 0 2px 45px;padding-left:0;display:grid}.side-nav a{color:#aab4bc;border-radius:9px;justify-content:space-between;align-items:center;min-height:34px;padding:0 12px;font-size:13px;font-weight:600;text-decoration:none;transition:background .16s,color .16s,box-shadow .16s;display:flex}.side-nav a:hover{color:#fff;background:#ffffff0f}.side-nav a.router-link-active{color:#20242a;background:#fffffff0;box-shadow:0 10px 24px #00000029}.side-nav a:after{color:inherit;content:">";opacity:.72}.admin-logout{color:#cbd3da;background:#ffffff0f;border:1px solid #ffffff29;border-radius:10px;min-height:34px;margin-top:auto;padding:0 12px;font-size:13px}.admin-logout:hover{color:#fff;background:#ffffff1f}.admin-shell input,.admin-shell select,.admin-shell textarea{border-color:var(--line);background:#fff}.admin-shell button:not(.nav-section):not(.admin-logout):not(.thumb-button):not(.title-button):not(.icon-close):not(.order-sound-toggle){border-radius:8px;color:#fff!important;box-shadow:none!important;background:linear-gradient(135deg,#ff8a24,#f05a24)!important;border:1px solid #f05a24!important}.admin-shell button:not(.nav-section):not(.admin-logout):not(.thumb-button):not(.title-button):not(.icon-close):not(.order-sound-toggle):hover:not(:disabled){background:linear-gradient(135deg,#ff7a1a,#dc4f1f)!important}.admin-shell button:disabled{opacity:1;color:#fff!important;background:#c5cad3!important;border-color:#c5cad3!important}.admin-page{width:min(100%,1280px);padding:22px 24px}.page-head{justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px;display:flex}.page-head span{color:var(--muted);font-size:13px}.page-head h1{margin:4px 0 0;font-size:28px}.table-wrap{border:1px solid var(--line);background:var(--white);border-radius:12px;margin-bottom:26px;box-shadow:0 8px 24px #1820270a}.toolbar,.batch-bar,.pager{flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px;display:flex}.pager{min-height:38px;margin-top:18px}.toolbar button,.batch-bar button,.pager button,.row-actions button,.dialog-actions button{min-height:34px;padding:0 14px;font-size:13px}.danger,.dark{background:#4b5563}.admin-shell .content-actions button,.admin-shell .row-actions button,.admin-shell .pager button,.admin-shell .ghost{color:#3f4652!important;background:#fff!important;border:1px solid #cfd5dd!important}.admin-shell .content-actions button:hover:not(:disabled),.admin-shell .row-actions button:hover:not(:disabled),.admin-shell .pager button:hover:not(:disabled),.admin-shell .ghost:hover:not(:disabled){color:#20242a!important;background:#f7f8fa!important;border-color:#b9c0ca!important}.admin-shell .dark{color:#fff!important;background:#4b5563!important;border-color:#4b5563!important}.admin-shell .dark:hover:not(:disabled){background:#374151!important}.admin-shell .danger{color:#fff!important;background:#b6655e!important;border-color:#b6655e!important}.admin-shell .danger:hover:not(:disabled){background:#a55751!important}.admin-shell button:disabled,.admin-shell .pager button:disabled{opacity:1;color:#9aa3af!important;background:#edf0f3!important;border-color:#d9dee5!important}.admin-shell .row-actions .processed{cursor:not-allowed;pointer-events:none;border-radius:8px;justify-content:center;align-items:center;min-height:34px;padding:0 14px;font-size:13px;font-weight:800;display:inline-flex;color:#7b8491!important;background:#edf0f3!important;border-color:#d9dee5!important}.admin-shell .data-table .row-actions button,.admin-shell .data-table .row-actions .dark,.admin-shell .data-table .row-actions .danger{color:#3f4652!important;background:#fff!important;border:1px solid #d9dee5!important;border-radius:6px!important;min-height:28px!important;padding:0 8px!important;font-size:12px!important}.admin-shell .data-table .row-actions button:hover:not(:disabled){color:#20242a!important;background:#f7f8fa!important;border-color:#c8ced8!important}.admin-shell .data-table .row-actions .compact-action,.admin-shell .data-table .row-actions button.compact-action:not(.nav-section):not(.admin-logout):not(.thumb-button):not(.title-button):not(.icon-close):not(.order-sound-toggle){color:#3f4652!important;background:#fff!important;border:1px solid #d9dee5!important;border-radius:6px!important;min-height:26px!important;padding:0 7px!important;font-size:12px!important;font-weight:800!important}.admin-shell .data-table .row-actions button.compact-action:not(.nav-section):not(.admin-logout):not(.thumb-button):not(.title-button):not(.icon-close):not(.order-sound-toggle):hover:not(:disabled){color:#20242a!important;background:#f7f8fa!important;border-color:#c8ced8!important}.batch-bar label{color:var(--muted);align-items:center;gap:6px;display:inline-flex}.page-size-control{color:var(--muted);align-items:center;gap:8px;font-size:13px;display:inline-flex}.page-size-control select{min-width:86px}.table-wrap{scrollbar-gutter:stable;width:fit-content;max-width:100%;overflow-x:auto}.data-table{border-collapse:collapse;width:max-content;font-size:13px}.data-table th,.data-table td{text-align:left;vertical-align:middle;white-space:nowrap;border-bottom:1px solid #e7ebf0;padding:9px 10px}.data-table th{color:#4c5563;background:#f7f8fa}.data-table tbody tr:nth-child(2n) td{background:#fcfcfd}.data-table tbody tr:hover td{background:#faf7f4}.product-brief{grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;width:300px;display:grid}.product-brief img{object-fit:cover;border-radius:8px;width:42px;height:42px}.product-brief strong{text-overflow:ellipsis;white-space:nowrap;max-width:230px;display:block;overflow:hidden}code{color:#747b87;font-family:Consolas,monospace;font-size:12px}.badge{color:#765642;background:#f4eee9;border-radius:999px;justify-content:center;align-items:center;min-width:48px;min-height:24px;font-weight:800;display:inline-flex}.badge.off,.admin-shell .badge.disabled{color:#6b7280;background:#f1f2f4}.row-actions,.dialog-actions{gap:8px;display:flex}.modal-backdrop{z-index:1200;background:#2018145c;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.modal{background:var(--white);border-radius:12px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:min(720px,100%);padding:18px;display:grid}.modal h2,.modal .wide,.modal .preview,.modal .dialog-actions{grid-column:1/-1}.modal label{color:var(--muted);gap:7px;font-size:13px;display:grid}.preview{object-fit:contain;justify-self:center;max-width:100%;max-height:220px}.admin-shell .page-tag,.admin-shell .copy-panel,.admin-shell .admin-create,.admin-shell .role-grid article,.admin-shell .banner-form,.admin-shell .banner-dialog,.admin-shell .content-dialog{background:#fff!important;border-color:#e5e7eb!important}.admin-shell .notice,.admin-shell .agreement-preview p,.admin-shell .upload-progress,.admin-shell .ghost,.admin-shell .icon-close{background:#f9fafb!important;border-color:#e5e7eb!important}.admin-shell .banner-preview,.admin-shell .banner-thumb{background:#f3f4f6!important;border-color:#e5e7eb!important}.admin-shell .copy-form label,.admin-shell .agreement-preview,.admin-shell .content-actions,.admin-shell .form-actions span,.admin-shell .banner-form label,.admin-shell .dialog-head span,.admin-shell .content-dialog label,.admin-shell td small,.admin-shell .role-grid p,.admin-shell .page-tag,.admin-shell .ghost,.admin-shell .icon-close,.admin-shell .upload-field span,.admin-shell .upload-note,.admin-shell .upload-progress strong,.admin-shell .role-grid span{color:#6b7280!important}.admin-shell .notice strong,.admin-shell .agreement-preview b,.admin-shell .thumb-button:hover,.admin-shell .title-button:hover{color:#374151!important}.admin-shell .upload-progress span{background:#111827!important}@media (width<=760px){.admin-shell{grid-template-columns:1fr}.side-nav{height:auto;max-height:60vh;position:static}.admin-page{padding:14px}.admin-topbar{flex-direction:column;align-items:flex-start;padding:12px 14px;position:static}.order-alerts{justify-content:flex-start}.modal{grid-template-columns:1fr}}
