*{box-sizing:border-box}html{color-scheme:light}body{margin:0;background:#f5f4ef;color:#18392f;font-family:Arial,"Microsoft YaHei","PingFang SC",sans-serif;font-size:14px;line-height:1.6}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #82a451;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:30px;margin-bottom:8px;line-height:1.35}h2{font-size:19px;margin:0;line-height:1.5}h3{font-size:16px;margin:0;line-height:1.5}small{font-size:12px}.admin-shell{width:min(1280px,calc(100% - 64px));margin:auto}.admin-header{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 0;border-bottom:1px solid #d9ddd4}.admin-brand{display:flex;align-items:center;gap:18px;min-width:0;font-size:17px;font-weight:600}.admin-brand img{width:100px;height:auto}.brand-sub{display:block;font-size:9px;letter-spacing:1.4px;color:#6a7c65;font-weight:400}.header-actions{display:flex;align-items:center;gap:20px;flex-wrap:wrap;font-size:13px}.header-actions form{margin:0}.account{color:#657368}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:32px 0 26px}.eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:600;color:#6a7c65;margin-bottom:8px}.muted{color:#657368;margin-bottom:0;overflow-wrap:anywhere}.panel{background:#f9f8f3;border:1px solid #d9ddd2;border-radius:12px;padding:24px;min-width:0}.panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px}.panel-heading .help{margin-bottom:0}.help,.field small{font-size:12px;color:#6a7666;line-height:1.7;margin:8px 0 0}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 18px;border:1px solid #173d32;background:#183d32;color:#fff;border-radius:7px;line-height:1.5;font-weight:600;text-align:center}.button:hover{background:#285342}.button.secondary{background:#eeeee6;color:#18392f;border-color:#d1d8c9}.button.secondary:hover{background:#e2e8d8}.button.small{font-size:12px;padding:8px 13px;min-height:40px}.button.full{width:100%}.button.danger{background:#993d34;border-color:#993d34}.field{display:flex;flex-direction:column;gap:7px;margin:0 0 18px;min-width:0;font-weight:600;font-size:13px}.field small{font-weight:400;margin:0}.field input:not([type=checkbox]),.field select,.field textarea{width:100%;min-height:44px;border:1px solid #cdd5c7;border-radius:6px;padding:10px 12px;background:#fff;color:#18392f;font-weight:400;min-width:0}.field input[type=file]{padding:8px;font-size:12px}.field input::file-selector-button{border:0;border-radius:4px;background:#eeeee6;color:#18392f;padding:6px 10px;margin-right:10px;font:inherit;cursor:pointer}.field textarea{resize:vertical;min-height:120px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.required{color:#9a3a32}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{padding:18px 22px;background:#eeeee6}.stat span,.stat small{display:block;color:#657368}.stat strong{display:block;font-size:30px;line-height:1.4;margin:5px 0 2px}.stat:hover{border-color:#82a451}.filters{display:grid;grid-template-columns:minmax(210px,1.7fr) repeat(3,minmax(140px,1fr)) auto;gap:12px;align-items:end;padding:18px;background:#eeeee6;border:1px solid #d9ddd2;border-radius:8px;margin-bottom:20px}.filters .field{margin:0}.filter-actions{display:flex;gap:8px}.list-head{display:grid;grid-template-columns:minmax(270px,2fr) minmax(130px,1fr) 110px 186px;gap:20px;font-size:12px;color:#6a7666;padding:10px 16px}.product-row{display:grid;grid-template-columns:minmax(270px,2fr) minmax(130px,1fr) 110px 186px;gap:20px;align-items:center;border:1px solid #dfe3d8;background:#fff;border-radius:8px;padding:16px;min-width:0}.product-row+.product-row{margin-top:10px}.row-product{display:flex;gap:16px;align-items:center;min-width:0}.row-product img{width:88px;height:72px;object-fit:contain;background:#f5f4ef;border:1px solid #e6e9e0;border-radius:5px;flex-shrink:0}.row-product>div{min-width:0;overflow-wrap:anywhere}.row-product p{font-size:12px;color:#657368;margin:5px 0}.row-product small{font-size:11px;color:#7b887b}.row-category p,.row-status p{font-size:12px;color:#6a7666;margin:7px 0 0;overflow-wrap:anywhere}.badge{display:inline-flex;font-size:11px;line-height:1.6;padding:3px 8px;border-radius:4px;border:1px solid #d4dec8;background:#e2e8d8;color:#526f3a}.badge.neutral,.badge.draft{background:#f0f0e9;border-color:#dfe2d5;color:#657368}.badge.deleted{color:#8b473e;border-color:#e6cfc7;background:#f8eeeb}.row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.delete-link{display:inline-flex;align-items:center;min-height:40px;color:#994c43;padding:6px}.text-link{font-size:13px;white-space:nowrap;min-height:44px;display:flex;align-items:center}.pagination{display:flex;justify-content:space-between;align-items:center;gap:20px;font-size:12px;color:#657368;margin-top:24px}.pagination>div{display:flex;gap:10px}.empty{padding:40px 20px;text-align:center;border:1px dashed #d1d8c9;border-radius:8px;color:#657368}.empty p{margin:10px 0 20px}.alert{border:1px solid #cbdcbd;background:#eaf1e1;color:#3d642d;border-radius:8px;padding:14px 18px;margin:0 0 22px;overflow-wrap:anywhere}.alert.error{border-color:#e4c4b7;background:#fbefea;color:#8c4532}.editor-columns{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;align-items:start}.editor-column{display:flex;flex-direction:column;gap:24px;min-width:0}.spec-row{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr) auto;gap:12px;align-items:end;padding:14px;background:#eeeee6;border:1px solid #d9ddd2;border-radius:7px;margin-bottom:12px}.spec-row .field{margin:0}.remove-spec{border:0;background:transparent;color:#994c43;min-height:44px;padding:8px 4px;font-size:12px}.main-image-preview{height:250px;background:#eeeee6;border:1px solid #d9ddd2;border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden;margin-bottom:18px}.main-image-preview img{width:100%;height:100%;object-fit:contain}.main-image-preview p{color:#6a7666;margin:0}.gallery-editor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}.gallery-tile{background:#eeeee6;border:1px solid #d9ddd2;border-radius:6px;overflow:hidden;min-width:0}.gallery-tile img{width:100%;height:100px;object-fit:contain;display:block;background:#fff}.gallery-tile span{display:flex;align-items:center;gap:5px;padding:8px;font-size:11px;min-height:42px;overflow-wrap:anywhere}.gallery-tile input{accent-color:#173d32;width:16px;height:16px;flex-shrink:0}.publish-panel{background:#eeeee6}.cancel-link{display:block;text-align:center;color:#657368;font-size:12px;padding:12px;min-height:44px}.login-panel{max-width:450px;margin:64px auto 100px;padding:34px}.login-panel .muted{margin-bottom:24px;font-size:13px}.confirm-panel{max-width:660px;margin:56px auto;padding:32px}.confirm-panel>p:not(.eyebrow){line-height:1.8;margin:20px 0}.delete-product{display:flex;align-items:center;gap:20px;border:1px solid #d9ddd2;background:#eeeee6;border-radius:8px;padding:16px;margin:24px 0;overflow-wrap:anywhere}.delete-product img{object-fit:contain;flex-shrink:0}.confirm-actions{display:flex;gap:12px;flex-wrap:wrap}.admin-footer{margin-top:40px;padding:22px 0;border-top:1px solid #d9ddd4;color:#7b887b;font-size:11px}.skip{position:absolute;top:-80px;left:16px;padding:10px;background:#173d32;color:white}.skip:focus{top:8px}
@media(max-width:1100px){.filters{grid-template-columns:repeat(3,minmax(0,1fr))}.filters .search{grid-column:span 2}.list-head,.product-row{grid-template-columns:minmax(230px,1.5fr) minmax(120px,1fr) 95px 150px;gap:14px}.row-actions{gap:4px}.button.small{padding:8px 9px}.editor-columns{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}.panel{padding:20px}.gallery-editor{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.list-head{display:none}.product-row{grid-template-columns:minmax(0,1fr) minmax(120px,.55fr);gap:14px}.row-product{grid-column:1/-1}.row-actions{grid-column:1/-1;border-top:1px solid #e6e9e0;padding-top:12px;gap:10px}.row-status{text-align:right}.editor-columns{grid-template-columns:1fr}.stats{gap:12px}.stat{padding:16px}.field-grid{gap:14px}.row-category p{display:inline;margin-left:10px}.gallery-editor{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.admin-shell{width:calc(100% - 32px)}.admin-header{flex-wrap:wrap;gap:16px;padding:18px 0}.admin-brand{gap:12px;font-size:15px}.admin-brand img{width:88px}.header-actions{width:100%;justify-content:space-between;gap:12px}.page-heading{align-items:flex-start;gap:16px;flex-direction:column;margin:26px 0 22px}.page-heading>.button{align-self:flex-start}h1{font-size:25px}.panel{padding:18px;border-radius:10px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat{padding:14px 16px}.stat strong{font-size:26px}.filters{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:12px}.filters .search{grid-column:1/-1}.filter-actions{align-self:end;flex-wrap:wrap}.filter-actions .button{flex:1;padding:10px 12px}.panel-heading{gap:12px;flex-wrap:wrap}h2{font-size:18px}.product-row{padding:14px;gap:12px}.row-product{gap:12px}.row-product img{width:74px;height:66px}.row-product h3{font-size:15px}.row-category p{display:block;margin:7px 0 0}.pagination{align-items:flex-start;gap:12px;flex-wrap:wrap}.spec-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:12px;gap:10px}.remove-spec{grid-column:1/-1;justify-self:end;min-height:40px;padding:0 6px}.spec-row .field{font-size:12px}.spec-row input{padding:9px}.field-grid{grid-template-columns:1fr;gap:0}.gallery-editor{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gallery-tile img{height:110px}.main-image-preview{height:220px}.editor-column,.editor-columns{gap:18px}.login-panel{margin:30px auto 60px;padding:24px}.confirm-panel{margin:30px auto;padding:24px}.delete-product{gap:12px;padding:12px}.delete-product img{width:86px;height:80px}.button.small,.delete-link,.remove-spec{min-height:44px}.admin-footer{margin-top:28px}}

@media(max-width:600px){.spec-row{grid-template-columns:minmax(0,.85fr) minmax(0,1.25fr) 32px}.remove-spec{grid-column:auto;justify-self:end;padding:4px;align-self:end}.spec-row .field{overflow-wrap:anywhere}}

/* AM default-language settings: group fields and save action together. */
.language-setting-row{display:flex;align-items:flex-start;gap:18px;flex-wrap:wrap}.language-setting-row .field{flex:1;max-width:620px;min-width:200px;margin:0}.language-setting-row>.button{margin-top:26px}.language-setting-help{margin-top:22px;padding:18px;border:1px solid #d9ddd2;border-radius:8px;background:#eeeee6;line-height:1.8}.language-setting-help h3{font-size:14px;margin:0}.language-setting-help p{font-size:13px;color:#657368;margin:8px 0 0}.language-settings form{min-width:0}@media(max-width:600px){.language-setting-row{gap:14px}.language-setting-row .field{min-width:0;flex-basis:100%}.language-setting-row>.button{margin-top:0}.language-setting-help{padding:14px}.language-settings .badge{white-space:normal;overflow-wrap:anywhere}}

/* AM suite panels */
.compact-search{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap;margin:20px 0}.compact-search .field{flex:1;min-width:180px;margin:0}.management-list{display:flex;flex-direction:column;gap:12px}.management-row{display:flex;justify-content:space-between;gap:16px;align-items:center;border:1px solid #d9ddd2;background:#fff;border-radius:8px;padding:16px;min-width:0}.management-row>div{min-width:0;overflow-wrap:anywhere}.parameter-group{padding:16px;border:1px solid #d9ddd2;border-radius:8px;background:#eeeee6;margin-top:16px}.parameter-group h3{margin-bottom:14px}.module-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px}.module-option{display:flex;align-items:flex-start;gap:10px;border:1px solid #d9ddd2;border-radius:7px;background:#eeeee6;padding:12px;min-width:0}.module-option input{width:18px;height:18px;flex-shrink:0;accent-color:#173d32;margin-top:3px}.module-option strong{font-size:13px}.module-option small{display:block;margin-top:5px;font-size:11px;line-height:1.7;color:#657368}.theme-swatches{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.swatch{padding:7px 12px;border-radius:6px;color:#fff;font-size:12px}.swatch.forest{background:#173d32}.swatch.ocean{background:#1f607c}.swatch.earth{background:#795534}.swatch.midnight{background:#203037}@media(max-width:600px){.module-options{grid-template-columns:1fr}.management-row{align-items:flex-start;flex-wrap:wrap}.compact-search .field{flex-basis:100%;min-width:0}.management-row>.row-actions{border-top:0;padding-top:0}}
.category-tree-admin{display:flex;flex-direction:column;gap:20px}.category-family{margin-bottom:0}.category-family .panel-heading{align-items:flex-start;gap:16px}.category-family h2{margin:8px 0}.category-counts{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:12px;color:#63766a}.category-children{background:#f1f3ed;border:1px solid #dde2d6;border-radius:12px;padding:8px 18px}.category-children .management-row{background:transparent}.category-children h3{margin:6px 0}.category-empty{margin:14px 0}.category-controls .field-grid{margin-bottom:0}.category-sync-status:empty{display:none}.category-family .row-actions{flex-wrap:wrap;flex-shrink:0}@media(max-width:680px){.category-family .panel-heading{flex-direction:column}.category-family .row-actions{width:100%;justify-content:flex-start}.category-children{padding:4px 12px}.category-counts{gap:6px 12px}}
.site-review-details{margin:0}.site-review-details>div{padding:10px 0;border-bottom:1px solid #d9ddd2}.site-review-details dt{font-size:12px;color:#657368}.site-review-details dd{margin:6px 0 0;overflow-wrap:anywhere;white-space:pre-line}.site-review-details .text-link{white-space:normal;overflow-wrap:anywhere;display:inline;line-height:1.8}

/* AM footer configuration: compact, visibly grouped, responsive. */
.contact-qr-preview img{width:160px;height:160px;object-fit:contain;background:#fff;border:1px solid var(--line,#d9ded4);border-radius:8px;max-width:100%}.contact-upload-rules{padding:16px;margin:16px 0;border:1px solid var(--line,#d9ded4);border-radius:12px;background:var(--soft,#f2f3ed)}.contact-upload-rules h3{margin:0 0 10px}.contact-upload-rules p{margin:6px 0;overflow-wrap:anywhere}

.profile-image-preview{padding:16px;border:1px solid #d9ddd2;border-radius:8px;background:#eeeee6;margin-bottom:16px}.profile-image-preview img{display:block;max-width:100%;height:auto;object-fit:contain}.logo-preview img{width:auto;max-width:200px;max-height:110px}.banner-preview img{width:100%;aspect-ratio:8/3}.product-visibility{display:inline-flex}

/* am-product-groups-v1: bounded visibility sections, with lighter product rows. */
/* am-product-heading-toggle-v1: a single full-width heading control. */
.product-groups{display:flex;flex-direction:column;gap:22px}.product-group{min-width:0;border:1px solid #cfd8c8;border-radius:10px;background:#f0f2e9;overflow:hidden;scroll-margin-top:16px}.product-group-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px}.product-group-intro{min-width:0}.product-group-title{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.product-group-title h3{font-size:18px;line-height:1.5;overflow-wrap:anywhere}.product-group-heading .help{margin-top:5px}.group-count{display:inline-flex;align-items:center;font-size:12px;white-space:nowrap;border-radius:20px;padding:2px 10px;background:#fff;border:1px solid #d7ddcf;color:#607353}.product-group-heading[role=button]{cursor:pointer;user-select:none}.product-group-heading[role=button]:hover{background:#e7ecdf}.product-group-heading[role=button]:focus-visible{outline:3px solid #82a451;outline-offset:-3px}.product-group-body[hidden]{display:none}.group-chevron{display:none;flex-shrink:0;font-size:18px;line-height:1;transform:rotate(0deg)}.product-group-heading[role=button] .group-chevron{display:inline-block}.product-group-heading[aria-expanded=false] .group-chevron{transform:rotate(180deg)}.product-group-body{padding:0 16px 16px;border-top:1px solid #dae1d1}.product-group-body .pagination{margin-top:16px}.product-group .row-product h4{font-size:16px;line-height:1.5;margin:0}.product-group[data-product-group=draft]{background:#f2f1ea;border-color:#d8d8cc}.group-empty{margin-top:16px;background:#fafaf6;padding:24px 16px}.group-empty h4{font-size:15px;margin:0}.group-empty p{margin-bottom:0}.product-group .list-head,.product-group .product-row{grid-template-columns:minmax(0,2fr) minmax(100px,1fr) 100px 186px}
@media(max-width:1100px){.product-group .list-head,.product-group .product-row{grid-template-columns:minmax(0,1.5fr) minmax(90px,1fr) 90px 150px;gap:14px}}
@media(max-width:850px){.product-group .product-row{grid-template-columns:minmax(0,1fr) minmax(100px,.55fr);gap:14px}.product-group-body{padding-top:14px}}
@media(max-width:600px){.product-groups{gap:18px}.product-group-heading{padding:14px 12px;gap:10px;align-items:flex-start}.product-group-title{gap:6px}.product-group-title h3{font-size:16px}.group-chevron{margin-top:4px}.product-group-body{padding:12px 10px}.product-group .product-row{grid-template-columns:minmax(0,1fr) minmax(70px,.5fr);padding:12px;gap:12px}.product-group .row-product h4{font-size:15px}.group-count{font-size:11px;padding:1px 8px}.group-empty{margin-top:0;padding:20px 12px}}

/* am-guiji-admin-privacy-v1: a main-site-only published policy utility. */
.privacy-policy-panel{scroll-margin-top:20px}.privacy-policy-panel>.help{margin:0 0 14px}.privacy-link-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;margin-bottom:14px}.privacy-public-url{display:block;min-width:0;padding:12px 14px;background:#fff;border:1px solid #d9ddd2;border-radius:7px;color:#183d32;font-size:13px;line-height:1.65;overflow-wrap:anywhere;text-decoration:underline;text-underline-offset:3px}.privacy-copy-status{margin:0 0 14px;color:#183d32}.privacy-copy-status:empty{display:none}
@media(max-width:600px){.privacy-link-row{grid-template-columns:1fr}.privacy-link-row>.button{justify-self:start}.privacy-public-url{padding:10px 12px}}

/* am-bulk-product-visibility-v1: group actions and a dedicated selection column. */
.bulk-visibility-form{display:inline-flex;align-items:center;margin:0;min-width:0}.bulk-selection-tools{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:14px 4px 10px}.bulk-selection-tools .help{margin:0}.bulk-select-page{display:inline-flex;align-items:center;gap:9px;cursor:pointer;min-height:32px;font-size:13px}.row-select{display:flex;align-items:center;justify-content:center;min-width:0}.row-select input,.bulk-select-page input{width:19px;height:19px;margin:0;accent-color:#173d32;cursor:pointer;flex-shrink:0}.row-select input:disabled{cursor:default}.product-group .list-head,.product-group .product-row{grid-template-columns:28px minmax(0,2fr) minmax(100px,1fr) 100px 166px}.product-group .row-product{min-width:0}.product-group .row-product>div{min-width:0;overflow-wrap:anywhere}.bulk-visibility-form .button{white-space:nowrap}
@media(max-width:1100px){.product-group .list-head,.product-group .product-row{grid-template-columns:28px minmax(0,1.5fr) minmax(90px,1fr) 90px 150px;gap:14px}}
@media(max-width:850px){.product-group .product-row{grid-template-columns:28px minmax(0,1fr) auto;gap:12px}.product-group .row-select{grid-column:1;grid-row:1;align-self:start;padding-top:20px}.product-group .row-product{grid-column:2/-1;grid-row:1}.product-group .row-category{grid-column:2;grid-row:2}.product-group .row-status{grid-column:3;grid-row:2}.product-group .row-actions{grid-column:2/-1;grid-row:3}.bulk-selection-tools{padding-top:0}}
@media(max-width:600px){.product-group .product-row{grid-template-columns:24px minmax(0,1fr) auto;gap:10px}.product-group .row-product img{width:64px;height:60px}.product-group .row-category p{font-size:12px}.bulk-visibility-form .button{padding:8px 12px}.bulk-selection-tools{gap:8px 14px}.bulk-select-page{min-height:40px}.product-group .row-status{font-size:12px}.product-group .row-product{gap:10px}}

/* am-product-category-buttons-v1: compact live category filters belong to the product heading. */
.product-group-intro{flex:1}.product-category-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-width:0;max-width:100%}.product-category-button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;max-width:100%;padding:5px 12px;border:1px solid #ccd6c4;border-radius:6px;background:#fff;color:#365846;font-size:13px;line-height:1.5;overflow-wrap:anywhere;text-decoration:none;user-select:text}.product-category-button:hover{background:#e0e9d7;border-color:#9cb589}.product-category-button.is-active{background:#173d32;border-color:#173d32;color:#fff;font-weight:700}.product-category-button:focus-visible{outline:3px solid #82a451;outline-offset:2px}
@media(max-width:600px){.product-category-buttons{flex-basis:100%;gap:6px}.product-category-button{min-height:38px;padding:6px 10px;font-size:12px}.product-group-title>[data-category-buttons]{order:1}.product-group-title>.bulk-visibility-form{order:2}}

/* am-product-toolbar-v1: same-row controls with clear selection and category boundaries. */
.product-toolbar{gap:12px 16px;min-width:0}.toolbar-pagination{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.toolbar-page-status{font-size:12px;white-space:nowrap}.is-disabled{opacity:.5;cursor:default}.page-size-form{display:flex;align-items:center;gap:8px;margin:0;min-width:0}.page-size-form label{display:flex;align-items:center;gap:8px;font-size:12px;white-space:nowrap}.page-size-form select{width:auto;min-width:74px;min-height:38px;padding:6px 8px;border:1px solid #cdd7c5;border-radius:7px;background:#fff;color:#18392f}.page-size-form.auto-submit .page-size-apply{display:none}.category-visibility-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0;margin:0;padding-left:16px;border-left:1px solid #d3ddca}.category-visibility-state{font-size:12px;color:#657368;overflow-wrap:anywhere;min-width:0}.category-visibility-form .button{white-space:nowrap}.row-status .badge+.badge{margin-top:5px}
@media(max-width:850px){.product-toolbar{padding-top:12px}.category-visibility-form{padding-left:0;border-left:0}}
@media(max-width:600px){.product-toolbar{gap:10px;align-items:flex-start}.toolbar-pagination{gap:6px;max-width:100%}.toolbar-pagination .button{padding:7px 10px;font-size:12px}.page-size-form{max-width:100%}.category-visibility-form{width:100%;padding-top:10px;border-top:1px solid #d3ddca}.category-visibility-state{flex:1;min-width:90px}}

.category-confirm[hidden]{display:none}.category-confirm{flex-basis:100%;min-width:0;padding:12px;background:#fff8e8;border:1px solid #dec99a;border-radius:8px}.category-confirm p{font-size:12px;line-height:1.7;margin:0 0 10px;overflow-wrap:anywhere}.category-confirm>div{display:flex;gap:8px;flex-wrap:wrap}

/* am-home-blocks-v1: extend the existing module panel without merging control groups. */
.home-block-header-actions{display:flex;gap:8px;flex-wrap:wrap}.home-module-options .home-module-card{display:block;min-width:0}.home-module-switch{display:flex;align-items:flex-start;gap:10px;cursor:pointer}.home-module-switch input{flex-shrink:0}.home-module-switch span{min-width:0;overflow-wrap:anywhere}.home-module-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;border-top:1px solid #d5ddce;margin-top:12px;padding-top:10px}.home-position{display:flex;align-items:center;gap:6px;font-size:12px}.home-position input{width:72px;min-height:36px;border:1px solid #cdd6c5;border-radius:6px;padding:5px 8px;background:#fff;color:#18392f}.home-module-tools .delete-link{padding:0;min-height:36px}.home-module-tools .text-link{font-size:12px}.home-quick-moves{display:flex;flex-direction:column;gap:8px;padding-top:18px;margin-top:18px;border-top:1px solid #d3ddca}.home-quick-moves>div,.home-block-recovery>div{display:flex;justify-content:space-between;align-items:center;gap:12px;min-width:0}.home-quick-moves span,.home-block-recovery span{font-size:12px;overflow-wrap:anywhere}.home-quick-moves form{display:flex;gap:6px;margin:0;flex-shrink:0}.home-block-recovery{padding:16px;border:1px solid #d4d8ca;border-radius:8px;background:#eeeee6;margin-top:18px}.home-block-recovery>div{margin-top:10px}.home-visible-checkbox{display:flex;align-items:center;gap:8px;font-size:13px;padding-top:14px}.home-image-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}.home-image-editor label{min-width:0;background:#eeeee6;border:1px solid #d6ddce;border-radius:8px;overflow:hidden}.home-image-editor img{display:block;width:100%;height:130px;object-fit:contain;background:#fff}.home-image-editor span{display:flex;align-items:center;gap:6px;font-size:12px;padding:10px}.home-translation-fields{border-top:1px solid #d5ddce;margin-top:14px;padding-top:14px}.home-block-editor textarea{resize:vertical}
@media(max-width:600px){.home-module-options{grid-template-columns:1fr}.home-module-tools{gap:10px}.home-quick-moves .button{padding:7px 10px}.home-block-header-actions{width:100%}.home-image-editor{grid-template-columns:1fr}.home-visible-checkbox{padding:8px 0 14px}}

.home-move-form{display:none}.home-module-tools .button{padding:4px 8px;min-height:36px}.home-module-switch strong{display:block}.home-module-switch small{display:block;margin-top:5px;color:#6a7666}


/* am-home-block-drag-v1: a quiet grip belongs to each card, separate from its actions. */
.home-module-card-heading{display:flex;align-items:flex-start;gap:10px}.home-module-card-heading .home-module-switch{flex:1;min-width:0}.home-drag-handle{display:flex;align-items:center;justify-content:center;gap:3px;min-width:44px;min-height:44px;flex-shrink:0;color:#607461;border-radius:5px;font-size:11px;cursor:grab;touch-action:none;user-select:none}.home-drag-handle:hover{background:#e0e5d8;color:#173d32}.home-drag-handle:focus-visible{outline:3px solid #82a451;outline-offset:2px}.home-drag-handle svg{flex-shrink:0}.home-module-card.is-dragging{border:1px dashed #406b51;opacity:.45;background:#dbe6d5}.home-block-dragging,.home-block-dragging .home-drag-handle{cursor:grabbing;user-select:none}.home-drag-ghost{position:fixed;z-index:10000;pointer-events:none;max-width:min(240px,calc(100vw - 32px));padding:12px 18px;border:1px solid #739065;border-radius:8px;background:#fff;color:#173d32;font-size:13px;font-weight:700;box-shadow:0 8px 24px #173d3228;overflow-wrap:anywhere}.home-drag-status:empty{display:none}.home-drag-status{margin:-6px 0 16px;color:#315b3f}.home-utility-settings{border-top:1px solid #d5ddce;padding-top:16px;margin:0 0 20px}.home-utility-settings h3{font-size:13px;margin:0 0 10px}.home-utility-settings .module-options{margin:0}.home-module-tools{justify-content:flex-end;gap:16px}.home-module-tools .text-link,.home-module-tools .delete-link{display:inline-flex;align-items:center;min-height:32px;padding:0}.home-module-card [data-home-position]{display:none}
@media(max-width:600px){.home-module-card-heading{gap:6px}.home-drag-handle{min-width:44px;flex-direction:column;gap:0}.home-module-tools .text-link,.home-module-tools .delete-link{min-height:44px}.home-module-tools{margin-top:8px;padding-top:4px}}

/* am-block-fields-v1: content switches belong to headings, field rows are a lighter level. */
.home-part-heading-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.home-part-toggle{display:inline-flex;align-items:center;gap:6px;font-size:12px;min-height:32px;cursor:pointer;white-space:nowrap}.home-part-toggle input,.home-field-boolean input{width:18px;height:18px;min-height:0;padding:0;margin:0;flex-shrink:0;accent-color:#173d32}.home-part-toggle .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.home-fields-list{display:flex;flex-direction:column;gap:14px;margin:14px 0}.home-field-row{min-width:0;background:var(--am-surface,#f1f3eb);border:1px solid var(--am-border,#d8dece);border-radius:8px;padding:14px}.home-field-row-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:12px}.home-field-row-heading strong{font-size:13px;min-width:0;overflow-wrap:anywhere}.home-field-row-heading>div{display:flex;align-items:center;gap:12px}.home-field-row .field-grid{margin:0}.home-field-row .field:last-child{margin-bottom:0}.home-field-row .field>span{display:block;margin-bottom:7px}.home-field-options[hidden],.home-fields-empty[hidden]{display:none}.home-field-boolean{display:flex;align-items:center;gap:8px;font-size:12px;min-height:40px}.home-field-image-preview{display:block;width:auto;height:auto;max-width:100%;max-height:150px;object-fit:contain;margin:10px 0;border:1px solid #d8dece;border-radius:6px;background:white}.home-fields-panel [data-home-field-status]:empty{display:none}.home-fields-panel .help{overflow-wrap:anywhere}.home-business-content .help{margin-bottom:0}
@media(max-width:600px){.home-part-toggle{min-height:44px}.home-part-heading-actions{gap:6px}.home-field-row{padding:12px}.home-field-row-heading{gap:6px}.home-field-row-heading>div{gap:8px}.home-field-row .field-grid{grid-template-columns:1fr}}

.home-block-save{margin-top:20px}

/* am-product-category-hierarchy-v1: category boundaries are stronger than inner product states. */
.category-regions{display:flex;flex-direction:column;gap:24px}.category-region{border:1px solid #bacbb2;border-radius:12px;background:#edf1e7;min-width:0;scroll-margin-top:16px;overflow:hidden}.category-region[data-category-region=hidden]{background:#f0eee7;border-color:#d4ccb9}.category-region-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;list-style:none;cursor:pointer}.category-region-heading::-webkit-details-marker{display:none}.category-region-heading:hover{background:#e4ebda}.category-region-heading:focus-visible{outline:3px solid #82a451;outline-offset:-3px}.category-region-title{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.category-region-title h3{font-size:21px;font-weight:700;overflow-wrap:anywhere}.category-region-heading .help{margin-top:6px}.region-chevron{font-size:18px;flex-shrink:0;transform:rotate(180deg)}.category-region[open]>.category-region-heading .region-chevron{transform:none}.category-region-body{border-top:1px solid #cbd8c0;padding:18px;min-width:0}.category-region-body>.product-category-buttons{margin-bottom:18px}.category-region .product-groups{gap:14px}.category-region .product-group{background:#f9faf5;border-color:#dce2d4;border-radius:8px}.category-region .product-group[data-product-status=draft]{background:#f9f8f3}.category-region .product-group-title h4{font-size:17px;font-weight:600;margin:0;line-height:1.5;overflow-wrap:anywhere}.category-region .product-group-heading{padding:13px 15px}.category-region .product-group-body{border-top-color:#e1e6da}.category-empty{padding:18px;background:#fafbf7}.category-empty p{margin:0}.category-regions~[data-category-refresh]{margin:18px 0 0}.category-regions~[data-category-refresh] .text-link{display:inline;padding:0 4px;text-decoration:underline}
@media(max-width:600px){.category-regions{gap:18px}.category-region-heading{padding:14px 12px;gap:10px;align-items:flex-start}.category-region-title{gap:6px}.category-region-title h3{font-size:18px;flex-basis:100%}.category-region-body{padding:12px 8px}.category-region .product-group-heading{padding:12px 10px}.category-region .product-group-title h4{font-size:15px}.category-region .product-group-body{padding:10px 8px}.category-region .product-toolbar{gap:8px}.category-region .toolbar-pagination .button{padding:6px 8px}.category-region .category-visibility-form .button{white-space:normal}}

.category-region .row-product h5{font-size:16px;line-height:1.5;margin:0;overflow-wrap:anywhere}@media(max-width:600px){.category-region .row-product h5{font-size:15px}}

/* am-admin-navigation-settings-v1: one settings entry in the header, grouped links inside settings. */
.admin-header-compact{gap:20px}.admin-account-actions{gap:16px;justify-content:flex-end}.admin-settings-entry{display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:4px}.admin-navigation-panel{scroll-margin-top:20px}.admin-navigation-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-navigation-links>a{display:flex;flex-direction:column;justify-content:center;gap:3px;min-width:0;min-height:70px;padding:11px 13px;border:1px solid #d9dfd2;border-radius:7px;background:#f0f2e9;overflow-wrap:anywhere}.admin-navigation-links>a:hover{border-color:#9cb589;background:#e6eddc}.admin-navigation-links strong{font-size:14px;font-weight:600;line-height:1.5}.admin-navigation-links small{font-size:11px;color:#6a7666;line-height:1.6}.admin-navigation-links>a:focus-visible{outline:3px solid #82a451;outline-offset:2px}
@media(max-width:600px){.admin-header-compact{gap:10px;align-items:flex-start}.admin-account-actions{width:auto;gap:8px;justify-content:flex-start;flex-wrap:wrap}.admin-account-actions .account{font-size:12px}.admin-account-actions .button{padding:8px 12px}.admin-navigation-links{grid-template-columns:1fr;gap:8px}.admin-navigation-links>a{min-height:62px;padding:10px 12px}}

/* am-field-editor-v2: compact controls, lighter field rows and recoverable deletion. */
.home-block-editor .editor-columns{gap:16px}.home-block-editor .editor-column{gap:16px}.home-block-editor .panel{padding:18px}.home-block-editor .panel-heading{margin-bottom:12px;gap:10px}.home-block-editor .field{margin-bottom:10px;gap:5px}.home-block-editor .field-grid{gap:10px}.home-block-editor .field input:not([type=checkbox]),.home-block-editor .field select,.home-block-editor .field textarea{min-height:38px;padding:7px 10px}.home-block-editor .field textarea{min-height:72px}.home-block-editor .home-visible-checkbox{padding-top:4px}.home-block-editor .contact-qr-preview{display:flex;align-items:center;gap:12px;margin:0 0 12px}.home-block-editor .contact-qr-preview img{width:128px;height:128px;flex-shrink:0}.home-block-editor .contact-upload-rules{padding:10px 12px;margin:0 0 12px}.home-block-editor .contact-upload-rules summary{font-size:12px;font-weight:600;cursor:pointer}.home-block-editor .contact-upload-rules p{font-size:11px;margin:7px 0 0}.home-block-editor .home-fields-list{gap:10px;margin:10px 0}.home-block-editor .home-field-row{padding:10px}.home-block-editor .home-field-row-heading{gap:7px;flex-wrap:nowrap;margin-bottom:8px}.home-block-editor .home-field-row-heading>strong{flex:1;font-size:12px}.home-block-editor .home-field-row-heading>div{gap:7px;flex-wrap:wrap;justify-content:flex-end}.home-block-editor .home-field-row-heading .delete-link{min-height:32px;padding:4px;font-size:12px}.field-row-controls{border:0;min-width:0;padding:0;margin:0}.field-row-controls .field:last-child{margin-bottom:0}.field-drag-handle{display:inline-flex;align-items:center;gap:4px;flex-shrink:0;min-height:34px;padding:3px 5px;font-size:11px;color:#6a7666;cursor:grab;touch-action:none;user-select:none;border-radius:4px}.field-drag-handle:focus-visible{outline:3px solid #82a451;outline-offset:1px}.field-drag-handle:active{cursor:grabbing}.is-field-dragging{opacity:.5;border-style:dashed!important}.field-dragging{user-select:none;cursor:grabbing}.field-drag-ghost{position:fixed;z-index:9999;pointer-events:none;max-width:220px;padding:10px 14px;border:1px solid #87a571;border-radius:7px;background:#f1f5eb;color:#173d32;font-size:13px;box-shadow:0 4px 14px #0002;overflow-wrap:anywhere}.field-recovery{margin-top:12px;padding:10px 12px;border:1px solid #d9d9cf;border-radius:7px;background:#f6f5ef}.field-recovery>summary{cursor:pointer;font-size:12px;font-weight:600}.field-recovery[hidden]{display:none}.field-recovery [data-deleted-field-list]{display:flex;flex-direction:column;gap:7px;margin-top:8px}.is-field-deleted [data-field-controls],.is-field-deleted .field-drag-handle,.is-field-deleted .home-part-toggle{display:none!important}.is-field-deleted .home-field-row-heading{margin:0}.home-block-editor [data-delete-field][hidden],.home-block-editor [data-restore-field][hidden]{display:none}.native-fields-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.native-field-row{min-width:0;padding:10px;border:1px solid #d8dece;border-radius:7px;background:#f1f3eb}.native-field-label{display:flex;align-items:flex-end;gap:6px;margin-bottom:7px}.native-field-label>label{flex:1;min-width:0;font-size:10px;font-weight:500;color:#6a7666}.native-field-label input{width:100%;min-width:0;min-height:30px;padding:4px 7px;border:1px solid #d3dbc9;border-radius:5px;background:#fff;color:#18392f;font:inherit;font-size:12px;margin-top:3px}.native-field-label .badge{flex-shrink:0;font-size:10px}.home-block-editor .native-field-row .field{margin:0}.home-block-editor .native-field-row .field>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:600px){.home-block-editor .panel{padding:14px}.home-block-editor .editor-columns,.home-block-editor .editor-column{gap:12px}.home-block-editor .home-field-row .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-block-editor .home-field-row .field{font-size:11px}.home-block-editor .home-field-row-heading{flex-wrap:wrap}.home-block-editor .home-field-row-heading>div{gap:5px}.native-fields-list{grid-template-columns:1fr}.field-drag-handle{min-height:40px}.home-block-editor .home-part-toggle{min-height:36px}.home-block-editor .contact-qr-preview img{width:108px;height:108px}}
@media(max-width:380px){.home-block-editor .home-field-row .field-grid{grid-template-columns:1fr}.native-field-label .badge{max-width:70px;white-space:normal}}

/* Combine native field names and actions in one row instead of duplicating the heading. */
.home-block-editor .native-field-row .home-field-row-heading{gap:6px}.native-field-name-label{flex:1;min-width:0}.native-field-name-label input{width:100%;min-width:0;min-height:32px;padding:4px 7px;border:1px solid #d3dbc9;border-radius:5px;background:#fff;color:#18392f;font:inherit;font-size:12px;font-weight:600}.native-field-value-line{display:flex;align-items:flex-start;gap:6px;min-width:0}.native-field-value-line>.field{flex:1;min-width:0}.native-field-value-line>.badge{flex-shrink:0;max-width:46px;white-space:normal;line-height:1.4;font-size:10px;margin-top:5px;padding:3px 5px}.home-block-editor .native-field-row>.home-field-row-heading>[data-home-field-caption]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.home-block-editor .is-field-deleted .native-field-name-label{display:none}.home-block-editor .is-field-deleted>.home-field-row-heading>[data-home-field-caption]{position:static;width:auto;height:auto;clip-path:none;white-space:normal;overflow:visible;flex:1}

.home-block-editor .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* Custom fields use the full editor width in two compact columns; saved reading order stays row-major. */
.home-block-editor>.home-fields-panel{margin-top:16px}.home-block-editor>.home-fields-panel .home-fields-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}.home-block-editor>.home-fields-panel .field-row-controls .field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-block-editor>.home-fields-panel .home-field-row .field>span{margin-bottom:4px}
@media(max-width:850px){.home-block-editor>.home-fields-panel .home-fields-list{grid-template-columns:1fr}.home-block-editor>.home-fields-panel{margin-top:12px}}
@media(max-width:380px){.home-block-editor>.home-fields-panel .field-row-controls .field-grid{grid-template-columns:1fr}}

/* am-home-block-buttons-v1: compact button controls belong to their own panel. */
.home-buttons-list{display:flex;flex-direction:column;gap:10px;margin:10px 0}.home-buttons-panel .help{margin-bottom:0}.home-button-icon-controls{display:flex;align-items:flex-start;gap:10px;flex-wrap:wrap;margin-top:8px}.home-button-icon-preview{width:38px;height:38px;object-fit:contain;border:1px solid #d8dece;border-radius:5px;background:#fff;flex-shrink:0}.home-button-icon-controls>.field{flex:1;min-width:145px;margin:0}.home-button-icon-controls>.home-button-icon-upload{flex:2;min-width:210px}.home-block-editor .home-button-icon-upload input{font-size:11px}.home-button-translations{margin-top:8px;font-size:11px}.home-button-translations summary{cursor:pointer;color:#657368}.home-button-translation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px}.home-buttons-panel [data-home-buttons-empty][hidden]{display:none}
@media(max-width:600px){.home-buttons-panel .home-button-row .field-grid{grid-template-columns:1fr}.home-button-icon-controls>.field,.home-button-icon-controls>.home-button-icon-upload{min-width:0;flex-basis:100%}.home-button-translation-grid{grid-template-columns:1fr}.home-button-icon-controls{gap:8px}}

/* am-block-image-visibility-v1: hidden frontend pictures remain available in the editor. */
.home-image-editor .home-image-entry{display:block;min-width:0}
.home-image-entry .home-image-toggle{display:flex;align-items:center;gap:9px;padding:10px 12px;font-size:13px;font-weight:700}
.home-image-toggle input{width:18px;height:18px;flex-shrink:0;accent-color:#173d32}
.home-image-toggle .home-image-state-off{display:none;color:#8a5b26}
.home-image-toggle input:not(:checked)~.home-image-state-on{display:none}
.home-image-toggle input:not(:checked)~.home-image-state-off{display:inline}
.home-image-entry:has(.home-image-toggle input:not(:checked))>img{opacity:.48}

/* am-compact-empty-fields-v1 */
.field textarea.am-content-textarea{height:60px;min-height:60px;max-height:320px;line-height:1.6;overflow-y:auto;resize:vertical}

/* am-admin-compact-batch-v1 */
.stats .stat{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 18px;min-height:62px}.stats .stat span{font-size:13px;margin:0}.stats .stat strong{font-size:26px;line-height:1.2;margin:0}
.page-heading .product-management-heading{gap:10px}.page-heading h1{margin:0}.product-heading-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.catalogue-panel[data-product-management]{padding-top:20px}
.product-editor-compact .editor-columns,.product-editor-compact .editor-column{gap:14px}.product-editor-compact .panel{padding:16px 18px}.product-editor-compact .panel-heading{margin-bottom:12px}.product-editor-compact .field{gap:5px;margin-bottom:12px}.product-editor-compact .field:last-child{margin-bottom:0}.product-editor-compact .field-grid{gap:12px}.product-editor-compact .category-controls{padding:12px;margin:0 0 12px}.product-editor-compact .category-controls h3{margin:0 0 10px}.product-editor-compact .category-controls .field-grid{margin:0}.product-editor-compact .category-sync-status:empty{display:none}.product-editor-compact .category-sync-status{margin:8px 0 0}.product-editor-compact .main-image-preview{height:190px;margin-bottom:12px}.product-editor-compact .gallery-editor{gap:8px;margin-bottom:12px}.product-editor-compact .gallery-tile img{height:88px}.product-editor-compact .publish-panel h2{font-size:18px}
.spec-table-wrap{overflow-x:auto;max-width:100%;border:1px solid #d5ddce;border-radius:7px}.spec-table{width:100%;border-collapse:collapse;table-layout:fixed}.spec-table th{font-size:12px;text-align:left;background:#eeeee6;padding:8px}.spec-table th:first-child{width:38%}.spec-table th:last-child{width:54px}.spec-table .spec-row{display:table-row;background:transparent;border:0;padding:0;margin:0}.spec-table td{padding:5px 7px;border-top:1px solid #e0e5d9}.spec-table input{width:100%;min-width:0;min-height:36px;border:1px solid #cdd5c7;border-radius:4px;padding:7px 8px;background:#fff;color:#18392f}.spec-table .remove-spec{min-height:36px;padding:4px;font-size:12px}.product-autosave-status{min-height:0;margin:0 0 12px;color:#52664c;font-size:13px}.product-autosave-status:empty{display:none}.product-autosave-status[role=alert]{color:#994c43}.product-autosave-status button{margin-left:12px}
@media(max-width:600px){.stats .stat{padding:10px;gap:7px;min-height:52px}.stats .stat span{font-size:12px}.stats .stat strong{font-size:23px}.product-editor-compact .panel{padding:13px}.product-editor-compact .editor-columns,.product-editor-compact .editor-column{gap:12px}.product-editor-compact .field-grid{gap:0}.product-editor-compact .main-image-preview{height:170px}.product-heading-actions{gap:10px}.spec-table th{font-size:11px;padding:7px 5px}.spec-table td{padding:4px}.spec-table th:last-child{width:42px}.spec-table input{font-size:12px;padding:6px}.spec-table .remove-spec{font-size:11px;padding:2px}}

/* am-product-secondary-create-v1: category creation stays inside the product category group. */
.category-controls .category-create-open{margin-top:10px}
.category-controls .category-quick-create{margin-top:10px;padding:12px;border:1px solid #d7dfce;border-radius:8px;background:#f9faf6;display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.category-controls .category-quick-create[hidden]{display:none}
.category-quick-create>.field{flex:1 1 220px;min-width:0;margin:0}
.category-create-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.category-controls .category-create-status{flex-basis:100%;margin:0;font-size:12px;overflow-wrap:anywhere}
.category-create-status:empty{display:none}
.category-create-status[role=alert]{color:#a13b29}
@media(max-width:500px){.category-quick-create>.field{flex-basis:100%}.category-create-actions{width:100%}.category-create-actions .button{flex:1}}

/* am-category-cascade-v1: red confirmation with compact recovery fields. */
.category-cascade-warning{flex-basis:100%;margin:0 0 10px;color:#b42318!important;font-weight:700;overflow-wrap:anywhere}.cascade-restore-category{max-width:240px;min-width:0;margin:0 0 6px}.cascade-restore-category select{max-width:100%;min-width:0}
