nav details a{font-size:15px}nav .solid-icon{flex-basis:16px}nav a:hover,nav button:hover,nav summary:hover,nav a:hover .solid-icon,nav summary:hover .solid-icon{color:var(--menu-hover)!important}
label:has(>input[type=checkbox]){display:inline-flex;align-items:center;gap:6px}label>input[type=checkbox]{margin:0;flex:0 0 16px}
.choice-button{display:block;width:100%;text-align:left;margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.choice-panel{position:fixed;inset:auto;margin:0;padding:6px 10px;border:1px solid #cbd3df;border-radius:4px;background:white;box-shadow:0 8px 25px #172e4c30;overflow:auto;z-index:100;animation:choice-open .15s ease-out}.choice-panel input{position:sticky;top:0}.choice-list button{display:block;width:100%;text-align:left;padding:6px 10px;border:0;margin:3px 0}.choice-list [aria-selected=true]{background:#edf3ff;color:var(--brand)}.choice-list button:hover{background:var(--brand);color:white}@keyframes choice-open{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
.profile-menu{margin-left:auto;position:relative;flex-shrink:0}.profile-toggle{display:flex;align-items:center;gap:6px;white-space:nowrap}.avatar{width:25px;height:25px;margin:0}.profile-dropdown{display:none;position:absolute;right:0;top:100%;min-width:190px;background:white;border:1px solid #ddd;box-shadow:0 6px 18px #0003;border-radius:4px;padding:6px 10px;z-index:50}.profile-menu:hover .profile-dropdown,.profile-menu:focus-within .profile-dropdown,.profile-menu.opened .profile-dropdown{display:block}.profile-dropdown button{display:flex;gap:10px;align-items:center;width:100%;text-align:left;border:0;border-bottom:1px dashed #ddd;border-radius:0}.profile-dropdown button:last-child{border:0}
.supplier-price-row{display:grid;grid-template-columns:minmax(180px,1fr) minmax(100px,180px) 36px;gap:10px;align-items:start;margin:10px 0}.supplier-price-row>button{margin-top:22px}.supplier-field{grid-column:1/-1;max-width:420px}.audit-detail{max-width:300px;overflow-wrap:anywhere}#audit-filter label{min-width:200px;max-width:340px;margin:0}#audit-filter{align-items:end}
#media-dialog{width:min(1200px,96vw);padding:0}#media-dialog .dialog-head{padding:16px 22px;margin:0;border-bottom:1px solid #e0e5ec}#media-dialog h2{margin:0}.media-toolbar{display:flex;align-items:center;gap:16px;padding:16px 22px;background:#f7f9fc;border-bottom:1px solid #e0e5ec}.media-toolbar input{flex:1;min-width:100px}.media-toolbar>button,.media-toolbar>span{white-space:nowrap}#media-dialog .asset-grid{padding:18px 22px;margin:0;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:16px;max-height:48vh}#media-dialog .asset-item{position:relative}#media-dialog .asset-item>button:first-child{padding:0;border-radius:4px;overflow:hidden}#media-dialog .asset-item img{width:100%;height:110px;object-fit:cover;display:block}#media-dialog .asset-item span{display:none}#media-dialog .asset-item>button:last-child{position:absolute;bottom:5px;right:5px;width:auto;padding:3px 6px;font-size:11px;background:#ffffffde}#media-dialog details,#crop-area,#media-error{margin:10px 22px}.media-footer{display:flex;justify-content:space-between;padding:16px 22px;border-top:1px solid #e0e5ec;color:#697487}.native-file-row{display:flex;align-items:center;gap:8px;padding:6px 0;border-bottom:1px solid #e3e7ee}.native-file-row input{flex:1;border:0;min-width:0;padding:0;background:transparent;font-size:14px}.native-file-row input::file-selector-button{margin-right:8px;padding:2px 8px;border:1px solid #767676;border-radius:3px;background:linear-gradient(#f7f7f7,#e2e2e2);color:#111;font:inherit;cursor:pointer}.native-file-row input::file-selector-button:hover{background:linear-gradient(#ededed,#d4d4d4)}
.choice-list .choice-add{display:block;margin:6px 0 2px;padding:8px 10px;border-top:1px dashed #d0d5dd;font-size:13px;color:var(--brand)}.choice-list .choice-add:hover{background:#edf3ff}
.preview-notice{margin:0 0 14px;padding:12px 16px;border-left:4px solid #f79009;background:#fffaeb;color:#7a2e0e;line-height:1.6}.preview-actions{position:sticky;bottom:0;margin-top:14px;padding:12px 0 0;background:#fff;justify-content:flex-end}
@media(max-width:760px){.profile-toggle{padding:4px;border:0;background:transparent}.profile-toggle .profile-text{display:none}header .search{min-width:0;flex:1}header .search input{min-width:0;flex:1}header .search>.choice-button{display:none!important}.media-toolbar{flex-wrap:wrap;gap:8px;padding:10px}#media-dialog .asset-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:10px;gap:8px}.supplier-price-row{grid-template-columns:minmax(0,1fr) 100px 30px}.choice-panel{max-width:calc(100vw - 20px)}header .search>.choice-button{max-width:75px}.media-footer{font-size:12px}}
