.app-header .brand-logo img{filter:none;object-position:50% 48%;height:30px}.login-main .wordmark img{filter:none;object-fit:cover;object-position:50% 47%;height:40px}.filters{flex-wrap:wrap}.filters>label,.form-grid>label,fieldset,.form-grid>div{min-width:0;max-width:100%}
.input-action input{flex:1 1 auto}@media(max-width:760px){.input-action{align-items:stretch}.input-action input{flex:0 0 auto;min-height:44px}.input-action button{align-self:flex-start}}
input[type=date],input[type=datetime-local]{display:block;width:100%;max-width:100%;min-width:0!important;min-inline-size:0;max-inline-size:100%;appearance:none;-webkit-appearance:none;box-sizing:border-box}input::-webkit-date-and-time-value{min-width:0;text-align:left}input::-webkit-datetime-edit{min-width:0;padding:0}.filters input,.filters select{box-sizing:border-box;max-width:100%}
.count-badge{font-size:13px;background:#e8e9eb;padding:3px 8px;border-radius:5px;white-space:nowrap;vertical-align:middle}#order-more{margin-left:auto}.order-menu{position:relative}.order-menu summary{display:flex;justify-content:center;align-items:center;list-style:none;width:42px;height:42px;border:1px solid #ccc;border-radius:7px;cursor:pointer;letter-spacing:2px;font-size:18px}.order-menu summary::-webkit-details-marker{display:none}.order-menu-items{position:absolute;right:0;top:48px;z-index:5;background:#fff;border:1px solid #ddd;box-shadow:0 6px 25px #0002;border-radius:9px;padding:6px;min-width:205px}.order-menu-items button,.order-menu-items a{display:block;width:100%;box-sizing:border-box;border:0;background:white;color:inherit;text-align:left;text-decoration:none;padding:11px 12px;border-radius:5px;font:inherit;cursor:pointer}.order-menu-items button:hover,.order-menu-items a:hover{background:#f1f2f3}.order-menu-items .danger{color:#b42318}.dialog-heading{gap:12px}#order-dialog .dialog-heading{overflow:visible;z-index:4}
.remove-line{color:#8e3530;flex:0 0 34px;width:34px;min-width:34px;font-size:22px}.removed-line>div{opacity:.6;text-decoration:line-through}.removed-line>label{display:none}.selected-item .text-button[data-remove-item]{font-size:24px;min-width:36px}
.rich-toolbar{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}.rich-toolbar button{border:1px solid #c7c7c7;border-radius:5px;background:#fafafa;min-height:38px;padding:6px 10px;color:#303030;font:inherit;cursor:pointer}.rich-toolbar input{flex:1;min-width:120px}.rich-editor{border:1px solid #8c9196;border-radius:7px;min-height:240px;padding:14px;overflow-wrap:anywhere;outline-offset:3px}.rich-editor p{margin:0 0 14px}.rich-editor a{color:#1765ad}
.lead-outcomes{display:flex;flex-wrap:wrap;gap:5px;min-width:270px;max-width:400px}.lead-outcomes .button{margin:0!important;font-size:12px;min-height:34px}.lead-outcomes button[aria-pressed=true]{border-color:#007a5a;background:#e8f6ef}.product-detail-link{border:0;background:transparent;padding:0;text-align:left;font:inherit;font-weight:600;color:#1765ad;cursor:pointer}.product-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin-bottom:24px}.product-gallery img{display:block;width:100%;height:230px;object-fit:contain;background:#f8f8f8;border-radius:8px}.product-description{margin:24px 0;overflow-wrap:anywhere}
.draft-tools{display:flex;justify-content:flex-end}.draft-tools .text-button{font-size:12px;color:#666}#draft-status{margin:0;min-height:20px}#new-order-form>.form-actions{position:sticky;bottom:0;background:#fff;padding:14px 0;margin-bottom:-16px;z-index:3;border-top:1px solid #ddd}#new-order-items{content-visibility:auto;contain-intrinsic-size:auto 180px}#directory-filters .search-label{flex-basis:100%}#directory-filters label{flex:1 1 130px}#email-dialog{width:min(760px,calc(100% - 24px));max-width:760px}
.new-products-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.new-products-heading h3,.new-products-heading p{margin:0 0 12px}.new-products-heading p{font-size:15px}.new-products-heading strong{font-size:19px;margin-left:6px}.dashboard-drafts{display:grid;gap:8px}.dashboard-draft{display:flex;justify-content:space-between;gap:18px;width:100%;padding:14px 16px;border:1px solid #dcdfe4;border-radius:8px;background:#fff;text-align:left;color:inherit;font:inherit;cursor:pointer}.dashboard-draft:hover{border-color:#8c9196;background:#fafafa}.dashboard-draft>span{display:grid;gap:4px}.dashboard-draft>span:last-child{text-align:right}.dashboard-draft small{color:#6d7175}
.preferences-panel{max-width:900px}.preference-fields{display:grid;grid-template-columns:minmax(180px,260px) minmax(280px,1fr);gap:18px}.preference-fields .form-hint{grid-column:2}.notification-choices{border:0;padding:0;margin:28px 0 24px}.notification-choices legend{font-size:16px;font-weight:650;margin-bottom:12px}.notification-choices label{display:flex;gap:12px;align-items:flex-start;padding:15px 4px;border-top:1px solid #e1e3e5;cursor:pointer}.notification-choices label:last-child{border-bottom:1px solid #e1e3e5}.notification-choices input{width:20px;height:20px;margin-top:2px;flex:0 0 20px}.notification-choices span{display:grid;gap:4px}.notification-choices small{display:block;color:#6d7175;line-height:1.45;font-size:14px}
@media(max-width:760px){.filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.filters>label{overflow:hidden}.filters input[type=date]{min-height:46px}.dialog-heading h2{font-size:21px}.product-gallery img{height:195px}#order-more{flex:none}.order-menu-items{min-width:195px}#directory-filters label{width:100%}.selected-item{flex-wrap:wrap}.selected-item>div{flex:1 1 160px}.selected-item>label{width:82px}.product-description{font-size:15px}#new-order-form>.form-actions{padding-bottom:max(14px,env(safe-area-inset-bottom))}.preference-fields{grid-template-columns:1fr}.preference-fields .form-hint{grid-column:1}.notification-choices label{padding:14px 0}.dashboard-draft{align-items:flex-start}.dashboard-draft>span:last-child{max-width:42%}.new-products-heading{align-items:flex-start;flex-direction:column;gap:0}}
@media(max-width:390px){.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.filters label{font-size:13px}.filters input,.filters select{padding-left:9px;padding-right:9px}.selected-item>div{flex-basis:100%}.rich-toolbar button{font-size:13px}}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}.section-heading h3{margin:0}

.order-action-status{margin:14px 24px 0;padding:14px 16px;border-radius:9px;border:1px solid #d8e4d8;background:#eef7ee;color:#23482b;font-weight:600;line-height:1.45}
.order-action-status.processing,.order-action-status.warning{background:#fff8e7;border-color:#eddbac;color:#654c15}
.order-action-status.processing::before,.edit-progress::before{content:'';display:inline-block;width:14px;height:14px;margin-right:10px;vertical-align:-2px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:portal-cancel-spin .8s linear infinite}
.edit-progress{padding:12px 14px;border-radius:8px;background:#eef4f1;color:#284f3a;font-weight:600}
@keyframes portal-cancel-spin{to{transform:rotate(360deg)}}
@media(max-width:640px){.order-action-status{margin:10px 12px 0}}
