:root{--ink:#28382f;--muted:#829088;--bg:#f5f6f2;--line:#e5e9e1;--green:#234f3c;--red:#a44334;--gold:#b79058}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC",sans-serif}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);padding:10px 16px;transition:.18s}button:hover{filter:brightness(.96);transform:translateY(-1px)}button:disabled{opacity:.45;cursor:wait}a{color:inherit;text-decoration:none}input,select,textarea{border:1px solid #dce2d8;border-radius:7px;padding:11px;background:#fff;min-width:0;color:var(--ink)}textarea{min-height:90px;resize:vertical}label{display:grid;gap:9px;font-size:13px}h1,h2,h3,p{margin-top:0}h1{font-size:27px;letter-spacing:1px;margin-bottom:9px}h2{font-size:18px}h3{font-size:15px}.muted{color:var(--muted)}.small{font-size:12px}.primary{background:var(--green);border-color:var(--green);color:#fff}.danger{color:var(--red)}.gold{color:var(--gold)}.layout{display:flex;min-height:100vh}.sidebar{width:232px;position:fixed;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:34px 20px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;padding:0 9px 38px}.seal{background:var(--red);color:#fff;width:42px;height:46px;display:grid;place-content:center;font:21px Georgia,serif;border-radius:4px;outline:1px solid #d7ada3;outline-offset:-5px}.brand strong{font-size:20px;letter-spacing:3px}.brand small{display:block;letter-spacing:2px;font-size:10px;color:#89958d;margin-top:6px}.nav-title{font-size:10px;letter-spacing:2px;color:#9ba69e;padding:6px 16px 12px}.nav{display:grid;gap:6px}.nav button{display:flex;gap:14px;align-items:center;border:0;text-align:left;background:transparent;padding:13px 16px;color:#748078}.nav button.active{background:#edf3eb;color:var(--green);font-weight:600}.nav .ico{font-size:19px;width:22px;font-weight:400}.side-foot{margin-top:auto;padding:22px 10px 0;font-size:12px;color:#93a095}.side-foot .status{display:inline-block;width:7px;height:7px;border-radius:50%;background:#719978;margin-right:5px}.workspace{margin-left:232px;width:calc(100% - 232px)}.topbar{height:82px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fff}.topbar .right{display:flex;align-items:center;gap:18px}.avatar{background:#e8eee6;border-radius:50%;width:33px;height:33px;display:grid;place-content:center;color:var(--green)}.content{padding:32px 42px;max-width:1600px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px}.eyebrow{font-size:10px;letter-spacing:2.5px;color:var(--gold);margin-bottom:10px}.badge{display:inline-block;background:#edf3e9;color:#567651;font-size:11px;padding:5px 9px;border-radius:5px;white-space:nowrap}.badge.warn{background:#faf0de;color:#a48038}.badge.red{background:#f9eae6;color:#b05e4a}.banner{background:#eaf0e7;border:1px solid #dce6d6;border-radius:8px;color:#647a5f;padding:11px 15px;margin-bottom:23px;font-size:12px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin-bottom:26px}.stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:23px}.stat-title{display:flex;justify-content:space-between;color:#7e8c81;font-size:12px}.stat strong{font-size:31px;font-weight:600;display:block;margin:15px 0 10px;letter-spacing:-.6px}.stat small{font-size:11px;color:#9ca69d}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;margin-bottom:24px}.panel-body{padding:24px}.panel-title{padding:22px 24px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #f0f2ed}.panel-title h2{margin:0;font-size:15px}.grid-two{display:grid;grid-template-columns:1.7fr 1fr;gap:24px}.hero{height:228px;background:#8d332b url('/museum.svg') right center/auto 100% no-repeat;border-radius:12px;color:#fff;padding:32px;margin-bottom:25px;position:relative}.hero .eyebrow{color:#e6c391}.hero h2{font:29px "Songti SC",serif;letter-spacing:4px;margin:17px 0 12px}.hero p{color:#e6bfb0;font-size:12px;max-width:260px;line-height:1.9}.hero button{background:#f0d5ab;border:none;color:#79362b;font-size:12px}.quick{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.quick button{text-align:left;background:#f8f9f5;border:0;padding:19px}.quick b{display:block;margin:10px 0 5px;font-size:13px}.quick small{font-size:10px;color:#8e9a8d}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{background:#f9faf7;color:#91a08f;font-size:11px;font-weight:500;padding:14px 22px}td{padding:17px 22px;border-bottom:1px solid #f1f3ef;font-size:12px}td .small{font-size:10px;margin-top:6px}.empty{text-align:center;color:#9aa69d;padding:45px 20px;font-size:13px}.device{display:flex;gap:12px;padding:18px 0;border-bottom:1px solid #edf0e9;align-items:center}.device:last-child{border-bottom:0}.device-icon{width:40px;height:42px;border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;background:#f7f9f4}.device b{display:block;margin-bottom:5px;font-size:12px}.device .badge{margin-left:auto}.chart{height:174px;display:flex;align-items:end;gap:12px;padding:10px 6px 28px;border-bottom:1px solid var(--line)}.bar{flex:1;background:#a5bca1;min-height:3px;position:relative;border-radius:4px 4px 0 0}.bar span{position:absolute;bottom:-23px;font-size:9px;left:0;right:0;text-align:center;color:#9aa69b}.toolbar{display:flex;gap:12px;margin-bottom:20px;align-items:center}.toolbar input{flex:1;max-width:350px}.products{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.product-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:white}.product-top{padding:24px;background:#f0eee5;color:#6f6550;position:relative}.product-top h2{font-family:"Songti SC",serif;margin:20px 0 5px;font-size:24px}.product-top .number{position:absolute;right:20px;top:20px;font:40px Georgia;opacity:.15}.product-card:nth-child(2) .product-top{background:#e9eee3;color:#50634a}.product-card:nth-child(3) .product-top{background:#eee6e2;color:#87594c}.product-body{padding:23px}.price{font-size:28px;color:var(--red);font-weight:600;margin-bottom:17px}.price small{font-size:12px;color:#aaa;font-weight:400}.rules{font-size:12px;color:#879283;line-height:2.3;min-height:90px}.product-body button{width:100%;margin-top:16px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.full{grid-column:1/-1}.form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}dialog{border:0;border-radius:16px;padding:30px;width:min(560px,92vw);box-shadow:0 20px 90px #162b332e;color:var(--ink)}dialog::backdrop{background:#182a245f;backdrop-filter:blur(3px)}dialog h2{margin-bottom:24px}.qr{text-align:center}.qr img{width:240px;height:240px;max-width:100%;image-rendering:pixelated}.qr code{font-size:10px;overflow-wrap:anywhere;display:block}.login{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr}.login-art{background:#8d332b url('/museum.svg') bottom right/cover;display:flex;flex-direction:column;justify-content:center;padding:70px;color:#f2ddbc}.login-art h1{font:45px "Songti SC",serif;letter-spacing:9px}.login-art p{color:#d9b69a;line-height:2}.login-form{max-width:410px;width:100%;margin:auto;padding:30px}.login-form form{display:grid;gap:23px}.login-form h1{margin-bottom:12px}.login-form p{margin-bottom:35px}.login-form button{width:100%;padding:14px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);padding:14px 23px;background:#233c32;color:white;border-radius:8px;z-index:100;display:none;max-width:90vw}.visitor{max-width:500px;margin:auto;background:#faf7f0;min-height:100vh;padding-bottom:90px}.visitor-header{text-align:center;padding:23px 15px;background:white;font-weight:600;letter-spacing:2px}.visitor .hero{border-radius:0;height:260px;margin:0;padding:35px 25px;background-position:65% center}.visitor .hero h2{font-size:28px;max-width:250px;line-height:1.6}.visitor .section{padding:25px}.visitor .section h2{font-family:"Songti SC",serif;font-size:23px}.visitor .products{grid-template-columns:1fr;gap:17px}.visitor .product-top{padding:18px 22px}.visitor .product-top h2{font-size:21px;margin-top:12px}.visitor .rules{min-height:0}.visitor .product-body{padding:18px 22px}.visitor .product-body button{margin-top:8px}.visitor .price{margin-bottom:7px}.visitor-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);max-width:500px;width:100%;display:flex;background:white;border-top:1px solid var(--line);padding:12px 10px;z-index:2}.visitor-nav button{flex:1;border:0;background:transparent;color:#8c9689}.visitor-nav button.active{color:var(--red);font-weight:600}.ticket{padding:24px;background:#fff;border:1px solid #e6e4d9;border-radius:12px;margin-bottom:18px}.ticket h3{font-size:19px;font-family:"Songti SC",serif}.ticket .ticket-dates{padding:17px 0;border-top:1px dashed #d9dfd3;border-bottom:1px dashed #d9dfd3;margin:18px 0;font-size:12px;line-height:2}.ticket .actions{display:flex;gap:8px}.ticket .actions button{flex:1}.notice{font-size:12px;line-height:1.9;color:#91856e}.visitor .banner{margin:18px 25px 0}.subnav{display:flex;gap:10px;margin-bottom:20px}.subnav button{font-size:12px}.loading{padding:60px;text-align:center;color:#8b998c}@media(max-width:1100px){.sidebar{width:195px;padding:28px 12px}.workspace{margin-left:195px;width:calc(100% - 195px)}.content{padding:26px}.topbar{padding:0 26px}.stats{gap:10px}.stat{padding:18px}.grid-two{grid-template-columns:1fr}.products{gap:12px}.product-top h2{font-size:20px}}@media(max-width:760px){.sidebar{width:70px;padding:20px 8px}.brand{padding:0 7px 25px}.brand>div:last-child,.nav-title,.nav button .label,.side-foot{display:none}.nav button{padding:13px;justify-content:center}.workspace{margin-left:70px;width:calc(100% - 70px)}.topbar{padding:0 18px;height:65px}.topbar .muted,.topbar .avatar{display:none}.content{padding:22px 16px}.stats{grid-template-columns:1fr 1fr}.stat strong{font-size:25px}.page-heading{align-items:start;gap:10px}.page-heading h1{font-size:23px}.page-heading p{font-size:11px}.page-heading button{font-size:11px;padding:10px}.hero{padding:24px;background-position:50% center}.hero h2{font-size:24px}.products{grid-template-columns:1fr}.login{grid-template-columns:1fr}.login-art{display:none}.form-grid{grid-template-columns:1fr}.quick{gap:7px}.quick button{padding:12px}.topbar .right{gap:7px}.toolbar{flex-wrap:wrap}}
.cms-carousel{position:relative;height:260px;background:#eee4d8}.cms-slide{position:absolute;inset:0;display:none;border:0;padding:0;border-radius:0;width:100%;height:100%;background:#8d332b}.cms-slide.current{display:block}.cms-slide:hover{transform:none}.cms-slide img{width:100%;height:100%;object-fit:cover}.cms-slide span{position:absolute;bottom:0;left:0;right:0;text-align:left;padding:35px 25px;color:#fff;font-size:24px;background:linear-gradient(transparent,#0008)}.cms-dots{position:absolute;bottom:12px;left:0;right:0;display:flex;justify-content:center;gap:8px}.cms-dots button{padding:0;width:7px;height:7px;border:0;border-radius:50%;background:#fffa}.cms-dots button.current{background:#b34232;width:18px;border-radius:5px}.cms-intro{white-space:pre-wrap;line-height:2;color:#796f61}.cms-welcome{padding-bottom:5px!important}.cms-article-card{display:flex;align-items:center;width:100%;gap:15px;margin:14px 0;text-align:left;padding:16px}.cms-article-card img{width:86px;height:72px;object-fit:cover;border-radius:5px}.cms-article-card span:nth-last-child(2){flex:1}.cms-article-card b{display:block;line-height:1.6}.cms-article-card small{display:block;color:#929887;line-height:1.7;margin-top:6px}.cms-article{line-height:1.95;overflow-wrap:anywhere}.cms-article h1{font-size:26px;line-height:1.6}.cms-article h2{margin-top:28px}.cms-article img{max-width:100%;height:auto}.cms-article figure{margin:22px 0}.cms-article figcaption{font-size:12px;color:#929887;text-align:center}.cms-cover{width:100%;border-radius:8px;margin:10px 0 20px}.cms-body-input{min-height:280px;line-height:1.8}.cms-image-preview{width:100%;max-width:280px;height:130px;object-fit:cover;border-radius:7px}.cms-banner-edit{border:1px solid var(--line);padding:20px;border-radius:10px;margin-bottom:20px}.cms-fields{display:grid;gap:16px}.cms-check{display:flex;align-items:center;gap:12px;flex:1}.cms-check input{width:18px;height:18px}.cms-module-list [type=number],[data-cms-feature] [type=number]{width:80px}.cms-sticky{position:sticky;bottom:0;padding:18px;background:#fff;border:1px solid var(--line);border-radius:10px}.cms-preview{padding-bottom:0;pointer-events:none}.cms-preview .cms-carousel{height:220px}.cms-preview .section{padding:22px}dialog:has(.cms-preview){max-height:90vh;overflow:auto;width:580px}
