.admin-shell{--paper:#faf8f4;--ink:#352820;--muted:#796f66;--line:#e9e3da;--brand:#654236;background:var(--paper);min-height:100vh;color:var(--ink);padding:0 max(24px,50vw - 620px) 64px;font:15px/1.55 system-ui,sans-serif}.admin-shell *{box-sizing:border-box}.admin-shell button,.admin-shell input,.admin-shell select,.admin-shell textarea{font:inherit}.admin-shell button,.admin-shell a{touch-action:manipulation}.admin-shell button{cursor:pointer;border:1px solid var(--line);min-height:44px;color:var(--ink);background:#fff;border-radius:10px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;display:inline-flex}.admin-shell button:disabled{opacity:.5;cursor:default}.admin-shell :focus-visible{outline-offset:3px;outline:3px solid #bb824c}.admin-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;height:86px;margin-bottom:32px;display:flex}.admin-header a{color:var(--brand);letter-spacing:-1px;font-size:30px;font-weight:750;text-decoration:none}.admin-header span{letter-spacing:0;margin-left:16px;font-size:15px;font-weight:500}.admin-shell h1{letter-spacing:-.025em;margin:0 0 10px;font-size:30px;font-weight:700;line-height:1.25}.admin-shell h2{margin:0 0 14px;font-size:19px;font-weight:650}.admin-shell p{color:var(--muted);margin:8px 0 20px}.admin-title{justify-content:space-between;align-items:center;margin:40px 0 24px;display:flex}.admin-toolbar{gap:16px;margin-bottom:24px;display:flex}.admin-search{border:1px solid var(--line);background:#fff;border-radius:10px;flex:1;align-items:center;gap:10px;padding:0 14px;display:flex}.admin-search input{width:100%;background:0 0!important;border:0!important;padding-left:0!important}.admin-shell input,.admin-shell select,.admin-shell textarea{border:1px solid var(--line);color:var(--ink);background:#fff;border-radius:8px;min-height:46px;padding:12px}.admin-table-wrap{border:1px solid var(--line);background:#fff;border-radius:14px;overflow-x:auto}.admin-shell table{border-collapse:collapse;text-align:left;white-space:nowrap;width:100%}.admin-shell th{color:var(--muted);background:#f4efe7;padding:16px 20px;font-size:13px;font-weight:500}.admin-shell td{border-top:1px solid var(--line);padding:18px 20px;font-size:14px}.admin-shell .admin-order-link{text-align:left;background:0 0;border:0;justify-content:flex-start;gap:16px;padding:0}.admin-order-link img{object-fit:contain;background:#f4efe7;border-radius:8px;width:66px;height:76px}.admin-order-link span span,.admin-order-link small{display:block}.admin-order-link b{font-size:16px}.admin-order-link small{color:var(--muted);font-size:11px}.admin-status{background:#f4efe7;border-radius:6px;padding:6px 10px}.admin-status.pending{color:#795123;background:#ffebbc}.admin-status.shipped{color:#45613f;background:#edf1e9}.admin-shell .admin-primary{background:var(--brand);color:#fff8ec;border-color:var(--brand);width:100%;min-height:48px;font-weight:600}.admin-detail{grid-template-columns:minmax(0,1.1fr) minmax(320px,1fr);align-items:start;gap:32px;margin-top:28px;display:grid}.admin-preview{text-align:center;background:#eeeae2;border-radius:18px;padding:28px}.admin-preview img{object-fit:contain;border-radius:12px;width:100%;max-height:640px}.admin-preview p{margin:16px 0 0}.admin-panels section{border:1px solid var(--line);background:#fff;border-radius:14px;margin-bottom:20px;padding:26px}.admin-panels label,.admin-login label{margin:16px 0 8px;display:block}.admin-panels select,.admin-panels textarea{width:100%}.admin-panels textarea{resize:vertical;height:112px;margin-bottom:16px}.admin-panels small{color:var(--muted);margin-top:12px;display:block}.admin-panels details{overflow-wrap:anywhere;padding:10px}.admin-back{margin-bottom:24px}.admin-login{max-width:390px;margin:12vh auto}.admin-login h1{margin-top:24px}.admin-login input{width:100%;margin-bottom:24px}.admin-shell .admin-error{color:#963c29;background:#fff0ec;border-radius:8px;padding:14px 18px}.admin-shell .admin-notice{color:#45613f;background:#edf1e9;border-radius:8px;padding:14px 18px}.admin-empty{text-align:center;padding:50px}.admin-sr{clip:rect(0,0,0,0);width:1px;height:1px;position:absolute;overflow:hidden}@media (max-width:700px){.admin-shell{padding:0 16px 40px}.admin-header{height:72px}.admin-detail{grid-template-columns:1fr;gap:20px}.admin-toolbar{flex-direction:column}.admin-shell h1{font-size:25px}.admin-preview img{max-height:430px}.admin-shell td,.admin-shell th{padding:12px}.admin-title{margin-top:24px}}.admin-work-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:24px;display:grid}.admin-work-grid>a{color:inherit;background:#fff;border-radius:14px;padding:16px;text-decoration:none}.admin-work-grid img{object-fit:contain;width:100%;height:230px}.admin-work-grid h2{margin-top:16px;font-size:17px}.diy-checkout details{background:#fff8ec;border-radius:20px;margin-top:24px;padding:18px}.diy-checkout summary{cursor:pointer;min-height:32px;font-weight:600}.diy-checkout p{overflow-wrap:anywhere;margin:12px 0}.admin-check{align-items:center;gap:10px;display:flex!important}.admin-check input{width:20px;height:20px;min-height:20px!important}.admin-generated{overflow-wrap:anywhere;background:#fff4d7;margin-top:20px;padding:16px}.admin-work-grid article{background:#fff;border-radius:14px;padding:18px}.admin-work-grid article h2{font-size:17px}.admin-header>a:not(:first-child){letter-spacing:0;font-size:15px;font-weight:500}.admin-panels section>.admin-primary{margin-top:16px}.works-shell{background:#ffe8ae;max-width:720px;min-height:100vh;margin:0 auto}.works-shell .admin-header{background:#654236;margin:0 -24px 28px;padding:0 24px}.works-shell .admin-header a{color:#ffe8ae;align-items:center;display:flex}.works-shell .admin-header img{object-fit:contain;width:86px;height:62px}.works-shell .admin-work-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.works-shell .admin-work-grid>a{background:#fff8e9;border-radius:24px}.works-shell .admin-work-grid p{overflow-wrap:anywhere;font-size:12px}@media (max-width:700px){.works-shell .admin-header{margin-left:-16px;margin-right:-16px;padding:0 16px}}
