*{box-sizing:border-box}body{margin:0;background:#f6f7f3;color:#25352c;font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif}button,input,textarea,select{font:inherit}button,a{transition:.18s}button{cursor:pointer;border:1px solid #d9dfd7;background:white;color:#314235;padding:9px 17px;border-radius:7px}button:hover{border-color:#63846c;background:#eef3ec}button:disabled{opacity:.5;cursor:wait}a{color:#365e43;text-decoration:none}.primary{background:#294d38;color:white;border-color:#294d38}.primary:hover{background:#1c3928;color:white}.eyebrow{font-size:10px;letter-spacing:2px;color:#82917e}.monogram img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}.monogram{display:inline-grid;place-items:center;background:#294d38;color:#ece8d4;width:44px;height:44px;border-radius:9px;font-family:Georgia,serif;font-size:17px}.brand{display:flex;gap:12px;align-items:center;padding:30px 22px}.brand strong{display:block;font-size:17px;letter-spacing:2px}.brand small{color:#92988e;font-size:11px}.nav-caption{color:#9aa193;font-size:11px;padding:10px 26px}aside{position:fixed;width:235px;height:100vh;background:#fff;border-right:1px solid #e2e6de;display:flex;flex-direction:column}nav{padding:0 14px}nav button{width:100%;text-align:left;border:0;background:none;padding:13px 17px;margin:2px 0;color:#6b776c}nav button.active{background:#eaf0e7;color:#244a31;font-weight:600}nav button span{margin-right:12px}.aside-bottom{margin-top:auto;padding:20px;display:grid;gap:7px}.aside-bottom button{border:0;text-align:left;padding:7px;color:#7c877c;font-size:12px}.aside-bottom a{padding:8px;font-size:12px}.workspace{margin-left:235px}header{height:118px;padding:26px 42px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid #e2e6de}h1{margin:3px 0;font-size:25px;font-weight:600}h2{font-weight:600}p{color:#7c857b}.header-actions{display:flex;align-items:center;gap:12px}#save-status{color:#828c80;font-size:12px;margin-right:8px}main{max-width:1400px;margin:auto;padding:32px 42px}.intro-banner{background:#e8eddf;border-radius:12px;padding:32px;display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.dashboard-logo{width:160px;height:110px;object-fit:contain;border-radius:12px;background:#fff;padding:10px}.intro-banner h2{margin:0 0 10px;font-size:25px}.intro-banner p{margin:0;max-width:580px}.intro-banner .badge{font-family:Georgia;font-size:70px;color:#657a4f;line-height:1}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:22px 0}.stat{background:white;border:1px solid #e4e8df;border-radius:10px;padding:23px}.stat strong{font-family:Georgia;font-size:36px;display:block;color:#38553a}.stat span{color:#899180;font-size:12px}.section-bar{display:flex;align-items:center;justify-content:space-between;margin:10px 0 24px;gap:12px}.section-bar h2{font-size:18px;margin:0}.section-bar p{margin:6px 0;font-size:12px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.card{background:#fff;border:1px solid #e2e7dd;border-radius:10px;overflow:hidden}.card-img{width:100%;height:190px;object-fit:cover;background:#edf0e8}.placeholder{display:grid;place-items:center;color:#a2ad98;font-family:Georgia;font-size:24px}.card-body{padding:18px}.card h3{font-weight:600;margin:5px 0;font-size:16px}.card p{height:40px;font-size:12px;margin:8px 0;overflow:hidden}.card-meta{display:flex;justify-content:space-between;font-size:10px;color:#9b9f92}.badge{background:#edf3e9;color:#5c7951;border-radius:20px;padding:3px 9px}.badge.off{background:#f3ede5;color:#a5825f}.card-actions{display:flex;gap:6px;border-top:1px solid #edf0e8;padding:12px 16px}.card-actions button{font-size:12px;padding:5px 10px}.danger{color:#ad6754}.empty{background:white;border:1px dashed #cad4c3;border-radius:10px;padding:55px;text-align:center;color:#8d9688}.panel{background:white;border:1px solid #e2e7dd;border-radius:10px;padding:27px;margin-bottom:20px}.panel h3{margin:0 0 10px}.panel p{white-space:pre-wrap}.panel-images{display:flex;gap:12px;overflow:hidden}.panel-images img{width:220px;height:160px;object-fit:cover;border-radius:8px}.toolbar{display:flex;gap:10px}.toolbar input{width:230px}.login{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 70% 30%,#dce5cf,transparent 60%),#f4f3ec}.login-card{width:480px;max-width:90vw;padding:46px;background:#ffffffec;border:1px solid #e6e8de;border-radius:15px;box-shadow:0 30px 100px #294d3810}.login-card h1{font-size:24px;margin-top:30px}.login-card .primary{width:100%;margin-top:20px}.hint{font-size:11px;color:#9a9f93}.login-card a{font-size:12px}label{display:block;color:#586753;font-size:12px;margin-bottom:17px}input,textarea,select{display:block;width:100%;border:1px solid #dce2d5;background:#fff;border-radius:6px;padding:10px 12px;color:#2c3c30;margin-top:7px;outline:none}input:focus,textarea:focus,select:focus{border-color:#77936a;box-shadow:0 0 0 3px #77936a15}textarea{resize:vertical;min-height:110px}input[type=checkbox]{width:auto;display:inline-block;margin-right:8px}dialog{border:1px solid #dce3d4;border-radius:12px;width:750px;max-width:95vw;max-height:90vh;padding:0;box-shadow:0 30px 100px #13231440}dialog::backdrop{background:#182b235a;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:22px 28px;border-bottom:1px solid #e6e9e0}.dialog-head h2{margin:4px 0;font-size:20px}.dialog-head button{border:0;font-size:25px}#fields{padding:25px 28px;max-height:62vh;overflow:auto}.dialog-foot{border-top:1px solid #e5e9df;padding:18px 28px;display:flex;justify-content:space-between;align-items:center}.dialog-foot span{font-size:11px;color:#929b89}.upload-box{background:#f8f9f5;border:1px dashed #cdd7c3;border-radius:8px;padding:14px;margin:8px 0 20px}.upload-box input{background:none;border:0;padding:5px;font-size:12px}.media-list{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.media-item{width:118px;position:relative;background:white;border:1px solid #e0e6d9;border-radius:6px;padding:6px}.media-item img{width:104px;height:78px;object-fit:cover}.media-item a{display:block;overflow:hidden;font-size:12px;height:78px;word-break:break-all}.media-item button{padding:1px 7px;font-size:11px;margin:3px 1px}.help{font-size:11px;color:#949d8c;margin:0 0 10px}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}#toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);background:#253f2e;color:white;padding:12px 24px;border-radius:8px;display:none;z-index:20;max-width:85vw}#toast.visible{display:block}#login-error{color:#b65b40}.quick-actions{display:flex;gap:12px;flex-wrap:wrap}.cover-note{font-size:11px;color:#9b9e91}.status-dot{width:6px;height:6px;border-radius:50%;background:#7a946b;display:inline-block;margin-right:6px}@media(max-width:1100px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}header,main{padding:24px}.stats{grid-template-columns:repeat(2,1fr)}}@media(max-width:720px){aside{position:static;width:100%;height:auto}.brand{padding:15px}nav{display:flex;overflow:auto}nav button{white-space:nowrap;width:auto}nav button span{display:none}.nav-caption,.aside-bottom{display:none}.workspace{margin:0}header{height:auto;display:block}.header-actions{margin-top:15px}.cards{grid-template-columns:1fr}.dialog-foot span{display:none}main{padding:18px}.toolbar input{width:140px}.intro-banner .badge{display:none}.two-col{grid-template-columns:1fr}}

body,.workspace,header,aside,.panel,.intro-banner{background:#fff}input[type=color]{height:45px;padding:5px;max-width:200px}nav{overflow-y:auto}.aside-bottom{flex-shrink:0}

.poster-preview img{height:auto;aspect-ratio:3/4;object-fit:cover}.font-sample{padding:20px;border:1px solid #e3e7df;border-radius:9px;margin-bottom:24px;background:#fff}.font-sample h3,.font-sample p{margin:8px 0}.font-sample small{display:block}.font-sample button{opacity:1;cursor:default;margin-top:12px;transition:none}
.language-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:8px}.language-options label{margin:0}.language-options small{color:#899180}.translation-toolbar,.translation-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}.translation-row{padding:15px 0;border-top:1px solid #eee}.translation-row p{white-space:pre-wrap;overflow-wrap:anywhere}.translation-row textarea{min-height:90px}@media(max-width:720px){.translation-toolbar,.translation-row{grid-template-columns:1fr}}
.brand,.nav-caption,.aside-bottom{flex-shrink:0}aside nav{overflow-y:auto;min-height:0}@media(max-width:720px){aside nav{overflow-x:auto;overflow-y:visible}}
.private-qr-head{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.private-qr-head p{margin:5px 0;max-width:760px}.private-qr-preview{margin-top:22px;padding-top:22px;border-top:1px solid #edf0e8}.private-qr-preview img{display:block;width:280px;max-width:100%;aspect-ratio:1;object-fit:contain;border:1px solid #e1e6dd;border-radius:10px;background:#fff;padding:10px}.private-qr-preview p{display:flex;gap:10px;align-items:center}.qr-download{display:inline-block;padding:9px 17px;border-radius:7px}.private-qr-empty{margin-top:20px;padding:18px;border:1px dashed #cad4c3;border-radius:8px}.private-qr-panel label{max-width:480px;margin-top:18px}@media(max-width:720px){.private-qr-head{display:block}.private-qr-head button{margin-top:12px}}

.stat strong{font-family:inherit;font-weight:600}

.media-item video{display:block;width:104px;height:78px;object-fit:contain;background:#111}

.cards-products,.cards-categories,.cards-banners,.cards-homeBlocks,.cards-albums,.cards-aboutBlocks,.cards-activities{grid-template-columns:repeat(4,minmax(0,1fr))}
.cards-dashboard-categories{grid-template-columns:repeat(4,minmax(0,1fr))}
.cards-dashboard-categories .card-img,.cards-banners .card-img,.cards-homeBlocks .card-img,.cards-categories .card-img,.cards-products .card-img,.cards-albums .card-img,.cards-aboutBlocks .card-img,.cards-activities .card-img{height:200px}
.card.draft-edited{border-color:#9fb792;box-shadow:0 0 0 2px #9fb79222}.draft-mark{display:inline-block;margin-bottom:7px;padding:2px 8px;border-radius:20px;background:#f3e8bc;color:#6f5b20;font-size:10px}
.stats{grid-template-columns:repeat(5,minmax(0,1fr))}.stat small{display:block;margin-top:7px;color:#9aa193;font-size:10px}@media(max-width:1100px){.stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:720px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
.cards-products .card,.cards-categories .card,.cards-banners .card,.cards-homeBlocks .card,.cards-albums .card,.cards-aboutBlocks .card,.cards-activities .card{min-height:410px;display:flex;flex-direction:column}
.cards-products .card-body,.cards-categories .card-body,.cards-banners .card-body,.cards-homeBlocks .card-body,.cards-albums .card-body,.cards-aboutBlocks .card-body,.cards-activities .card-body{flex:1}
@media(max-width:1100px){.cards-products,.cards-categories,.cards-banners,.cards-homeBlocks,.cards-albums,.cards-aboutBlocks,.cards-activities{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.cards-dashboard-categories{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:720px){.cards-products,.cards-categories,.cards-banners,.cards-homeBlocks,.cards-albums,.cards-aboutBlocks,.cards-activities{grid-template-columns:repeat(2,minmax(0,1fr))}.cards-products .card-actions,.cards-categories .card-actions,.cards-banners .card-actions,.cards-homeBlocks .card-actions,.cards-albums .card-actions,.cards-aboutBlocks .card-actions,.cards-activities .card-actions{flex-wrap:wrap}.cards-products .card-actions button,.cards-categories .card-actions button,.cards-banners .card-actions button,.cards-homeBlocks .card-actions button,.cards-albums .card-actions button,.cards-aboutBlocks .card-actions button,.cards-activities .card-actions button{padding:5px 8px}}
@media(max-width:720px){.cards-dashboard-categories{grid-template-columns:repeat(2,minmax(0,1fr))}}
