.ops-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0}.ops-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}.ops-tile{display:flex;flex-direction:column;align-items:flex-start;gap:9px;text-align:left;padding:18px;border:1px solid #586271;border-radius:14px}.ops-tile strong{font-size:18px}.ops-tile span,.ops-tile small{white-space:normal;line-height:1.5}.ops-overview{padding:20px;margin:16px 0;border:1px solid #49515c;border-radius:16px}.ops-muted,.ops-count-note{font-size:13px;line-height:1.5;opacity:.9}.ops-count-note{margin-top:8px}.ops-count-guide{padding:12px;border:1px solid #5486b8;border-radius:10px;line-height:1.5}.ops-backdrop{z-index:22000!important}.ops-sheet{max-width:1000px!important;width:calc(100vw - 24px)!important;max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;overflow:auto;padding:20px!important}.ops-sheet label{display:flex;flex-direction:column;gap:7px}.ops-sheet input,.ops-sheet select{min-height:44px;width:100%;box-sizing:border-box}.ops-table-wrap{overflow:auto}.ops-table-wrap table{width:100%;border-collapse:collapse}.ops-table-wrap td,.ops-table-wrap th{padding:10px;border-bottom:1px solid #49515c;text-align:left;white-space:nowrap}.ops-color{position:absolute;right:5px;bottom:5px;width:25px;height:25px;border:2px solid white;border-radius:50%;box-shadow:0 0 0 1px #313741;pointer-events:none}.family-card-media,.variant-thumb-wrap{position:relative}.ops-toolbar a{display:inline-block;padding:10px;border:1px solid #657182;border-radius:9px;color:inherit}.ops-toolbar select{min-height:44px}.ops-sheet .sheet-header{position:sticky;top:-20px;padding:15px 0;background:var(--panel,#202426);z-index:2}.ops-tile:focus-visible{outline:3px solid #76aafa;outline-offset:3px}
/* Only admin uses nav-tabs-shell; employee's four existing buttons are untouched. */

@media(max-width:720px){.nav-tabs-shell .nav-section-tab,.nav-tabs-shell .sub-tab-row .tab-btn{width:auto!important;white-space:nowrap}.app-shell:not(.simple-mode) .topbar-actions>button{min-height:44px}}
@media(max-width:720px){.nav-tabs-shell .nav-section-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:thin;padding-bottom:7px}.nav-tabs-shell .nav-section-tab{flex:0 0 auto;min-height:44px}.nav-tabs-shell .sub-tab-row{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;gap:8px;padding-bottom:7px}.nav-tabs-shell .sub-tab-row .tab-btn{flex:0 0 auto;min-height:44px}.ops-overview{padding:14px}.ops-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.ops-backdrop{padding-top:calc(16px + env(safe-area-inset-top))!important;padding-bottom:calc(16px + env(safe-area-inset-bottom))!important}.ops-sheet{margin:auto!important}.ops-sheet .sheet-header h2{font-size:21px}.ops-count-note{font-size:12px}}

