@font-face{font-family:TavernBrush;src:url('../media/fonts/MaShanZheng-Regular.ttf') format('truetype');font-display:swap}
:root{--paper:#fff8ea;--canvas:#f8efdc;--cream:#f4e5c7;--ink:#47301e;--muted:#92795b;--line:#e5d3b2;--orange:#bb4724;--green:#626a3d;--gold:#d6a151;--sidebar:236px;font:14px/1.6 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:var(--ink);background:var(--canvas)}*{box-sizing:border-box}body{margin:0;background:var(--canvas)}button,input,textarea,select{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d7a452;outline-offset:3px}img{display:block;max-width:100%}h1,h2,h3,p{margin:0}h1,h2,.brush{font-family:TavernBrush,"STKaiti","KaiTi",serif;font-weight:400}h1{font-size:36px;line-height:1.4}h2{font-size:27px}h3{font-size:16px}small{font-size:12px}.hidden{display:none!important}.workspace{min-height:100vh}.sidebar{position:fixed;top:0;right:auto;bottom:0;left:0;width:var(--sidebar);padding:32px 19px 24px;background:#f2e5c9 url('../media/admin/paper.jpg') repeat;border-right:1px solid #dcc7a5;z-index:30;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:14px;padding:0 7px 27px;border-bottom:1px solid #dfcba5}.brand strong{display:block;font:27px TavernBrush,"STKaiti",serif;white-space:nowrap}.brand small{font-size:10px;letter-spacing:4px;color:#8a6d49}.cup-brand{position:relative;display:flex;align-items:center;justify-content:center;width:38px;height:42px;flex:none;border:2px solid #a57944;border-radius:5px 5px 13px 13px;background:#e8c68d;box-shadow:inset 5px 0 0 #f5d8a3;transform:rotate(-9deg);color:#98723b;font-family:Georgia,serif;font-size:26px}.cup-brand:after{content:'';position:absolute;right:-12px;top:5px;width:11px;height:22px;border:3px solid #ab824b;border-left:0;border-radius:0 12px 12px 0}.nav-caption{padding:25px 18px 12px;color:#a0845c;font-size:11px;letter-spacing:2px}#main-nav{display:flex;flex-direction:column;gap:5px;overflow:auto;scrollbar-width:thin}.nav-item{display:flex;align-items:center;width:100%;gap:14px;position:relative;padding:12px 17px;border:1px solid transparent;background:transparent;border-radius:10px;color:#796044;font-size:14px;text-align:left}.nav-item:hover{background:#f8ecd5}.nav-item.current{background:#fdf4e2;border-color:#e1be8b;box-shadow:0 3px 7px #9d6b2510;color:#9e3d21;font-weight:600}.nav-item.current:before{content:'';position:absolute;left:-20px;height:21px;width:4px;background:var(--orange);border-radius:3px}.nav-icon{width:22px;font-size:19px;text-align:center;color:#97734a}.current .nav-icon{color:var(--orange)}.nav-group-break{height:12px;margin:10px 16px 4px;border-top:1px solid #decda9}.sidebar-bottom{margin-top:auto;padding:25px 14px 0;display:flex;align-items:flex-start;gap:10px;color:#7d7755}.sidebar-bottom strong{font-size:12px;font-weight:500}.sidebar-bottom span:last-child{display:block;font-size:10px;margin-top:3px;color:#a18e6d}.open-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#737e4f;flex:none;margin-top:6px}.main-shell{margin-left:var(--sidebar);min-height:100vh;display:flex;flex-direction:column}.topbar{height:78px;border-bottom:1px solid #e5d6b9;background:#fbf4e6;display:flex;align-items:center;justify-content:space-between;padding:0 40px;gap:20px}.topbar-left,.topbar-right{display:flex;align-items:center;gap:22px}.breadcrumb{font-size:12px;color:#9c8565}.breadcrumb i{font-style:normal;margin:0 12px;color:#c8ad83}.breadcrumb strong{color:#775839;font-weight:500}.today{font-size:12px;color:#947c5e}.access-pill{font-size:11px;padding:5px 10px;background:#edf0dc;border:1px solid #d9dfc1;border-radius:20px;color:#72784c;display:flex;gap:6px}.access-pill .open-dot{width:5px;height:5px;margin-top:6px}.text-button{border:0;padding:4px 0;background:transparent;color:#94775c;font-size:12px}.text-button:hover{color:var(--orange)}.menu-toggle{display:none}.icon-button{border:1px solid transparent;width:32px;height:32px;background:transparent;color:#8d7553;border-radius:7px;font-size:23px;line-height:1}.icon-button:hover{background:#f1e1c1}.page-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 25px;gap:20px}.eyebrow{font-size:9px;letter-spacing:2.4px;color:#a88a61;font-weight:600;margin-bottom:7px}.page-heading h1{display:flex;align-items:center;gap:14px}.heading-dash{display:inline-block;width:24px;height:4px;border-radius:80%;background:#d9943d;transform:rotate(-16deg)}.page-heading p{margin-top:6px;font-size:12px;color:#9a8060}.page-actions{display:flex;align-items:center;gap:9px}.button{border:1px solid #ab4224;border-radius:8px;background:var(--orange);color:#fff9ea;padding:9px 17px;line-height:1.5;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:500;white-space:nowrap;box-shadow:0 2px 0 #8c351011}.button:hover{filter:brightness(.96)}.button.secondary{border-color:#dbc7a5;background:#fff7e8;color:#806346;box-shadow:none}.button.soft{border-color:#e4d1b0;background:#f6e8cb;color:#89663f}.button.green{background:#6b7547;border-color:#667140}.button.danger{background:#fff1e7;color:#a24329;border-color:#e8b79a}.button.small{padding:5px 10px;font-size:11px;border-radius:6px}.button.full{width:100%}#main{width:100%;max-width:1630px;margin:0 auto;padding:31px 40px 25px;flex:1}.workspace-footer{display:flex;justify-content:space-between;gap:20px;padding:24px 40px 18px;color:#af9775;font-size:10px;letter-spacing:.5px}.panel{background:var(--paper);border:1px solid var(--line);border-radius:15px;padding:23px;box-shadow:0 3px 12px #9d704408;margin-bottom:22px}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.panel-head h2{font-size:24px}.panel-head p{font-size:11px;color:#a18c6c;margin-top:2px}.panel-note{font-size:11px;color:var(--muted);margin-top:13px;line-height:1.8}.welcome-grid{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:22px;margin-bottom:23px}.welcome-banner{min-height:219px;position:relative;border:1px solid #e1c59b;border-radius:16px;background:#f0dcb5;overflow:hidden}.welcome-banner:after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,#f7e6c8 0%,#f7e6c8f5 35%,#f7e6c836 66%,transparent)}.welcome-art{position:absolute;right:0;top:0;height:100%;width:65%;object-fit:cover;object-position:center 58%}.welcome-copy{position:relative;z-index:1;padding:27px 28px;width:65%}.welcome-copy .eyebrow{color:#ac7741;margin-bottom:11px}.welcome-copy h2{font-size:34px;color:#513116;white-space:nowrap}.welcome-copy p{color:#8e6c43;font-size:12px;margin-top:8px}.welcome-copy .button{margin-top:21px}.open-card{padding:24px 23px;border:1px solid #dad4b7;border-radius:16px;background:#eaecd9;position:relative;overflow:hidden}.open-card .eyebrow{color:#89926c}.open-card h3{font:25px TavernBrush,"STKaiti",serif;color:#596540;margin:8px 0}.open-card p{font-size:11px;color:#8c9570;margin-bottom:10px;max-width:190px}.open-card .store-line{margin-top:14px;color:#5d6944;font-size:12px;line-height:1.7}.open-card .stamp{position:absolute;right:19px;top:18px;transform:rotate(9deg);font:14px TavernBrush,"STKaiti",serif;border:2px solid #87916377;padding:3px;color:#838d62;border-radius:4px;letter-spacing:2px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:23px}.stat-card{position:relative;padding:22px 21px;background:var(--paper);border:1px solid var(--line);border-radius:13px;min-height:133px;overflow:hidden}.stat-label{color:#897052;font-size:12px}.stat-number{font:36px/1.3 Georgia,serif;color:#65422a;letter-spacing:-1px;margin-top:9px}.stat-foot{color:#af9776;font-size:10px;margin-top:7px}.stat-icon{position:absolute;right:18px;top:20px;width:32px;height:32px;border-radius:50%;background:#f1e3c8;color:#a1855d;display:flex;align-items:center;justify-content:center;font-size:18px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:22px}.chart-wrap{height:217px;display:flex;align-items:stretch;gap:14px;padding-top:18px;border-bottom:1px solid #e8dbc3;background:repeating-linear-gradient(to top,transparent,transparent 45px,#eee2cd 46px,#eee2cd 47px)}.chart-day{flex:1;min-width:0;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;position:relative;gap:8px}.chart-bars{height:165px;width:100%;display:flex;justify-content:center;gap:5px;align-items:flex-end}.chart-bar{width:19px;max-width:35%;min-height:2px;background:#bf6541;border-radius:5px 5px 0 0;position:relative}.chart-bar.orders{background:#a7ad79}.chart-value{position:absolute;left:50%;bottom:100%;transform:translateX(-50%);color:#927557;font-size:9px;white-space:nowrap;padding-bottom:3px}.chart-label{font-size:10px;color:#a08a68;padding:2px 0 8px}.chart-key{display:flex;gap:17px;color:#9a8461;font-size:10px;align-items:center}.chart-key span:before{content:'';display:inline-block;width:6px;height:6px;border-radius:2px;background:#bf6541;margin-right:6px}.chart-key span:last-child:before{background:#a7ad79}.todo-list{display:flex;flex-direction:column;gap:3px}.todo-item{display:flex;align-items:center;gap:13px;width:100%;padding:12px 0;border:0;border-bottom:1px dashed #e7d7b9;background:transparent;text-align:left;color:#785c3f}.todo-item:last-child{border-bottom:0}.todo-symbol{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:#f7e7cb;color:#b18b54;font-size:19px}.todo-copy{flex:1;font-size:12px}.todo-copy small{display:block;color:#aa9270;font-size:10px}.todo-count{font:23px Georgia,serif;color:#a34d2a}.todo-arrow{color:#bda27b;font-size:21px}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.quick-action{border:1px solid #e4d0ac;background:#fcf2df;border-radius:10px;padding:15px 13px;display:flex;align-items:center;gap:11px;text-align:left}.quick-action span{font-size:21px;color:#a48254}.quick-action strong{font-size:12px;font-weight:500}.quick-action small{display:block;color:#a88d68;font-size:10px;margin-top:2px}.toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:20px}.search-input{max-width:260px;flex:1;min-width:180px}.toolbar select{width:auto;min-width:120px}.toolbar input[type=date]{width:160px}.toolbar .spacer{flex:1}.filter-chip{font-size:11px;color:#9c8161}.table-wrap{overflow:auto;min-height:75px}table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:12px}th{text-align:left;padding:12px 13px;color:#9b815f;font-weight:500;background:#f6ecd8;border-bottom:1px solid #e6d3b1;font-size:11px}th:first-child{border-radius:8px 0 0 8px}th:last-child{border-radius:0 8px 8px 0}td{padding:15px 13px;border-bottom:1px solid #eddfc7;color:#72563c;vertical-align:middle}tr:last-child td{border-bottom:0}.cell-main{font-weight:500;color:#624228}.cell-sub{font-size:10px;color:#a38b6b;margin-top:3px}.wrap-cell{white-space:normal;min-width:170px;max-width:360px;line-height:1.65}.row-actions{display:flex;gap:7px;align-items:center}.badge{display:inline-flex;align-items:center;border:1px solid #e8d5af;background:#f6e9cf;color:#9b793f;border-radius:5px;font-size:10px;padding:2px 7px;line-height:1.5;white-space:nowrap}.badge.green{background:#e9eddc;border-color:#d7dec0;color:#727e48}.badge.red{background:#f9e7dc;border-color:#eac7b5;color:#b15e3b}.badge.gray{background:#efeadf;border-color:#e1d9c9;color:#a18d73}.badge.orange{background:#faecd4;color:#b77834}.empty,.failure,.loading-state{padding:45px 22px;text-align:center;color:#a18b6c;font-size:13px}.empty-symbol{font:42px TavernBrush,"STKaiti",serif;color:#c5ae82;display:block;margin-bottom:10px}.failure .button{margin-top:14px}.loading-state .loading-dot{display:inline-block;width:8px;height:8px;background:#c4965c;border-radius:50%;margin-right:9px}.pagination{display:flex;align-items:center;justify-content:space-between;padding-top:18px;border-top:1px solid #eadcc2;margin-top:12px;font-size:11px;color:#a18b69}.pagination-controls{display:flex;align-items:center;gap:11px}.cards-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.product-card{border:1px solid #e4d0ad;border-radius:12px;overflow:hidden;background:#fff8e9}.product-photo{height:163px;width:100%;object-fit:cover;background:#f0dfbd}.product-body{padding:17px}.product-heading{display:flex;justify-content:space-between;gap:10px;margin-bottom:7px;align-items:center}.product-heading h3{font:22px TavernBrush,"STKaiti",serif}.product-description{font-size:11px;color:#a68c68;line-height:1.6;min-height:36px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-price{font:26px Georgia,serif;color:#aa4a2c}.product-meta{display:flex;justify-content:space-between;align-items:center;margin:15px 0}.product-stock{font-size:11px;color:#9b835f}.product-actions{display:flex;flex-wrap:wrap;gap:8px;border-top:1px dashed #e4d2b3;padding-top:13px}.product-actions .button:first-child{flex:1}.event-card{padding:22px;position:relative;overflow:hidden;border:1px solid #e3cba6;border-radius:13px;background:#fff6e3}.event-card h3{font:27px TavernBrush,"STKaiti",serif;margin:10px 0;color:#63452b}.event-card p{font-size:12px;color:#9d8060;line-height:1.8;min-height:44px}.event-progress{height:6px;background:#eee0c1;border-radius:5px;overflow:hidden;margin:15px 0 7px}.event-progress>span{height:100%;display:block;background:#a3ab75;border-radius:5px}.event-detail{display:flex;justify-content:space-between;font-size:11px;color:#a18b64;margin-bottom:18px}.event-card .row-actions{border-top:1px dashed #dfc9a1;padding-top:16px}.avatar{width:38px;height:38px;border-radius:50%;object-fit:cover;background:#e7d9bd;flex:none}.person{display:flex;align-items:center;gap:11px}.rank-medal{font:23px Georgia,serif;color:#b98645}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:22px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 22px}.field{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#846746}.field.wide{grid-column:1/-1}.field>span{font-weight:500}.field small{font-size:10px;color:#aa9472}.field-checkbox{display:flex;align-items:center;flex-direction:row;gap:9px;min-height:40px}.field-checkbox input{width:16px;height:16px;accent-color:var(--orange);padding:0}.required-mark{color:#ba4f2c;margin-left:3px}input,select,textarea{background:#fffaf0;border:1px solid #dcc7a4;border-radius:7px;line-height:1.5;font-size:12px;padding:10px 12px;width:100%;outline-offset:2px}input::placeholder,textarea::placeholder{color:#baa585}input[readonly]{background:#f1e8d6;color:#a18c6b}textarea{min-height:104px;resize:vertical}.form-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #e7d7ba;margin-top:25px;padding-top:19px}.form-error{padding:10px 13px;background:#fff0e4;color:#a84526;border:1px solid #edc5aa;border-radius:7px;font-size:12px;margin-top:18px}.hint-box{font-size:12px;line-height:1.9;color:#95805c;border-left:3px solid #d9b779;background:#f7edda;padding:13px 17px;border-radius:0 7px 7px 0;margin-bottom:22px}.image-field{display:flex;gap:12px;align-items:center}.image-field img{width:75px;height:64px;object-fit:cover;border-radius:7px;border:1px solid #e4cfa9;background:#f4e4c4}.image-field .image-controls{flex:1}.image-field .button{margin-top:8px}.image-field input{font-size:10px}.dialog{padding:27px 30px;border:1px solid #d8bc8e;border-radius:18px;background:#fff7e6;color:var(--ink);width:min(740px,94vw);max-height:90vh;overflow:auto;box-shadow:0 22px 75px #48281030}.dialog::backdrop{background:#2f261866;backdrop-filter:blur(2px)}.dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding-bottom:19px;border-bottom:1px solid #e3ceaa;margin-bottom:22px}.dialog-head h2{font-size:29px}.dialog-head .eyebrow{margin-bottom:3px}.dialog .panel{padding:17px;margin-bottom:15px;background:#fffaf0}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px;margin-bottom:20px}.detail-label{font-size:10px;color:#ac9471;display:block;margin-bottom:4px}.detail-value{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.detail-wide{grid-column:1/-1}.detail-title{font:22px TavernBrush,"STKaiti",serif;border-bottom:1px dashed #e5cda8;padding-bottom:10px;margin:20px 0 12px}.note-line{padding:12px;background:#f4e6c9;border-radius:7px;font-size:12px;line-height:1.8;color:#896b46}.media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.media-card{border:1px solid #e4cda8;border-radius:10px;overflow:hidden;background:#fffaf0}.media-image{width:100%;height:150px;object-fit:contain;background:#f2e5cc}.media-info{padding:10px 12px;font-size:11px;color:#896d4a;overflow-wrap:anywhere}.media-info small{display:block;color:#ad9672;margin-top:3px}.media-info .button{margin-top:10px}.media-picker-card{width:100%;text-align:left;padding:0;cursor:pointer}.media-picker-card:hover{border-color:#bd6b3e;box-shadow:0 0 0 2px #c3793a22}.upload-zone{border:1px dashed #cfaa75;border-radius:10px;padding:25px;text-align:center;background:#fbf0da;margin-bottom:22px}.upload-zone p{font-size:11px;color:#a38963;margin:7px 0 14px}.upload-zone input{max-width:350px;background:transparent;border:0;font-size:11px}.faq-editor{display:flex;flex-direction:column;gap:16px}.faq-row{border:1px solid #e3cda6;border-radius:10px;padding:18px;background:#fffaf0}.faq-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.faq-head strong{font:20px TavernBrush,"STKaiti",serif;color:#8b6036}.faq-row .field+.field{margin-top:12px}.seat-view{display:grid;grid-template-columns:240px 1fr;gap:25px;align-items:center;padding:16px;border-radius:12px;background:#f5ead4;border:1px solid #e7d3af;margin-bottom:23px}.table-illustration{position:relative;width:220px;height:177px;margin:auto}.table-felt{position:absolute;top:35px;right:26px;bottom:35px;left:26px;border:12px solid #8b5b30;box-shadow:inset 0 0 0 3px #c69552;background:#596340;border-radius:45%;display:flex;align-items:center;justify-content:center;color:#f4e7bc;font:19px TavernBrush,"STKaiti",serif}.seat-mini{position:absolute;width:31px;height:31px;display:flex;align-items:center;justify-content:center;border-radius:50%;border:3px solid #977146;background:#798155;color:#fff5ce;font-size:10px;box-shadow:inset 0 0 0 2px #5d643c}.seat-mini.occupied{background:#bc5732;border-color:#8b492d;box-shadow:inset 0 0 0 2px #d98a52}.seat-mini.s1{left:52px;top:0}.seat-mini.s2{right:52px;top:0}.seat-mini.s3{left:0;top:42px}.seat-mini.s4{right:0;top:42px}.seat-mini.s5{left:0;bottom:30px}.seat-mini.s6{right:0;bottom:30px}.seat-mini.s7{left:49px;bottom:0}.seat-mini.s8{right:49px;bottom:0}.seat-mini.s9{left:94.5px;bottom:-6px}.seat-summary h3{font:24px TavernBrush,"STKaiti",serif;margin-bottom:7px}.seat-summary p{font-size:11px;color:#a08760;margin-bottom:13px}.seat-summary .toolbar{margin:0}.seat-legend{display:flex;gap:20px;font-size:10px;color:#9b835f;margin-top:11px}.seat-legend span:before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#798155;margin-right:5px}.seat-legend span:last-child:before{background:#bc5732}.notice{position:fixed;bottom:27px;left:calc(50% + 90px);transform:translateX(-50%);max-width:80vw;background:#687343;color:#fff9e7;border:1px solid #53602e;border-radius:9px;box-shadow:0 5px 22px #553e2026;padding:12px 22px;font-size:13px;z-index:100}.notice.error{background:#ae4e2e;border-color:#964222}.access-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:25px;background:#f7ecd5 url('../media/admin/paper.jpg') repeat}.access-card{text-align:center;max-width:590px;padding:50px 48px;border:1px solid #dec7a0;background:#fff7e7;border-radius:20px;box-shadow:0 15px 55px #85622b0e}.access-card .cup-brand{margin:0 auto 30px;width:46px;height:50px}.access-card h1{font-size:30px;margin:12px 0}.access-card p:not(.eyebrow){font-size:13px;color:#a58b66;line-height:1.9}.access-card .button{margin-top:22px}.sensitive-note{font-size:11px;color:#a08661;padding-top:12px}.audit-detail{font:10px/1.7 ui-monospace,SFMono-Regular,monospace;max-width:500px;white-space:pre-wrap;overflow-wrap:anywhere;color:#a28a69}
@media(min-width:1500px){.cards-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.welcome-banner{min-height:237px}.welcome-copy{padding:31px}.welcome-copy h2{font-size:40px}}
@media(max-width:1180px){:root{--sidebar:205px}.sidebar{padding-left:14px;padding-right:14px}.brand strong{font-size:24px}.brand{gap:12px}.topbar{padding:0 25px}#main{padding:28px 25px}.welcome-grid{grid-template-columns:minmax(0,1fr) 230px;gap:16px}.welcome-copy h2{font-size:30px}.welcome-copy{padding:25px 22px;width:75%}.welcome-copy p{font-size:11px}.stats-grid{gap:12px}.stat-card{padding:20px 16px}.dashboard-grid{grid-template-columns:1.4fr 1fr;gap:16px}.cards-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.today{display:none}.media-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.quick-grid{grid-template-columns:repeat(2,1fr)}.workspace-footer{padding:22px 25px}}
@media(max-width:850px){:root{--sidebar:0px}.sidebar{width:236px;transform:translateX(-100%);box-shadow:15px 0 50px #67411822}.sidebar.is-open{transform:none}.menu-toggle{display:block}.topbar{height:65px;padding:0 20px}.topbar-left{gap:9px}.topbar-right{gap:12px}.access-pill{display:none}#main{padding:23px 20px}.page-heading h1{font-size:31px}.page-heading p{max-width:380px}.dashboard-grid,.two-col{grid-template-columns:1fr}.welcome-grid{grid-template-columns:1fr 220px}.stats-grid{grid-template-columns:repeat(2,1fr)}.stat-card{min-height:122px}.notice{left:50%}.workspace-footer{padding:18px 20px}.form-grid{gap:16px}.sidebar-bottom{padding-bottom:15px}}
@media(max-width:600px){.welcome-grid{grid-template-columns:1fr}.open-card{padding:20px;min-height:130px}.open-card .store-line{margin-top:8px}.open-card p{max-width:none}.welcome-copy{width:80%}.welcome-banner{min-height:210px}.welcome-art{width:80%}.page-heading{align-items:flex-start;flex-direction:column;gap:15px}.page-actions{width:100%}.page-actions .button{flex:1}.panel{padding:18px 15px}.cards-grid{grid-template-columns:1fr}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid,.detail-grid{grid-template-columns:1fr}.field.wide,.detail-wide{grid-column:auto}.toolbar select{flex:1}.search-input{max-width:none}.toolbar input[type=date]{width:auto;flex:1;min-width:140px}.dialog{padding:22px 18px}.seat-view{grid-template-columns:1fr}.seat-summary{text-align:center}.seat-summary .toolbar,.seat-legend{justify-content:center}.workspace-footer{font-size:9px;flex-direction:column;gap:4px}.access-card{padding:40px 25px}.access-card h1{font-size:27px}.panel-head{align-items:flex-start}.chart-wrap{gap:6px}.chart-bar{width:14px}.chart-value{font-size:8px}.topbar-right .text-button{font-size:11px}.breadcrumb{font-size:11px}.stat-number{font-size:33px}}
/* Keep all eleven destinations visible on common 720px desktop windows. */
@media(min-width:851px) and (max-height:800px){
  .sidebar{padding-top:20px;padding-bottom:14px;}
  .sidebar .brand{padding-bottom:15px;flex-shrink:0;}
  .sidebar .nav-caption{padding-top:12px;padding-bottom:6px;flex-shrink:0;}
  #main-nav{gap:2px;min-height:0;}
  .sidebar .nav-item{padding-top:6px;padding-bottom:6px;min-height:34px;line-height:20px;flex-shrink:0;}
  .sidebar .nav-icon{font-size:18px;line-height:1;}
  .sidebar .nav-group-break{height:4px;min-height:4px;margin-top:6px;margin-bottom:4px;flex-shrink:0;}
  .sidebar .sidebar-bottom{padding-top:14px;line-height:1.4;flex-shrink:0;}
}

/* Current mini-program palette and original extracted materials. */
:root{--paper:#efdab1;--canvas:#2d2118;--cream:#e4c898;--ink:#382619;--muted:#765936;--line:#aa8047;--orange:#8f3e20;--green:#294c3c;--gold:#d2a35b;--sidebar:248px;background:#2d2118}
body{background:linear-gradient(#271a12b8,#271a12b8),url('../media/admin/western/wood-tile.jpg') repeat;background-size:auto,440px 440px}
.sidebar{background:linear-gradient(#20170dbc,#20170dbc),url('../media/admin/western/wood-tile.jpg') repeat;background-size:auto,320px 320px;border-right:3px double #9a753b;box-shadow:8px 0 24px #100b0870;padding:20px 16px 22px;color:#ead1a0}
.brand{flex-direction:column;gap:4px;padding:0 0 16px;border-bottom:1px solid #9d783d66;flex-shrink:0}.brand-plaque{width:210px;aspect-ratio:501/285;object-fit:contain;mix-blend-mode:lighten}.brand-subtitle{font-size:11px;letter-spacing:5px;color:#e5c388}.nav-caption{color:#bfa06f;padding:19px 15px 10px;font-size:10px;letter-spacing:3px}
.nav-item{border-radius:7px;color:#d5bd92;padding:10px 14px;min-height:42px;flex-shrink:0;font-size:13px;border:1px solid transparent;transition:background .15s,border-color .15s}.nav-item:hover{color:#fff0cc;background:#b2863930;border-color:#806032}.nav-item.current{color:#ffefc6;background:linear-gradient(115deg,#365743,#193c30);border-color:#c49b55;box-shadow:inset 0 0 0 2px #182f23,inset 0 0 0 3px #8d713f,0 3px 8px #08070477}.nav-item.current:before{left:-11px;width:3px;background:#e3b769;height:19px;box-shadow:0 0 7px #dfa74d99}.nav-group-break{border-color:#85663866}.nav-icon,.current .nav-icon{color:#e9c784}.sidebar-bottom{color:#e2c797;border-top:1px solid #9d783d44;margin-top:auto;padding:19px 12px 0}.sidebar-bottom span:last-child{color:#bda582}.open-dot{background:#b7c484;box-shadow:0 0 0 3px #aabb6820}
.topbar{background:linear-gradient(100deg,#21190ff2,#38271bf2);border-bottom:1px solid #8d6b3c;box-shadow:0 3px 12px #120a0630;height:72px}.breadcrumb{color:#b89b6e}.breadcrumb strong{color:#f0d5a5}.breadcrumb i{color:#896f48}.today{color:#c5a87a}.access-pill{background:#213c2f;border-color:#7b8c57;color:#d7dfb1}.topbar .text-button,.topbar .icon-button{color:#e0c496}.icon-button:hover{background:#96704433}.page-heading{padding:8px 0 22px;border-bottom:1px solid #aa854440;margin-bottom:25px}.page-heading h1{color:#f8e5bd;text-shadow:0 2px 2px #0e0805;font-size:38px}.page-heading .eyebrow{color:#d1a964;letter-spacing:3px}.page-heading p{color:#cfb28a}.heading-dash{width:34px;height:1px;background:#ca9e51;transform:none;position:relative}.heading-dash:after{content:'✦';position:absolute;right:-13px;top:-8px;font:15px Georgia,serif;color:#ca9e51}.workspace-footer{color:#bd9c6f;border-top:1px solid #9d783d33;margin:0 40px;padding-left:0;padding-right:0}
.button{background:linear-gradient(#a6552a,#833619);border-color:#d09c58;color:#fff0c9;border-radius:7px;box-shadow:inset 0 0 0 2px #693014,inset 0 0 0 3px #b47d40,0 2px 3px #2c180833;padding:10px 18px}.button:hover{filter:brightness(1.1)}.button.secondary{background:linear-gradient(#f1ddb6,#e5c590);color:#55351c;border-color:#a77c40;box-shadow:inset 0 0 0 2px #f7e5bf60}.button.soft{background:#dfc08c;color:#4d321e;border-color:#a77c40}.button.green{background:linear-gradient(#385c44,#234633);border-color:#b29c60;box-shadow:inset 0 0 0 2px #1b3528,inset 0 0 0 3px #8d9251;color:#f3e4b8}.button.danger{background:#eed0aa;border-color:#b77e51;color:#8c311a;box-shadow:none}.button.small{padding:6px 11px}.page-actions>.button.secondary{background:#402e1d;color:#f0d4a0;border-color:#947245}
.panel,.stat-card{background-color:#eed7ab;background-image:linear-gradient(#f1deb4c9,#f1deb4c9),url('../media/admin/western/paper.jpg');background-size:auto,320px 280px;border:1px solid #c49b5b;box-shadow:inset 0 0 0 3px #f7e7c66e,inset 0 0 0 4px #a5814433,0 5px 16px #10080438;border-radius:11px}.panel-head{padding-bottom:13px;border-bottom:1px solid #b897614c;margin-bottom:17px}.panel-head h2{color:#4a2d17;font-size:25px}.panel-head p,.panel-note{color:#80613c}.panel-head:before{content:'✦';color:#a27434;font-size:13px;order:-1}.panel-head>div{flex:1}.stat-card{padding:23px;min-height:143px}.stat-label{color:#705132;font-size:12px}.stat-number{font-size:38px;color:#422914;font-variant-numeric:tabular-nums}.stat-foot{color:#826542}.stat-icon{background:linear-gradient(135deg,#edcf8b,#ba8641);border:2px solid #8b622c;color:#573215;box-shadow:inset 0 0 0 2px #f8de9d,0 2px 3px #6d472a40;width:35px;height:35px}
.welcome-grid{grid-template-columns:minmax(0,1fr) 285px}.welcome-banner{background:#372415;border:2px solid #b38a4d;border-radius:12px;min-height:246px;box-shadow:inset 0 0 0 3px #22190d,0 4px 14px #10090566}.welcome-art{width:65%;object-fit:cover;object-position:center;height:100%}.welcome-banner:after{background:linear-gradient(90deg,#302014 0%,#302014fa 27%,#302014b8 47%,#30201400 68%)}.welcome-copy{padding:30px;width:65%}.welcome-copy .eyebrow{color:#d5aa65;font-size:9px;letter-spacing:2px}.welcome-copy h2{font-size:43px;color:#ffebbe;text-shadow:0 3px 4px #080501}.welcome-copy p{font-size:12px;color:#d6b689;max-width:235px;line-height:1.8}.welcome-copy .button{margin-top:24px}.open-card{border:2px solid #ae9358;background:linear-gradient(#193b2ee8,#193b2ee8),url('../media/admin/western/felt.jpg');background-size:auto,300px;border-radius:11px;box-shadow:inset 0 0 0 3px #112b20,inset 0 0 0 4px #a8904d66;color:#e8d6a7}.open-card .eyebrow{color:#c6b478}.open-card h3{color:#f4e5b7}.open-card p{color:#c4c7a3}.open-card .store-line{color:#e1d4ab;margin:13px 0}.open-card .stamp{border-color:#ae9a56;color:#daca91;font-size:13px}.open-card .button.secondary{background:#375741;border-color:#9c915a;color:#ede1b8;box-shadow:none}
.chart-wrap{border-color:#ad8a50;background:repeating-linear-gradient(to top,transparent,transparent 45px,#a7814440 46px,#a7814440 47px)}.chart-bar{background:linear-gradient(#b8773b,#88451f);border:1px solid #a16a2d;border-radius:3px 3px 0 0}.chart-label,.chart-value,.chart-key{color:#775632}.todo-copy{color:#523820}.todo-copy small{color:#856640}.todo-count{color:#8e3d20}.todo-symbol{background:#d4b477;color:#5c3e20;border:1px solid #ad8648}.todo-item{border-color:#b5945f55}.quick-action{background:#ead0a0 url('../media/admin/western/paper.jpg');background-size:280px;border:1px solid #b28a4d;border-radius:8px;box-shadow:inset 0 0 0 2px #fae9c575}.quick-action strong{color:#53391f}.quick-action small{color:#7b5f3b}.quick-action span{color:#896031}.quick-action:hover{border-color:#825628;background-color:#f7e3be}
th{background:#d8b982;color:#654524;border-bottom-color:#b18c52}td{color:#513923;border-bottom-color:#bd9a5e4d}.cell-main{color:#422c19}.cell-sub{color:#856842}.table-wrap{border-radius:7px}.pagination{border-color:#b494604d;color:#785c3a}.badge{border-color:#b5975f;background:#e5c993;color:#765021}.badge.green{background:#c7d0aa;border-color:#9ba775;color:#3d522b}.badge.red{background:#e8b896;border-color:#c38b67;color:#843b23}.badge.gray{background:#dcd0b7;border-color:#b6a58a;color:#74634c}.badge.orange{background:#efd197;color:#855326;border-color:#bd9352}
.product-card,.event-card,.media-card,.faq-row{background:#efdab3;border-color:#b78f54;box-shadow:inset 0 0 0 2px #fff0cd55,0 3px 8px #3b221315}.product-heading h3,.event-card h3{color:#4b3019}.product-description,.product-stock,.event-card p,.event-detail,.media-info,.media-info small{color:#7c5e3a}.product-price{color:#8f3e20}.product-actions,.event-card .row-actions{border-color:#b5905355}.event-progress{background:#d0b787}.event-progress>span{background:#476344}.media-image{background:#dbc393}.upload-zone{background:#e2c594;border-color:#a37d42}.upload-zone p{color:#745434}
.field{color:#634322}.field small,.detail-label,.sensitive-note{color:#80613d}input,select,textarea{background:#fff2d6;border-color:#b38d52;color:#3f2c1c}input::placeholder,textarea::placeholder{color:#9b805b}input[readonly]{background:#dfcba6;color:#7f6949}.form-actions,.dialog-head{border-color:#b7935755}.hint-box,.note-line{background:#ddc18f;border-color:#9b763f;color:#6e502e}.form-error{background:#eed0b1;border-color:#b87952;color:#822e16}.dialog{background:#efd9af url('../media/admin/western/paper.jpg');background-size:360px;color:#382619;border:3px double #9f773d;box-shadow:0 30px 100px #090603bb;border-radius:13px}.dialog::backdrop{background:#120d09b8;backdrop-filter:blur(3px)}.dialog .panel{background:#f6e5c5}.dialog .eyebrow{color:#926735}.dialog .icon-button{color:#6f4828}.detail-title{border-color:#af8648;color:#573a20}.audit-detail{color:#765937}
.seat-view{background:linear-gradient(#2a1e14a8,#2a1e14a8),url('../media/admin/western/wood-tile.jpg');background-size:auto,340px;border:2px solid #ad884c;box-shadow:inset 0 0 0 3px #312414;color:#ead8ad;border-radius:11px;padding:23px 20px}.table-felt{background:#2e4c35 url('../media/admin/western/felt.jpg');background-size:170px;border-color:#805627;box-shadow:inset 0 0 0 2px #b79957,0 0 0 2px #c3a16a;color:#f4e4b6}.seat-mini{background:#375137 url('../media/admin/western/seat-green.jpg') center/cover;border-color:#bb9555;box-shadow:0 2px 4px #090704;color:#fff1b9;font-weight:600}.seat-mini.occupied{background:#853d23 url('../media/admin/western/seat-red.jpg') center/cover;border-color:#bb8550}.seat-summary h3{color:#f5dfad}.seat-summary p,.seat-legend{color:#d4bc91}.seat-summary input,.seat-summary select{background:#3d2c1b;color:#efdaad;border-color:#9b7b47}.seat-summary .toolbar label{color:#d9bc8a}
.empty,.failure,.loading-state{color:#80613c}.empty-symbol{color:#a67b3b}.notice{background:#294f39;border:1px solid #b69a58;color:#f2e5b7;box-shadow:0 5px 25px #100b0799}.notice.error{background:#873c24;border-color:#cb9664}.access-screen{background:linear-gradient(#21160bac,#21160bac),url('../media/admin/western/wood-tile.jpg');background-size:auto,420px}.access-card{background:#eed6a8 url('../media/admin/western/paper.jpg');border:3px double #b68c48;border-radius:12px;box-shadow:0 15px 60px #0008}.access-brand{margin:0 auto 22px;mix-blend-mode:normal;border-radius:8px}.access-card p:not(.eyebrow){color:#775633}
@media(max-width:1180px) and (min-width:851px){:root{--sidebar:215px}.brand-plaque{width:183px}.welcome-grid{grid-template-columns:minmax(0,1fr) 240px}.welcome-copy{padding:25px 22px}.welcome-copy h2{font-size:36px}}
@media(max-width:850px){:root{--sidebar:0px}.sidebar{width:248px}.topbar{height:65px}.welcome-grid{grid-template-columns:1fr 225px}.welcome-copy h2{font-size:35px}.workspace-footer{margin:0 20px}.page-heading h1{font-size:33px}}
@media(max-width:600px){.welcome-grid{grid-template-columns:1fr}.welcome-banner{min-height:228px}.welcome-copy{width:76%;padding:27px 23px}.welcome-copy h2{font-size:38px}.welcome-art{width:72%;opacity:.75}.open-card{min-height:165px}.stat-card{padding:18px 16px;min-height:141px}.stat-number{font-size:30px}.stat-icon{width:28px;height:28px;right:13px;top:15px;font-size:14px}.stat-foot{max-width:125px;line-height:1.7}.sidebar .nav-item{min-height:42px}.seat-view{padding:22px 12px}.page-heading{padding-bottom:17px}.welcome-copy p{max-width:210px}.workspace-footer{line-height:1.8}}
@media(min-width:851px) and (max-height:800px){.sidebar .brand{padding-bottom:10px}.brand-plaque{width:155px;height:88px}.brand-subtitle{font-size:9px}.sidebar .nav-item{min-height:34px;padding-top:6px;padding-bottom:6px}.sidebar .nav-caption{padding-top:11px}.sidebar .sidebar-bottom{padding-top:10px}}

/* Consistent brass line icons, replacing platform-dependent symbol glyphs. */
[data-page="summary"]{--nav-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23e4c38b%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2011%2012%203l9%208M5%2010v11h5v-6h4v6h5V10%22%2F%3E%3C%2Fsvg%3E")}
[data-page="reservations"]{--nav-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23e4c38b%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%226%22%20width%3D%2214%22%20height%3D%2212%22%20rx%3D%225%22%2F%3E%3Cpath%20d%3D%22M8%203v3m8-3v3M8%2018v3m8-3v3M2%2010h3m14%200h3M2%2015h3m14%200h3%22%2F%3E%3C%2Fsvg%3E")}
[data-page="orders"]{--nav-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23e4c38b%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h12v18l-3-2-3%202-3-2-3%202zM9%207h6m-6%204h6m-6%204h4%22%2F%3E%3C%2Fsvg%3E")}
[data-page="products"]{--nav-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23e4c38b%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%203h7v18H4zM11%203h9v18h-9M7%207h1m6%200h3m-3%204h3m-3%204h3%22%2F%3E%3C%2Fsvg%3E")}
[data-page="events"]{--nav-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23e4c38b%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%204h16v17H4zM8%202v4m8-4v4M4%209h16m-8%203%201%202%202%20.3-1.5%201.5.4%202.2-1.9-1-1.9%201%20.4-2.2L9%2014.3l2-.3z%22%2F%3E%3C%2Fsvg%3E")}
[data-page="members"]{--nav-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23e4c38b%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%227%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M4%2021v-2a8%208%200%200%201%2016%200v2z%22%2F%3E%3C%2Fsvg%3E")}
[data-page="inquiries"]{--nav-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23e4c38b%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%205h18v14H3zM3%205l9%208%209-8%22%2F%3E%3C%2Fsvg%3E")}
[data-page="leaderboard"]{--nav-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23e4c38b%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203h10v6a5%205%200%200%201-10%200zM7%205H3v3a5%205%200%200%200%205%205m9-8h4v3a5%205%200%200%201-5%205M12%2014v6m-5%201h10%22%2F%3E%3C%2Fsvg%3E")}
[data-page="content"]{--nav-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23e4c38b%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%226%22%20y%3D%222%22%20width%3D%2212%22%20height%3D%2220%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M10%205h4m-4%2014h4M9%209h6v6H9z%22%2F%3E%3C%2Fsvg%3E")}
[data-page="accounts"]{--nav-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23e4c38b%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%223%22%2F%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%229%22%20r%3D%222.5%22%2F%3E%3Cpath%20d%3D%22M2.5%2020c.5-4%202.4-6%205.5-6s5%202%205.5%206M13%2015c3.8-.8%207%201%208.5%205%22%2F%3E%3C%2Fsvg%3E")}
[data-page="store"]{--nav-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23e4c38b%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%209l2-6h14l2%206M3%209v3h18V9M5%2012v9h14v-9M9%2021v-6h6v6M8%203%207%209m5-6v6m4-6%201%206%22%2F%3E%3C%2Fsvg%3E")}
[data-page="media"]{--nav-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23e4c38b%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%2218%22%20height%3D%2218%22%20rx%3D%222%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%228%22%20r%3D%222%22%2F%3E%3Cpath%20d%3D%22m3%2018%206-6%204%204%203-4%205%205%22%2F%3E%3C%2Fsvg%3E")}
[data-page="audit"]{--nav-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23e4c38b%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%205h13M8%2012h13M8%2019h13M3%204v2m0%205v2m0%205v2%22%2F%3E%3C%2Fsvg%3E")}
.nav-icon{font-size:0!important;flex:none;width:21px;height:23px;background:var(--nav-art) center/21px 21px no-repeat}.nav-item.current .nav-icon{filter:brightness(1.15)}

/* Membership thresholds use the existing parchment and brass palette. */
.membership-preview{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:12px}.membership-tier{display:flex;flex-direction:column;gap:10px;padding:20px 17px;border:1px solid #a27b44;border-radius:8px;background:linear-gradient(145deg,#f4dfb8,#dfc08e);position:relative}.membership-tier strong{font-size:23px;color:#47301b}.membership-tier>span:last-child{font:13px/1.6 system-ui,sans-serif;color:#745330}.tier-order{font:17px Georgia,serif;color:#977449}.tier-1{border-color:#9b9e9b}.tier-2{border-color:#b58d36}.tier-3{border-color:#8d9f91}.tier-4{border-color:#809caa}.tier-5{border-color:#967496}.tier-6{border:2px solid #a17126;background:linear-gradient(145deg,#edcf87,#d4ad63)}
[data-page="membership"]{--nav-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23e4c38b%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203h10v6a5%205%200%200%201-10%200zM7%205H3v3a5%205%200%200%200%205%205m9-8h4v3a5%205%200%200%201-5%205M12%2014v6m-5%201h10%22%2F%3E%3C%2Fsvg%3E")}

/* Persistent, high-contrast work-order reminder, without flashing. */
.point-alert{position:sticky;top:0;z-index:25;display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 36px 0;padding:17px 22px;background:#872e20;color:#fff2d6;border:2px solid #e5b466;border-radius:10px;box-shadow:0 4px 15px #230b0755}.point-alert strong{font-size:22px;letter-spacing:.5px}.point-alert p{margin:7px 0 0;font:13px/1.6 system-ui,sans-serif;color:#ffdfb5}.point-alert .button{white-space:nowrap;background:#f4d6a0;color:#632313;border-color:#ffedbe;box-shadow:none;font-weight:700}.nav-count{margin-left:auto;min-width:23px;padding:3px 6px;border-radius:12px;background:#b32e24;color:#fff5d9;font:700 12px/1.3 system-ui,sans-serif;text-align:center;border:1px solid #efaa64}.request-amount{font-size:19px;color:#8e301d}@media(max-width:700px){.point-alert{margin:12px 12px 0;padding:14px;gap:10px}.point-alert strong{font-size:18px}.point-alert p{font-size:12px}.point-alert .button{padding:10px}}
[data-page="withdrawals"]{--nav-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23e4c38b%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M7%203h10v6a5%205%200%200%201-10%200zM7%205H3v3a5%205%200%200%200%205%205m9-8h4v3a5%205%200%200%201-5%205M12%2014v6m-5%201h10%22%2F%3E%3C%2Fsvg%3E")}

.seat-mini.reserved{background:#ad8234;border-color:#efd085;color:#fff5d5}.table-felt{overflow-wrap:anywhere;word-break:break-all;padding:16px;box-sizing:border-box}.seat-view+.seat-view{margin-top:20px}.seat-summary h3{overflow-wrap:anywhere}
.seating-tables{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,440px),1fr));gap:22px}.seating-table{padding:20px;border:1px solid var(--line,#d9c7a8);border-radius:16px;background:#f6ecd7}.seating-table h3{font-size:22px;margin:0 0 18px;overflow-wrap:anywhere}.seating-seats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.seating-seat{display:flex;flex-direction:column;align-items:flex-start;gap:10px;min-width:0;padding:14px 10px;border:1px solid #c5ccb8;border-radius:12px;background:#f1f3e7}.seating-seat.reserved{background:#efe1c5;border-color:#cfb07a}.seating-seat.occupied{background:#e4dbca;border-color:#bbae94}.seating-seat strong{font-size:21px}.seating-seat small{font-size:11px;color:#78644d;overflow-wrap:anywhere}.seating-nickname{font-weight:600;font-size:14px;overflow-wrap:anywhere}.seating-overdue{font-size:12px;color:#9e3c22}.seating-seat .row-actions{margin-top:auto;gap:6px}.seating-seat .button{white-space:normal}.seating-member-list{display:flex;flex-direction:column;gap:10px;max-height:50vh;overflow-y:auto;margin-top:16px}.seating-member-list .button{text-align:left}.seating-member-search{padding:12px;width:100%;border:1px solid #cdb894;border-radius:10px}@media(max-width:520px){.seating-table{padding:10px}.seating-seats{gap:6px}.seating-seat{padding:10px 7px}.seating-seat .button{font-size:11px;padding:7px}.seating-seat .badge{font-size:11px}}
.summary-period{margin-bottom:18px}.summary-period select{min-width:150px}.period-separator{color:var(--muted);font-size:12px}.chart-wrap{overflow-x:auto;justify-content:flex-start}.chart-day{min-width:54px;flex:1}.chart-wrap .chart-day:only-child{max-width:140px}
.summary-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.summary-side-stack{display:flex;flex-direction:column;gap:22px}.summary-side-stack .panel{margin-bottom:0}.chart-bar.poker{background:#b75c3a}.chart-bar.bar{background:#788450}.chart-key{margin-bottom:4px}.chart-key span:first-child:before{background:#b75c3a}.chart-key span:last-child:before{background:#788450}.revenue-split-row{padding:10px 0}.revenue-split-row+.revenue-split-row{border-top:1px dashed #e4d1b1}.revenue-split-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#755637;font-size:12px}.revenue-split-head span{font:15px Georgia,serif}.revenue-split-track{height:8px;margin-top:9px;background:#eee0c5;border-radius:999px;overflow:hidden}.revenue-split-track i{display:block;height:100%;min-width:0;border-radius:999px;background:#b75c3a}.revenue-split-track i.bar{background:#788450}.bar-settled{font-weight:600;color:#6b7848!important}.summary-recent{grid-template-columns:1fr}.summary-recent>.panel,.summary-detail-grid>.panel,.summary-people-grid>.panel{min-width:0}.member-cell{display:flex;align-items:center;gap:9px}.new-member-list{display:flex;flex-direction:column;gap:7px}.new-member-item{width:100%;border:1px solid #e5cea7;border-radius:9px;background:#fff7e6;padding:10px 12px;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;text-align:left}.new-member-item:hover{border-color:#c59152;background:#fff1d7}.new-member-time{font-size:10px;color:#a58b68}.new-member-open{font-size:11px;color:#a65030}
@media(max-width:1100px){.summary-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.summary-recent,.summary-detail-grid,.summary-people-grid{grid-template-columns:1fr}}
@media(max-width:600px){.summary-stats{grid-template-columns:1fr}.summary-side-stack{gap:0}.summary-side-stack .panel{margin-bottom:22px}}

.points-current{padding:22px 24px;margin-bottom:24px;background:#e5c795;border:1px solid #b28b4d;border-radius:10px}.points-current-member{font-size:16px;color:#674625;overflow-wrap:anywhere;margin-bottom:16px}.points-current-label{font-size:16px;color:#6e502e}.points-current-value{display:block;margin-top:8px;font-size:clamp(26px,4vw,42px);line-height:1.25;color:#462913;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}

.staff-login{text-align:left;margin:25px 0 16px;display:grid;gap:16px}.staff-login label{font-size:13px;color:#795431}.staff-login input{margin-top:7px;width:100%}.staff-login-error{font-size:13px;color:#9c311f!important;min-height:0}.person .cell-sub{white-space:pre-wrap;overflow-wrap:anywhere;max-width:260px;line-height:1.6}

.redemption-evidence{display:block;max-width:100%;max-height:70vh;object-fit:contain;margin:20px auto;background:#fff;border-radius:10px}.detail-value{overflow-wrap:anywhere}


.reward-media-editor{margin:24px 0;padding:20px;border:1px solid #bb965e;border-radius:12px}.reward-media-editor h3{margin:16px 0 12px}.reward-media-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:14px}.reward-media-item{max-width:260px;display:flex;flex-direction:column;gap:8px}.reward-media-item img,.reward-media-item video{width:100%;height:150px;object-fit:cover;border-radius:8px;background:#382618}
.seat-code-preview{margin:20px auto;text-align:center}.seat-code-preview img{max-width:360px;width:100%;height:auto;background:white;border-radius:12px}

/* Keep every current destination on the same brass line-icon system. */
[data-page="seating"],[data-page="tables"],[data-page="bartables"]{--nav-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23e4c38b%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2210%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M6%2015v6m12-6v6M8%209h8%22%2F%3E%3C%2Fsvg%3E")}
[data-page="drinkpackages"],[data-page="winestorage"]{--nav-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23e4c38b%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%202h6v5l2%203v11H7V10l2-3zM9%207h6M7%2013h10%22%2F%3E%3C%2Fsvg%3E")}
[data-page="packageorders"],[data-page="redemptions"]{--nav-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23e4c38b%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h18v4a2%202%200%200%200%200%204v4H3v-4a2%202%200%200%200%200-4zM9%2012l2%202%204-5%22%2F%3E%3C%2Fsvg%3E")}
[data-page="lottery"]{--nav-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23e4c38b%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203%202.8%205.7%206.2.9-4.5%204.4%201.1%206.2-5.6-2.9-5.6%202.9%201.1-6.2L3%209.6l6.2-.9z%22%2F%3E%3C%2Fsvg%3E")}
[data-page="rankrewards"]{--nav-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23e4c38b%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%209h18v4H3zM5%2013h14v8H5zM12%209v12M12%209H8.5A2.5%202.5%200%201%201%2011%206.5zm0%200h3.5A2.5%202.5%200%201%200%2013%206.5z%22%2F%3E%3C%2Fsvg%3E")}
[data-page="commissions"]{--nav-art:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23e4c38b%22%20stroke-width%3D%221.55%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%204h16v16H4zM8%208l4%204%204-4m-4%204v6m-3-3h6%22%2F%3E%3C%2Fsvg%3E")}

/* Mobile navigation has one explicit state and three reliable close paths. */
.sidebar{transition:transform .22s ease}.sidebar-close,.menu-backdrop{display:none}
@media(max-width:850px){
  body.menu-open{overflow:hidden}
  .sidebar{overflow:hidden;box-shadow:15px 0 50px #120c09a6}
  .sidebar .brand{padding-right:40px}
  #main-nav{min-height:0}
  .sidebar-close{display:flex;position:absolute;top:11px;right:10px;z-index:2;align-items:center;justify-content:center;width:38px;height:38px;border-color:#b18b5070;background:#21170ed9;color:#f0d49f;font-size:27px}
  .menu-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:25;margin:0;padding:0;border:0;border-radius:0;background:#150e0a8c;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility .22s ease}
  .menu-backdrop.is-open{opacity:1;visibility:visible;pointer-events:auto}
}
@media(prefers-reduced-motion:reduce){.sidebar,.menu-backdrop{transition:none}}
.audit-target{max-width:260px;white-space:normal;overflow-wrap:anywhere;color:#654626}.audit-detail{font:11px/1.75 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;min-width:220px;max-width:560px;white-space:normal;overflow-wrap:anywhere;color:#765b3d}

/* Modal fallback for browsers without native dialog support. */
dialog.dialog:not([open]){display:none}
.dialog-fallback[open]{display:block;position:fixed;top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);margin:0;max-width:94vw;max-height:90vh;overflow:auto;-webkit-overflow-scrolling:touch}
.dialog-fallback-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#120d09b8;touch-action:none}
.dialog-fallback-backdrop[hidden]{display:none}
body.dialog-fallback-open{overflow:hidden}

.bar-product-search{display:flex;align-items:stretch;gap:10px;width:100%}.bar-product-search input{flex:1;min-width:0;width:0}.bar-product-search .button{flex:none;min-width:76px;font-size:14px}
