body{background:#f7f5f0}.admin-header{height:84px;padding:0 4%;display:flex;align-items:center;gap:24px;border-bottom:1px solid #ddded4}.admin-header>a:last-child{margin-left:auto;font-size:13px}.admin-header>span{border-left:1px solid #ccc;padding-left:24px;color:#777;font-size:14px}.admin-wrap{width:92%;max-width:1600px;margin:38px auto 80px}.admin-title{display:flex;justify-content:space-between;align-items:center;gap:20px}.admin-title h1{font-size:32px;margin:12px 0}.admin-title p{font-size:14px;color:#777;line-height:1.8}.toolbar,.bulk,.stats{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.toolbar{margin:22px 0}.toolbar input{min-width:220px;flex:1}.toolbar input,.toolbar select,.bulk select,.bulk input,.field input,.field select,.field textarea,.login-card input{border:1px solid #d6d7cb;background:white;border-radius:5px;padding:11px;font:inherit;font-size:13px;min-width:0}.toolbar button,.bulk button,.row-actions button,.admin-title button,.link-button{border:1px solid #d2d4c5;padding:9px 13px;border-radius:5px;background:#fff;font-size:12px;cursor:pointer}.stats{margin:25px 0;gap:14px}.stats>div{flex:1;min-width:145px;background:#fff;border:1px solid #e1e1d8;padding:18px 22px;border-radius:8px}.stats strong{display:block;font-size:27px;margin-bottom:5px}.stats span{color:#777;font-size:12px}.table-scroll{overflow:auto;border:1px solid #deded4;border-radius:8px;background:white;max-height:70vh}.inventory-table{border-collapse:collapse;width:100%;font-size:12px;white-space:nowrap}.inventory-table th{position:sticky;top:0;z-index:1;background:#efeee7;text-align:left;padding:13px 12px;font-weight:500;color:#616452}.inventory-table td{padding:12px;border-bottom:1px solid #edede5;vertical-align:middle}.inventory-table .item-title{font-size:13px;font-weight:500;max-width:240px;white-space:normal;line-height:1.6}.inventory-table .item-title small{display:block;color:#999;font-weight:400}.inventory-table img{width:58px;height:76px;object-fit:contain;border-radius:4px;background:#f4f3ee}.inventory-table input[type=checkbox]{accent-color:#687446;width:16px;height:16px}.inventory-table tr:hover{background:#fafbf6}.tag{display:inline-block;background:#f0f2e8;color:#57633d;padding:3px 6px;border-radius:3px;margin:2px;font-size:11px}.tag.review{color:#8a6b36;background:#fbf3e3}.unknown{color:#aaa}.row-actions{display:flex;gap:5px}.bulk{background:#ecefe0;padding:12px 15px;border-radius:5px;margin-bottom:14px;font-size:12px}.bulk input{flex:1;min-width:180px}.login-card{max-width:420px;margin:13vh auto;background:#fff;padding:38px;border:1px solid #dedfd3;border-radius:12px}.login-card h1{font-size:27px}.login-card p{color:#777;font-size:13px;line-height:1.8}.login-card input{width:100%;margin:8px 0 18px}.login-card button{width:100%}.error{color:#b84838;font-size:13px;line-height:1.6}.sync-note{font-size:12px;color:#7b7e70;margin:14px 0;line-height:1.8}#editor{border:0;border-radius:12px;padding:0;width:min(820px,94vw);max-height:90vh;background:#faf9f5;color:#282b23}#editor::backdrop{background:#171e1855}.edit-head{position:sticky;top:0;background:#faf9f5;display:flex;align-items:center;justify-content:space-between;padding:22px 28px;border-bottom:1px solid #e2e2d8;z-index:2}.edit-head h2{font-size:22px;margin:0}.edit-head button{border:0;background:none;font-size:25px;cursor:pointer}.edit-body{padding:24px 28px}.edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:8px;font-size:12px}.field.wide{grid-column:1/-1}.field input,.field select,.field textarea{width:100%}.field textarea{resize:vertical;min-height:85px}.field input[type=checkbox]{width:auto}.season-checks{display:flex;gap:18px;align-items:center;min-height:38px}.season-checks label{display:flex;gap:6px;align-items:center}.edit-photo{display:flex;align-items:center;gap:20px;margin-bottom:25px}.edit-photo img{width:110px;height:140px;object-fit:contain;background:white;border:1px solid #ddd}.edit-photo p{font-size:12px;color:#777;line-height:1.8}.edit-photo input{max-width:230px;font-size:12px}.edit-foot{display:flex;gap:12px;justify-content:flex-end;padding:18px 28px;border-top:1px solid #ddd;position:sticky;bottom:0;background:#faf9f5}.edit-foot .button{width:auto;min-width:140px}.field small{font-size:11px;color:#888}.button:disabled{opacity:.5;cursor:wait}#admin-toast{position:fixed;bottom:30px;left:50%;transform:translate(-50%,20px);background:#303829;color:white;padding:13px 24px;border-radius:6px;z-index:10;opacity:0;transition:.2s;pointer-events:none;font-size:13px;max-width:90vw}#admin-toast.visible{opacity:1;transform:translate(-50%,0)}.sort-button{background:none;border:0;padding:0;font:inherit;cursor:pointer}.empty-row{text-align:center;padding:45px!important;color:#777}.top-actions{display:flex;gap:8px;flex-wrap:wrap}.admin-title .button{background:#2a3021;color:#fff;font-size:13px}.admin-title .button.secondary{background:white;color:#333}.toolbar .search{max-width:350px} @media(max-width:700px){.admin-header{padding:0 5%;height:70px;gap:12px}.admin-header .brand{font-size:20px}.admin-header>span{display:none}.admin-header>a:last-child{font-size:11px}.admin-title{align-items:flex-start;flex-direction:column}.admin-wrap{width:92%;margin-top:25px}.admin-title h1{font-size:27px}.stats{gap:8px}.stats>div{min-width:40%;padding:14px}.stats strong{font-size:24px}.toolbar input{flex-basis:100%;max-width:none!important}.toolbar select{flex:1}.edit-grid{grid-template-columns:1fr}.field.wide{grid-column:auto}.edit-head,.edit-body{padding:20px}.edit-foot{padding:16px 20px}.login-card{margin:8vh 5%;padding:30px}.table-scroll{max-height:65vh}.bulk{align-items:stretch}.bulk select{flex:1}.admin-title p{margin:4px 0}.edit-photo{align-items:flex-start;gap:12px}.edit-photo input{width:170px}}
.stats{align-items:stretch}.toolbar input[type=checkbox]{flex:none;min-width:0;width:auto}.toolbar>label{white-space:nowrap;font-size:13px}.inventory-table .item-title{min-width:180px}.inventory-table th:last-child,.inventory-table td:last-child{position:sticky;right:0;background:inherit;box-shadow:-4px 0 8px #00000005}.inventory-table th:last-child{background:#efeee7;z-index:2}.inventory-table td:last-child{background:#fff}@media(max-width:700px){.toolbar>.search{flex:1 0 100%;width:100%}.toolbar>select{flex:1 1 calc(50% - 10px);min-width:145px;max-width:100%}.toolbar input[type=checkbox]{flex-basis:auto}.stats>div{flex-basis:45%}.table-scroll{max-height:65vh}.edit-foot .button{min-width:0;flex:1}}