/* V584: compact order controls and an unmistakable color pinwheel. */
.ops-color.ops-pinwheel{display:block!important;position:absolute!important;right:8px!important;bottom:8px!important;width:34px!important;height:34px!important;border:0;background:transparent;box-shadow:none;filter:drop-shadow(0 1px 2px #000);z-index:2;overflow:visible}.previous-order-choice{display:flex!important;flex-direction:row!important;align-items:center;gap:9px;margin:0 0 10px;font-size:12px;cursor:pointer;text-align:left}.previous-order-choice input[type=checkbox]{appearance:auto!important;flex:0 0 18px!important;width:18px!important;min-width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;margin:0!important;box-shadow:none!important;accent-color:#5a9bf7}.previous-order-choice span{display:block}.previous-order-choice small{display:block;font-size:11px;opacity:.75;margin-top:3px}.ordered-quantity-row{align-items:center}.reorder-money-guide .month-estimate-note{font-size:12px;opacity:.8}

.count-save-status{font-size:13px;color:#f4d06f;padding:8px 12px;border:1px solid #887746;border-radius:8px;margin-top:8px}

/* V585: reorder date controls and readable stock states. */
.reorder-sort-v585{display:flex;align-items:center;gap:8px;font-size:13px}.reorder-sort-v585 select{min-height:42px;padding:8px;border-radius:9px;border:1px solid #515a65;background:var(--panel,#24282d);color:inherit}.reorder-status-v585{display:inline-flex;align-items:center;width:fit-content;padding:5px 9px;border-radius:7px;font-size:13px;font-weight:700;line-height:1.4}.reorder-status-v585.is-empty{color:#ff858c;background:rgba(222,62,76,.12)}.reorder-status-v585.is-low{color:#f4ce66;background:rgba(217,164,39,.12)}.reorder-detail-v585{max-width:760px!important;width:calc(100vw - 24px)!important}.reorder-heading-v585{display:flex;gap:14px;align-items:center;min-width:0}.reorder-heading-v585 img{width:80px;height:80px;object-fit:cover;border-radius:12px;flex-shrink:0}.reorder-heading-v585 h2{font-size:22px;line-height:1.3;margin:0}.reorder-summary-v585{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.reorder-summary-v585>div{padding:14px 16px;border:1px solid #3b434e;border-radius:12px}.reorder-summary-v585 span{display:block;font-size:13px;color:#b7c1cf}.reorder-summary-v585 strong{display:block;font-size:21px;margin-top:5px}.reorder-rows-v585{display:grid;gap:10px}.reorder-row-v585{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;border:1px solid #3b434e;border-radius:12px;padding:16px}.reorder-item-v585{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}.reorder-item-v585>strong{font-size:17px;overflow-wrap:anywhere}.reorder-item-v585>small{color:#aebccc;font-size:12px}.reorder-amount-v585{text-align:right;display:grid;gap:8px;font-size:14px}.reorder-amount-v585 strong{font-size:20px;padding-left:5px}.reorder-amount-v585 small{color:#b7c1cf;font-size:13px}.reorder-footer-v585{display:flex;justify-content:flex-end;margin-top:20px}.reorder-detail-v585 .sheet-header{align-items:flex-start;gap:12px}.reorder-detail-v585 .sheet-header>button{flex-shrink:0}@media(max-width:540px){.reorder-heading-v585 img{width:52px;height:52px}.reorder-heading-v585{gap:9px;align-items:flex-start}.reorder-heading-v585 h2{font-size:18px}.reorder-detail-v585 .sheet-header>button{padding:10px}.reorder-row-v585{padding:13px;gap:10px}.reorder-summary-v585>div{padding:12px}.reorder-summary-v585 strong{font-size:19px}.reorder-sort-v585{flex-wrap:wrap}}

/* V586: calm notification navigation and clear package decisions. */
.notifications-v586{width:min(1120px,calc(100vw - 32px));padding:0!important;overflow:auto;max-height:94dvh}
.notifications-v586 .notification-sheet-header{padding:24px 24px 16px;position:sticky;top:0;background:#202224;z-index:2;margin:0;align-items:flex-start}
.notifications-v586 h2{font-size:26px;margin:0}.notification-intro-v586{font-size:13px;color:#aeb7c2;margin:6px 0 0}
.notification-tabs-v586{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;margin:0 24px 16px;padding:5px;background:#151719;border:1px solid #383d43;border-radius:12px}
.notification-tabs-v586 button{display:flex;justify-content:space-between;align-items:center;gap:8px;border:0;border-radius:8px;background:transparent;color:#b8c0ca;padding:12px;font-size:14px;min-width:0;white-space:normal;text-align:left}
.notification-tabs-v586 button b{font-size:12px;background:#ffffff0e;border-radius:16px;padding:3px 7px}.notification-tabs-v586 button.is-selected{background:#334d6e;color:#fff;box-shadow:inset 0 -2px #72afff}
.notification-tools-v586{margin:0 24px 16px;border-bottom:1px solid #3c4147;padding:0 0 12px;color:#adb7c3;font-size:13px}.notification-tools-v586 summary,.notification-diagnostics-v586 summary{cursor:pointer}.notification-tools-v586 .notification-toolbar{padding:12px 0 0;gap:8px}.notification-tools-v586 p{flex-basis:100%;line-height:1.6}
.notifications-v586 .notification-list{padding:0 24px 24px;gap:16px}.notifications-v586 .notification-card{background:#25292d;border:1px solid #3e454e;border-radius:12px;padding:18px;box-shadow:none}.notifications-v586 .notification-card h3{font-size:17px;line-height:1.4}.notifications-v586 .notification-issue-line{color:#b6c0cc;font-size:14px;margin-top:6px;line-height:1.6;overflow-wrap:anywhere}.notifications-v586 .notification-clear-button{background:transparent;font-size:12px;padding:7px 12px;min-height:34px;color:#bbc4d0;border-color:#4a525c}
.notifications-v586 .notification-alert-row{padding:12px;border-radius:8px;background:#ffffff04;line-height:1.55}.notifications-v586 .notification-alert-row strong{font-size:14px;font-weight:500}.notifications-v586 .notification-alert-row span{color:#b5bfcd;font-size:13px}.notification-diagnostics-v586{margin-top:14px;font-size:12px;color:#aab5c4}.notification-diagnostics-v586 strong{overflow-wrap:anywhere}.notifications-v586 .notification-last-scan,.notifications-v586 .notification-box-monitor-debug{margin:0 24px 18px}.notifications-v586 .sheet-hint{line-height:1.6;color:#acb8c8}
.package-review-v586{background:#1b1e21!important;border-color:#424950!important}.package-choices-v586{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0}.package-choices-v586>div{padding:16px;border:1px solid;border-radius:10px;display:grid;gap:12px}.package-choices-v586 span{font-size:13px}.package-choices-v586 strong{font-size:23px}.package-current-v586{background:#16372d;border-color:#3e8a6a!important;color:#b5f0d3}.package-proposed-v586{background:#3b2428;border-color:#9d535d!important;color:#ffced3}.package-choices-v586 button{background:#ffffff0a;color:inherit;border:1px solid #ffffff38}.package-review-v586 details{font-size:13px;color:#aebac9;margin-bottom:12px}.package-review-v586 details summary{cursor:pointer}
@media(max-width:600px){.notifications-v586{width:calc(100vw - 12px);max-height:97dvh}.notifications-v586 .notification-sheet-header{padding:16px}.notification-tabs-v586{grid-template-columns:1fr 1fr;margin:0 12px 12px}.notification-tools-v586{margin:0 16px 12px}.notifications-v586 .notification-list{padding:0 12px 12px}.notifications-v586 .notification-card{padding:14px}.package-choices-v586{gap:8px}.package-choices-v586>div{padding:10px}.package-choices-v586 strong{font-size:18px}.package-choices-v586 button{font-size:13px;padding:10px 6px}}

.notifications-v586 .notification-box-correction-right{order:-1}.notifications-v586 .notification-box-action-recommended{order:-1}.notifications-v586 .notification-box-correction-actions button{font-size:14px}.notifications-v586 .notification-box-correction-admin{background:#1b1e21;border-color:#424950}.notifications-v586 .notification-box-correction-icon{display:none}

.notification-recheck-v586{margin:0 24px 16px;color:#c3d6ed;font-size:13px}.notifications-v586 .notification-sheet-header-simple{flex-direction:row!important}.notifications-v586 .notification-sheet-header-simple>div{min-width:0}.notifications-v586 .notification-sheet-header-simple>button{flex:none;margin:0}

/* V587 editable package comparison */
.package-proposed-v586 .pc-dimensions{margin:10px 0;gap:8px}.package-choices-v586>div{min-width:0}.pc-cost-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0}.pc-cost-heading>span:last-child,.pc-cost-details p,.pc-cost-note{font-size:12px;color:#bcc6ce}.pc-saving{display:inline-block;border-radius:20px;padding:7px 12px;background:#394149;color:#edf2f7;font-weight:700;font-size:14px}.pc-saving-positive{background:#174b37;color:#9df0c1}.pc-saving-negative{background:#5b282d;color:#ffb6bc}.pc-cost-details table{width:100%;border-collapse:collapse;font-size:13px;margin:12px 0}.pc-cost-details th,.pc-cost-details td{padding:7px 5px;border-bottom:1px solid #41484f;text-align:right}.pc-cost-details th:first-child{text-align:left;font-weight:500}.pc-cost-details .pc-cost-total>*{font-weight:700;border-top:2px solid #737c85}.pc-cost-error{color:#ffc0a6;font-size:13px}.pc-cost-details summary{cursor:pointer;padding:8px 0}.package-review-v586>small{margin-top:12px}#pc_keep_modal_v587{z-index:40000}#pc_keep_modal_v587 .pc-dialog{width:min(480px,100%)}#pc_keep_modal_v587 button{min-width:44px;min-height:44px}
@media(max-width:560px){.package-review-v586 .package-choices-v586{grid-template-columns:1fr}.package-review-v586 .package-current-v586,.package-review-v586 .package-proposed-v586{gap:12px;padding:12px}.package-review-v586 .pc-dimensions{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.package-review-v586 .pc-dimensions input{padding:9px 6px;font-size:16px;appearance:textfield}.package-review-v586 .pc-dimensions input::-webkit-inner-spin-button{appearance:none}.package-review-v586 .pc-cost-heading{gap:6px}}

/* V590: recognizable order types with relevant details only. */
.notifications-v586 .notification-kind-stock{--notice-accent:#edbe60;--notice-wash:#edbe600c}
.notifications-v586 .notification-kind-destination{--notice-accent:#70c5e6;--notice-wash:#70c5e60c}
.notifications-v586 .notification-kind-tracking{--notice-accent:#ff929f;--notice-wash:#ff929f0d}
.notifications-v586 .notification-kind-cost{--notice-accent:#d9a4fb;--notice-wash:#d9a4fb0c}
.notifications-v586 .notification-kind-sale{--notice-accent:#82d8aa;--notice-wash:#82d8aa0b}
.notifications-v586 .notification-kind-package{--notice-accent:#8eb3ee;--notice-wash:#8eb3ee08}
.notifications-v586 .notification-kind-general{--notice-accent:#b1bdcd;--notice-wash:#b1bdcd08}
.notifications-v586 .notification-card[class*="notification-kind-"]{border-left:4px solid var(--notice-accent);background:linear-gradient(var(--notice-wash),var(--notice-wash)),#20262c}
.notification-kind-label{display:inline-flex;align-items:center;gap:8px;color:var(--notice-accent);font-size:12px;font-weight:700;letter-spacing:.03em;margin-bottom:5px}
.notification-kind-label>span{display:inline-grid;place-items:center;min-width:20px;height:20px;border:1px solid currentColor;border-radius:6px;font-size:13px;line-height:1}
.notifications-v586 .notification-issue-stock{border-left:3px solid #edbe60;background:#edbe600a}
.notifications-v586 .notification-issue-destination{border-left:3px solid #70c5e6;background:#70c5e60a}
.notifications-v586 .notification-issue-tracking{border-left:3px solid #ff929f;background:#ff929f0b}
.notifications-v586 .notification-issue-cost{border-left:3px solid #d9a4fb;background:#d9a4fb0a}
.notifications-v586 .notification-alert-compact>strong{font-size:12px;font-weight:700;text-transform:none;letter-spacing:0;color:#edf1f7}
.notifications-v586 .notification-alert-compact>span{font-size:14px;font-weight:400;color:#d1d8e2;line-height:1.55}
.notifications-v586 .notification-alert-compact em{font-style:normal;font-size:11px;color:#aab5c4;margin-top:5px}
.notifications-v586 .notification-rate-value{display:inline-block;font-size:19px;font-weight:750;color:#b4e6fb;margin:0 5px}
.notification-card-footer{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:14px}
.notification-card-footer small{font-size:11px;color:#aab5c4}.notification-card-footer button{font-size:12px;padding:7px 12px;min-height:36px}
.notifications-v586 .notification-kind-sale p{color:#d1ded6;font-size:14px;line-height:1.6}
.notifications-v586 .notification-kind-stock .notification-issue-stock:only-child>strong{display:none}
.notifications-v586 .notification-items-details{border-top:1px solid #ffffff0d;padding-top:10px;margin-top:10px}
@media(max-width:560px){.notifications-v586 .notification-rate-value{font-size:18px}.notification-card-footer button{min-height:44px}.notifications-v586 .notification-meta-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.notifications-v586 .notification-card-header{flex-direction:row!important;text-align:left;align-items:flex-start;gap:12px}.notifications-v586 .notification-card-header>div{min-width:0;flex:1;text-align:left}.notifications-v586 .notification-card-header>button{width:auto!important;flex:none;margin:0;padding:8px 12px}.notifications-v586 .notification-card h3{overflow-wrap:anywhere}}
.notifications-v586 .notification-card.notification-etsy-tracking-issue{border-left:4px solid #efa16e;background:#2c2521}.notifications-v586 .notification-etsy-tracking-issue h3{color:#ffd0b0}

/* V591: scoped notification actions */
.notification-tab-actions-v591{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 2px 16px;color:var(--muted,#aeb6c1);font-size:13px}
.notification-tab-actions-v591 button{min-height:44px;white-space:nowrap}
@media(max-width:560px){.notification-tab-actions-v591{gap:8px}.notification-tab-actions-v591 button{padding:10px 12px}}
