[hidden]{display:none!important}.admin-body{background:#f6f7f2}.login-screen{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.login-story{background:radial-gradient(ellipse at 80% 100%,#67704744,transparent 55%),#192019;padding:60px;display:flex;flex-direction:column;justify-content:space-between;color:#fff;position:relative;overflow:hidden}.login-story:after{content:'';position:absolute;bottom:-200px;right:-200px;width:600px;height:600px;border:1px solid #abb79626;border-radius:50%;pointer-events:none}.login-story>.logo{align-self:flex-start}.login-story h1{font-size:55px;line-height:1.1;letter-spacing:-2px;font-weight:500}.login-story h1 em{color:#f4c14b;font-style:normal}.login-story .eyebrow{color:#bfc5a6}.login-story p{color:#a3ad98;font-size:15px;line-height:1.8}.login-story>span{font-size:9px;letter-spacing:2px;color:#a3ad98}.login-panel{padding:50px 70px;display:flex;flex-direction:column;justify-content:space-between;background:#fafbf8}.login-panel>form{max-width:380px;width:100%;margin:auto}.back-store{font-size:12px;color:#768568}.login-panel .login-lock{display:grid;place-items:center;width:48px;height:48px;background:#edeedf;border-radius:12px;color:#8e7741;margin-bottom:28px}.login-panel h2{font-size:28px;margin:12px 0}.login-panel p{color:#859075;font-size:12px;margin-bottom:28px}.login-panel label:not(.check-label){display:block;font-size:12px;font-weight:600;margin-bottom:10px}.login-panel input[type=password],.login-panel input[type=text]{width:100%;border:1px solid #dce2d2;border-radius:7px;background:#fff;padding:13px}.login-panel .check-label{margin:12px 0 22px}.login-panel .primary{width:100%;justify-content:space-between}.login-panel>small{font-size:10px;color:#9ca590;text-align:center;margin-top:35px}.admin-layout{display:flex;min-height:100dvh}.admin-sidebar{width:228px;background:#1c241c;position:fixed;inset:0 auto 0 0;padding:33px 22px 20px;color:#fff;display:flex;flex-direction:column;z-index:30}.admin-sidebar .logo{font-size:19px}.admin-sidebar .logo-mark{width:24px}.admin-sidebar .logo-mark svg{width:26px}.sidebar-label{margin:50px 14px 14px;font-size:8px;letter-spacing:2px;color:#788970}.sidebar-link{width:100%;display:flex;gap:13px;align-items:center;font-size:12px;color:#a4b29a;padding:13px 14px;border-radius:7px;background:none;border:none;text-align:left;margin:4px 0}.sidebar-link .icon{width:18px;height:18px}.sidebar-link.active{background:#f3c04a;color:#26311c}.sidebar-link:hover:not(.active){background:#ffffff0a}.sidebar-bottom{margin-top:auto;padding-top:30px}.sidebar-bottom p{font-size:9px;color:#6a7b60;margin:30px 14px 5px}.admin-main{margin-left:228px;width:calc(100% - 228px)}.admin-header{height:84px;padding:0 44px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e1e6d7;background:#fff}.admin-header>span{font-size:10px;letter-spacing:1px;color:#98a08c;display:flex;align-items:center;gap:8px}.admin-header b{font-weight:500;color:#5f6b50;letter-spacing:0}.admin-section{padding:40px 44px}.admin-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:29px;gap:20px}.admin-title h1{font-size:36px;letter-spacing:-1.5px;font-weight:650;margin:7px 0}.admin-title p{font-size:12px;color:#8f9a80;margin:0}.admin-title .eyebrow{font-size:8px;letter-spacing:1.5px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:28px}.stat{background:#fff;border:1px solid #e2e7d8;border-radius:10px;padding:20px;display:flex;flex-direction:column;gap:13px}.stat span{font-size:10px;color:#879377;display:flex;align-items:center;justify-content:space-between}.stat span .icon{width:17px;height:17px;color:#8b956b}.stat strong{font-size:27px;letter-spacing:-1px;font-weight:600}.admin-products-panel{border:1px solid #e0e6d5;background:#fff;border-radius:11px;overflow:hidden}.admin-toolbar{display:flex;padding:20px;gap:15px;border-bottom:1px solid #e3e8db}.admin-toolbar .search-box{height:38px;background:#fafbf6;border-color:#e0e6d5}.admin-toolbar select{font-size:11px;border:1px solid #dfe5d4;background:#fff;border-radius:6px;padding:8px;max-width:160px}.admin-toolbar .btn{min-height:38px;font-size:10px;padding:8px 12px}.products-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}.products-table thead{background:#fafbf7}.products-table th{padding:13px 22px;font-size:9px;font-weight:550;color:#8a967a;letter-spacing:.5px}.products-table td{padding:13px 22px;font-size:11px;border-bottom:1px solid #f0f3ea}.products-table tr:last-child td{border:0}.products-table tbody tr:hover{background:#fdfefb}.table-product{display:flex;align-items:center;gap:15px}.table-photo{width:48px;height:53px;background:#f5f7ee;border-radius:6px;display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0}.table-photo img{width:40px;height:43px;object-fit:contain;mix-blend-mode:multiply}.table-photo .icon{color:#a2ae8f;width:21px;height:27px}.table-product strong{font-size:12px;font-weight:600}.table-product small{display:block;font-size:9px;color:#929e81;margin-top:4px}.table-status{font-size:9px;padding:4px 8px;border-radius:4px;background:#edf3e4;color:#6b8451}.table-status.soldout{background:#f7eacb;color:#997a38}.table-status.hidden{background:#eceee8;color:#929a85}.table-actions{display:flex;gap:6px;justify-content:flex-end}.table-actions .icon-button{min-width:30px;min-height:30px;padding:6px;border-radius:5px}.table-actions .icon{height:15px;width:15px}.delete-button{color:#a48572}.table-count{padding:16px 22px;color:#96a387;font-size:10px;border-top:1px solid #eef1e8}.table-scroll{overflow:auto}.settings-panel{background:#fff;border:1px solid #e0e6d5;border-radius:10px;padding:28px;max-width:800px}.settings-panel h3{font-size:15px;margin:0 0 24px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid label,.field-label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:550;color:#6b785a}.form-grid input,.form-grid select,.form-grid textarea,.field-label input{border:1px solid #dce3d0;border-radius:6px;padding:10px 12px;width:100%;background:#fff;color:#35432a;font-size:12px;min-height:42px}.form-grid textarea{resize:vertical;line-height:1.7}.form-grid .full{grid-column:1/-1}.form-grid small{font-size:10px;font-weight:400;color:#929e82}.form-footer{margin-top:27px;display:flex;gap:14px;align-items:center;justify-content:flex-end;border-top:1px solid #ebefe2;padding-top:22px}.muted-text{font-size:11px;line-height:1.8;color:#909d7d}.form-grid .featured-label{flex-direction:row;align-items:center;padding-top:22px}.featured-label input{width:16px;min-height:16px;accent-color:#bc9336}.editor-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #e8eddd;padding-bottom:18px;margin-bottom:22px}.editor-header h2{font-size:25px;margin-bottom:0}.editor-content{display:grid;grid-template-columns:230px 1fr;gap:28px}.photo-editor h3{font-size:12px;font-weight:550;margin:0 0 12px;display:flex;justify-content:space-between}.photo-editor h3 small{color:#8e9e7a;font-weight:400}.upload-box{display:flex;flex-direction:column;align-items:center;gap:9px;border:1px dashed #c8d4b6;border-radius:9px;background:#f7f9f0;text-align:center;cursor:pointer;padding:27px 14px}.upload-box>.icon,.upload-box>span:first-child{color:#a4b38e;margin:8px 0}.upload-box .icon{width:28px;height:28px}.upload-box strong{font-size:12px;color:#697b50;font-weight:550}.upload-box span{font-size:10px;color:#98a583}.upload-box small{font-size:8px;color:#a1ac8f}.upload-box input{font-size:9px;max-width:100%;margin-top:10px;color:#8c9b77}.photo-editor .field-label{margin-top:22px}.photo-editor .field-label input{font-size:10px}.photo-preview{position:relative;background:#f2f5e9;border-radius:7px;padding:10px;margin-bottom:10px;display:flex;align-items:center;justify-content:space-between;gap:8px}.photo-preview img{height:65px;width:65px;object-fit:contain;mix-blend-mode:multiply}.photo-preview span{font-size:9px;color:#a1ad8e}.photo-preview .icon-button{min-width:27px;min-height:27px;border-radius:5px;background:#fff}.photo-preview .icon{height:13px;width:13px}#upload-status{font-size:10px;color:#9a7a27}#editor{width:930px;max-width:calc(100% - 32px);padding:26px}#editor .eyebrow{font-size:8px}.editor-footer{border-top:1px solid #e7ecdc;margin-top:26px;padding-top:20px}.editor-footer>div{display:flex;justify-content:flex-end;gap:10px}.editor-footer .error{margin-bottom:16px}.delete-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:25px}#delete-dialog{max-width:500px}#delete-dialog p{font-size:12px;color:#8a9778}.danger{color:#a44636;background:#fff0e9;border-color:#e9c8b8}.danger:hover{background:#ffe2d6}.error[hidden]{display:none}.login-panel p.error{color:#a73927}.admin-empty{text-align:center;padding:35px!important;color:#929e82}
@media(max-width:1100px){.admin-sidebar{width:195px;padding-inline:15px}.admin-sidebar .logo{font-size:17px}.admin-main{margin-left:195px;width:calc(100% - 195px)}.admin-section{padding:30px 25px}.admin-header{padding-inline:25px}.products-table td,.products-table th{padding-inline:15px}.stats{gap:10px}.stat{padding:15px}.admin-toolbar{gap:10px}.login-story{padding:40px}.login-story h1{font-size:44px}.login-panel{padding:40px}.editor-content{grid-template-columns:205px 1fr;gap:20px}}@media(max-width:800px){.admin-sidebar{position:relative;width:100%;padding:18px 20px;display:flex;flex-direction:row;align-items:center;gap:18px}.admin-sidebar nav{display:flex;gap:6px;flex:1;justify-content:flex-end}.sidebar-label,.sidebar-bottom{display:none}.sidebar-link{font-size:10px;width:auto;padding:10px;margin:0}.sidebar-link .icon{width:17px;height:17px}.admin-layout{flex-direction:column}.admin-main{margin:0;width:100%}.admin-header{height:63px}.admin-header>.btn{font-size:10px;min-height:35px;padding:8px 12px}.admin-title h1{font-size:30px}.stat span{font-size:9px}.stat strong{font-size:24px}.editor-content{grid-template-columns:1fr}.photo-editor{border-bottom:1px solid #e3e9d7;padding-bottom:16px}.photo-editor .upload-box{padding:14px}.upload-box input{margin-top:0}.upload-box span:not([data-icon]){display:none}#image-previews{display:flex;gap:8px;flex-wrap:wrap}.photo-preview{width:120px;flex-wrap:wrap}.photo-preview span{display:none}.photo-editor .field-label{margin-top:12px}.photo-editor .muted-text{margin-bottom:0}.login-story{display:none}.login-panel{min-height:100dvh;padding:35px}.login-screen{grid-template-columns:1fr}.settings-panel{padding:22px}}@media(max-width:560px){.admin-sidebar{padding:15px;flex-wrap:wrap;gap:10px}.admin-sidebar #admin-brand{width:100%}.admin-sidebar nav{justify-content:flex-start;gap:5px}.sidebar-link{padding:9px 12px}.admin-header{padding:12px 16px;height:58px}.admin-header>span{font-size:8px;letter-spacing:.4px}.admin-header>.btn{font-size:9px;padding:7px 9px;min-height:33px}.admin-section{padding:26px 16px}.admin-title{align-items:flex-start;gap:12px}.admin-title h1{font-size:28px}.admin-title .eyebrow{font-size:6px;letter-spacing:1px}.admin-title p{font-size:10px;max-width:190px}.admin-title>.btn{font-size:9px;gap:5px;min-height:38px;padding:8px 10px;white-space:nowrap;margin-top:20px}.admin-title>.btn .icon{height:14px;width:14px}.stats{grid-template-columns:1fr 1fr;gap:9px}.stat{padding:14px;gap:8px}.stat span{font-size:10px}.stat strong{font-size:23px}.admin-toolbar{padding:14px;flex-wrap:wrap;gap:10px}.admin-toolbar .search-box{width:100%;flex-basis:100%}.admin-toolbar select{flex:1;max-width:none}.products-table td,.products-table th{padding:12px;font-size:10px}.table-product{gap:9px}.table-product strong{font-size:10px}.table-product small{font-size:8px}.table-photo{width:35px;height:42px}.table-photo img{width:31px;height:35px}.form-grid{gap:15px}.form-grid label{font-size:10px}.form-grid input,.form-grid select,.form-grid textarea{font-size:11px;padding:9px;min-height:40px}.settings-panel{padding:20px 16px}.form-footer{flex-direction:column;align-items:stretch}.form-footer .btn{width:100%}#editor{padding:20px 16px;max-width:calc(100% - 16px)}.editor-header h2{font-size:21px}.editor-footer{margin-top:20px}.featured-label{font-size:9px!important}.delete-actions{flex-direction:column}.login-panel h2{font-size:25px}}

.mobile-logout{display:none}@media(max-width:800px){.mobile-logout{display:inline-flex}.admin-header>span{margin-right:auto}.admin-header{gap:9px}}
.admin-main,.admin-section,.admin-products-panel,.table-scroll{min-width:0;max-width:100%}
@media(max-width:560px){.products-table thead{display:none}.products-table,.products-table tbody{display:block;width:100%}.products-table tbody tr{display:grid;grid-template-columns:1fr auto;gap:2px 6px;padding:14px;border-bottom:1px solid #edf1e5}.products-table tbody tr:last-child{border:0}.products-table td{display:block;border:0;padding:2px 0}.products-table td:first-child{grid-column:1;grid-row:1/3}.products-table td:nth-child(2){grid-column:2;grid-row:1;text-align:right}.products-table td:nth-child(3){grid-column:2;grid-row:2;text-align:right}.products-table td:nth-child(4){display:none}.products-table td:nth-child(5){grid-column:1/-1;margin-top:7px}.table-product strong{font-size:12px}.table-product small{font-size:9px}.table-actions{border-top:1px solid #f0f3e8;padding-top:7px}.table-actions .icon-button{border:1px solid #e8edde;min-width:36px;min-height:32px}.table-photo{width:41px;height:48px}.table-photo img{width:36px;height:43px}}
.table-scroll{position:relative}.table-product,.table-product>div:last-child{min-width:0}.table-product strong{white-space:normal;overflow-wrap:anywhere}

/* Article editor: photos first, optional details and a persistent save action. */
.admin-body{color:#263125}.admin-body input,.admin-body select,.admin-body textarea{font-size:16px}.admin-body .icon-button{min-width:44px;min-height:44px}.table-actions .icon-button{gap:7px}.table-actions .icon-button span{font-size:12px}.missing-photo{display:inline-block;color:#916210;font-size:10px;margin-top:5px}.table-product small{color:#68775c}.admin-title p,.table-count{color:#66745c}
#editor{padding:0;width:880px;max-height:90dvh;overflow:hidden;border-radius:20px}#product-form{display:flex;flex-direction:column;max-height:90dvh}.editor-header{flex-shrink:0;margin:0;padding:20px 24px}.editor-header h2{font-size:24px;margin:3px 0 0}.editor-content{display:grid;grid-template-columns:250px minmax(0,1fr);gap:28px;min-width:0;min-height:0;margin:0;padding:24px;border:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.photo-editor{border:0;padding:0}.photo-editor h3{font-size:16px;font-weight:650}.photo-editor h3 small{font-size:13px;color:#66745c}.photo-buttons{display:grid;gap:10px}.photo-buttons .btn{min-height:48px;font-size:14px;justify-content:center;background:#f4f6ec;border-color:#dce4ce}.photo-buttons .camera-button{background:#263b2d;color:#fff;border-color:#263b2d}.photo-help{font-size:12px;color:#66745c;margin:12px 0 0}#upload-status{font-size:13px;color:#4d652f;line-height:1.5;margin:10px 0 0}#upload-status:empty{display:none}#image-previews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}.photo-preview{display:block;width:auto;min-width:0;position:relative;padding:0;margin:0;overflow:hidden;border-radius:12px;background:#eff2e8;aspect-ratio:1}.photo-preview img{width:100%;height:100%;object-fit:contain;mix-blend-mode:normal}.photo-preview span{display:block;position:absolute;bottom:5px;left:5px;font-size:10px;background:#ffffffeb;color:#293929;padding:2px 6px;border-radius:4px}.photo-preview .icon-button{position:absolute;right:3px;top:3px;min-height:44px;min-width:44px;background:#fffffff2;border:1px solid #e4e8de;border-radius:50%;padding:11px}.photo-preview .icon{width:18px;height:18px}.product-fields{min-width:0}.quick-fields{gap:18px}.form-grid label{position:relative;font-size:14px;color:#384c31;gap:8px}.form-grid input,.form-grid select,.form-grid textarea{font-size:16px;min-height:48px;border-radius:10px;padding:12px;background:#fff}.form-grid small{color:#66745c;font-size:12px}.form-grid textarea{min-height:92px;line-height:1.5}.optional{position:absolute;top:2px;right:0;font-size:12px;font-weight:400;color:#66745c}.product-details{margin-top:22px;border:1px solid #dee5d4;border-radius:12px}.product-details summary{list-style:none;padding:16px;display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer;font-size:14px;font-weight:600;min-height:64px}.product-details summary::-webkit-details-marker{display:none}.product-details summary small{display:block;font-size:11px;font-weight:400;color:#66745c;margin-top:4px}.product-details summary .icon{width:17px;height:17px;transform:rotate(90deg)}.product-details[open] summary .icon{transform:rotate(-90deg)}.product-details>.form-grid{padding:6px 16px 18px;gap:18px 12px}.form-grid .featured-label{padding:0;min-height:44px;gap:12px}.featured-label input{width:22px;min-height:22px;height:22px;flex-shrink:0}.editor-footer{flex-shrink:0;margin:0;padding:12px 24px 20px;background:#fff;box-shadow:0 -4px 18px #23392105}.editor-footer .btn{min-height:50px;font-size:15px}.editor-footer #save-product{flex:1;max-width:330px;justify-content:center}.editor-footer .error{margin:0 0 10px;font-size:14px}.editor-footer #save-hint{margin:0 0 9px;font-size:12px;color:#66745c;text-align:right}.admin-body #toast{z-index:100}
@media(max-width:800px){
 .admin-sidebar{position:relative;padding:18px 20px;min-height:74px;flex-wrap:nowrap}.admin-sidebar #admin-brand{width:auto}.admin-sidebar nav{position:fixed;inset:auto 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:4px;z-index:40;background:#fff;border-top:1px solid #e1e7d7;padding:7px 12px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -3px 16px #1c30180a}.sidebar-link{min-height:52px;flex-direction:column;justify-content:center;gap:3px;padding:5px;font-size:11px;color:#617057;border-radius:10px}.sidebar-link .icon{width:21px;height:21px}.sidebar-link.active{background:#edf2e3;color:#263c27}.admin-header{position:absolute;z-index:31;top:0;right:0;height:74px;padding:14px 16px;gap:8px;background:transparent;border:0}.admin-header>span{display:none}.admin-header>.btn{background:#ffffff12;color:#fff;border:1px solid #ffffff36;min-height:44px;font-size:12px;padding:10px}.mobile-logout{color:#fff;background:#ffffff12;border:1px solid #ffffff36;border-radius:10px}.mobile-logout:hover{background:#ffffff24;color:#fff}.admin-header .icon{width:18px;height:18px}.admin-section{padding:24px 16px 164px}.admin-title{margin-bottom:20px}.admin-title h1{font-size:30px}.admin-title p{font-size:13px;max-width:none}.admin-title .eyebrow{display:none}#new-product{position:fixed;bottom:calc(78px + env(safe-area-inset-bottom));left:16px;right:16px;margin:0;min-height:54px;z-index:35;font-size:16px;justify-content:center;box-shadow:0 5px 20px #35441824;border-radius:14px}#new-product .icon{height:21px;width:21px}.stats{display:flex;gap:12px;margin-bottom:20px}.stat{flex:1;gap:4px;padding:13px 16px;border-radius:12px}.stat:nth-child(2),.stat:nth-child(3){display:none}.stat span{font-size:12px;color:#607151}.stat strong{font-size:24px}.admin-products-panel{border-radius:14px}.admin-toolbar{padding:14px;flex-wrap:wrap;gap:10px}.admin-toolbar .search-box{width:100%;flex-basis:100%;height:48px}.admin-toolbar .search-box input{font-size:16px}.admin-toolbar select{flex:1;max-width:none;min-height:44px;font-size:14px}.admin-toolbar .btn{min-height:44px;font-size:12px}.admin-body #toast{bottom:calc(145px + env(safe-area-inset-bottom));font-size:14px;max-width:calc(100% - 32px)}
 #editor{position:fixed;inset:var(--editor-top,0px) 0 auto;margin:0;width:100%;max-width:100%;height:var(--editor-height,100dvh);max-height:var(--editor-height,100dvh);border:0;border-radius:0;padding:0}#product-form{height:100%;max-height:100%}.editor-header{padding:calc(14px + env(safe-area-inset-top)) 18px 14px}.editor-header h2{font-size:22px}.editor-header .eyebrow{font-size:9px}.editor-content{display:block;flex:1;padding:20px 18px;scroll-padding-block:16px}.photo-editor{margin-bottom:24px}.photo-editor h3{margin-bottom:12px}.photo-buttons{grid-template-columns:1fr 1fr;gap:10px}.photo-buttons .btn{min-height:54px;font-size:14px;padding:12px 8px;gap:8px}#image-previews{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.editor-footer{padding:10px 18px calc(12px + env(safe-area-inset-bottom))}.editor-footer>div{gap:10px}.editor-footer #save-product{max-width:none}.editor-footer #save-hint{text-align:center;font-size:12px}.editor-footer .btn{font-size:15px}.form-grid label{font-size:14px}.form-grid input,.form-grid select,.form-grid textarea{font-size:16px;min-height:48px;padding:12px}.featured-label{font-size:14px!important}.settings-panel{padding:20px 16px}.login-panel{padding:24px}.login-panel h2{font-size:27px}.login-panel p{font-size:14px}.login-panel label:not(.check-label){font-size:14px}.login-panel input[type=password],.login-panel input[type=text]{font-size:16px;min-height:50px}.login-panel .primary{font-size:14px;min-height:52px}
 .products-table thead{display:none}.products-table,.products-table tbody{display:block;width:100%;white-space:normal}.products-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:16px;border-bottom:1px solid #e9eedf}.products-table td{display:block;border:0;padding:0}.products-table td:first-child{grid-column:1/-1;grid-row:1}.products-table td:nth-child(2){grid-column:1;grid-row:2;text-align:left;font-size:16px;padding-top:4px}.products-table td:nth-child(3){grid-column:2;grid-row:2;text-align:right;padding-top:4px}.products-table td:nth-child(4){display:none}.products-table td:nth-child(5){grid-column:1/-1;grid-row:3;margin:0}.table-product{gap:13px}.table-product strong{font-size:15px;line-height:1.4}.table-product small{font-size:12px;white-space:normal}.table-photo{width:62px;height:66px;border-radius:10px}.table-photo img{width:56px;height:60px}.table-status{font-size:11px;padding:5px 9px}.table-actions{padding-top:10px;gap:10px;border-top:1px solid #eef1e8}.table-actions [data-edit]{flex:1;justify-content:center;border:1px solid #dce4ce;border-radius:9px;background:#f7f9f2;font-size:14px}.table-actions [data-edit] span{font-size:14px}.table-actions .icon-button{min-height:44px;min-width:44px}.table-actions .icon{width:18px;height:18px}.missing-photo{font-size:11px}.table-count{font-size:12px}.form-grid .featured-label input{min-height:22px;padding:0}.admin-empty{grid-column:1/-1!important}
}
@media(max-width:360px){.admin-sidebar .logo{font-size:16px}.admin-sidebar .logo-mark{width:20px}.admin-sidebar{padding-inline:12px}.admin-header{padding-inline:10px;gap:4px}.admin-header>.btn{padding:8px}.share-label{display:none}.photo-buttons .btn{font-size:13px}.editor-footer{padding-inline:12px}.editor-footer .btn{padding-inline:14px}}
.color-editor{padding:0 16px 18px}.color-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px 10px;align-items:end;margin-bottom:14px;padding:14px;border:1px solid #e2e8d8;border-radius:12px;background:#f8faf5}.color-name{grid-column:1/-1;padding-right:54px}.color-status{grid-column:1}.color-quantity{grid-column:2}.color-row label{display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:550;color:#384c31;min-width:0}.color-row label small{display:inline;font-size:10px;font-weight:400}.color-row input,.color-row select{width:100%;min-height:48px;min-width:0;border:1px solid #dce3d0;border-radius:10px;padding:10px;font-size:16px;background:#fff;color:#283923}.color-row .icon-button{position:absolute;right:14px;top:36px;color:#986c58}.color-editor>.btn{min-height:44px;font-size:14px;width:100%}.color-editor>p{font-size:12px;line-height:1.5;color:#66745c;margin-bottom:0}
@media(max-width:360px){.color-status,.color-quantity{grid-column:1/-1}}

#photo-cropper{width:560px;max-width:calc(100% - 32px);height:840px;max-height:92dvh;padding:0;border:0;border-radius:20px;overflow:hidden;background:#fff;color:#263b2d}
#photo-cropper[open]{display:flex;flex-direction:column}#photo-cropper::backdrop{background:#111b14b8}#photo-cropper [hidden]{display:none!important}
.crop-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;border-bottom:1px solid #e7ebe2;flex-shrink:0}.crop-header span{font-size:12px;color:#64765c}.crop-header h2{font-size:24px;margin:3px 0 0}.crop-header .icon-button{min-width:44px;min-height:44px}
.crop-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px 22px}.crop-workspace{height:clamp(180px,38dvh,380px);display:grid;place-items:center;background:#eef1ea;border:1px solid #e3e8dc;border-radius:14px;overflow:hidden}#crop-frame{position:relative;background:#fff;box-shadow:0 4px 20px #14231a16;flex-shrink:0}#crop-preview{display:block;width:100%;height:100%;touch-action:none;cursor:grab}#crop-preview:active{cursor:grabbing}#crop-frame::after{content:'';position:absolute;inset:0;pointer-events:none;border:1px solid #ffffff90;background:linear-gradient(to right,transparent 33.1%,#ffffff65 33.1%,#ffffff65 33.5%,transparent 33.5%,transparent 66.4%,#ffffff65 66.4%,#ffffff65 66.8%,transparent 66.8%),linear-gradient(to bottom,transparent 33.1%,#ffffff65 33.1%,#ffffff65 33.5%,transparent 33.5%,transparent 66.4%,#ffffff65 66.4%,#ffffff65 66.8%,transparent 66.8%)}
#crop-help{text-align:center;font-size:13px;color:#62735a;margin:12px 0 16px}.crop-formats{display:flex;gap:6px;padding:4px;background:#f0f3eb;border-radius:12px}.crop-formats button{flex:1;min-height:44px;padding:8px 4px;border:1px solid transparent;border-radius:9px;background:none;font-size:14px}.crop-formats button[aria-pressed=true]{background:#fff;border-color:#dce4d1;font-weight:650;box-shadow:0 2px 6px #263b2d08}.crop-zoom-label{display:flex;justify-content:space-between;font-size:14px;font-weight:550;margin:18px 0 0}.crop-zoom-label output{color:#68795e;font-weight:400}#crop-zoom{display:block;height:34px;margin:3px 0 10px;padding:0;accent-color:#ac8124;touch-action:pan-y}.crop-actions{display:flex;gap:10px}.crop-actions .btn{min-height:44px;font-size:14px;flex:1}
.crop-footer{flex-shrink:0;padding:14px 22px 20px;background:#fff;border-top:1px solid #e5eadd}.crop-footer>div{display:flex;gap:10px}.crop-footer .btn{min-height:50px;font-size:15px}.crop-footer .primary{flex:1}.crop-footer .error{font-size:13px;margin:0 0 12px}
@media(max-width:600px){#photo-cropper{position:fixed;inset:0;margin:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border-radius:0}.crop-header{padding:calc(14px + env(safe-area-inset-top)) 18px 14px}.crop-body{padding:16px 18px}.crop-header h2{font-size:23px}.crop-footer{padding:12px 18px calc(14px + env(safe-area-inset-bottom))}}
@media(max-height:500px){.crop-workspace{height:220px}.crop-header{padding-block:8px}.crop-footer{padding-block:8px}}
