:root{--oos-bg:#f3f6fb;--oos-card:#fff;--oos-text:#172033;--oos-muted:#64748b;--oos-line:#e4eaf1;--oos-nav:#081424;--oos-primary:#2563eb;--oos-radius:12px;--oos-danger:#dc2626;--oos-warning:#d97706;--oos-success:#15803d}*{box-sizing:border-box}.oos-workspace-body{margin:0!important;background:var(--oos-bg)!important;overflow-x:hidden}.oos-standalone-workspace{min-height:100vh}.oos-business-app{display:grid;grid-template-columns:236px minmax(0,1fr);min-height:100vh;background:var(--oos-bg);font-family:Arial,sans-serif;color:var(--oos-text);font-size:13px;position:relative}.oos-app-sidebar{background:var(--oos-nav);color:#fff;padding:20px 14px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.oos-app-brand{display:flex;gap:11px;align-items:center;padding:0 6px 20px}.oos-brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#fff;color:var(--oos-nav);font-weight:900}.oos-app-brand strong,.oos-app-brand small{display:block}.oos-app-brand strong{font-size:14px}.oos-app-brand small{font-size:11px;color:#8290a3;margin-top:3px}.oos-app-sidebar nav{display:grid;gap:4px}.oos-app-sidebar nav a{display:flex;align-items:center;gap:10px;padding:10px 11px;border-radius:9px;color:#b8c3d1;text-decoration:none;font-size:14px;font-weight:650;transition:.2s}.oos-app-sidebar nav a span{display:grid;place-items:center;width:26px;height:26px;border-radius:7px;background:rgba(255,255,255,.08);font-size:12px}.oos-app-sidebar nav a:hover{background:rgba(255,255,255,.08);color:#fff}.oos-app-sidebar nav a.active{background:#fff;color:#0f172a}.oos-sidebar-footer{margin-top:auto;display:grid;gap:8px;padding:16px 8px 0;border-top:1px solid rgba(255,255,255,.12)}.oos-sidebar-footer a{color:#b8c3d1;text-decoration:none;font-size:13px}.oos-app-main{min-width:0}.oos-app-topbar{height:64px;display:flex;justify-content:space-between;align-items:center;padding:8px 28px;background:#fff;border-bottom:1px solid var(--oos-line);position:sticky;top:0;z-index:30}.oos-eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:9px;color:var(--oos-muted);font-weight:800}.oos-app-topbar h1{margin:3px 0 0;font-size:20px;line-height:1.1}.oos-top-actions{display:flex;align-items:center;gap:8px}.oos-icon-button{width:34px;height:34px;border:1px solid var(--oos-line);border-radius:9px;display:grid;place-items:center;background:#fff;text-decoration:none;color:var(--oos-text);cursor:pointer;font-size:12px;position:relative}.oos-icon-button .dashicons{font-size:18px;width:18px;height:18px}.oos-bell-button b{position:absolute;top:-5px;right:-5px;min-width:17px;height:17px;border-radius:10px;background:#dc2626;color:#fff;font-size:10px;display:grid;place-items:center;padding:0 4px}.oos-user-chip{display:flex;align-items:center;gap:8px;font-weight:700;font-size:13px;padding-left:2px}.oos-user-chip img{border-radius:50%}.oos-notification-wrap{position:relative}.oos-notification-panel{position:absolute;top:42px;right:0;width:330px;background:#fff;border:1px solid var(--oos-line);border-radius:12px;box-shadow:0 18px 50px rgba(15,23,42,.16);overflow:hidden;z-index:90}.oos-notification-head{display:flex;justify-content:space-between;padding:14px 15px;border-bottom:1px solid var(--oos-line)}.oos-notification-head small{color:var(--oos-muted)}.oos-notification-panel>a{display:flex;gap:10px;padding:12px 15px;text-decoration:none;color:var(--oos-text);border-bottom:1px solid #eef2f6}.oos-notification-panel>a:hover{background:#f8fafc}.oos-notification-panel>a .dashicons{color:var(--oos-primary)}.oos-notification-panel>a strong,.oos-notification-panel>a small{display:block}.oos-notification-panel>a small{color:var(--oos-muted);margin-top:2px}.oos-empty-mini{padding:20px;text-align:center;color:var(--oos-muted)}.oos-app-content{padding:18px 28px;max-width:1700px;width:100%;margin:auto}.oos-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.oos-metric-grid-five{grid-template-columns:repeat(5,minmax(0,1fr))}.oos-metric,.oos-work-panel{background:var(--oos-card);border:1px solid var(--oos-line);border-radius:var(--oos-radius);box-shadow:0 5px 18px rgba(15,23,42,.04)}.oos-metric{min-height:72px;padding:11px 13px;display:flex;align-items:center;gap:11px}.oos-metric>.dashicons{width:34px;height:34px;font-size:18px;display:grid;place-items:center;border-radius:9px;background:#eef4ff;color:var(--oos-primary)}.oos-metric small,.oos-metric strong,.oos-metric em{display:block}.oos-metric small{font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:var(--oos-muted);font-weight:700}.oos-metric strong{font-size:18px;margin:2px 0}.oos-metric em{font-style:normal;font-size:10px;color:var(--oos-muted)}.oos-dashboard-grid{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(250px,.8fr);gap:14px}.oos-work-panel{padding:16px}.oos-work-panel.narrow{max-width:880px}.oos-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:12px}.oos-panel-heading h2{margin:0 0 3px;font-size:17px}.oos-panel-heading p{margin:0;color:var(--oos-muted);font-size:12px}.oos-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:10px}.oos-toolbar select{min-width:150px}.oos-search{position:relative;min-width:260px;flex:1}.oos-search .dashicons{position:absolute;left:10px;top:9px;color:var(--oos-muted)}.oos-search input{padding-left:34px!important}.oos-bulkbar{display:flex;gap:8px;margin-bottom:8px}.oos-table-wrap{overflow:auto;border:1px solid var(--oos-line);border-radius:10px}.oos-table{width:100%;border-collapse:collapse;min-width:820px;font-size:12px}.oos-orders-table{min-width:1450px}.oos-table th,.oos-table td{text-align:left;padding:9px 10px;border-bottom:1px solid #edf1f5;vertical-align:middle}.oos-table th{font-size:9px;text-transform:uppercase;letter-spacing:.06em;color:var(--oos-muted);background:#f8fafc;white-space:nowrap}.oos-table tr:last-child td{border-bottom:0}.oos-table td small{display:block;color:var(--oos-muted);margin-top:3px;font-size:10px}.oos-table a{color:#1d4ed8;text-decoration:none}.oos-table-thumb{width:42px;height:38px;border-radius:7px;overflow:hidden;background:#f1f5f9;display:grid;place-items:center}.oos-table-thumb img{width:100%;height:100%;object-fit:cover}.oos-status,.oos-priority,.oos-stock-level{display:inline-block;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:700;white-space:nowrap}.oos-status{background:#eef2ff;color:#3730a3}.status-in_stock,.payment-paid{background:#dcfce7;color:#166534}.status-out_of_stock,.payment-unpaid{background:#fee2e2;color:#991b1b}.status-hidden{background:#e5e7eb;color:#374151}.oos-stock-level.good{background:#dcfce7;color:#166534}.oos-stock-level.warning{background:#fef3c7;color:#92400e}.oos-stock-level.danger{background:#fee2e2;color:#991b1b}.priority-high{background:#fee2e2;color:#991b1b}.priority-normal{background:#e0f2fe;color:#075985}.priority-low{background:#f1f5f9;color:#475569}.oos-row-actions{display:flex;gap:5px;flex-wrap:wrap}.oos-row-actions a,.oos-row-actions button{border:0;background:transparent;color:#1d4ed8;padding:0;font-size:10px;cursor:pointer;text-decoration:none}.oos-row-actions .danger{color:var(--oos-danger)}.oos-inline-form select{max-width:145px}.oos-form{display:grid;gap:12px}.oos-form label{display:grid;gap:5px;font-size:12px;font-weight:700}.oos-form input,.oos-form textarea,.oos-form select,.oos-inline-form select,.oos-toolbar input,.oos-toolbar select,.oos-bulkbar select{width:100%;border:1px solid #cbd5e1;border-radius:8px;padding:8px 9px;background:#fff;color:var(--oos-text);font-size:12px}.oos-form input:focus,.oos-form textarea:focus,.oos-form select:focus{outline:3px solid rgba(37,99,235,.1);border-color:var(--oos-primary)}.oos-form small{font-weight:400;color:var(--oos-muted);font-size:10px}.oos-form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.oos-form-actions{display:flex;gap:8px}.oos-button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:8px;background:var(--oos-primary);color:#fff!important;padding:8px 12px;text-decoration:none;font-size:12px;font-weight:750;cursor:pointer}.oos-button.secondary{background:#e9eef5;color:var(--oos-text)!important}.oos-button.small{padding:6px 9px;font-size:10px}.oos-empty-state{text-align:center;color:var(--oos-muted);padding:24px}.oos-empty-state .dashicons,.oos-empty-state strong,.oos-empty-state small{display:block;margin:auto}.oos-empty-state .dashicons{font-size:28px;width:28px;height:28px;margin-bottom:6px}.oos-empty-state strong{color:var(--oos-text);margin-bottom:3px}.oos-slideout{position:fixed;inset:0;z-index:100;pointer-events:none;visibility:hidden}.oos-slideout.is-open{pointer-events:auto;visibility:visible}.oos-slideout-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.35);opacity:0;transition:.2s}.oos-slideout aside{position:absolute;top:0;right:0;height:100%;width:min(480px,94vw);background:#fff;padding:20px;overflow:auto;transform:translateX(100%);transition:.25s;box-shadow:-20px 0 50px rgba(15,23,42,.16)}.oos-slideout.is-open .oos-slideout-backdrop{opacity:1}.oos-slideout.is-open aside{transform:none}.oos-drawer-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:14px}.oos-drawer-head h3{margin:0 0 3px;font-size:18px}.oos-drawer-head p{margin:0;color:var(--oos-muted);font-size:13px;font-weight:600}.oos-drawer-head button{border:0;background:transparent;font-size:24px;cursor:pointer}.oos-app-notice{position:fixed;top:16px;right:18px;z-index:1000;padding:10px 13px;border-radius:9px;background:#dcfce7;color:#166534;box-shadow:0 12px 30px rgba(15,23,42,.14);font-size:12px}.oos-dashboard-login{max-width:560px;margin:80px auto;padding:30px;border:1px solid var(--oos-line);border-radius:14px;background:#fff;text-align:center}.oos-app-loader{position:fixed;inset:0 0 0 236px;background:rgba(243,246,251,.72);z-index:999;display:flex;align-items:center;justify-content:center;gap:10px;backdrop-filter:blur(2px)}.oos-app-loader[hidden]{display:none}.oos-app-loader span{width:20px;height:20px;border:3px solid #cbd5e1;border-top-color:var(--oos-primary);border-radius:50%;animation:oos-spin .7s linear infinite}@keyframes oos-spin{to{transform:rotate(360deg)}}.oos-quick-actions{display:grid;gap:8px}.oos-quick-actions a{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:8px;background:#f8fafc;text-decoration:none;color:var(--oos-text);font-weight:700}.oos-quick-actions .dashicons{color:var(--oos-primary)}.oos-activity-list{margin-top:14px;padding-top:12px;border-top:1px solid var(--oos-line)}.oos-activity-list>div{display:flex;gap:8px;margin-bottom:10px}.oos-activity-list .dashicons{color:var(--oos-primary)}.oos-activity-list p{margin:0}.oos-activity-list strong,.oos-activity-list small{display:block}.oos-activity-list small{color:var(--oos-muted);margin-top:2px}.oos-pagination{display:flex;gap:5px;margin-top:12px}.oos-pagination a{width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--oos-line);border-radius:7px;text-decoration:none;color:var(--oos-text)}.oos-pagination a.active{background:var(--oos-primary);color:#fff}.oos-modal{position:fixed;inset:0;z-index:120}.oos-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.45)}.oos-modal-card{position:relative;width:min(720px,92vw);max-height:85vh;overflow:auto;margin:7vh auto;background:#fff;border-radius:14px;padding:20px;box-shadow:0 20px 60px rgba(15,23,42,.25)}.oos-modal-card>button{position:absolute;right:14px;top:10px;border:0;background:transparent;font-size:24px;cursor:pointer}.oos-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.oos-detail-grid p{padding:10px;background:#f8fafc;border-radius:8px;margin:0}.oos-detail-grid small,.oos-detail-grid strong{display:block}.oos-detail-grid small{color:var(--oos-muted);margin-bottom:3px}.oos-mini-table{width:100%;border-collapse:collapse}.oos-mini-table th,.oos-mini-table td{padding:8px;border-bottom:1px solid var(--oos-line);text-align:left}.oos-customer-cell{display:flex;align-items:center;gap:8px}.oos-customer-cell img,.oos-profile-card img{border-radius:50%}.oos-customer-profile{display:grid;grid-template-columns:minmax(260px,.75fr) minmax(0,1.6fr);gap:14px}.oos-profile-header{margin-bottom:10px}.oos-profile-card{display:flex;align-items:center;gap:12px}.oos-profile-card h2,.oos-profile-card p{margin:0}.oos-profile-card p{color:var(--oos-muted);margin-top:3px}.oos-detail-list{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}.oos-detail-list p{margin:0;padding:10px;background:#f8fafc;border-radius:8px}.oos-detail-list small,.oos-detail-list strong{display:block}.oos-detail-list small{color:var(--oos-muted);margin-bottom:3px}.oos-communication{margin-top:14px;padding-top:12px;border-top:1px solid var(--oos-line)}.oos-communication h3{margin:0 0 5px}.oos-communication p{margin:0;color:var(--oos-muted)}.oos-admin-app{min-height:100%;width:100%}.oos-admin-app .oos-app-content{max-width:none}.oos-business-app.oos-admin-shell{grid-template-columns:minmax(0,1fr)}.oos-admin-shell .oos-app-loader{inset:0}.oos-admin-shell .oos-app-main{width:100%}@media(max-width:1250px){.oos-metric-grid-five{grid-template-columns:repeat(3,1fr)}.oos-dashboard-grid{grid-template-columns:1fr}}@media(max-width:760px){.oos-business-app{grid-template-columns:1fr}.oos-app-sidebar{position:relative;height:auto;padding:11px}.oos-app-brand{padding-bottom:11px}.oos-app-sidebar nav{grid-template-columns:repeat(5,minmax(84px,1fr));overflow:auto}.oos-app-sidebar nav a{justify-content:center;padding:8px;font-size:11px}.oos-app-sidebar nav a span{display:none}.oos-sidebar-footer{display:none}.oos-app-topbar{height:58px;padding:9px 14px;position:relative}.oos-app-content{padding:12px}.oos-metric-grid,.oos-metric-grid-five{grid-template-columns:1fr 1fr}.oos-form-row,.oos-detail-grid,.oos-detail-list,.oos-customer-profile{grid-template-columns:1fr}.oos-user-chip span{display:none}.oos-app-loader{inset:0}.oos-app-topbar h1{font-size:18px}.oos-toolbar>*{width:100%}.oos-search{min-width:0}.oos-notification-panel{position:fixed;left:10px;right:10px;top:62px;width:auto}}

/* Sprint 2.1 — Enterprise Object Workspace */
.oos-object-back{margin-bottom:10px}.oos-object-header{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:12px}.oos-object-identity{display:flex;align-items:center;gap:13px}.oos-object-icon{width:44px;height:44px;border-radius:11px;background:#eef4ff;color:var(--oos-primary);display:grid;place-items:center;font-size:22px}.oos-object-identity h2{margin:3px 0;font-size:21px}.oos-object-identity p{margin:0;color:var(--oos-muted)}.oos-object-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.oos-object-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.oos-object-metrics>div{background:#fff;border:1px solid var(--oos-line);border-radius:10px;padding:11px 13px}.oos-object-metrics small,.oos-object-metrics strong{display:block}.oos-object-metrics small{color:var(--oos-muted);font-size:10px;text-transform:uppercase;letter-spacing:.06em}.oos-object-metrics strong{font-size:17px;margin-top:4px}.oos-object-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,.75fr);gap:12px}.oos-object-side{display:grid;gap:12px;align-content:start}.oos-object-side .oos-work-panel h3,.oos-object-main h3{margin:0 0 10px;font-size:15px}.oos-object-tabs{display:flex;gap:4px;border-bottom:1px solid var(--oos-line);margin:-4px -4px 15px;padding:0 4px}.oos-object-tabs button{border:0;background:transparent;padding:9px 11px;font-size:12px;font-weight:700;color:var(--oos-muted);cursor:pointer;border-bottom:2px solid transparent}.oos-object-tabs button.active{color:var(--oos-primary);border-bottom-color:var(--oos-primary)}.oos-product-summary{display:grid;grid-template-columns:minmax(180px,.6fr) minmax(0,1.4fr);gap:18px}.oos-object-image{background:#f8fafc;border-radius:10px;overflow:hidden;min-height:190px;display:grid;place-items:center}.oos-object-image img{width:100%;height:auto;display:block}.oos-rich-copy{color:#475569;line-height:1.55}.oos-lifecycle{display:grid;gap:0}.oos-lifecycle span{position:relative;padding:8px 8px 8px 28px;color:var(--oos-muted);font-weight:650}.oos-lifecycle span:before{content:"";position:absolute;left:5px;top:10px;width:10px;height:10px;border-radius:50%;border:2px solid #cbd5e1;background:#fff}.oos-lifecycle span:not(:last-child):after{content:"";position:absolute;left:10px;top:22px;bottom:-7px;width:2px;background:#e2e8f0}.oos-lifecycle span.done:before{background:var(--oos-success);border-color:var(--oos-success)}.oos-lifecycle span.current:before{background:var(--oos-warning);border-color:var(--oos-warning)}.oos-timeline{display:grid;gap:0}.oos-timeline>div{display:grid;grid-template-columns:18px 1fr;gap:10px;position:relative;padding-bottom:18px}.oos-timeline>div>span{width:11px;height:11px;border-radius:50%;background:var(--oos-primary);margin-top:4px}.oos-timeline>div:not(:last-child):after{content:"";position:absolute;left:5px;top:16px;bottom:0;width:1px;background:#cbd5e1}.oos-timeline section strong,.oos-timeline section small{display:block}.oos-timeline section p{margin:3px 0;color:var(--oos-muted)}.oos-timeline section small{font-size:10px;color:#94a3b8}.oos-related-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px}.oos-related-cards>div{padding:16px;background:#f8fafc;border-radius:10px}.oos-related-cards .dashicons,.oos-related-cards strong,.oos-related-cards small{display:block}.oos-related-cards .dashicons{color:var(--oos-primary);margin-bottom:8px}.oos-related-cards small{color:var(--oos-muted);margin-top:3px}.oos-object-link{font-weight:750}.oos-object-header+.oos-object-metrics{}
@media(max-width:980px){.oos-object-grid{grid-template-columns:1fr}.oos-object-metrics{grid-template-columns:1fr 1fr}}@media(max-width:620px){.oos-object-header{align-items:flex-start;flex-direction:column}.oos-object-metrics{grid-template-columns:1fr 1fr}.oos-product-summary{grid-template-columns:1fr}.oos-related-cards{grid-template-columns:1fr}}

.oos-manager-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(320px,.8fr);gap:14px}.oos-inline-action{display:flex;gap:5px;flex-wrap:wrap}.oos-inline-action button{border:0;background:transparent;color:#1d4ed8;padding:0;font-size:10px;cursor:pointer}.oos-inline-action button.danger{color:var(--oos-danger)}@media(max-width:980px){.oos-manager-layout{grid-template-columns:1fr}}

/* v2.3.7 manager password visibility */
.oos-password-field{display:block;position:relative;margin-top:6px}.oos-password-field input{margin-top:0!important;padding-right:50px!important}.oos-password-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:36px;height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:#245e37;display:grid;place-items:center;cursor:pointer}.oos-password-toggle:hover,.oos-password-toggle:focus{background:#edf4ef;outline:2px solid rgba(46,111,66,.18)}.oos-password-toggle svg{width:20px;height:20px;fill:currentColor;display:block}.oos-password-toggle .oos-eye-closed{display:none}.oos-password-toggle.is-visible .oos-eye-open{display:none}.oos-password-toggle.is-visible .oos-eye-closed{display:block}

/* v3.1.4 role-aware workspace identity */
.oos-workspace-role-label{display:block;margin-top:3px;font-size:11px;font-weight:700;letter-spacing:.04em;color:#667085}
.oos-app-topbar .oos-eyebrow{margin-bottom:2px}

/* v3.1.7 Bootstrap Credentials Center */
.oos-credential-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:14px}.oos-credential-card{border:1px solid #dbe4df;border-radius:14px;background:#fff;padding:18px}.oos-credential-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:14px}.oos-credential-head small{display:block;color:#66736c;margin-bottom:3px}.oos-credential-head strong{font-size:20px}.oos-credential-card label{display:block;font-weight:700;font-size:13px;margin-top:12px}.oos-copy-field{display:flex;align-items:center;gap:8px;margin-top:6px}.oos-copy-field input{min-width:0;flex:1;padding:10px 11px;border:1px solid #cbd7d1;border-radius:8px;background:#f8faf9;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.oos-credential-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.oos-credential-actions form{margin:0}.oos-credentials-center .oos-status{white-space:nowrap}@media(max-width:900px){.oos-credential-grid{grid-template-columns:1fr}}@media(max-width:600px){.oos-copy-field{flex-wrap:wrap}.oos-copy-field input{flex-basis:100%}}
/* Sprint 3.2 — Administrator Order Fulfilment Workspace */
.oos-metric-link{color:inherit;text-decoration:none;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.oos-metric-link:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(15,23,42,.08);border-color:#cbd5e1}.oos-orders-table td{vertical-align:middle}.oos-guided-fulfilment{margin-bottom:14px}.oos-guided-fulfilment .oos-panel-heading{align-items:center}.oos-next-action-form{margin:0}.oos-next-action{min-width:170px}.oos-fulfilment-progress{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;margin:10px 0 12px}.oos-fulfilment-progress>div{position:relative;text-align:center;padding-top:2px}.oos-fulfilment-progress>div:before{content:"";position:absolute;height:3px;background:#e2e8f0;top:15px;left:0;right:0;z-index:0}.oos-fulfilment-progress>div:first-child:before{left:50%}.oos-fulfilment-progress>div:last-child:before{right:50%}.oos-fulfilment-progress span{position:relative;z-index:1;width:30px;height:30px;border-radius:50%;background:#e2e8f0;color:#64748b;display:inline-flex;align-items:center;justify-content:center;font-weight:700;border:3px solid #fff;box-shadow:0 0 0 1px #dbe2ea}.oos-fulfilment-progress small{display:block;margin-top:7px;color:#64748b;font-weight:600}.oos-fulfilment-progress .done:before,.oos-fulfilment-progress .current:before{background:#16a34a}.oos-fulfilment-progress .done span,.oos-fulfilment-progress .current span{background:#16a34a;color:#fff}.oos-fulfilment-progress .current span{box-shadow:0 0 0 3px rgba(22,163,74,.15)}.oos-fulfilment-progress .current small{color:#166534}.oos-next-action-copy{padding:10px 12px;border-radius:9px;background:#eff6ff;color:#1e3a8a}.oos-next-action-copy.success{background:#ecfdf5;color:#166534}.oos-next-action-copy.warning{background:#fff7ed;color:#9a3412}@media(max-width:900px){.oos-fulfilment-progress{grid-template-columns:repeat(3,1fr);row-gap:18px}.oos-fulfilment-progress>div:before{display:none}.oos-guided-fulfilment .oos-panel-heading{align-items:flex-start;flex-direction:column}.oos-next-action-form,.oos-next-action{width:100%}}

/* v3.2.1 — Fulfilment Rules & Safeguards */
.oos-orders-wrap{overflow:visible}.oos-orders-table{width:100%;table-layout:fixed;min-width:0}.oos-orders-table th:nth-child(1){width:20%}.oos-orders-table th:nth-child(2){width:25%}.oos-orders-table th:nth-child(3){width:13%}.oos-orders-table th:nth-child(4){width:13%}.oos-orders-table th:nth-child(5){width:17%}.oos-orders-table th:nth-child(6){width:12%}.oos-orders-table td{overflow-wrap:anywhere}.oos-orders-table td small{display:block;color:var(--oos-muted);margin-top:3px}.oos-orders-table .oos-button{white-space:normal;text-align:center;width:100%}.oos-order-row.priority-row-urgent{background:#fff7f7}.oos-order-row.priority-row-urgent td:first-child{box-shadow:inset 3px 0 0 #dc2626}.priority-urgent{background:#fee2e2;color:#991b1b}.priority-high{background:#ffedd5;color:#9a3412}.oos-safeguard-callout{min-width:260px;max-width:480px;padding:10px 12px;border:1px solid #fed7aa;border-radius:9px;background:#fff7ed;color:#7c2d12}.oos-safeguard-callout strong,.oos-safeguard-callout small{display:block}.oos-safeguard-callout small{margin-top:3px}.oos-safeguard-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:9px}.oos-safeguard-callout input{width:100%;margin-top:8px;border:1px solid #fdba74;border-radius:7px;padding:8px}.oos-safeguard-callout.warning{background:#fff7ed}.oos-reopen-order{margin-top:10px;padding-top:10px;border-top:1px solid #bbf7d0}.oos-reopen-order summary{cursor:pointer;font-weight:700}.oos-reopen-order form{display:flex;gap:8px;align-items:end;margin-top:9px}.oos-reopen-order label{flex:1;display:grid;gap:4px}.oos-reopen-order input{border:1px solid #cbd5e1;border-radius:7px;padding:8px}
@media(max-width:900px){.oos-orders-table,.oos-orders-table thead,.oos-orders-table tbody,.oos-orders-table tr,.oos-orders-table th,.oos-orders-table td{display:block;width:100%!important}.oos-orders-table thead{display:none}.oos-orders-table tr{border:1px solid var(--oos-line);border-radius:10px;margin-bottom:10px;padding:8px;background:#fff}.oos-orders-table td{border:0!important;padding:7px 8px 7px 40%!important;position:relative;min-height:30px}.oos-orders-table td:before{content:attr(data-label);position:absolute;left:8px;top:7px;width:35%;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--oos-muted);font-weight:800}.oos-orders-table .oos-button{width:auto}.oos-reopen-order form{display:grid}.oos-safeguard-callout{max-width:none;width:100%}}

/* v3.4.0 Customer Lifecycle & Retention */
.oos-lifecycle-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:18px 0}.oos-lifecycle-stat{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid #dbe3df;border-radius:14px;background:#fff;text-decoration:none;color:#203029}.oos-lifecycle-stat strong{font-size:22px;line-height:1}.oos-lifecycle-stat span{font-size:12px;color:#6a766f}.oos-lifecycle-stat.active{border-color:#216b45;background:#eef8f2}.oos-lifecycle-toolbar{display:flex;align-items:center;gap:14px;justify-content:space-between;margin:0 0 14px}.oos-lifecycle-toolbar span{font-size:12px;color:#6a766f}.oos-lifecycle-badge{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:700;background:#eef2f0;color:#31443a}.oos-lifecycle-badge.status-active{background:#eaf7ee;color:#1f6a43}.oos-lifecycle-badge.status-contact_required,.oos-lifecycle-badge.status-idle{background:#fff4dc;color:#8a5a00}.oos-lifecycle-badge.status-grace{background:#eaf2ff;color:#315f9a}.oos-lifecycle-badge.status-bin{background:#f2eef7;color:#6d4d83}.oos-lifecycle-badge.status-deletion_eligible{background:#fdeaea;color:#9b342f}.oos-retention-hold{display:block;margin-top:5px;color:#a05a00;font-weight:700}.oos-lifecycle-panel{margin-bottom:16px}.oos-lifecycle-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:end}.oos-lifecycle-actions form{display:flex;flex-wrap:wrap;gap:8px;align-items:end;margin:0}.oos-lifecycle-actions input,.oos-lifecycle-actions select{min-height:40px;border:1px solid #ced8d2;border-radius:8px;padding:8px 10px;background:#fff}.oos-retention-alert{display:flex;gap:10px;align-items:center;padding:11px 13px;margin:0 0 14px;border-radius:10px;background:#fff6e6;border:1px solid #f0d59e;color:#6d4b14}.oos-retention-alert span{font-size:12px}.oos-button.danger{background:#a33a31;color:#fff;border-color:#a33a31}.oos-customer-lifecycle-table td small{display:block;margin-top:4px;color:#748078}
@media(max-width:900px){.oos-lifecycle-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.oos-lifecycle-toolbar{align-items:flex-start;flex-direction:column}}
.oos-contact-shortcuts{display:flex;gap:8px;flex-wrap:wrap;align-items:center}

/* v3.5.0 Activity Reports & Accountability Center */
.oos-activity-filters{display:grid;grid-template-columns:repeat(6,minmax(120px,1fr));gap:10px;align-items:end;margin:16px 0 14px}.oos-activity-filters label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;color:#475569}.oos-activity-filters input,.oos-activity-filters select{min-height:40px;border:1px solid #d8e0e8;border-radius:9px;padding:7px 10px;background:#fff}.oos-activity-filters .oos-activity-search{grid-column:span 2}.oos-activity-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 0 14px}.oos-activity-summary>div{padding:12px 14px;background:#f7f9fc;border:1px solid #e5eaf0;border-radius:10px}.oos-activity-summary strong{display:block;font-size:18px;color:#172033}.oos-activity-summary span{font-size:11px;color:#718096}.oos-activity-table-wrap{overflow:auto;border:1px solid #e3e8ef;border-radius:12px}.oos-activity-table{border:0!important;min-width:780px}.oos-activity-table td,.oos-activity-table th{padding:12px 14px!important;vertical-align:top}.oos-activity-table td strong,.oos-activity-table td small{display:block}.oos-activity-table td small{margin-top:3px;color:#7b8794}.oos-count-pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#eef4ff;color:#304c89;font-size:12px}@media(max-width:1000px){.oos-activity-filters{grid-template-columns:repeat(3,1fr)}.oos-activity-summary{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.oos-activity-filters{grid-template-columns:1fr}.oos-activity-filters .oos-activity-search{grid-column:auto}.oos-activity-summary{grid-template-columns:1fr 1fr}}

/* v3.6.0 — Order Ownership, Staff Assignment & Customer Contact */
.oos-orders-table{min-width:0}.oos-orders-table th:nth-child(1){width:16%}.oos-orders-table th:nth-child(2){width:20%}.oos-orders-table th:nth-child(3){width:10%}.oos-orders-table th:nth-child(4){width:11%}.oos-orders-table th:nth-child(5){width:15%}.oos-orders-table th:nth-child(6){width:14%}.oos-orders-table th:nth-child(7){width:14%}.oos-order-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.oos-inline-claim{margin:0}.oos-manager-availability-bar{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 12px;margin:0 0 10px;border:1px solid #dbe6df;border-radius:10px;background:#f6faf7}.oos-manager-availability-bar>div strong,.oos-manager-availability-bar>div small{display:block}.oos-manager-availability-bar>div small{margin-top:2px;color:var(--oos-muted);font-size:10px}.oos-manager-availability-bar form{display:flex;gap:7px;align-items:center}.oos-manager-availability-bar select{min-width:130px;border:1px solid #cbd5e1;border-radius:8px;padding:7px 8px;background:#fff;font-size:13px;font-weight:600}.oos-order-owner-panel{display:grid;gap:10px}.oos-owner-card{display:flex;gap:10px;align-items:center;padding:10px;border:1px solid #dbe6df;background:#f8fbf9;border-radius:10px}.oos-owner-card img{border-radius:50%}.oos-owner-card strong,.oos-owner-card small{display:block}.oos-owner-card small{margin-top:2px;color:var(--oos-muted);font-size:10px}.oos-owner-confirm{margin:0;padding:8px 10px;border-radius:8px;background:#ecfdf3;color:#166534;font-weight:700}.oos-handover-panel{margin-top:16px;padding-top:14px;border-top:1px solid var(--oos-line)}.oos-handover-panel h3{margin:0 0 4px}.oos-handover-panel>p{margin:0 0 8px;color:var(--oos-muted);font-size:11px}.oos-handover-panel>strong{display:block;margin-bottom:10px;color:#1f6a43}.oos-object-metrics{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}@media(max-width:900px){.oos-manager-availability-bar{align-items:flex-start;flex-direction:column}.oos-manager-availability-bar form{width:100%}.oos-manager-availability-bar select{flex:1}}
/* v3.6.2.2 Dashboard Operations-First Layout */
.oos-dashboard-quickbar{padding:12px 14px;margin-bottom:14px}
.oos-dashboard-quickbar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px}
.oos-dashboard-quickbar-head h2{margin:0 0 2px;font-size:15px}
.oos-dashboard-quickbar-head p{margin:0;color:var(--oos-muted);font-size:13px;font-weight:600}
.oos-dashboard-quickbar-body{display:flex;align-items:stretch;gap:12px;min-width:0}
.oos-quick-actions-horizontal{display:flex;flex-wrap:wrap;gap:7px;flex:0 0 auto}
.oos-quick-actions-horizontal a{min-height:42px;padding:7px 10px;white-space:nowrap;font-size:13px;font-weight:600}
.oos-activity-list-horizontal{margin:0 0 0 auto;padding:0 0 0 12px;border-top:0;border-left:1px solid var(--oos-line);display:flex;align-items:stretch;justify-content:flex-end;gap:7px;min-width:0;flex:1;overflow-x:auto}
.oos-activity-list-horizontal>div{margin:0;min-width:145px;max-width:190px;padding:6px 8px;border-radius:8px;background:#f8fafc;align-items:center}
.oos-activity-list-horizontal strong{font-size:11px;white-space:nowrap}
.oos-activity-list-horizontal small{font-size:9px;line-height:1.25}
.oos-recent-orders-full{width:100%}
.oos-recent-orders-full .oos-table-wrap{width:100%}
@media(max-width:1180px){.oos-dashboard-quickbar-body{display:block}.oos-activity-list-horizontal{margin:9px 0 0;padding:9px 0 0;border-left:0;border-top:1px solid var(--oos-line);justify-content:flex-start}}
@media(max-width:760px){.oos-quick-actions-horizontal{display:grid;grid-template-columns:1fr 1fr}.oos-activity-list-horizontal{display:grid;grid-template-columns:1fr 1fr;overflow:visible}.oos-activity-list-horizontal>div{min-width:0;max-width:none}}

/* v3.6.3 Product Creation & Editing Workspace */
.oos-product-editor aside{width:min(820px,96vw);padding:0;background:#f8fafc}
.oos-product-editor-head{position:sticky;top:0;z-index:4;background:#fff;padding:18px 22px;margin:0;border-bottom:1px solid var(--oos-line);align-items:flex-start}
.oos-product-editor-head h3{font-size:20px;margin:3px 0 4px}.oos-product-editor-head p{max-width:610px}
.oos-product-editor-form{padding:16px 22px 88px;gap:12px}
.oos-product-form-section{background:#fff;border:1px solid var(--oos-line);border-radius:12px;padding:15px;box-shadow:0 3px 12px rgba(15,23,42,.025)}
.oos-section-title{display:flex;gap:10px;align-items:flex-start;margin-bottom:13px;padding-bottom:10px;border-bottom:1px solid #eef2f6}
.oos-section-title>.dashicons{width:32px;height:32px;border-radius:9px;background:#eef4ff;color:var(--oos-primary);display:grid;place-items:center;font-size:17px}
.oos-section-title h4{margin:0 0 2px;font-size:14px}.oos-section-title p{margin:0;color:var(--oos-muted);font-size:10px;font-weight:400}
.oos-product-form-section>label{margin-top:10px}.oos-product-image-field{display:grid;grid-template-columns:160px minmax(0,1fr);gap:15px;align-items:center}
.oos-product-image-preview{height:118px;border:1px dashed #b9c6d5;border-radius:11px;background:#f8fafc;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;color:var(--oos-muted);overflow:hidden}
.oos-product-image-preview img{width:100%;height:100%;object-fit:cover}.oos-product-image-preview .dashicons{font-size:27px;width:27px;height:27px}
.oos-product-editor-actions{position:sticky;bottom:-88px;margin:4px -22px -88px;padding:13px 22px;background:rgba(255,255,255,.96);border-top:1px solid var(--oos-line);display:flex;justify-content:flex-end;gap:8px;backdrop-filter:blur(7px)}
.oos-product-editor-actions .oos-button{min-width:112px}
@media(max-width:760px){.oos-product-editor aside{width:100vw}.oos-product-editor-form{padding:12px 12px 82px}.oos-product-editor-head{padding:14px}.oos-product-image-field{grid-template-columns:1fr}.oos-product-image-preview{height:160px}.oos-product-editor-actions{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}.oos-product-editor-actions .oos-button{flex:1}}

/* v3.6.3.1 Product editor readability refinement */
.oos-product-editor-form input,
.oos-product-editor-form textarea,
.oos-product-editor-form select{
  font-size:14px;
  line-height:1.5;
}
.oos-product-editor-form input,
.oos-product-editor-form select{min-height:44px;padding:10px 11px}
.oos-product-editor-form textarea{padding:10px 11px}
.oos-product-editor-form input::placeholder,
.oos-product-editor-form textarea::placeholder{font-size:13px;color:#8a96a6}


/* v3.6.3.3 Table readability refinement */
.oos-table{font-size:13px;line-height:1.4}
.oos-table th{font-size:10.5px;font-weight:800;line-height:1.3}
.oos-table td small{font-size:11px;line-height:1.35}
.oos-table .oos-status,.oos-table .oos-priority,.oos-table .oos-stock-level{font-size:13px;font-weight:600}
.oos-table .oos-row-actions a,.oos-table .oos-row-actions button{font-size:13px;font-weight:600}
.oos-orders-table .oos-button.small{font-size:13px;font-weight:600}


/* v3.6.3.4 Recent Orders visual hierarchy & Quick Action indicators */
.oos-recent-orders-full .oos-table-wrap{
  border-color:#d9e1eb;
  border-radius:12px;
  background:#fff;
}
.oos-recent-orders-full .oos-orders-table{
  table-layout:fixed;
  font-size:13.5px;
  line-height:1.42;
}
.oos-recent-orders-full .oos-orders-table th{
  padding:11px 12px;
  background:#f7f9fc;
  color:#506178;
  font-size:11px;
  font-weight:800;
  letter-spacing:.045em;
  border-right:1px solid #dfe6ef;
  border-bottom:1px solid #d7e0ea;
}
.oos-recent-orders-full .oos-orders-table th:last-child{border-right:0}
.oos-recent-orders-full .oos-orders-table td{
  padding:12px 12px;
  border-right:1px solid #e2e8f0;
  border-bottom:1px solid #e4e9f0;
  background:#fff;
}
.oos-recent-orders-full .oos-orders-table td:last-child{border-right:0}
.oos-recent-orders-full .oos-orders-table tbody tr:hover td{background:#f9fbfe}
.oos-recent-orders-full .oos-orders-table td>strong{
  font-size:13.5px;
  font-weight:750;
  color:#172033;
}
.oos-recent-orders-full .oos-orders-table td:first-child strong a{
  font-size:13.5px;
  font-weight:750;
  color:#1754c4;
}
.oos-recent-orders-full .oos-orders-table td small{
  margin-top:3px;
  font-size:11.5px;
  line-height:1.35;
  color:#68778a;
}
.oos-recent-orders-full .oos-orders-table .oos-status,
.oos-recent-orders-full .oos-orders-table .oos-priority{
  padding:5px 9px;
  font-size:12px;
  line-height:1.15;
  font-weight:700;
}
.oos-recent-orders-full .oos-orders-table .status-confirmed{background:#edf0ff;color:#3730a3}
.oos-recent-orders-full .oos-orders-table .status-new,
.oos-recent-orders-full .oos-orders-table .status-pending{background:#f0efff;color:#4338ca}
.oos-recent-orders-full .oos-orders-table .status-completed{background:#e8f8ed;color:#18733a}
.oos-recent-orders-full .oos-orders-table .payment-paid{background:#e7f7ed;color:#19703a}
.oos-recent-orders-full .oos-orders-table .payment-unpaid{background:#f0f1ff;color:#4338ca}
.oos-recent-orders-full .oos-orders-table .priority-urgent,
.oos-recent-orders-full .oos-orders-table .priority-high{background:#fde8e8;color:#a63434}
.oos-recent-orders-full .oos-orders-table .priority-normal{background:#e7f6fb;color:#17617a}
.oos-recent-orders-full .oos-orders-table tr.priority-row-urgent td{
  background:#fff7f7;
}
.oos-recent-orders-full .oos-orders-table tr.priority-row-urgent td:first-child{
  box-shadow:inset 3px 0 0 #ef4444;
}
.oos-recent-orders-full .oos-orders-table tr.priority-row-urgent:hover td{background:#fff2f2}
.oos-recent-orders-full .oos-order-actions{justify-content:flex-start}
.oos-recent-orders-full .oos-order-actions .oos-button.small{
  min-width:112px;
  min-height:38px;
  padding:7px 10px;
  border-radius:9px;
  font-size:12.5px;
  line-height:1.2;
  text-align:center;
}
.oos-recent-orders-full .oos-orders-table th:nth-child(1){width:16%}
.oos-recent-orders-full .oos-orders-table th:nth-child(2){width:20%}
.oos-recent-orders-full .oos-orders-table th:nth-child(3){width:11%}
.oos-recent-orders-full .oos-orders-table th:nth-child(4){width:11%}
.oos-recent-orders-full .oos-orders-table th:nth-child(5){width:15%}
.oos-recent-orders-full .oos-orders-table th:nth-child(6){width:14%}
.oos-recent-orders-full .oos-orders-table th:nth-child(7){width:13%}

/* Complete the Quick Actions typography pass */
.oos-activity-list-horizontal strong{
  font-size:13px;
  line-height:1.25;
  font-weight:750;
}
.oos-activity-list-horizontal small{
  margin-top:2px;
  font-size:10.5px;
  line-height:1.3;
  font-weight:500;
}
.oos-activity-list-horizontal>div{padding:8px 10px;min-width:155px}
@media(max-width:900px){
  .oos-recent-orders-full .oos-orders-table{table-layout:auto;min-width:900px}
}


/* v3.6.3.5 — Dashboard semantic card color system */
.oos-metric{position:relative;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.oos-metric-link:hover{transform:translateY(-1px);box-shadow:0 8px 22px rgba(15,23,42,.07)}
.oos-metric-tone-blue{--metric-accent:#2563eb;--metric-soft:#eef4ff;--metric-line:#dbe7ff}
.oos-metric-tone-purple{--metric-accent:#6d28d9;--metric-soft:#f3efff;--metric-line:#e5dcff}
.oos-metric-tone-green{--metric-accent:#16a34a;--metric-soft:#ecfdf3;--metric-line:#d8f6e2}
.oos-metric-tone-orange{--metric-accent:#ea7a0c;--metric-soft:#fff4e8;--metric-line:#ffe1bf}
.oos-metric[class*="oos-metric-tone-"]{border-color:var(--metric-line)}
.oos-metric[class*="oos-metric-tone-"]>.dashicons{background:var(--metric-soft);color:var(--metric-accent)}
.oos-metric[class*="oos-metric-tone-"] strong{color:var(--metric-accent);font-weight:800}

.oos-activity-list-horizontal>a{position:relative;border:1px solid var(--activity-line,#e4eaf1);background:linear-gradient(180deg,#fff 0%,var(--activity-soft,#f8fafc) 145%);border-radius:10px;text-decoration:none;color:inherit;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.oos-activity-tone-blue{--activity-accent:#2563eb;--activity-soft:#f1f6ff;--activity-line:#dde8ff}
.oos-activity-tone-purple{--activity-accent:#6d28d9;--activity-soft:#f6f2ff;--activity-line:#e8ddff}
.oos-activity-tone-green{--activity-accent:#16a34a;--activity-soft:#effcf3;--activity-line:#d8f1df}
.oos-activity-tone-orange{--activity-accent:#ea7a0c;--activity-soft:#fff6eb;--activity-line:#ffe4c2}
.oos-activity-list-horizontal>a[class*="oos-activity-tone-"]>.dashicons{color:var(--activity-accent);background:var(--activity-soft);border-radius:9px;width:34px;height:34px;display:grid;place-items:center;font-size:18px}
.oos-activity-list-horizontal>a[class*="oos-activity-tone-"] strong{color:#172033}
.oos-activity-list-horizontal>a[class*="oos-activity-tone-"] small{color:#64748b}

.oos-quick-actions-horizontal>a:nth-child(1) .dashicons{color:#2563eb}
.oos-quick-actions-horizontal>a:nth-child(2) .dashicons{color:#6d28d9}
.oos-quick-actions-horizontal>a:nth-child(3) .dashicons{color:#2563eb}


/* v3.6.3.9 — restore semantic colors after alert cards became links */
.oos-activity-list-horizontal>a[class*="oos-activity-tone-"]{
  border-color:var(--activity-line);
  background:linear-gradient(180deg,#fff 0%,var(--activity-soft) 145%);
}
.oos-activity-list-horizontal>a[class*="oos-activity-tone-"]>.dashicons{
  color:var(--activity-accent)!important;
  background:var(--activity-soft)!important;
}
.oos-activity-list-horizontal>a[class*="oos-activity-tone-"] strong{color:#172033!important}
.oos-activity-list-horizontal>a[class*="oos-activity-tone-"] small{color:#64748b!important}
.oos-activity-list-horizontal>a[class*="oos-activity-tone-"]:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 18px rgba(15,23,42,.07);
  border-color:var(--activity-accent);
}
.oos-activity-list-horizontal>a[class*="oos-activity-tone-"]:focus-visible{
  outline:2px solid var(--activity-accent);
  outline-offset:2px;
}

/* v3.6.4.0 Quick Action KPI Cards */
.oos-activity-list-horizontal>a.oos-activity-card-link{min-width:170px;max-width:210px;padding:11px 13px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:4px;border:1px solid var(--activity-line,#e4eaf1);background:linear-gradient(180deg,#fff 0%,var(--activity-soft,#f8fafc) 145%);border-radius:10px;text-decoration:none;color:var(--oos-text);transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.oos-activity-list-horizontal>a.oos-activity-card-link:hover{transform:translateY(-1px);box-shadow:0 5px 14px rgba(15,23,42,.07);border-color:var(--activity-accent)}
.oos-activity-card-link .oos-activity-kpi{display:flex;align-items:center;gap:8px;min-height:30px;margin-bottom:1px}
.oos-activity-card-link .oos-activity-kpi .dashicons{color:var(--activity-accent);background:var(--activity-soft);border-radius:8px;width:30px;height:30px;display:grid;place-items:center;font-size:17px}
.oos-activity-card-link .oos-activity-kpi b{color:var(--activity-accent);font-size:19px;line-height:1;font-weight:800}
.oos-activity-list-horizontal>a.oos-activity-card-link>strong{display:block;color:#172033;font-size:12px;line-height:1.25;white-space:normal}
.oos-activity-list-horizontal>a.oos-activity-card-link>small{display:block;color:#64748b;font-size:10px;line-height:1.3;margin:0;white-space:normal}
@media(max-width:760px){.oos-activity-list-horizontal>a.oos-activity-card-link{min-width:0;max-width:none}}

/* v3.6.4.1 — compact Quick Actions proportions matched to approved dashboard */
.oos-dashboard-quickbar{
  padding:10px 14px;
  margin-bottom:14px;
}
.oos-dashboard-quickbar-head{
  margin-bottom:7px;
}
.oos-dashboard-quickbar-body{
  align-items:center;
  gap:12px;
}
.oos-quick-actions-horizontal{
  align-items:center;
  align-self:center;
}
.oos-quick-actions-horizontal a{
  min-height:40px;
  padding:7px 10px;
}
.oos-activity-list-horizontal{
  align-items:center;
  gap:7px;
  overflow:visible;
}
.oos-activity-list-horizontal>a.oos-activity-card-link{
  box-sizing:border-box;
  min-width:0;
  max-width:none;
  min-height:84px;
  padding:8px 11px;
  gap:2px;
  justify-content:center;
}
.oos-activity-list-horizontal>a.oos-activity-card-link:nth-child(1){
  flex:0 0 215px;
}
.oos-activity-list-horizontal>a.oos-activity-card-link:nth-child(2){
  flex:0 0 155px;
}
.oos-activity-list-horizontal>a.oos-activity-card-link:nth-child(3){
  flex:0 0 165px;
}
.oos-activity-card-link .oos-activity-kpi{
  min-height:27px;
  gap:7px;
  margin:0 0 1px;
}
.oos-activity-card-link .oos-activity-kpi .dashicons{
  width:27px;
  height:27px;
  border-radius:7px;
  font-size:16px;
}
.oos-activity-card-link .oos-activity-kpi b{
  font-size:18px;
}
.oos-activity-list-horizontal>a.oos-activity-card-link>strong{
  font-size:12px;
  line-height:1.18;
  white-space:nowrap;
}
.oos-activity-list-horizontal>a.oos-activity-card-link>small{
  font-size:9.5px;
  line-height:1.18;
  white-space:nowrap;
}
@media(max-width:1280px){
  .oos-activity-list-horizontal>a.oos-activity-card-link:nth-child(1){flex-basis:205px}
  .oos-activity-list-horizontal>a.oos-activity-card-link:nth-child(2){flex-basis:150px}
  .oos-activity-list-horizontal>a.oos-activity-card-link:nth-child(3){flex-basis:160px}
}
@media(max-width:1180px){
  .oos-dashboard-quickbar-body{display:block}
  .oos-activity-list-horizontal{margin:8px 0 0;padding:8px 0 0;border-left:0;border-top:1px solid var(--oos-line);justify-content:flex-start;overflow-x:auto}
}
@media(max-width:760px){
  .oos-activity-list-horizontal>a.oos-activity-card-link:nth-child(1),
  .oos-activity-list-horizontal>a.oos-activity-card-link:nth-child(2),
  .oos-activity-list-horizontal>a.oos-activity-card-link:nth-child(3){
    flex:1 1 auto;
    min-width:0;
    max-width:none;
  }
  .oos-activity-list-horizontal>a.oos-activity-card-link>strong,
  .oos-activity-list-horizontal>a.oos-activity-card-link>small{white-space:normal}
}


/* v3.6.4.2 — Quick Actions collision-safe desktop layout */
@media (min-width:1181px){
  .oos-dashboard-quickbar-body{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    column-gap:12px;
    min-width:0;
  }
  .oos-quick-actions-horizontal{
    display:flex;
    flex-wrap:nowrap;
    gap:6px;
    min-width:0;
    overflow:hidden;
  }
  .oos-quick-actions-horizontal a{
    min-width:0;
    min-height:40px;
    padding:7px 8px;
    font-size:12.5px;
    flex:0 1 auto;
  }
  .oos-activity-list-horizontal{
    margin:0;
    padding-left:12px;
    flex:none;
    overflow:visible;
    min-width:0;
    justify-content:flex-end;
  }
  .oos-activity-list-horizontal>a.oos-activity-card-link:nth-child(1){flex:0 0 200px}
  .oos-activity-list-horizontal>a.oos-activity-card-link:nth-child(2){flex:0 0 145px}
  .oos-activity-list-horizontal>a.oos-activity-card-link:nth-child(3){flex:0 0 150px}
  .oos-activity-list-horizontal>a.oos-activity-card-link{padding-left:10px;padding-right:10px}
  .oos-activity-list-horizontal>a.oos-activity-card-link>small{white-space:nowrap}
}
@media (min-width:1181px) and (max-width:1380px){
  .oos-quick-actions-horizontal a{font-size:12px;padding-left:7px;padding-right:7px}
  .oos-quick-actions-horizontal{gap:5px}
  .oos-activity-list-horizontal{gap:6px;padding-left:10px}
  .oos-activity-list-horizontal>a.oos-activity-card-link:nth-child(1){flex-basis:195px}
  .oos-activity-list-horizontal>a.oos-activity-card-link:nth-child(2){flex-basis:140px}
  .oos-activity-list-horizontal>a.oos-activity-card-link:nth-child(3){flex-basis:145px}
}

/* v3.6.4.6 - filter action visibility */
.oos-toolbar .oos-button.secondary,
.oos-bulkbar .oos-button.secondary{
  background:#172033;
  color:#fff!important;
  border:1px solid #172033;
  min-height:38px;
  padding:9px 18px;
  font-size:12px;
  font-weight:800;
  box-shadow:0 2px 6px rgba(15,23,42,.10);
}
.oos-toolbar .oos-button.secondary:hover,
.oos-bulkbar .oos-button.secondary:hover{
  background:#0f172a;
  border-color:#0f172a;
}
.oos-toolbar .oos-button.secondary:focus-visible,
.oos-bulkbar .oos-button.secondary:focus-visible{
  outline:3px solid rgba(37,99,235,.22);
  outline-offset:2px;
}


/* v3.6.4.7 - Product action controls */
.oos-product-actions{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;min-width:190px;overflow:visible}
.oos-table .oos-product-actions .oos-product-action{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:32px;padding:6px 10px;border:1px solid #d8e2ee;border-radius:8px;font-size:11px;font-weight:800;line-height:1;text-decoration:none;white-space:nowrap;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.oos-table .oos-product-actions .oos-product-action .dashicons{font-size:15px;width:15px;height:15px;line-height:15px}
.oos-table .oos-product-actions .oos-product-action-open{background:#eaf2ff;border-color:#c8dafc;color:#174eb6}
.oos-table .oos-product-actions .oos-product-action-open:hover{background:#dce9ff;border-color:#a9c5f8;color:#123f98;box-shadow:0 3px 10px rgba(37,99,235,.10)}
.oos-table .oos-product-actions .oos-product-action-edit{background:#fff;border-color:#d8e2ee;color:#334155}
.oos-table .oos-product-actions .oos-product-action-edit:hover{background:#f8fafc;border-color:#becbda;color:#172033}
.oos-product-more{position:relative;display:inline-block;flex:0 0 auto}
.oos-product-more summary{list-style:none}
.oos-product-more summary::-webkit-details-marker{display:none}
.oos-table .oos-product-more-toggle{display:grid;place-items:center;width:34px;height:32px;border:1px solid #d8e2ee;border-radius:8px;background:#fff;color:#475569;cursor:pointer;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}
.oos-table .oos-product-more-toggle:hover,.oos-product-more[open] .oos-product-more-toggle{background:#f8fafc;border-color:#b9c7d8;box-shadow:0 3px 10px rgba(15,23,42,.08)}
.oos-table .oos-product-more-toggle .dashicons{font-size:18px;width:18px;height:18px;line-height:18px}
.oos-product-more-menu{display:none;position:absolute;right:0;top:38px;z-index:80;width:156px;padding:6px;background:#fff;border:1px solid #dce4ee;border-radius:10px;box-shadow:0 14px 32px rgba(15,23,42,.16)}
.oos-product-more[open] .oos-product-more-menu{display:grid;gap:2px}
.oos-table .oos-product-more-menu button{display:flex;align-items:center;gap:8px;width:100%;min-height:34px;padding:7px 9px;border:0;border-radius:7px;background:#fff;color:#334155;font-size:11px;font-weight:750;text-align:left;cursor:pointer;white-space:nowrap}
.oos-table .oos-product-more-menu button:hover{background:#f1f5f9;color:#172033}
.oos-table .oos-product-more-menu button .dashicons{font-size:15px;width:15px;height:15px;line-height:15px;color:#64748b}
.oos-table .oos-product-more-menu .oos-archive-action{color:#9a5a05}
.oos-table .oos-product-more-menu .oos-archive-action .dashicons{color:#d97706}
.oos-table .oos-product-more-menu .danger{color:#b42318}
.oos-table .oos-product-more-menu .danger .dashicons{color:#dc2626}
.oos-table .oos-product-more-menu .danger:hover{background:#fff1f2;color:#991b1b}
.oos-product-action:focus-visible,.oos-product-more-toggle:focus-visible,.oos-product-more-menu button:focus-visible{outline:3px solid rgba(37,99,235,.18);outline-offset:2px}
@media(max-width:1100px){.oos-product-actions{min-width:170px}.oos-table .oos-product-actions .oos-product-action{padding:6px 8px}.oos-table .oos-product-actions .oos-product-action .dashicons{display:none}}

/* v3.6.4.8 — themed administrator confirmations and status feedback */
.oos-dashboard-dialog-open{overflow:hidden}.oos-dashboard-confirm-backdrop,.oos-dashboard-status-backdrop{position:fixed;inset:0;z-index:10050;background:rgba(8,28,18,.58);display:grid;place-items:center;padding:24px;backdrop-filter:blur(1px)}.oos-dashboard-confirm-dialog,.oos-dashboard-status-dialog{position:relative;width:min(430px,100%);background:#fff;border:1px solid #dbe7de;border-radius:18px;padding:30px;box-shadow:0 24px 70px rgba(8,40,23,.24);text-align:center;font-family:inherit;overflow:hidden}.oos-dashboard-confirm-icon,.oos-dashboard-status-icon{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;font-size:23px;font-weight:900}.oos-dashboard-confirm-icon{background:#fff1ed;color:#a63a31;border:1px solid #efd2cd}.oos-dashboard-confirm-dialog h3,.oos-dashboard-status-dialog h3{margin:0 0 8px;font-size:22px;line-height:1.3;color:#173724}.oos-dashboard-confirm-message,.oos-dashboard-status-dialog p{margin:0 0 22px;color:#617067;font-size:14px;line-height:1.55}.oos-dashboard-confirm-message strong{display:block;margin-top:7px;color:#24332a;font-size:15px}.oos-dashboard-confirm-close{position:absolute;right:14px;top:12px;border:0;background:transparent;font-size:26px;line-height:1;color:#67746c;cursor:pointer}.oos-dashboard-confirm-actions{display:flex;justify-content:center;gap:10px}.oos-dashboard-confirm-actions button,.oos-dashboard-status-close{min-width:128px;min-height:42px;border-radius:9px;padding:10px 16px;font-family:inherit;font-size:14px;font-weight:800;cursor:pointer}.oos-dashboard-confirm-cancel{background:#fff;border:1px solid #b9cbbf;color:#176038}.oos-dashboard-confirm-cancel:hover,.oos-dashboard-confirm-cancel:focus{background:#f0f7f2;border-color:#176038}.oos-dashboard-confirm-approve{background:#176038;border:1px solid #176038;color:#fff}.oos-dashboard-confirm-approve.is-danger{background:#9a342e;border-color:#9a342e}.oos-dashboard-confirm-approve.is-danger:hover,.oos-dashboard-confirm-approve.is-danger:focus{background:#842a25;border-color:#842a25}.oos-dashboard-confirm-approve:disabled{opacity:.65;cursor:wait}.oos-dashboard-status-dialog.is-success .oos-dashboard-status-icon{background:#edf6ef;color:#176238;border:1px solid #d4e6d8}.oos-dashboard-status-dialog.is-error .oos-dashboard-status-icon{background:#fff1ed;color:#9a342e;border:1px solid #efd2cd}.oos-dashboard-status-close{border:1px solid #176238;background:#176238;color:#fff}.oos-dashboard-status-close:hover,.oos-dashboard-status-close:focus{background:#0f532f;border-color:#0f532f}.oos-dashboard-status-timer{position:absolute;left:0;right:0;bottom:0;height:4px;background:#edf2ee}.oos-dashboard-status-timer span{display:block;width:100%;height:100%;background:#3d8b58;transform-origin:left center;animation:oosDashboardStatusCountdown 5s linear forwards}@keyframes oosDashboardStatusCountdown{from{transform:scaleX(1)}to{transform:scaleX(0)}}.oos-dashboard-confirm-actions button:focus-visible,.oos-dashboard-confirm-close:focus-visible,.oos-dashboard-status-close:focus-visible{outline:3px solid rgba(23,96,56,.22);outline-offset:2px}@media(max-width:520px){.oos-dashboard-confirm-actions{flex-direction:column}.oos-dashboard-confirm-actions button{width:100%}}
\n\n/* v3.6.4.10 — Product dropdown behavior + confirmation contrast */\n.oos-dashboard-confirm-actions .oos-dashboard-confirm-cancel{\n  background:#f7fbf8!important;\n  color:#135f36!important;\n  border:1px solid #8db9a0!important;\n  text-shadow:none!important;\n  opacity:1!important;\n  -webkit-text-fill-color:#135f36;\n}\n.oos-dashboard-confirm-actions .oos-dashboard-confirm-cancel:hover,\n.oos-dashboard-confirm-actions .oos-dashboard-confirm-cancel:focus{\n  background:#eaf5ed!important;\n  color:#0f532f!important;\n  border-color:#176038!important;\n}\n.oos-product-more[open] .oos-product-more-menu{display:grid;gap:2px}\n.oos-product-more:hover .oos-product-more-menu{display:grid;gap:2px}\n.oos-product-more:hover .oos-product-more-toggle{background:#f8fafc;border-color:#b9c7d8;box-shadow:0 3px 10px rgba(15,23,42,.08)}\n
/* v3.6.4.10 — pinned More menu behavior */
.oos-product-more[data-oos-pinned="1"] .oos-product-more-toggle{background:#f8fafc;border-color:#94a3b8;box-shadow:0 3px 10px rgba(15,23,42,.10)}

/* v3.6.5.0 — Product duplication workflow + workspace actions */
.oos-object-back .oos-button{font-size:13px;font-weight:800;padding:9px 13px}
.oos-object-actions>.oos-status{font-size:12px;padding:6px 10px}
.oos-product-workspace-tools{display:flex;justify-content:flex-end;margin:-4px 0 10px}
.oos-product-workspace-more-form{margin:0}
.oos-product-workspace-more .oos-product-more-toggle{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:7px 11px;border:1px solid #d8e2ee;border-radius:8px;background:#fff;color:#334155;font-size:11px;font-weight:800;cursor:pointer;list-style:none}
.oos-product-workspace-more .oos-product-more-toggle::-webkit-details-marker{display:none}
.oos-product-workspace-more .oos-product-more-menu{top:39px;width:165px}
.oos-product-workspace-more .oos-product-more-menu button,
.oos-product-more-menu .oos-product-menu-link{display:flex;align-items:center;gap:8px;width:100%;min-height:34px;padding:7px 9px;border:0;border-radius:7px;background:#fff;color:#334155;font-size:11px;font-weight:750;text-align:left;cursor:pointer;white-space:nowrap;text-decoration:none}
.oos-product-workspace-more .oos-product-more-menu button:hover,
.oos-product-more-menu .oos-product-menu-link:hover{background:#f1f5f9;color:#172033}
.oos-product-more-menu .oos-product-menu-link .dashicons{font-size:15px;width:15px;height:15px;line-height:15px;color:#64748b}
.oos-duplicate-product-note{display:grid;gap:3px;margin:0 0 14px;padding:11px 13px;border:1px solid #c9dafc;border-radius:10px;background:#f3f7ff;color:#31415f}
.oos-duplicate-product-note strong{font-size:12px;color:#174eb6}
.oos-duplicate-product-note span{font-size:11px;line-height:1.45;color:#52627b}
@media(max-width:620px){.oos-product-workspace-tools{justify-content:flex-start}.oos-object-actions>.oos-status{font-size:11px}}


/* 3.6.6.18 Product Variants Foundation */
.oos-product-inline-danger-actions{display:flex;justify-content:flex-end;gap:8px;margin:-54px 0 14px;pointer-events:none}.oos-product-inline-danger-actions button{pointer-events:auto}.oos-product-inline-danger-actions .danger{background:#fff1f1!important;border:1px solid #f3c8c8!important;color:#a92f2f!important}.oos-product-inline-danger-actions .oos-archive-inline{background:#fffaf0!important;border:1px solid #efd8a8!important;color:#8d5b12!important}
.oos-variant-panel{margin-bottom:12px}.oos-variant-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.oos-variant-panel-head h3{margin:2px 0 3px;font-size:17px}.oos-variant-panel-head p{margin:0;color:var(--oos-muted);font-size:12px}.oos-variant-table-wrap{margin-top:12px;overflow-x:auto}.oos-variant-table td,.oos-variant-table th{padding:10px 12px}.oos-variant-edit{padding:7px 11px!important;font-size:11px!important}.oos-variant-empty{margin-top:12px;padding:15px;border:1px dashed #cbd5e1;border-radius:10px;background:#f8fafc;display:grid;gap:3px}.oos-variant-empty span{color:var(--oos-muted);font-size:12px}
@media(max-width:980px){.oos-product-inline-danger-actions{margin:0 0 12px;justify-content:flex-start}.oos-variant-panel-head{flex-direction:column}.oos-object-actions{max-width:100%}}

/* v3.6.6.18 Product Workspace action cleanup */
.oos-product-workspace-actions{flex-wrap:nowrap}
.oos-product-header-actions{display:flex;align-items:center;gap:8px;margin:0}
.oos-product-header-actions .danger{background:#fff1f1!important;border:1px solid #f3c8c8!important;color:#a92f2f!important}
.oos-product-header-actions .oos-archive-inline{background:#fffaf0!important;border:1px solid #efd8a8!important;color:#8d5b12!important}
@media(max-width:1100px){.oos-product-workspace-actions{flex-wrap:wrap}}

/* v3.6.6.18 — Product Summary image/content collision fix */
.oos-product-summary{
    display:grid;
    grid-template-columns:minmax(190px, 230px) minmax(0, 1fr);
    gap:20px;
    align-items:start;
}
.oos-product-summary > *{min-width:0}
.oos-product-summary img{
    display:block;
    width:100%;
    max-width:230px;
    height:auto;
    object-fit:contain;
}
.oos-product-summary .oos-product-summary-content,
.oos-product-summary .oos-summary-content{
    min-width:0;
}
.oos-product-summary p{
    overflow-wrap:anywhere;
}
@media (max-width:760px){
    .oos-product-summary{grid-template-columns:1fr}
    .oos-product-summary img{max-width:100%}
}

/* v3.6.6.18 — strict two-column Product Summary layout */
.oos-object-main [data-oos-tab-panel="summary"] .oos-product-summary{
    display:grid !important;
    grid-template-columns:230px minmax(0,1fr) !important;
    column-gap:32px !important;
    row-gap:0 !important;
    align-items:start !important;
    width:100% !important;
}
.oos-object-main [data-oos-tab-panel="summary"] .oos-object-image{
    grid-column:1 !important;
    width:230px !important;
    min-width:230px !important;
    max-width:230px !important;
    min-height:190px;
    align-self:start;
    overflow:hidden;
}
.oos-object-main [data-oos-tab-panel="summary"] .oos-object-image img{
    display:block !important;
    width:230px !important;
    max-width:230px !important;
    height:auto !important;
    object-fit:contain;
}
.oos-object-main [data-oos-tab-panel="summary"] .oos-product-summary-content{
    grid-column:2 !important;
    min-width:0 !important;
    width:100% !important;
    overflow:hidden;
}
.oos-object-main [data-oos-tab-panel="summary"] .oos-product-summary-content h3{
    margin-top:0 !important;
}
.oos-object-main [data-oos-tab-panel="summary"] .oos-rich-copy,
.oos-object-main [data-oos-tab-panel="summary"] .oos-rich-copy p{
    width:100% !important;
    max-width:100% !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    word-break:normal !important;
}
.oos-object-main [data-oos-tab-panel="summary"] .oos-detail-list{
    width:100% !important;
    min-width:0 !important;
}
@media(max-width:760px){
    .oos-object-main [data-oos-tab-panel="summary"] .oos-product-summary{
        grid-template-columns:1fr !important;
        row-gap:20px !important;
    }
    .oos-object-main [data-oos-tab-panel="summary"] .oos-object-image,
    .oos-object-main [data-oos-tab-panel="summary"] .oos-product-summary-content{
        grid-column:1 !important;
    }
    .oos-object-main [data-oos-tab-panel="summary"] .oos-object-image{
        width:100% !important;
        min-width:0 !important;
        max-width:100% !important;
    }
    .oos-object-main [data-oos-tab-panel="summary"] .oos-object-image img{
        width:100% !important;
        max-width:100% !important;
    }
}

/* v3.6.6.18 — Summary + Sellable Options main-column stack */
.oos-product-primary-column{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:16px;
}
.oos-product-primary-column > .oos-work-panel{
    width:100%;
    min-width:0;
    margin:0;
}
.oos-product-primary-column .oos-variant-panel{
    margin-top:0;
}
@media(max-width:900px){
    .oos-product-primary-column{gap:14px}
}

/* v3.6.6.18 — rebuilt Product Workspace stack */
.oos-product-workspace-grid{
    display:grid !important;
    grid-template-columns:minmax(0,2fr) minmax(260px,.75fr) !important;
    gap:12px !important;
    align-items:start !important;
}
.oos-product-primary-column{
    display:flex !important;
    flex-direction:column !important;
    gap:12px !important;
    min-width:0 !important;
}
.oos-product-primary-column > .oos-work-panel{
    width:100% !important;
    min-width:0 !important;
    visibility:visible !important;
    opacity:1 !important;
}
.oos-product-primary-column > .oos-variant-panel{
    display:block !important;
    margin:0 !important;
}
.oos-product-primary-column .oos-variant-panel-head{
    display:flex !important;
    justify-content:space-between !important;
    align-items:flex-start !important;
    gap:18px !important;
}
.oos-product-primary-column .oos-variant-empty{
    display:grid !important;
    visibility:visible !important;
    opacity:1 !important;
}
@media(max-width:980px){
    .oos-product-workspace-grid{grid-template-columns:1fr !important}
}


/* v3.6.6.18 — viewport-first Product Workspace */
.oos-product-workspace-grid{gap:10px!important}
.oos-product-primary-column{gap:10px!important}
.oos-product-primary-column>.oos-object-main{padding:13px 16px!important}
.oos-product-primary-column .oos-object-tabs{margin:-3px -3px 11px!important}
.oos-product-primary-column .oos-object-tabs button{padding:7px 10px!important}
.oos-product-primary-column [data-oos-tab-panel="summary"] .oos-product-summary{
  grid-template-columns:200px minmax(0,1fr)!important;
  column-gap:26px!important;
}
.oos-product-primary-column [data-oos-tab-panel="summary"] .oos-object-image{
  width:200px!important;min-width:200px!important;max-width:200px!important;min-height:0!important;
}
.oos-product-primary-column [data-oos-tab-panel="summary"] .oos-object-image img{
  width:200px!important;max-width:200px!important;height:150px!important;object-fit:contain!important;
}
.oos-product-primary-column .oos-product-summary-content h3{margin:0 0 7px!important}
.oos-product-primary-column .oos-rich-copy{margin-bottom:9px!important}
.oos-product-primary-column .oos-rich-copy p{margin:0!important;line-height:1.45!important}
.oos-product-primary-column .oos-detail-list{gap:7px!important}
.oos-product-primary-column .oos-detail-list p{padding:8px 10px!important;min-height:0!important}
.oos-product-primary-column .oos-variant-panel{padding:13px 16px!important}
.oos-product-primary-column .oos-variant-panel-head h3{margin:1px 0 2px!important}
.oos-product-primary-column .oos-variant-panel-head p{line-height:1.35!important}
.oos-product-primary-column .oos-variant-empty{margin-top:9px!important;padding:11px 13px!important}
@media(max-width:760px){
 .oos-product-primary-column [data-oos-tab-panel="summary"] .oos-product-summary{grid-template-columns:1fr!important;row-gap:14px!important}
 .oos-product-primary-column [data-oos-tab-panel="summary"] .oos-object-image{width:100%!important;min-width:0!important;max-width:100%!important}
 .oos-product-primary-column [data-oos-tab-panel="summary"] .oos-object-image img{width:100%!important;max-width:100%!important;height:auto!important}
}

/* v3.6.6.18 — Dedicated Product Variant Workspace */
.oos-variant-workspace{display:flex;flex-direction:column;gap:14px;max-width:1080px;margin:0 auto}
.oos-variant-workspace-back{display:flex;align-items:center}
.oos-variant-workspace-header{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:20px 22px}
.oos-variant-workspace-header h2{margin:4px 0 5px;font-size:24px}
.oos-variant-workspace-header p{margin:0;color:var(--oos-muted,#667085)}
.oos-variant-parent-ref{display:flex;align-items:center;gap:12px;min-width:240px;padding:10px 12px;border:1px solid #e3e8ef;border-radius:12px;background:#f8fafc}
.oos-variant-parent-thumb{width:52px;height:52px;overflow:hidden;border-radius:9px;background:#fff;flex:0 0 52px}
.oos-variant-parent-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.oos-variant-parent-ref div:last-child{display:flex;flex-direction:column;min-width:0}
.oos-variant-parent-ref small{font-size:11px;color:#667085;text-transform:uppercase;letter-spacing:.06em}
.oos-variant-parent-ref strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oos-variant-parent-ref span{font-size:12px;color:#667085}
.oos-variant-page-form{padding:22px}
.oos-variant-page-form .oos-product-form-section{padding:0;border:0;background:transparent}
.oos-variant-page-form .oos-section-title{margin-bottom:18px}
.oos-variant-page-form .oos-form-row{gap:18px}
.oos-variant-page-form input,.oos-variant-page-form select{font-size:15px}
.oos-variant-page-actions{display:flex;justify-content:flex-end;gap:12px;padding-top:20px;margin-top:8px;border-top:1px solid #e5e7eb}
@media(max-width:760px){
  .oos-variant-workspace-header{align-items:flex-start;flex-direction:column}
  .oos-variant-parent-ref{width:100%}
  .oos-variant-page-form .oos-form-row{grid-template-columns:1fr}
  .oos-variant-page-actions{justify-content:stretch}
  .oos-variant-page-actions .oos-button{flex:1;text-align:center}
}

/* v3.6.6.18 — compact secondary Back to Product List navigation */
.oos-object-back-compact{margin:-3px 0 7px!important;line-height:1}
.oos-object-back-compact .oos-button{font-size:13px!important;font-weight:800!important;padding:4px 10px!important;min-height:0!important;line-height:1.25!important;border-radius:7px!important}

/* v3.6.6.18 — Workspace-standard compact contextual back navigation */
.oos-compact-context-back{
    display:flex;
    align-items:center;
    min-height:30px;
    margin:0;
    padding:0;
}
.oos-compact-context-back a{
    display:inline-flex;
    align-items:center;
    min-height:30px;
    padding:4px 10px;
    border-radius:8px;
    background:#eef2f7;
    color:#101828;
    font-size:13px;
    font-weight:800;
    line-height:1.15;
    text-decoration:none;
}
.oos-compact-context-back a:hover,
.oos-compact-context-back a:focus{
    background:#e6ebf2;
    color:#101828;
    text-decoration:none;
}
.oos-variant-compact-back{
    margin:-2px 0 0;
}

/* v3.6.6.18 — Optional variant image override */
.oos-variant-image-section{margin-top:18px}
.oos-variant-image-section .oos-section-title h3 small{font-size:12px;font-weight:600;color:#667085}
.oos-variant-image-editor{display:grid;grid-template-columns:180px minmax(0,1fr);gap:20px;align-items:center}
.oos-variant-image-preview{min-height:130px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc;overflow:hidden;display:flex;align-items:center;justify-content:center}
.oos-variant-preview-img{display:block;width:100%;height:150px;object-fit:contain;background:#fff}
.oos-variant-image-placeholder{display:flex;flex-direction:column;align-items:center;gap:7px;color:#98a2b3}
.oos-variant-image-placeholder .dashicons{font-size:30px;width:30px;height:30px}
.oos-variant-image-controls{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0}
.oos-inherit-badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:#eef7f1;color:#237a42;font-size:12px;font-weight:700}
.oos-file-field{display:inline-flex!important;align-items:center;width:auto!important;cursor:pointer}
.oos-file-field>span{display:inline-flex;align-items:center;min-height:36px;padding:7px 12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#182230;font-size:13px;font-weight:700}
.oos-file-field input[type=file]{margin-left:10px;font-size:13px}
.oos-use-parent-image{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:8px;width:auto!important;font-size:13px;font-weight:700}
.oos-use-parent-image input{width:auto!important;margin:0}
@media(max-width:760px){.oos-variant-image-editor{grid-template-columns:1fr}.oos-variant-image-preview{max-width:260px}}

/* v3.6.6.18 — Product Variant Management */
.oos-variant-table th:last-child,.oos-variant-table td:last-child{white-space:nowrap}
.oos-variant-row-actions{display:flex;align-items:center;gap:6px;margin:0}
.oos-variant-row-actions .oos-button{min-height:32px;padding:5px 11px}
.oos-variant-more{position:relative}
.oos-variant-more>summary{display:flex;align-items:center;justify-content:center;width:36px;height:32px;border:1px solid #d7dee8;border-radius:8px;background:#fff;cursor:pointer;font-weight:800;letter-spacing:1px;list-style:none}
.oos-variant-more>summary::-webkit-details-marker{display:none}
.oos-variant-more .oos-product-more-menu{right:0;left:auto;z-index:40}
.oos-variant-image-source{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:800}
.oos-variant-image-source.parent{background:#eef7f1;color:#237a42}
.oos-variant-image-source.own{background:#eef4ff;color:#2458b8}
@media(max-width:900px){.oos-variant-table-wrap{overflow-x:auto}.oos-variant-table{min-width:820px}}

/* v3.6.6.18 — Variant table thumbnails */
.oos-variant-table th:first-child,
.oos-variant-table td:first-child{
    width:64px;
    min-width:64px;
    text-align:center;
}
.oos-variant-thumb-cell{
    padding:7px 8px!important;
}
.oos-variant-thumb{
    display:inline-flex;
    width:46px;
    height:46px;
    border:1px solid #e2e8f0;
    border-radius:9px;
    background:#fff;
    overflow:hidden;
    align-items:center;
    justify-content:center;
    vertical-align:middle;
}
.oos-variant-thumb img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}
.oos-variant-thumb-empty{
    background:#f8fafc;
    color:#98a2b3;
}
.oos-variant-thumb-empty .dashicons{
    width:20px;
    height:20px;
    font-size:20px;
}

/* v3.6.6.18 — Product Workspace visual hierarchy */
.oos-product-workspace-stack{
    display:flex;
    flex-direction:column;
    gap:12px;
    min-width:0;
}
.oos-product-workspace-stack .oos-product-primary-column{
    width:100%;
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:12px;
}
.oos-product-workspace-stack .oos-product-primary-column > .oos-work-panel{
    width:100%;
    min-width:0;
}
.oos-product-secondary-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:12px;
    align-items:start;
    width:100%;
    min-width:0;
}
.oos-product-secondary-row > .oos-work-panel{
    width:100%;
    min-width:0;
    margin:0;
}
.oos-product-workspace-stack .oos-variant-table-wrap{
    width:100%;
    overflow-x:auto;
}
.oos-product-workspace-stack .oos-variant-table{
    width:100%;
    min-width:860px;
}
@media(max-width:900px){
    .oos-product-secondary-row{
        grid-template-columns:1fr;
    }
}

/* v3.6.6.18 — Parent product visual identity and dynamic Summary */
.oos-product-workspace-stack .oos-product-primary-column [data-oos-tab-panel="summary"] .oos-product-summary{
    grid-template-columns:minmax(260px,30%) minmax(0,70%)!important;
    column-gap:28px!important;
    align-items:start!important;
}
.oos-product-workspace-stack .oos-product-primary-column [data-oos-tab-panel="summary"] .oos-object-image{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:220px!important;
    align-self:start!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:center!important;
    background:#f8fafc!important;
}
.oos-product-workspace-stack .oos-product-primary-column [data-oos-tab-panel="summary"] .oos-object-image img{
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    max-height:360px!important;
    object-fit:contain!important;
    object-position:center top!important;
}
.oos-product-workspace-stack .oos-product-primary-column [data-oos-tab-panel="summary"] .oos-product-summary-content{
    min-width:0!important;
    overflow:visible!important;
}
.oos-product-workspace-stack .oos-product-primary-column [data-oos-tab-panel="summary"] .oos-rich-copy,
.oos-product-workspace-stack .oos-product-primary-column [data-oos-tab-panel="summary"] .oos-rich-copy p{
    white-space:normal!important;
    overflow-wrap:anywhere!important;
}
@media(max-width:760px){
    .oos-product-workspace-stack .oos-product-primary-column [data-oos-tab-panel="summary"] .oos-product-summary{
        grid-template-columns:1fr!important;
        row-gap:16px!important;
    }
    .oos-product-workspace-stack .oos-product-primary-column [data-oos-tab-panel="summary"] .oos-object-image{
        max-width:460px!important;
        min-height:0!important;
    }
}

/* v3.6.6.41 - Workspace readable internal notes typography */
.oos-internal-notes-textarea{font-size:14px!important;line-height:1.6!important;font-family:inherit!important;}
.oos-internal-notes-textarea::placeholder{font-size:14px;line-height:1.6;color:#94a3b8;}

/* v3.6.6.41 — Customer Lifecycle visual refresh, no rearrangement */
.oos-customer-lifecycle-summary > div,
.oos-lifecycle-cards > div,
.oos-customer-stats > div,
.oos-customer-lifecycle-stats > div{
    position:relative;
    overflow:hidden;
    transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
}
.oos-customer-lifecycle-summary > div:hover,
.oos-lifecycle-cards > div:hover,
.oos-customer-stats > div:hover,
.oos-customer-lifecycle-stats > div:hover{
    transform:translateY(-1px);
    box-shadow:0 8px 20px rgba(15,23,42,.06);
}
.oos-customer-lifecycle-summary > div::before,
.oos-lifecycle-cards > div::before,
.oos-customer-stats > div::before,
.oos-customer-lifecycle-stats > div::before{
    content:"";
    position:absolute;
    left:0;top:0;bottom:0;width:4px;
}
.oos-customer-lifecycle-summary > div:nth-child(1)::before,
.oos-lifecycle-cards > div:nth-child(1)::before,
.oos-customer-stats > div:nth-child(1)::before,
.oos-customer-lifecycle-stats > div:nth-child(1)::before{background:#22a35a}
.oos-customer-lifecycle-summary > div:nth-child(2)::before,
.oos-lifecycle-cards > div:nth-child(2)::before,
.oos-customer-stats > div:nth-child(2)::before,
.oos-customer-lifecycle-stats > div:nth-child(2)::before{background:#2f6fec}
.oos-customer-lifecycle-summary > div:nth-child(3)::before,
.oos-lifecycle-cards > div:nth-child(3)::before,
.oos-customer-stats > div:nth-child(3)::before,
.oos-customer-lifecycle-stats > div:nth-child(3)::before{background:#7a43d8}
.oos-customer-lifecycle-summary > div:nth-child(4)::before,
.oos-lifecycle-cards > div:nth-child(4)::before,
.oos-customer-stats > div:nth-child(4)::before,
.oos-customer-lifecycle-stats > div:nth-child(4)::before{background:#e08a1e}
.oos-customer-lifecycle-summary > div:nth-child(5)::before,
.oos-lifecycle-cards > div:nth-child(5)::before,
.oos-customer-stats > div:nth-child(5)::before,
.oos-customer-lifecycle-stats > div:nth-child(5)::before{background:#c73d3d}

/* Add lightweight icon bubbles with CSS only, preserving all positions */
.oos-customer-lifecycle-summary > div::after,
.oos-lifecycle-cards > div::after,
.oos-customer-stats > div::after,
.oos-customer-lifecycle-stats > div::after{
    position:absolute;
    right:14px;top:12px;
    width:32px;height:32px;border-radius:10px;
    display:flex;align-items:center;justify-content:center;
    font-family:dashicons;font-size:17px;line-height:1;
}
.oos-customer-lifecycle-summary > div:nth-child(1)::after,
.oos-lifecycle-cards > div:nth-child(1)::after,
.oos-customer-stats > div:nth-child(1)::after,
.oos-customer-lifecycle-stats > div:nth-child(1)::after{content:"\f147";color:#16844a;background:#eaf8ef}
.oos-customer-lifecycle-summary > div:nth-child(2)::after,
.oos-lifecycle-cards > div:nth-child(2)::after,
.oos-customer-stats > div:nth-child(2)::after,
.oos-customer-lifecycle-stats > div:nth-child(2)::after{content:"\f525";color:#245fd0;background:#edf4ff}
.oos-customer-lifecycle-summary > div:nth-child(3)::after,
.oos-lifecycle-cards > div:nth-child(3)::after,
.oos-customer-stats > div:nth-child(3)::after,
.oos-customer-lifecycle-stats > div:nth-child(3)::after{content:"\f469";color:#6f36c9;background:#f3edff}
.oos-customer-lifecycle-summary > div:nth-child(4)::after,
.oos-lifecycle-cards > div:nth-child(4)::after,
.oos-customer-stats > div:nth-child(4)::after,
.oos-customer-lifecycle-stats > div:nth-child(4)::after{content:"\f480";color:#c96f08;background:#fff5e6}
.oos-customer-lifecycle-summary > div:nth-child(5)::after,
.oos-lifecycle-cards > div:nth-child(5)::after,
.oos-customer-stats > div:nth-child(5)::after,
.oos-customer-lifecycle-stats > div:nth-child(5)::after{content:"\f182";color:#b32f2f;background:#fff0f0}

/* Subtle tonal borders/backgrounds */
.oos-customer-lifecycle-summary > div:nth-child(1),
.oos-lifecycle-cards > div:nth-child(1),
.oos-customer-stats > div:nth-child(1),
.oos-customer-lifecycle-stats > div:nth-child(1){border-color:#cfe9d7;background:linear-gradient(180deg,#fff 0%,#fbfffc 100%)}
.oos-customer-lifecycle-summary > div:nth-child(2),
.oos-lifecycle-cards > div:nth-child(2),
.oos-customer-stats > div:nth-child(2),
.oos-customer-lifecycle-stats > div:nth-child(2){border-color:#cfdef6;background:linear-gradient(180deg,#fff 0%,#fbfdff 100%)}
.oos-customer-lifecycle-summary > div:nth-child(3),
.oos-lifecycle-cards > div:nth-child(3),
.oos-customer-stats > div:nth-child(3),
.oos-customer-lifecycle-stats > div:nth-child(3){border-color:#dfd4f6;background:linear-gradient(180deg,#fff 0%,#fdfbff 100%)}
.oos-customer-lifecycle-summary > div:nth-child(4),
.oos-lifecycle-cards > div:nth-child(4),
.oos-customer-stats > div:nth-child(4),
.oos-customer-lifecycle-stats > div:nth-child(4){border-color:#f0dfbd;background:linear-gradient(180deg,#fff 0%,#fffdf8 100%)}
.oos-customer-lifecycle-summary > div:nth-child(5),
.oos-lifecycle-cards > div:nth-child(5),
.oos-customer-stats > div:nth-child(5),
.oos-customer-lifecycle-stats > div:nth-child(5){border-color:#f1d2d2;background:linear-gradient(180deg,#fff 0%,#fffafa 100%)}

/* Customer table polish, same layout */
.oos-customer-table thead th,
.oos-customer-lifecycle-table thead th{background:#f7f9fc;color:#536174}
.oos-customer-table tbody tr:hover,
.oos-customer-lifecycle-table tbody tr:hover{background:#fbfdff}
.oos-customer-table a[href^="mailto:"],
.oos-customer-lifecycle-table a[href^="mailto:"]{color:#2b61c8;font-weight:600;text-decoration:none}
.oos-customer-table a[href^="mailto:"]:hover,
.oos-customer-lifecycle-table a[href^="mailto:"]:hover{text-decoration:underline}

/* Stronger Active status without moving anything */
.oos-customer-table .status-active,
.oos-customer-lifecycle-table .status-active{
    background:#eaf8ef!important;
    color:#187b44!important;
    border-color:#ccebd7!important;
}

/* Manage Lifecycle remains in place, just clearer */
.oos-customer-table .oos-button,
.oos-customer-lifecycle-table .oos-button{box-shadow:0 1px 2px rgba(15,23,42,.06)}

/* v3.6.6.41 — exact Customer table visual treatment */
.oos-customer-visual-table{
    border-collapse:separate!important;
    border-spacing:0!important;
}
.oos-customer-visual-table thead th{
    background:#f4f7fb!important;
    color:#536174!important;
    font-weight:800!important;
    letter-spacing:.035em;
    vertical-align:middle!important;
    padding-top:12px!important;
    padding-bottom:12px!important;
}
.oos-customer-visual-table thead th .oos-customer-th-icon{
    width:25px;
    height:25px;
    margin-right:7px;
    border-radius:7px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    vertical-align:middle;
    font-size:14px;
    line-height:1;
}
.oos-customer-visual-table thead th:nth-child(1) .oos-customer-th-icon{background:#edf4ff;color:#2f6fec}
.oos-customer-visual-table thead th:nth-child(2) .oos-customer-th-icon{background:#eaf8ef;color:#16844a}
.oos-customer-visual-table thead th:nth-child(3) .oos-customer-th-icon{background:#f3edff;color:#6f36c9}
.oos-customer-visual-table thead th:nth-child(4) .oos-customer-th-icon{background:#fff5e6;color:#c96f08}
.oos-customer-visual-table thead th:nth-child(5) .oos-customer-th-icon{background:#edf8fb;color:#177c92}
.oos-customer-visual-table thead th:nth-child(6) .oos-customer-th-icon{background:#f1f3f7;color:#344054}

.oos-customer-visual-table tbody tr{
    transition:background .15s ease,box-shadow .15s ease;
}
.oos-customer-visual-table tbody tr:nth-child(even){background:#fbfcfe}
.oos-customer-visual-table tbody tr:hover{
    background:#f7faff!important;
    box-shadow:inset 3px 0 0 #2f6fec;
}
.oos-customer-visual-table tbody td{
    padding-top:12px!important;
    padding-bottom:12px!important;
    vertical-align:middle!important;
}

/* Make the customer identity visually stronger */
.oos-customer-visual-table tbody td:first-child strong,
.oos-customer-visual-table tbody td:first-child b{
    font-size:14px;
    font-weight:800;
    color:#162033;
}
.oos-customer-visual-table tbody td:first-child img{
    box-shadow:0 0 0 3px #f0f4f9;
}

/* Active pill */
.oos-customer-visual-table tbody td:nth-child(2) > span:first-child{
    border-radius:999px;
    padding:5px 10px;
}

/* Orders: emphasize count while retaining existing data */
.oos-customer-visual-table tbody td:nth-child(4){
    font-weight:700;
    color:#172033;
}

/* Contact links */
.oos-customer-visual-table tbody td:nth-child(5) a{
    color:#2b61c8!important;
    font-weight:600;
    text-decoration:none;
}
.oos-customer-visual-table tbody td:nth-child(5) a:hover{text-decoration:underline}

/* Next Action button stays exactly where it is */
.oos-customer-visual-table tbody td:last-child a,
.oos-customer-visual-table tbody td:last-child button{
    box-shadow:0 2px 5px rgba(15,23,42,.10);
    transition:transform .15s ease,box-shadow .15s ease;
}
.oos-customer-visual-table tbody td:last-child a:hover,
.oos-customer-visual-table tbody td:last-child button:hover{
    transform:translateY(-1px);
    box-shadow:0 5px 10px rgba(15,23,42,.14);
}

/* v3.6.6.41 — Customer Lifecycle cards get the icons; table headers return to text-only */
.oos-customer-visual-table thead th .oos-customer-th-icon{
    display:none!important;
}

/* Exact lifecycle card row in the Customers workspace */
.oos-lifecycle-stats{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:12px;
}
.oos-lifecycle-stat{
    position:relative;
    overflow:hidden;
    padding-right:58px!important;
    transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.oos-lifecycle-stat:hover{
    transform:translateY(-1px);
    box-shadow:0 8px 20px rgba(15,23,42,.06);
}
.oos-lifecycle-stat::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:4px;
}
.oos-lifecycle-stat::after{
    position:absolute;
    right:14px;
    top:14px;
    width:34px;
    height:34px;
    border-radius:10px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-family:dashicons;
    font-size:18px;
    line-height:1;
}

/* Active */
.oos-lifecycle-stat:nth-child(1){
    border-color:#cfe9d7!important;
    background:linear-gradient(180deg,#fff 0%,#fbfffc 100%);
}
.oos-lifecycle-stat:nth-child(1)::before{background:#22a35a}
.oos-lifecycle-stat:nth-child(1)::after{
    content:"\f147";
    color:#16844a;
    background:#eaf8ef;
}

/* Contact Required */
.oos-lifecycle-stat:nth-child(2){
    border-color:#cfdef6!important;
    background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
}
.oos-lifecycle-stat:nth-child(2)::before{background:#2f6fec}
.oos-lifecycle-stat:nth-child(2)::after{
    content:"\f525";
    color:#245fd0;
    background:#edf4ff;
}

/* Grace Period */
.oos-lifecycle-stat:nth-child(3){
    border-color:#dfd4f6!important;
    background:linear-gradient(180deg,#fff 0%,#fdfbff 100%);
}
.oos-lifecycle-stat:nth-child(3)::before{background:#7a43d8}
.oos-lifecycle-stat:nth-child(3)::after{
    content:"\f469";
    color:#6f36c9;
    background:#f3edff;
}

/* In Bin */
.oos-lifecycle-stat:nth-child(4){
    border-color:#f0dfbd!important;
    background:linear-gradient(180deg,#fff 0%,#fffdf8 100%);
}
.oos-lifecycle-stat:nth-child(4)::before{background:#e08a1e}
.oos-lifecycle-stat:nth-child(4)::after{
    content:"\f480";
    color:#c96f08;
    background:#fff5e6;
}

/* Deletion Eligible */
.oos-lifecycle-stat:nth-child(5){
    border-color:#f1d2d2!important;
    background:linear-gradient(180deg,#fff 0%,#fffafa 100%);
}
.oos-lifecycle-stat:nth-child(5)::before{background:#c73d3d}
.oos-lifecycle-stat:nth-child(5)::after{
    content:"\f182";
    color:#b32f2f;
    background:#fff0f0;
}

/* Stronger numbers, same card geometry */
.oos-lifecycle-stat strong{
    font-size:23px!important;
    line-height:1.05!important;
    font-weight:800!important;
}

@media(max-width:900px){
    .oos-lifecycle-stats{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:560px){
    .oos-lifecycle-stats{
        grid-template-columns:1fr;
    }
}

/* v3.6.6.41 — Customer Workspace route resilience */
.oos-customer-workspace-header .oos-profile-card{
    display:flex;
    align-items:center;
    gap:14px;
}
.oos-customer-workspace-header .oos-profile-card > div{
    flex:1;
    min-width:0;
}
.oos-customer-workspace-header .oos-profile-card h2{
    margin:3px 0;
}
.oos-workspace-safe-note{
    margin:0;
    padding:10px 12px;
    border-radius:9px;
    background:#f8fafc;
    color:#536174;
    font-size:13px;
    line-height:1.5;
}

/* v3.6.6.41 — Customer Workspace tabs */
.oos-customer-tabs-workspace{display:block;min-width:0}
.oos-customer-tabs{display:flex;gap:0;border-bottom:1px solid #dbe3ee;margin:0 16px;background:#fff;padding:0 0 0 0}
.oos-customer-tabs button{appearance:none;border:0;background:transparent;padding:12px 14px 10px;color:#5d6b7d;font:inherit;font-weight:600;cursor:pointer;border-bottom:2px solid transparent}
.oos-customer-tabs button.active{color:#2563eb;border-bottom-color:#2563eb}
.oos-customer-tab-panel{margin-top:0;border-top-left-radius:0;border-top-right-radius:0;min-width:0}
.oos-customer-tab-panel[hidden]{display:none!important}
.oos-customer-tab-panel .oos-table-wrap{width:100%;max-width:100%;overflow-x:auto}
.oos-customer-tab-panel .oos-table{width:100%}
.oos-customer-tab-panel .oos-profile-card{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.oos-customer-tab-panel .oos-profile-card h2{margin:3px 0}
.oos-customer-notes{margin-top:18px}
@media(max-width:700px){.oos-customer-tabs{overflow-x:auto;margin-left:10px;margin-right:10px}.oos-customer-tabs button{white-space:nowrap}.oos-customer-tab-panel .oos-detail-list{grid-template-columns:1fr}}

/* v3.6.6.41 — Administrator Continuity */
.oos-administrator-continuity-table td{
    vertical-align:middle;
}
.oos-administrator-continuity-table td:first-child small,
.oos-administrator-continuity-table td:nth-child(3) small{
    display:block;
    margin-top:4px;
    color:#667085;
}
.oos-administrator-continuity-actions{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
}
.oos-primary-admin-protection{
    display:flex;
    flex-direction:column;
    gap:2px;
    padding:10px 12px;
    border:1px solid #cfe0ff;
    border-radius:10px;
    background:#f5f8ff;
    color:#234d9b;
}
.oos-primary-admin-protection small{
    color:#667085;
    font-size:12px;
}

/* v3.6.6.41 — Activity Reports pagination + sticky headings */
.oos-activity-table-wrap{
    position:relative;
    overflow:visible;
}
.oos-activity-table thead th{
    position:sticky;
    top:0;
    z-index:8;
    background:#f7f9fc!important;
    box-shadow:0 1px 0 #d9e0e8;
}
.oos-activity-pagination{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
    padding:14px 0 4px;
}
.oos-pagination-summary{
    color:#667085;
    font-size:13px;
    font-weight:600;
}
.oos-pagination{
    display:flex;
    align-items:center;
    gap:6px;
    flex-wrap:wrap;
}
.oos-page-link{
    display:inline-flex;
    min-width:34px;
    height:34px;
    padding:0 10px;
    align-items:center;
    justify-content:center;
    border:1px solid #d9e0e8;
    border-radius:8px;
    background:#fff;
    color:#22324d;
    text-decoration:none;
    font-weight:700;
    font-size:13px;
}
.oos-page-link:hover{
    background:#f5f8ff;
    border-color:#b9c9e8;
}
.oos-page-link.active{
    background:#14213d;
    border-color:#14213d;
    color:#fff;
}
.oos-page-gap{
    color:#98a2b3;
    padding:0 2px;
}
@media(max-width:700px){
    .oos-activity-pagination{
        align-items:flex-start;
        flex-direction:column;
    }
    .oos-activity-table-wrap{
        overflow-x:auto;
    }
    .oos-activity-table thead th{
        top:0;
    }
}

/* v3.6.6.41 — Activity Reports sticky header + pagination refinement */

/*
 * The application top bar is already sticky at 64px.  The Activity table
 * header must sit directly underneath it, otherwise a top:0 sticky header is
 * hidden behind the application header and appears not to work.
 */
.oos-activity-report-panel,
.oos-activity-table-wrap{
    overflow:visible!important;
}
.oos-activity-table{
    border-collapse:separate!important;
    border-spacing:0!important;
}
.oos-activity-table thead{
    position:sticky!important;
    top:64px!important;
    z-index:24!important;
}
.oos-activity-table thead th{
    position:static!important;
    background:#f7f9fc!important;
    box-shadow:
        inset 0 -1px 0 #d9e0e8,
        0 4px 8px rgba(15,23,42,.05)!important;
}

/* Pagination: keep Previous / numbered pages / Next on one clean line. */
.oos-activity-pagination{
    display:grid!important;
    grid-template-columns:minmax(180px,1fr) auto!important;
    align-items:center!important;
    gap:18px!important;
    padding:16px 0 6px!important;
}
.oos-pagination{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:6px!important;
    min-width:0;
}
.oos-page-link{
    flex:0 0 auto!important;
    white-space:nowrap!important;
    width:auto!important;
    line-height:1!important;
}
.oos-pagination .oos-page-link:first-child,
.oos-pagination .oos-page-link:last-child{
    min-width:92px!important;
    padding-left:13px!important;
    padding-right:13px!important;
}
.oos-page-gap{
    flex:0 0 auto;
}
@media(max-width:760px){
    .oos-activity-table thead{
        top:0!important;
    }
    .oos-activity-pagination{
        grid-template-columns:1fr!important;
        align-items:start!important;
    }
    .oos-pagination{
        justify-content:flex-start!important;
        max-width:100%;
        overflow-x:auto;
        padding-bottom:3px;
    }
}

/* v3.6.6.41 — Administrator Control Center */
.oos-admin-control-center{
    display:block;
}
.oos-admin-control-heading{
    align-items:flex-start;
}
.oos-admin-summary-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    margin:4px 0 14px;
}
.oos-admin-summary-card{
    min-height:82px;
    display:flex;
    align-items:center;
    gap:12px;
    padding:13px 14px;
    border:1px solid #e3e8ef;
    border-radius:12px;
    background:#fff;
}
.oos-admin-summary-card>.dashicons{
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border-radius:10px;
    font-size:18px;
}
.oos-admin-summary-card strong,
.oos-admin-summary-card small{
    display:block;
}
.oos-admin-summary-card strong{
    font-size:19px;
    line-height:1.15;
    color:#172033;
}
.oos-admin-summary-card small{
    margin-top:4px;
    color:#667085;
    font-size:11px;
}
.oos-admin-summary-card.tone-blue{border-color:#d9e6ff;background:#fbfdff}
.oos-admin-summary-card.tone-blue>.dashicons{background:#edf4ff;color:#2f6fec}
.oos-admin-summary-card.tone-green{border-color:#d5ecdc;background:#fbfffc}
.oos-admin-summary-card.tone-green>.dashicons{background:#eaf8ef;color:#16844a}
.oos-admin-summary-card.tone-orange{border-color:#f2dfbf;background:#fffdf9}
.oos-admin-summary-card.tone-orange>.dashicons{background:#fff5e6;color:#c96f08}
.oos-admin-summary-card.tone-purple{border-color:#e0d6f6;background:#fdfbff}
.oos-admin-summary-card.tone-purple>.dashicons{background:#f3edff;color:#6f36c9}

.oos-administrator-control-table td{
    vertical-align:middle!important;
}
.oos-admin-identity{
    display:flex;
    align-items:center;
    gap:10px;
}
.oos-admin-identity img{
    border-radius:50%;
    box-shadow:0 0 0 3px #f1f4f8;
}
.oos-admin-identity strong,
.oos-admin-identity small{
    display:block;
}
.oos-admin-identity small{
    margin-top:3px;
    color:#667085;
}
.oos-admin-role-badge,
.oos-admin-state,
.oos-admin-protected-badge,
.oos-admin-secondary-badge{
    display:inline-flex;
    align-items:center;
    gap:5px;
    border-radius:999px;
    padding:5px 9px;
    font-size:11px;
    font-weight:700;
    white-space:nowrap;
}
.oos-admin-role-badge{
    background:#eef4ff;
    color:#2d5fb8;
}
.oos-admin-state.is-active{
    background:#eaf8ef;
    color:#187b44;
}
.oos-admin-state.is-suspended{
    background:#fff2e6;
    color:#b76200;
}
.oos-admin-protected-badge{
    background:#f3edff;
    color:#6f36c9;
}
.oos-admin-protected-badge .dashicons{
    width:14px;
    height:14px;
    font-size:14px;
}
.oos-admin-secondary-badge{
    background:#f3f4f6;
    color:#475467;
}
.oos-admin-editor-wrap{
    margin-top:14px;
}
@media(max-width:1050px){
    .oos-admin-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
    .oos-admin-summary-grid{grid-template-columns:1fr}
}

/* v3.6.6.41 — SUPER-only credentials + independent workspace sidebar scrolling */

/*
 * Desktop workspace navigation owns its own vertical scroll area.
 * Scrolling while the pointer is over the sidebar now moves the sidebar,
 * rather than the business workspace behind it.
 */
@media (min-width:761px){
    .oos-app-sidebar{
        position:sticky!important;
        top:0!important;
        height:100vh!important;
        max-height:100vh!important;
        overflow-y:auto!important;
        overflow-x:hidden!important;
        overscroll-behavior-y:contain;
        scrollbar-gutter:stable;
    }

    /* Keep the footer reachable after long menu lists. */
    .oos-sidebar-footer{
        margin-top:auto;
        flex:0 0 auto;
    }

    /* Subtle scrollbar so navigation remains visually clean. */
    .oos-app-sidebar{
        scrollbar-width:thin;
        scrollbar-color:rgba(255,255,255,.28) transparent;
    }
    .oos-app-sidebar::-webkit-scrollbar{
        width:7px;
    }
    .oos-app-sidebar::-webkit-scrollbar-track{
        background:transparent;
    }
    .oos-app-sidebar::-webkit-scrollbar-thumb{
        background:rgba(255,255,255,.24);
        border-radius:999px;
    }
    .oos-app-sidebar::-webkit-scrollbar-thumb:hover{
        background:rgba(255,255,255,.36);
    }
}

/* Mobile keeps the existing natural document flow. */
@media (max-width:760px){
    .oos-app-sidebar{
        height:auto!important;
        max-height:none!important;
        overflow:visible!important;
        overscroll-behavior:auto;
        scrollbar-gutter:auto;
    }
}

/* v3.6.6.41 — Administrator Detail / Lifecycle Workspace */
.oos-admin-detail-header{
    padding:18px;
}
.oos-admin-detail-identity{
    display:flex;
    align-items:center;
    gap:14px;
}
.oos-admin-detail-identity img{
    border-radius:50%;
    box-shadow:0 0 0 4px #f1f4f8;
}
.oos-admin-detail-identity>div:nth-child(2){
    flex:1;
    min-width:0;
}
.oos-admin-detail-identity h2{
    margin:3px 0;
    font-size:22px;
}
.oos-admin-detail-identity p{
    margin:0;
    color:#667085;
}
.oos-admin-detail-badges{
    display:flex;
    gap:8px;
    align-items:center;
    flex-wrap:wrap;
    justify-content:flex-end;
}
.oos-admin-detail-metrics{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    margin:0 0 12px;
}
.oos-admin-detail-metrics article{
    background:#fff;
    border:1px solid #e3e8ef;
    border-radius:12px;
    padding:12px 14px;
}
.oos-admin-detail-metrics small,
.oos-admin-detail-metrics strong{
    display:block;
}
.oos-admin-detail-metrics small{
    color:#667085;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.05em;
}
.oos-admin-detail-metrics strong{
    margin-top:4px;
    font-size:16px;
    color:#172033;
}
.oos-admin-detail-tabs{
    margin:0 0 0;
    background:#fff;
    border:1px solid #e3e8ef;
    border-bottom:0;
    border-radius:12px 12px 0 0;
    padding:0 10px;
}
.oos-admin-detail-panel{
    border-radius:0 0 12px 12px!important;
    margin-bottom:12px;
}
.oos-admin-lifecycle-actions form{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:14px;
}
.oos-admin-lifecycle-protection{
    margin-bottom:12px;
}
.oos-admin-lifecycle-note{
    display:flex;
    gap:10px;
    align-items:flex-start;
    margin-top:16px;
    padding:12px 14px;
    border:1px solid #dbe7f6;
    border-radius:10px;
    background:#f8fbff;
}
.oos-admin-lifecycle-note>.dashicons{
    color:#2f6fec;
    margin-top:1px;
}
.oos-admin-lifecycle-note strong,
.oos-admin-lifecycle-note p{
    display:block;
}
.oos-admin-lifecycle-note p{
    margin:3px 0 0;
    color:#667085;
}
.oos-admin-activity-list{
    display:grid;
    gap:8px;
}
.oos-admin-activity-list article{
    display:grid;
    grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);
    gap:16px;
    padding:11px 12px;
    border:1px solid #e8edf3;
    border-radius:10px;
    background:#fbfcfe;
}
.oos-admin-activity-list strong,
.oos-admin-activity-list small{
    display:block;
}
.oos-admin-activity-list small{
    margin-top:3px;
    color:#667085;
}
@media(max-width:900px){
    .oos-admin-detail-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
    .oos-admin-detail-identity{align-items:flex-start;flex-wrap:wrap}
    .oos-admin-detail-badges{width:100%;justify-content:flex-start}
    .oos-admin-detail-metrics{grid-template-columns:1fr}
    .oos-admin-activity-list article{grid-template-columns:1fr}
}

/* v3.6.6.41 — Secondary Administrator authority boundary */
.oos-admin-authority-boundary,
.oos-admin-authority-summary{
    display:flex;
    align-items:flex-start;
    gap:11px;
    margin-top:14px;
    padding:14px 16px;
    border:1px solid #dbe7f6;
    border-radius:11px;
    background:#f8fbff;
}
.oos-admin-authority-boundary>.dashicons{
    color:#2f6fec;
    margin-top:1px;
}
.oos-admin-authority-boundary strong,
.oos-admin-authority-summary strong{
    display:block;
    color:#172033;
}
.oos-admin-authority-boundary p,
.oos-admin-authority-summary p{
    margin:4px 0 0;
    color:#667085;
}
.oos-admin-governance-badge{
    display:inline-flex;
    align-items:center;
    gap:4px;
    padding:6px 9px;
    border-radius:999px;
    background:#eef4ff;
    color:#2859b8;
    font-size:12px;
    font-weight:600;
}
.oos-admin-governance-badge .dashicons{
    width:14px;
    height:14px;
    font-size:14px;
}

/* v3.6.6.41 — Administrator password visibility control */
.oos-admin-password-wrap{position:relative;display:block;width:100%;margin-top:4px}
.oos-admin-password-wrap input{width:100%!important;padding-right:48px!important}
.oos-admin-password-eye{
    position:absolute;right:7px;top:50%;transform:translateY(-50%);
    width:34px;height:34px;border:1px solid #d7e0ea;border-radius:8px;
    background:#f4f7fb;color:#344054;display:grid;place-items:center;
    cursor:pointer;padding:0
}
.oos-admin-password-eye:hover{background:#eaf0f7}
.oos-admin-password-eye .dashicons{width:18px;height:18px;font-size:18px;line-height:18px}

/* v3.6.6.41 — Enterprise Workspace Toast Standard */
.oos-toast{
 position:fixed;top:84px;right:20px;z-index:1200;width:min(390px,calc(100vw - 32px));
 display:grid;grid-template-columns:40px minmax(0,1fr) 30px;gap:10px;align-items:start;
 padding:14px 14px 12px;border:1px solid #dbe3ec;border-radius:14px;background:#fff;
 box-shadow:0 18px 45px rgba(15,23,42,.18);overflow:hidden;animation:oos-toast-enter .22s ease-out both;
}
.oos-toast-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;font-size:19px}
.oos-toast-body strong,.oos-toast-body span{display:block}
.oos-toast-body strong{margin-bottom:3px;font-size:13px;color:#172033}
.oos-toast-body span{font-size:13px;line-height:1.45;color:#526071;overflow-wrap:anywhere}
.oos-toast-close{width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:#667085;cursor:pointer;font-size:21px;line-height:1}
.oos-toast-close:hover{background:#f1f4f8;color:#172033}
.oos-toast-timer{position:absolute;left:0;right:0;bottom:0;height:3px;transform-origin:left center;animation:oos-toast-countdown 5s linear both}
.oos-toast-success{border-color:#cfe9d8}.oos-toast-success .oos-toast-icon{background:#eaf8ef;color:#16844a}.oos-toast-success .oos-toast-timer{background:#22a35a}
.oos-toast-error{border-color:#f1caca}.oos-toast-error .oos-toast-icon{background:#fff0f0;color:#bd2f2f}.oos-toast-error .oos-toast-timer{background:#d13d3d}
.oos-toast-warning{border-color:#f0ddb5}.oos-toast-warning .oos-toast-icon{background:#fff6e7;color:#bd6c08}.oos-toast-warning .oos-toast-timer{background:#df8a1d}
.oos-toast.is-leaving{animation:oos-toast-leave .22s ease-in both}
@keyframes oos-toast-enter{from{opacity:0;transform:translate3d(18px,-8px,0) scale(.98)}to{opacity:1;transform:none}}
@keyframes oos-toast-leave{from{opacity:1;transform:none}to{opacity:0;transform:translate3d(18px,-6px,0) scale(.98)}}
@keyframes oos-toast-countdown{from{transform:scaleX(1)}to{transform:scaleX(0)}}
@media(max-width:760px){.oos-toast{top:72px;right:12px;left:12px;width:auto}}
@media(prefers-reduced-motion:reduce){.oos-toast,.oos-toast.is-leaving,.oos-toast-timer{animation:none!important}}

/* v3.6.6.41 — Centered Error Dialog + retained compact notice */
.oos-app-notice[data-oos-compact-notice]{
    position:fixed;
    top:86px;
    right:20px;
    z-index:1210;
    max-width:360px;
    padding:11px 14px;
    border:1px solid #bde9ca;
    border-radius:10px;
    background:#dff9e7;
    color:#247246;
    box-shadow:0 10px 28px rgba(15,23,42,.10);
    font-size:12px;
    line-height:1.4;
    animation:oos-compact-notice-enter .18s ease-out both;
}
.oos-app-notice[data-oos-compact-notice].is-leaving{
    animation:oos-compact-notice-leave .20s ease-in both;
}

.oos-error-dialog-layer{
    position:fixed;
    inset:0;
    z-index:1300;
    display:grid;
    place-items:center;
    padding:24px;
    background:rgba(15,23,42,.34);
    backdrop-filter:blur(1.5px);
    animation:oos-error-layer-enter .18s ease-out both;
}
.oos-error-dialog-layer.is-leaving{
    animation:oos-error-layer-leave .20s ease-in both;
}
.oos-error-dialog{
    position:relative;
    width:min(440px,calc(100vw - 40px));
    padding:28px 28px 24px;
    border:1px solid #efcaca;
    border-radius:18px;
    background:#fff;
    box-shadow:0 28px 70px rgba(15,23,42,.26);
    text-align:center;
    overflow:hidden;
    animation:oos-error-dialog-enter .20s ease-out both;
}
.oos-error-dialog-icon{
    width:52px;
    height:52px;
    margin:0 auto 13px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#fff0f0;
    color:#c33434;
}
.oos-error-dialog-icon .dashicons{
    width:24px;
    height:24px;
    font-size:24px;
}
.oos-error-dialog h3{
    margin:0 0 8px;
    font-size:20px;
    line-height:1.2;
    color:#172033;
}
.oos-error-dialog p{
    margin:0 auto;
    max-width:340px;
    font-size:14px;
    line-height:1.55;
    color:#5c6675;
}
.oos-error-dialog-close{
    position:absolute;
    top:12px;
    right:12px;
    width:32px;
    height:32px;
    display:grid;
    place-items:center;
    border:0;
    border-radius:9px;
    background:#f5f7fa;
    color:#667085;
    cursor:pointer;
    font-size:22px;
    line-height:1;
}
.oos-error-dialog-close:hover{
    background:#eef1f5;
    color:#172033;
}
.oos-error-dialog-progress{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:4px;
    background:#d83d3d;
    transform-origin:left center;
    animation:oos-error-countdown 5s linear both;
}
@keyframes oos-error-layer-enter{
    from{opacity:0}
    to{opacity:1}
}
@keyframes oos-error-layer-leave{
    from{opacity:1}
    to{opacity:0}
}
@keyframes oos-error-dialog-enter{
    from{opacity:0;transform:translateY(12px) scale(.97)}
    to{opacity:1;transform:none}
}
@keyframes oos-error-countdown{
    from{transform:scaleX(1)}
    to{transform:scaleX(0)}
}
@keyframes oos-compact-notice-enter{
    from{opacity:0;transform:translateY(-6px)}
    to{opacity:1;transform:none}
}
@keyframes oos-compact-notice-leave{
    from{opacity:1}
    to{opacity:0;transform:translateY(-5px)}
}
@media(max-width:760px){
    .oos-app-notice[data-oos-compact-notice]{
        top:72px;
        right:12px;
        left:12px;
        max-width:none;
    }
    .oos-error-dialog-layer{padding:16px}
}
@media(prefers-reduced-motion:reduce){
    .oos-app-notice[data-oos-compact-notice],
    .oos-app-notice[data-oos-compact-notice].is-leaving,
    .oos-error-dialog-layer,
    .oos-error-dialog-layer.is-leaving,
    .oos-error-dialog,
    .oos-error-dialog-progress{
        animation:none!important;
    }
}

/* v3.6.6.41 — Clear workspace behind centered error dialog */
.oos-error-dialog-layer{
    background:transparent!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    pointer-events:none;
}
.oos-error-dialog{
    pointer-events:auto;
}

/* v3.6.6.41 — Administrator Lifecycle Controls */
.oos-admin-lifecycle-state-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    margin:14px 0 2px;
}
.oos-admin-lifecycle-state-grid article{
    min-width:0;
    padding:12px 14px;
    border:1px solid #e3e8ef;
    border-radius:11px;
    background:#fbfcfe;
}
.oos-admin-lifecycle-state-grid small,
.oos-admin-lifecycle-state-grid strong{
    display:block;
}
.oos-admin-lifecycle-state-grid small{
    color:#667085;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.05em;
}
.oos-admin-lifecycle-state-grid strong{
    margin-top:4px;
    color:#172033;
    font-size:13px;
    overflow-wrap:anywhere;
}
@media(max-width:900px){
    .oos-admin-lifecycle-state-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
    .oos-admin-lifecycle-state-grid{grid-template-columns:1fr}
}

/* v3.6.6.41 — Centered Success Dialog */
.oos-success-dialog-layer{
    position:fixed;
    inset:0;
    z-index:1300;
    display:grid;
    place-items:center;
    padding:24px;
    background:transparent;
    pointer-events:none;
    animation:oos-success-layer-enter .18s ease-out both;
}
.oos-success-dialog-layer.is-leaving{
    animation:oos-success-layer-leave .20s ease-in both;
}
.oos-success-dialog{
    position:relative;
    width:min(440px,calc(100vw - 40px));
    padding:28px 28px 24px;
    border:1px solid #cfe9d8;
    border-radius:18px;
    background:#fff;
    box-shadow:0 28px 70px rgba(15,23,42,.24);
    text-align:center;
    overflow:hidden;
    pointer-events:auto;
    animation:oos-success-dialog-enter .20s ease-out both;
}
.oos-success-dialog-icon{
    width:52px;
    height:52px;
    margin:0 auto 13px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#eaf8ef;
    color:#16844a;
}
.oos-success-dialog-icon .dashicons{
    width:24px;
    height:24px;
    font-size:24px;
}
.oos-success-dialog h3{
    margin:0 0 8px;
    font-size:20px;
    line-height:1.2;
    color:#172033;
}
.oos-success-dialog p{
    margin:0 auto;
    max-width:340px;
    font-size:14px;
    line-height:1.55;
    color:#5c6675;
}
.oos-success-dialog-close{
    position:absolute;
    top:12px;
    right:12px;
    width:32px;
    height:32px;
    display:grid;
    place-items:center;
    border:0;
    border-radius:9px;
    background:#f5f7fa;
    color:#667085;
    cursor:pointer;
    font-size:22px;
    line-height:1;
}
.oos-success-dialog-close:hover{
    background:#eef1f5;
    color:#172033;
}
.oos-success-dialog-progress{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:4px;
    background:#22a35a;
    transform-origin:left center;
    animation:oos-success-countdown 5s linear both;
}
@keyframes oos-success-layer-enter{
    from{opacity:0}
    to{opacity:1}
}
@keyframes oos-success-layer-leave{
    from{opacity:1}
    to{opacity:0}
}
@keyframes oos-success-dialog-enter{
    from{opacity:0;transform:translateY(12px) scale(.97)}
    to{opacity:1;transform:none}
}
@keyframes oos-success-countdown{
    from{transform:scaleX(1)}
    to{transform:scaleX(0)}
}
@media(max-width:760px){
    .oos-success-dialog-layer{padding:16px}
}
@media(prefers-reduced-motion:reduce){
    .oos-success-dialog-layer,
    .oos-success-dialog-layer.is-leaving,
    .oos-success-dialog,
    .oos-success-dialog-progress{
        animation:none!important;
    }
}

/* v3.6.6.48 — Ownership enforcement + Primary ADMIN continuity takeover */
.oos-order-latest-action{
    margin:0 0 12px;
    padding:10px 12px;
    border:1px solid #dbe7f6;
    border-radius:10px;
    background:#f8fbff;
}
.oos-order-latest-action small,
.oos-order-latest-action strong,
.oos-order-latest-action span{
    display:block;
}
.oos-order-latest-action small{
    color:#667085;
    font-size:10px;
    text-transform:uppercase;
    letter-spacing:.05em;
}
.oos-order-latest-action strong{
    margin-top:4px;
    color:#172033;
    font-size:13px;
    line-height:1.35;
}
.oos-order-latest-action span{
    margin-top:3px;
    color:#667085;
    font-size:11px;
}

/* v3.6.6.48 — Administrator Workload Continuity */
.oos-admin-workload-continuity{margin:16px 0;padding:16px;border:1px solid #dbe5ef;border-radius:14px;background:#fbfcfe}
.oos-admin-workload-heading{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}
.oos-admin-workload-heading h3{margin:3px 0 4px;font-size:16px}.oos-admin-workload-heading p{margin:0;max-width:720px;color:#667085;font-size:12px;line-height:1.5}
.oos-admin-workload-count{min-width:115px;padding:10px 12px;border:1px solid #dbe5ef;border-radius:11px;background:#fff;text-align:center}
.oos-admin-workload-count strong{display:block;font-size:22px;color:#172033}.oos-admin-workload-count small{display:block;margin-top:2px;color:#667085;font-size:10px;text-transform:uppercase}
.oos-admin-workload-form{margin-top:14px}.oos-admin-workload-empty{margin-top:12px;padding:11px 12px;border-radius:10px;background:#fff;border:1px dashed #dbe5ef}
.oos-admin-workload-empty strong,.oos-admin-workload-empty small{display:block}.oos-admin-workload-empty small{margin-top:2px;color:#667085}
@media(max-width:700px){.oos-admin-workload-heading{display:block}.oos-admin-workload-count{margin-top:12px}}

/* v3.6.6.48 — Order workspace cleanup */
.oos-object-grid{
    align-items:start!important;
}
.oos-object-grid>.oos-object-main,
.oos-object-grid>.oos-object-side{
    align-self:start!important;
    height:auto!important;
    min-height:0!important;
}
.oos-object-side{
    align-content:start!important;
}
.oos-object-side>.oos-work-panel{
    height:auto!important;
    min-height:0!important;
}
.oos-object-back-compact{
    margin:0 0 10px!important;
    min-height:0!important;
}
.oos-object-back-compact .oos-button{
    padding:6px 10px!important;
    min-height:0!important;
    line-height:1.2!important;
}

/* v3.6.6.48 — Order workspace final layout cleanup */
.oos-order-notes-fullwidth{
    margin-top:12px;
    width:100%;
}
.oos-order-notes-fullwidth>.oos-work-panel{
    width:100%;
    max-width:none;
    min-height:0!important;
    height:auto!important;
}
.oos-order-notes-fullwidth textarea{
    min-height:130px;
}

/* v3.6.6.48 — Shared confirmation dialog standard */
.oos-confirm-overlay,
.oos-dashboard-confirm-overlay,
.oos-confirm-layer,
.oos-confirm-backdrop,
.oos-confirm-modal-backdrop,
.oos-dashboard-confirm-backdrop,
.oos-confirm-dialog-backdrop{
    background:transparent!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
}

.oos-confirm-dialog .oos-button.secondary,
.oos-dashboard-confirm .oos-button.secondary,
.oos-confirm-modal .oos-button.secondary,
.oos-confirm-dialog button.secondary,
.oos-dashboard-confirm button.secondary,
.oos-confirm-cancel,
.oos-dashboard-confirm-cancel,
.oos-dialog-cancel{
    color:#172033!important;
    background:#ffffff!important;
    border:1px solid #9fb0c3!important;
    text-shadow:none!important;
}

.oos-confirm-dialog .oos-button.secondary:hover,
.oos-dashboard-confirm .oos-button.secondary:hover,
.oos-confirm-modal .oos-button.secondary:hover,
.oos-confirm-dialog button.secondary:hover,
.oos-dashboard-confirm button.secondary:hover,
.oos-confirm-cancel:hover,
.oos-dashboard-confirm-cancel:hover,
.oos-dialog-cancel:hover{
    color:#172033!important;
    background:#f4f7fa!important;
    border-color:#7f93a8!important;
}

/* v3.6.6.49 — Enterprise dialog elevation standard */
.oos-confirm-dialog,
.oos-dashboard-confirm-dialog,
.oos-dashboard-status-dialog,
.oos-confirm-modal,
.oos-dashboard-confirm,
.oos-modal-dialog,
.oos-dialog-card{
    box-shadow:0 24px 60px rgba(15,23,42,.18),0 8px 24px rgba(15,23,42,.10)!important;
}

/* v3.6.6.52 — Stronger visible dashboard dialog elevation */
.oos-dashboard-confirm-dialog,
.oos-dashboard-status-dialog{
    box-shadow:
        0 30px 80px rgba(15,23,42,.30),
        0 12px 32px rgba(15,23,42,.20),
        0 2px 8px rgba(15,23,42,.12)!important;
}


/* v3.6.6.52 — Explicit Administrator takeover confirmation */
.oos-dashboard-takeover-dialog .oos-dashboard-takeover-icon{
    background:#eef5ff!important;
    border-color:#cbdcf7!important;
    color:#175db8!important;
}
.oos-dashboard-takeover-dialog .oos-dashboard-confirm-approve{
    background:#1467c9!important;
    border-color:#1467c9!important;
    color:#fff!important;
}
.oos-dashboard-takeover-dialog .oos-dashboard-confirm-approve:hover,
.oos-dashboard-takeover-dialog .oos-dashboard-confirm-approve:focus{
    background:#0f56aa!important;
    border-color:#0f56aa!important;
}

/* v3.6.6.70 — Readable ownership and continuity notes */
.oos-form input[name="assignment_reason"],
.oos-form input[name="handover_reason"]{
    font-size:15px;
    line-height:1.45;
    padding:11px 12px;
    min-height:44px;
}
.oos-form input[name="assignment_reason"]::placeholder,
.oos-form input[name="handover_reason"]::placeholder{
    font-size:14px;
}
.oos-handover-panel.is-continuity-required{
    border:1px solid #f1c27d;
    background:#fffaf0;
}
.oos-handover-panel.is-continuity-required h3{
    font-size:16px;
}

/* v3.6.6.71 — Internal Message Center */
.oos-message-button{position:relative}
.oos-message-button b{position:absolute;top:-5px;right:-5px;min-width:17px;height:17px;border-radius:10px;background:#dc2626;color:#fff;font-size:10px;display:grid;place-items:center;padding:0 4px}
.oos-messages-workspace{width:100%;max-width:none}
.oos-messages-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:14px}
.oos-messages-header h2{margin:3px 0 4px;font-size:24px}
.oos-messages-header p{margin:0;color:var(--oos-muted)}
.oos-message-tabs{display:flex;gap:4px;border-bottom:1px solid var(--oos-line);margin-bottom:18px}
.oos-message-tabs a{padding:10px 14px;text-decoration:none;color:#475569;font-weight:700;border-bottom:2px solid transparent}
.oos-message-tabs a.active{color:#1d4ed8;border-bottom-color:#2563eb}
.oos-message-list{display:grid;border:1px solid var(--oos-line);border-radius:12px;overflow:hidden;background:#fff}
.oos-message-row{display:grid;grid-template-columns:52px minmax(0,1fr) 12px;gap:12px;align-items:center;padding:14px 16px;border-bottom:1px solid var(--oos-line);text-decoration:none;color:var(--oos-text);background:#fff}
.oos-message-row:last-child{border-bottom:0}
.oos-message-row:hover{background:#f8fafc}
.oos-message-row.is-unread{background:#eff6ff}
.oos-message-avatar{width:42px;height:42px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:#eef2f7}
.oos-message-avatar img{width:42px;height:42px;border-radius:50%}
.oos-message-copy{min-width:0}
.oos-message-meta{display:flex;align-items:center;justify-content:space-between;gap:16px}
.oos-message-meta time{font-size:11px;color:var(--oos-muted);white-space:nowrap}
.oos-message-copy h3{font-size:14px;margin:3px 0 2px}
.oos-message-copy p{margin:0;color:var(--oos-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oos-unread-dot{width:9px;height:9px;border-radius:50%;background:#2563eb}
.oos-message-thread{display:flex;flex-direction:column;gap:12px;padding:18px;background:#f8fafc;border:1px solid var(--oos-line);border-radius:12px;min-height:360px}
.oos-chat-row{display:flex}
.oos-chat-row.is-mine{justify-content:flex-end}
.oos-chat-row.is-theirs{justify-content:flex-start}
.oos-chat-bubble{max-width:72%;padding:12px 14px;border-radius:14px;background:#fff;border:1px solid var(--oos-line);box-shadow:0 2px 7px rgba(15,23,42,.05)}
.oos-chat-row.is-mine .oos-chat-bubble{background:#eaf2ff}
.oos-chat-bubble strong{display:block;margin-bottom:4px}
.oos-chat-bubble p{margin:0 0 6px;line-height:1.5}
.oos-chat-bubble small{display:block;color:var(--oos-muted);font-size:10px}
.oos-chat-order-link{display:inline-block;margin:3px 0 7px;font-weight:700}
.oos-message-reply-form{margin-top:14px}
.oos-message-reply-form textarea{width:100%;border:1px solid #cbd5e1;border-radius:10px;padding:12px;font-size:15px;line-height:1.5;resize:vertical}
.oos-message-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}
.oos-compose-dialog{width:min(620px,92vw);border:0;border-radius:14px;padding:0;box-shadow:0 25px 70px rgba(15,23,42,.32)}
.oos-compose-dialog::backdrop{background:rgba(15,23,42,.48)}
.oos-compose-dialog .oos-form{padding:18px}
.oos-compose-title{display:flex;align-items:center;justify-content:space-between}
.oos-compose-title h3{margin:0;font-size:20px}
.oos-compose-title button{border:0;background:#f1f5f9;border-radius:8px;width:34px;height:34px;font-size:22px;cursor:pointer}
@media(max-width:760px){.oos-message-tabs{overflow:auto}.oos-chat-bubble{max-width:88%}.oos-message-row{grid-template-columns:42px minmax(0,1fr) 10px;padding:12px}}

/* v3.6.6.73 — Message Center Conversation Upgrade */
.oos-compose-dialog input.oos-message-subject{
    font-size:15px;
    line-height:1.4;
    min-height:44px;
    padding:11px 12px;
}
.oos-compose-dialog textarea[name="message_body"]{
    font-size:15px;
    line-height:1.5;
}
.oos-conversation-hint{
    display:block;
    margin-top:4px;
    color:#64748b;
    font-size:10px;
}

/* v3.6.6.74 — Two-way messaging and announcement state */
.oos-announcement-badge{
    display:inline-flex;
    align-items:center;
    margin-right:8px;
    padding:2px 7px;
    border-radius:999px;
    background:#eef2ff;
    color:#4338ca;
    font-size:10px;
    font-weight:800;
    vertical-align:middle;
}

/* v3.6.6.75 — Collapsible Conversation Threads */
.oos-thread-list{gap:10px;border:0;background:transparent;overflow:visible}
.oos-thread-card{background:#fff;border:1px solid var(--oos-line);border-radius:12px;overflow:hidden}
.oos-thread-card.is-unread{background:#eff6ff}
.oos-thread-card.is-open{box-shadow:0 8px 24px rgba(15,23,42,.08)}
.oos-thread-summary{width:100%;display:grid;grid-template-columns:52px minmax(0,1fr) 24px;gap:12px;align-items:center;padding:14px 16px;border:0;background:transparent;text-align:left;color:inherit;cursor:pointer}
.oos-thread-summary:hover{background:#f8fafc}
.oos-thread-summary-copy{min-width:0}
.oos-thread-summary-copy h3{margin:3px 0 2px;font-size:15px}
.oos-thread-summary-copy p{margin:0;color:var(--oos-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oos-thread-stats{display:flex;align-items:center;gap:10px;margin-top:7px;font-size:10px;color:#64748b}
.oos-thread-unread{font-weight:800;color:#2563eb}
.oos-thread-toggle-label{font-weight:700;color:#334155}
.oos-thread-chevron{transition:transform .18s ease}
.oos-thread-card.is-open .oos-thread-chevron{transform:rotate(180deg)}
.oos-thread-body{border-top:1px solid var(--oos-line);padding:14px;background:#fbfdff}
.oos-thread-body[hidden]{display:none!important}
.oos-thread-body .oos-message-thread{max-height:420px;overflow:auto;min-height:0}
.oos-thread-body .oos-message-reply-form{margin-top:12px}
.oos-thread-body .oos-message-reply-form textarea{min-height:82px;background:#fff}
@media(max-width:760px){
 .oos-thread-summary{grid-template-columns:42px minmax(0,1fr) 20px;padding:12px}
 .oos-thread-stats{flex-wrap:wrap}
}

/* v3.6.6.76 — Account menu + collapsible reply composer */
.oos-user-menu{position:relative}
.oos-user-menu-toggle{border:0;background:transparent;cursor:pointer;display:flex;align-items:center;gap:7px}
.oos-user-menu-toggle:hover{background:#f8fafc}
.oos-user-menu-chevron{font-size:14px!important;width:14px!important;height:14px!important;transition:transform .18s ease}
.oos-user-menu.is-open .oos-user-menu-chevron{transform:rotate(180deg)}
.oos-user-menu-panel{position:absolute;right:0;top:calc(100% + 8px);width:205px;background:#fff;border:1px solid #dbe3ee;border-radius:12px;padding:7px;box-shadow:0 18px 45px rgba(15,23,42,.18);z-index:1200}
.oos-user-menu-panel[hidden]{display:none!important}
.oos-user-menu-panel a{display:flex;align-items:center;gap:9px;padding:10px 11px;border-radius:8px;text-decoration:none;color:#0f172a;font-size:13px;font-weight:700}
.oos-user-menu-panel a:hover{background:#f1f5f9}
.oos-user-menu-panel .oos-user-logout{color:#b91c1c;border-top:1px solid #eef2f7;margin-top:4px;padding-top:11px}

.oos-thread-reply-control{display:flex;justify-content:flex-end;margin-top:12px}
.oos-thread-reply-toggle{display:inline-flex;align-items:center;gap:6px}
.oos-reply-chevron{font-size:14px!important;width:14px!important;height:14px!important;transition:transform .18s ease}
.oos-thread-card.is-replying .oos-reply-chevron{transform:rotate(180deg)}
.oos-thread-reply-panel{margin-top:10px}
.oos-thread-reply-panel[hidden]{display:none!important}
.oos-thread-reply-panel .oos-message-reply-form{margin-top:0}
.oos-thread-reply-panel textarea{font-size:15px;line-height:1.5;min-height:88px}

/* v3.6.6.77 — Permanent guided fulfilment action */
.oos-guided-action-slot{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    min-width:170px;
}
.oos-guided-action-slot .oos-next-action-form{
    margin:0;
}
.oos-guided-action-slot .oos-next-action{
    min-width:170px;
    white-space:nowrap;
}
@media(max-width:760px){
    .oos-guided-action-slot{
        width:100%;
        min-width:0;
        justify-content:stretch;
    }
    .oos-guided-action-slot .oos-next-action-form,
    .oos-guided-action-slot .oos-next-action{
        width:100%;
    }
}

/* v3.6.6.78 — Account identity + legacy COD workflow compatibility */
.oos-user-menu-toggle .oos-user-display-name{
    display:inline-flex!important;
    align-items:center;
    color:#0f172a;
    font-weight:700;
    font-size:13px;
    white-space:nowrap;
    max-width:180px;
    overflow:hidden;
    text-overflow:ellipsis;
}
.oos-user-menu-toggle{
    min-width:max-content;
    padding:5px 7px;
}
@media(max-width:760px){
    .oos-user-menu-toggle .oos-user-display-name{
        display:none!important;
    }
}

/* v3.6.6.80 — Live Conversation Upgrade */
.oos-message-receipt{color:#64748b;font-weight:600}
.oos-inline-reply-status{margin-right:auto;font-size:11px;color:#64748b;align-self:center}
.oos-chat-row-new{animation:oosMessageIn .28s ease both}
@keyframes oosMessageIn{
    from{opacity:0;transform:translateY(8px)}
    to{opacity:1;transform:translateY(0)}
}
.oos-message-reply-form textarea:focus{
    outline:none;
    border-color:#2563eb;
    box-shadow:0 0 0 3px rgba(37,99,235,.10);
}

/* v3.6.6.81 — Message thread hover visibility fix */
.oos-thread-summary,
.oos-thread-summary:hover,
.oos-thread-summary:focus,
.oos-thread-summary:active{
    color:#0f172a!important;
}

.oos-thread-summary .oos-message-meta strong,
.oos-thread-summary:hover .oos-message-meta strong,
.oos-thread-summary:focus .oos-message-meta strong,
.oos-thread-summary:active .oos-message-meta strong{
    color:#0f172a!important;
    opacity:1!important;
}

.oos-thread-summary h3,
.oos-thread-summary:hover h3,
.oos-thread-summary:focus h3,
.oos-thread-summary:active h3{
    color:#0f172a!important;
}

.oos-thread-summary .oos-thread-chevron,
.oos-thread-summary:hover .oos-thread-chevron,
.oos-thread-summary:focus .oos-thread-chevron,
.oos-thread-summary:active .oos-thread-chevron{
    color:#0f172a!important;
    opacity:1!important;
}

.oos-thread-summary .oos-thread-toggle-label,
.oos-thread-summary:hover .oos-thread-toggle-label{
    color:#334155!important;
}

.oos-thread-card.is-unread .oos-thread-summary .oos-message-meta strong,
.oos-thread-card.is-unread .oos-thread-summary .oos-thread-chevron{
    color:#0f172a!important;
}

.oos-thread-summary:hover{
    background:#f8fafc!important;
}

/* v3.6.6.82 — Expanded-thread cleanup + readable reply text */

/* When a conversation is expanded, the collapsed preview text should disappear.
   The actual message is then shown once inside the conversation thread. */
.oos-thread-card.is-open .oos-thread-summary-copy > p{
    display:none!important;
}

/* Keep the compact header useful while expanded. */
.oos-thread-card.is-open .oos-thread-summary-copy h3{
    margin-bottom:4px;
}

/* Reply text must remain dark and readable while typing. */
.oos-thread-reply-panel textarea,
.oos-thread-reply-panel textarea:focus,
.oos-message-reply-form textarea,
.oos-message-reply-form textarea:focus{
    color:#0f172a!important;
    -webkit-text-fill-color:#0f172a!important;
    opacity:1!important;
    font-size:15px!important;
    font-weight:500;
    line-height:1.55;
    background:#fff!important;
}

/* Placeholder can remain softer, but typed text must not inherit it. */
.oos-thread-reply-panel textarea::placeholder,
.oos-message-reply-form textarea::placeholder{
    color:#94a3b8!important;
    -webkit-text-fill-color:#94a3b8!important;
    opacity:1!important;
}

/* Make Reply control clear and consistent. */
.oos-thread-reply-toggle{
    color:#0f172a!important;
    font-weight:700;
}

/* v3.6.6.83 — Compact conversation controls */
.oos-thread-reply-control{
    display:none!important;
}
.oos-thread-stats .oos-inline-reply-link{
    border:0;
    background:transparent;
    padding:0;
    margin:0;
    color:#1d4ed8;
    font:inherit;
    font-size:10px;
    font-weight:800;
    cursor:pointer;
    line-height:1.2;
}
.oos-thread-stats .oos-inline-reply-link:hover,
.oos-thread-stats .oos-inline-reply-link:focus{
    color:#1e40af;
    text-decoration:underline;
    outline:none;
}
.oos-thread-stats .oos-inline-reply-link[aria-expanded="true"]{
    color:#0f172a;
}
.oos-thread-reply-panel{
    margin-top:12px;
}
.oos-thread-summary{
    cursor:pointer;
}

/* v3.6.6.85 — Improved conversation-control typography */
.oos-thread-stats{
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:8px;
    font-size:12px!important;
    line-height:1.35;
    color:#64748b;
}

.oos-thread-stats > span,
.oos-thread-stats .oos-thread-toggle-label{
    font-size:12px!important;
    font-weight:600;
}

.oos-thread-stats .oos-thread-toggle-label{
    color:#334155!important;
}

.oos-thread-stats .oos-inline-reply-link{
    font-size:12px!important;
    font-weight:700!important;
    line-height:1.35;
    color:#1d4ed8!important;
    text-decoration:none;
}

.oos-thread-stats .oos-inline-reply-link:hover,
.oos-thread-stats .oos-inline-reply-link:focus{
    color:#1e40af!important;
    text-decoration:underline;
}

.oos-thread-unread{
    font-size:12px!important;
    font-weight:700!important;
    color:#2563eb!important;
}

@media(max-width:760px){
    .oos-thread-stats{
        gap:9px;
        font-size:11.5px!important;
    }
    .oos-thread-stats > span,
    .oos-thread-stats .oos-thread-toggle-label,
    .oos-thread-stats .oos-inline-reply-link,
    .oos-thread-unread{
        font-size:11.5px!important;
    }
}

/* v3.6.6.86 — Conversation layout refinement */

/* Keep expanded conversation content visually contained instead of spanning edge-to-edge. */
.oos-thread-body{
    padding:16px 18px 18px!important;
}

/* Conversation stream gets a comfortable reading width. */
.oos-thread-body .oos-message-thread{
    max-width:820px;
    margin:0;
    padding:2px 0;
}

/* Message bubbles stay compact and readable. */
.oos-thread-body .oos-chat-row{
    width:100%;
}

.oos-thread-body .oos-chat-bubble{
    width:auto;
    max-width:72%;
    min-width:260px;
    padding:14px 16px;
    border-radius:14px;
}

/* Received messages sit naturally on the left; user's own replies stay right-aligned. */
.oos-thread-body .oos-chat-row.is-theirs{
    justify-content:flex-start;
}

.oos-thread-body .oos-chat-row.is-mine{
    justify-content:flex-end;
}

/* Reply area is intentionally narrower than the full card. */
.oos-thread-reply-panel{
    max-width:900px;
    margin-top:14px;
}

.oos-thread-reply-panel .oos-message-reply-form{
    width:100%;
}

.oos-thread-reply-panel textarea{
    width:100%;
    min-height:96px;
    max-height:220px;
    resize:vertical;
    border-radius:12px;
    padding:13px 14px;
}

/* Bring the send controls in line with the composer width. */
.oos-thread-reply-panel .oos-message-actions{
    margin-top:10px;
}

/* Preserve compact control line while improving visual separation. */
.oos-thread-stats{
    margin-top:9px!important;
    padding-top:1px;
}

@media(max-width:900px){
    .oos-thread-body .oos-message-thread,
    .oos-thread-reply-panel{
        max-width:100%;
    }

    .oos-thread-body .oos-chat-bubble{
        max-width:86%;
        min-width:0;
    }
}

@media(max-width:600px){
    .oos-thread-body{
        padding:12px!important;
    }

    .oos-thread-body .oos-chat-bubble{
        max-width:94%;
        padding:12px 13px;
    }
}

/* v3.6.6.87 — Message workspace clearance + full-width conversation canvas */

.oos-messages-workspace,
.oos-message-center{
    scroll-margin-top:88px;
}

.oos-messages-workspace .oos-message-tabs,
.oos-message-center .oos-message-tabs{
    margin-top:8px;
}

.oos-thread-list{
    padding-top:8px;
}

.oos-thread-body .oos-message-thread{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
}

.oos-thread-reply-panel{
    width:100%!important;
    max-width:none!important;
}

.oos-thread-body .oos-chat-bubble{
    max-width:62%!important;
}

.oos-thread-body .oos-chat-row.is-theirs{
    display:flex;
    justify-content:flex-start!important;
    width:100%;
}

.oos-thread-body .oos-chat-row.is-mine{
    display:flex;
    justify-content:flex-end!important;
    width:100%;
}

.oos-thread-body .oos-chat-row + .oos-chat-row{
    margin-top:12px;
}

@media(max-width:900px){
    .oos-thread-body .oos-chat-bubble{
        max-width:78%!important;
    }
}

@media(max-width:600px){
    .oos-thread-list{
        padding-top:4px;
    }

    .oos-thread-body .oos-chat-bubble{
        max-width:92%!important;
    }
}

/* v3.6.6.88 — Message header clearance fix */

/*
 * The fixed workspace header overlaps the first message card on some pages.
 * Apply real layout spacing to the Messages content area rather than relying
 * on scroll-margin, which does not affect normal document flow.
 */
body.oos-section-messages .oos-main-content,
body.oos-section-messages .oos-dashboard-content,
.oos-page-messages .oos-main-content,
.oos-page-messages .oos-dashboard-content,
.oos-message-center{
    padding-top:18px!important;
}

/* Keep the message navigation comfortably below the fixed header. */
.oos-message-tabs{
    margin-top:10px!important;
}

/* Ensure the first thread can never sit flush against the sticky header. */
.oos-thread-list{
    padding-top:12px!important;
}

/* Preserve current conversation geometry from v3.6.6.87. */
.oos-thread-body .oos-message-thread{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
}

.oos-thread-reply-panel{
    width:100%!important;
    max-width:none!important;
}

.oos-thread-body .oos-chat-bubble{
    max-width:62%!important;
}

@media(max-width:900px){
    body.oos-section-messages .oos-main-content,
    body.oos-section-messages .oos-dashboard-content,
    .oos-page-messages .oos-main-content,
    .oos-page-messages .oos-dashboard-content,
    .oos-message-center{
        padding-top:14px!important;
    }

    .oos-thread-body .oos-chat-bubble{
        max-width:78%!important;
    }
}

@media(max-width:600px){
    .oos-thread-list{
        padding-top:8px!important;
    }

    .oos-thread-body .oos-chat-bubble{
        max-width:92%!important;
    }
}

/* v3.6.6.90 — Managers workspace tabs */
.oos-managers-workspace{width:100%}
.oos-manager-tabs{display:flex;align-items:center;gap:6px;margin:0 0 18px;border-bottom:1px solid #dbe3ee}
.oos-manager-tabs a{display:inline-flex;align-items:center;min-height:42px;padding:0 14px;margin-bottom:-1px;border-bottom:2px solid transparent;text-decoration:none;color:#334155;font-size:14px;font-weight:700}
.oos-manager-tabs a:hover{color:#0f172a}
.oos-manager-tabs a.is-active{color:#1d4ed8;border-bottom-color:#2563eb}
.oos-manager-list-panel,.oos-manager-form-panel{width:100%;max-width:none!important}
.oos-manager-table-wrap{width:100%;overflow-x:auto}
.oos-manager-table{width:100%;min-width:900px}
.oos-manager-table th:nth-child(1){width:16%}
.oos-manager-table th:nth-child(2){width:21%}
.oos-manager-table th:nth-child(3){width:11%}
.oos-manager-table th:nth-child(4){width:20%}
.oos-manager-table th:nth-child(5){width:13%}
.oos-manager-table th:nth-child(6){width:19%}
.oos-manager-form-shell{max-width:900px}
.oos-manager-form{max-width:820px}
@media(max-width:760px){.oos-manager-tabs{overflow-x:auto}.oos-manager-tabs a{white-space:nowrap}.oos-manager-form .oos-form-row{grid-template-columns:1fr}}

/* v3.6.6.91 — Managers UI polish */

/* Proper action-button treatment for New Manager / Back to Managers */
.oos-manager-list-panel .oos-panel-heading > .oos-button,
.oos-manager-form-panel .oos-panel-heading > .oos-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:0 18px;
    border-radius:10px;
    border:1px solid #cbd5e1;
    background:#eef2f7;
    color:#0f172a;
    font-size:13px;
    font-weight:700;
    line-height:1;
    text-decoration:none;
    box-shadow:0 1px 2px rgba(15,23,42,.05);
    transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}

.oos-manager-list-panel .oos-panel-heading > .oos-button:hover,
.oos-manager-form-panel .oos-panel-heading > .oos-button:hover{
    background:#e2e8f0;
    border-color:#94a3b8;
    color:#0f172a;
    box-shadow:0 4px 12px rgba(15,23,42,.08);
    transform:translateY(-1px);
}

/* Make New Manager the stronger primary action */
.oos-manager-list-panel .oos-panel-heading > .oos-button{
    background:#0f172a;
    border-color:#0f172a;
    color:#fff;
}

.oos-manager-list-panel .oos-panel-heading > .oos-button:hover{
    background:#1e293b;
    border-color:#1e293b;
    color:#fff;
}

/* Larger, more readable manager form typography */
.oos-manager-form-panel .oos-panel-heading h2{
    font-size:20px!important;
    line-height:1.25;
}

.oos-manager-form-panel .oos-panel-heading p{
    font-size:13px!important;
    line-height:1.5;
}

.oos-manager-form label{
    font-size:13px!important;
    font-weight:700!important;
    color:#0f172a!important;
    line-height:1.4;
}

.oos-manager-form input,
.oos-manager-form select,
.oos-manager-form textarea{
    min-height:42px;
    padding:10px 12px!important;
    font-size:14px!important;
    line-height:1.45!important;
    color:#0f172a!important;
    background:#fff!important;
}

.oos-manager-form input::placeholder,
.oos-manager-form textarea::placeholder{
    font-size:13px!important;
    color:#94a3b8!important;
}

.oos-manager-form small{
    display:block;
    margin-top:6px;
    font-size:11.5px!important;
    line-height:1.45;
    color:#64748b!important;
}

.oos-manager-form .oos-button[type="submit"]{
    min-height:44px;
    font-size:13px!important;
    font-weight:700!important;
    border-radius:9px;
}

/* Slightly more breathing room between form rows */
.oos-manager-form{
    gap:16px!important;
}

.oos-manager-form .oos-form-row{
    gap:14px!important;
}

@media(max-width:760px){
    .oos-manager-list-panel .oos-panel-heading > .oos-button,
    .oos-manager-form-panel .oos-panel-heading > .oos-button{
        min-height:40px;
        padding:0 14px;
        font-size:12.5px;
    }

    .oos-manager-form input,
    .oos-manager-form select,
    .oos-manager-form textarea{
        font-size:13.5px!important;
    }
}


/* v3.6.6.92 — Managers action polish */
.oos-manager-list-panel .oos-panel-heading > .oos-button,
.oos-manager-form-panel .oos-panel-heading > .oos-button{
    min-height:44px;
    padding:0 18px;
    border-radius:12px;
    font-size:14px;
    font-weight:800;
    letter-spacing:.01em;
    box-shadow:0 8px 20px rgba(15,23,42,.08);
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.oos-manager-list-panel .oos-panel-heading > .oos-button{
    background:linear-gradient(180deg,#162033 0%,#0f172a 100%);
    border:1px solid #0f172a;
    color:#ffffff!important;
    box-shadow:0 10px 22px rgba(15,23,42,.16);
}

.oos-manager-list-panel .oos-panel-heading > .oos-button:hover,
.oos-manager-list-panel .oos-panel-heading > .oos-button:focus-visible{
    background:linear-gradient(180deg,#1e293b 0%,#0f172a 100%);
    border-color:#0f172a;
    color:#ffffff!important;
    transform:translateY(-1px);
    box-shadow:0 14px 28px rgba(15,23,42,.22);
}

.oos-manager-form-panel .oos-panel-heading > .oos-button,
.oos-manager-form-panel .oos-panel-heading > .oos-button.secondary{
    background:#f8fafc;
    border:1px solid #cbd5e1;
    color:#0f172a!important;
}

.oos-manager-form-panel .oos-panel-heading > .oos-button:hover,
.oos-manager-form-panel .oos-panel-heading > .oos-button.secondary:hover,
.oos-manager-form-panel .oos-panel-heading > .oos-button:focus-visible,
.oos-manager-form-panel .oos-panel-heading > .oos-button.secondary:focus-visible{
    background:#eef2f7;
    border-color:#94a3b8;
    color:#0f172a!important;
    transform:translateY(-1px);
    box-shadow:0 10px 20px rgba(15,23,42,.10);
}

.oos-manager-actions{
    display:flex;
    align-items:flex-start;
    gap:8px;
    flex-wrap:wrap;
}

.oos-manager-actions-form{
    display:flex;
    align-items:flex-start;
    gap:8px;
    flex-wrap:wrap;
    margin:0;
}

.oos-manager-actions .oos-action-chip{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:32px;
    padding:0 11px;
    border-radius:999px;
    border:1px solid #dbe4f0;
    background:#f8fafc;
    color:#0f172a!important;
    text-decoration:none;
    font-size:12px!important;
    font-weight:700!important;
    line-height:1;
    white-space:nowrap;
    box-shadow:0 1px 2px rgba(15,23,42,.04);
    transition:transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
    cursor:pointer;
}

.oos-manager-actions .oos-action-chip:hover,
.oos-manager-actions .oos-action-chip:focus-visible{
    transform:translateY(-1px);
    box-shadow:0 5px 14px rgba(15,23,42,.08);
}

.oos-manager-actions .oos-action-chip.is-edit{
    background:#eff6ff;
    border-color:#bfdbfe;
    color:#1d4ed8!important;
}

.oos-manager-actions .oos-action-chip.is-edit:hover,
.oos-manager-actions .oos-action-chip.is-edit:focus-visible{
    background:#dbeafe;
    border-color:#93c5fd;
    color:#1d4ed8!important;
}

.oos-manager-actions .oos-action-chip.is-toggle{
    background:#fffbeb;
    border-color:#fde68a;
    color:#a16207!important;
}

.oos-manager-actions .oos-action-chip.is-toggle:hover,
.oos-manager-actions .oos-action-chip.is-toggle:focus-visible{
    background:#fef3c7;
    border-color:#fcd34d;
    color:#92400e!important;
}

.oos-manager-actions .oos-action-chip.is-reset{
    background:#f8fafc;
    border-color:#cbd5e1;
    color:#334155!important;
}

.oos-manager-actions .oos-action-chip.is-reset:hover,
.oos-manager-actions .oos-action-chip.is-reset:focus-visible{
    background:#eef2f7;
    border-color:#94a3b8;
    color:#0f172a!important;
}

.oos-manager-actions .oos-action-chip.danger{
    background:#fef2f2;
    border-color:#fecaca;
    color:#dc2626!important;
}

.oos-manager-actions .oos-action-chip.danger:hover,
.oos-manager-actions .oos-action-chip.danger:focus-visible{
    background:#fee2e2;
    border-color:#fca5a5;
    color:#b91c1c!important;
}

@media(max-width:760px){
    .oos-manager-actions,
    .oos-manager-actions-form{
        gap:6px;
    }

    .oos-manager-actions .oos-action-chip{
        min-height:30px;
        padding:0 10px;
        font-size:11.5px!important;
    }
}


/* v3.6.6.93 — manager action two-line pairing */
.oos-manager-list-panel table th:last-child,
.oos-manager-list-panel table td:last-child{
    min-width: 210px;
}

.oos-manager-actions{
    display:grid;
    grid-template-columns:repeat(2, max-content);
    gap:8px 10px;
    align-items:start;
    justify-content:start;
}

.oos-manager-actions-form{
    display:contents;
}

.oos-manager-actions .oos-action-chip{
    margin:0;
}

.oos-manager-actions .oos-action-chip.is-edit{order:1;}
.oos-manager-actions .oos-action-chip.is-reset{order:2;}
.oos-manager-actions .oos-action-chip.is-toggle{order:3;}
.oos-manager-actions .oos-action-chip.danger{order:4;}

@media(max-width:760px){
    .oos-manager-list-panel table th:last-child,
    .oos-manager-list-panel table td:last-child{
        min-width: 180px;
    }

    .oos-manager-actions{
        grid-template-columns:repeat(2, minmax(0, max-content));
        gap:6px 8px;
    }
}


/* v3.6.6.94 — Availability / Workload workspace */
.oos-availability-workspace{display:grid;gap:14px}
.oos-availability-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.oos-availability-summary article{background:#fff;border:1px solid var(--oos-line);border-radius:12px;padding:14px 16px;box-shadow:0 5px 18px rgba(15,23,42,.04)}
.oos-availability-summary small,.oos-availability-summary strong,.oos-availability-summary span{display:block}
.oos-availability-summary small{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--oos-muted);font-weight:800}
.oos-availability-summary strong{font-size:22px;line-height:1.1;margin:5px 0;color:#0f172a}
.oos-availability-summary span{font-size:11px;color:var(--oos-muted)}
.oos-availability-panel{width:100%;max-width:none!important}
.oos-availability-table-wrap{overflow-x:auto}
.oos-availability-table{width:100%;min-width:1050px;table-layout:auto}
.oos-availability-table th:nth-child(1){width:18%}
.oos-availability-table th:nth-child(2){width:12%}
.oos-availability-table th:nth-child(3){width:23%}
.oos-availability-table th:nth-child(4){width:13%}
.oos-availability-table th:nth-child(5){width:34%}
.oos-availability-table td{vertical-align:top;padding-top:14px;padding-bottom:14px}
.oos-availability-form{display:flex;align-items:center;gap:8px;margin:0}
.oos-availability-form select{min-width:150px;min-height:36px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;padding:7px 9px;font-size:12px}
.oos-availability-save{min-height:36px;padding:0 12px;border:0;border-radius:8px;background:#0f172a;color:#fff;font-size:12px;font-weight:750;cursor:pointer}
.oos-availability-save:hover{background:#1e293b}
.oos-workload-count{display:flex;align-items:baseline;gap:6px}
.oos-workload-count strong{font-size:20px;line-height:1;color:#0f172a}
.oos-workload-count span{font-size:11px;color:var(--oos-muted)}
.oos-workload-count.has-workload strong{color:#b45309}
.oos-workload-count.is-clear strong{color:#15803d}
.oos-continuity-warning{display:block!important;margin-top:6px!important;color:#b91c1c!important;font-weight:700!important;font-size:10.5px!important}
.oos-continuity-row{background:#fffaf5}
.oos-continuity-row td:first-child{box-shadow:inset 3px 0 0 #f59e0b}
.oos-workload-manager{border:1px solid #dbe3ee;border-radius:10px;background:#f8fafc;overflow:hidden}
.oos-workload-manager summary{cursor:pointer;padding:10px 12px;font-size:12px;font-weight:800;color:#0f172a;list-style:none}
.oos-workload-manager summary::-webkit-details-marker{display:none}
.oos-workload-manager summary:after{content:'›';float:right;font-size:18px;line-height:.8;transform:rotate(90deg);transition:transform .15s ease}
.oos-workload-manager[open] summary:after{transform:rotate(-90deg)}
.oos-workload-handover-form{display:grid;gap:9px;padding:0 12px 12px}
.oos-workload-handover-form label{display:grid;gap:4px;font-size:11px;font-weight:700;color:#334155}
.oos-workload-handover-form select,.oos-workload-handover-form input{width:100%;min-height:36px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;padding:7px 9px;font-size:12px}
.oos-workload-handover-form .oos-button{justify-self:start;min-height:36px;background:#0f172a;color:#fff!important}
.oos-workload-clear{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:999px;background:#ecfdf3;color:#166534;font-size:11px;font-weight:700}
.oos-muted-label{color:#64748b;font-size:11px}
.oos-continuity-note{margin-top:12px;padding:12px 14px;border:1px solid #fde68a;border-radius:10px;background:#fffbeb;color:#713f12;font-size:12px;line-height:1.5}

@media(max-width:1000px){.oos-availability-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.oos-availability-summary{grid-template-columns:1fr}.oos-availability-form{align-items:stretch;flex-direction:column}.oos-availability-save{width:100%}}


/* v3.6.6.95 — ownership availability clarity + admin override */
.oos-assignment-help{display:block;margin-top:7px;color:#64748b;font-size:11.5px;line-height:1.45}
.oos-admin-override-control{display:flex!important;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid #f3d39a;border-radius:10px;background:#fff9eb;color:#7c4a03!important;cursor:pointer}
.oos-admin-override-control>input{width:16px!important;height:16px!important;min-height:0!important;margin:2px 0 0!important;flex:0 0 auto}
.oos-admin-override-control>span{display:block;min-width:0}
.oos-admin-override-control strong{display:block;font-size:12px;color:#7c4a03}
.oos-admin-override-control small{display:block;margin-top:3px;font-size:11px;line-height:1.4;color:#8a5a12}
.oos-ownership-form select.has-admin-override{border-color:#d99b31!important;box-shadow:0 0 0 3px rgba(217,155,49,.10)}


/* v3.6.6.97 — Available order ownership paths */
.oos-available-order-actions{display:grid;gap:12px;margin-top:2px}
.oos-available-order-actions-heading{display:grid;gap:3px;padding-bottom:2px}
.oos-available-order-actions-heading>strong{font-size:14px;color:#0f172a}
.oos-available-order-actions-heading>small{font-size:11px;line-height:1.45;color:var(--oos-muted)}
.oos-available-order-paths{display:grid;grid-template-columns:1fr;gap:10px}
.oos-available-order-path{display:grid;gap:8px;padding:12px;border:1px solid #dbe3ee;border-radius:11px;background:#f8fafc}
.oos-available-order-path>strong{font-size:13px;color:#0f172a}
.oos-available-order-path>small{font-size:10.5px;line-height:1.45;color:#64748b}
.oos-available-order-path select,.oos-available-order-path input[type="text"]{width:100%;min-height:40px;padding:8px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;font-size:12px}
.oos-available-order-path .oos-button{width:100%;min-height:38px}
.oos-available-order-self{border-color:#bfdbfe;background:#f8fbff}
.oos-available-order-assign{border-color:#bbf7d0;background:#f7fdf9}
.oos-available-order-leave{border-color:#e2e8f0;background:#fbfcfe}
.oos-admin-override-control[hidden]{display:none!important}
.oos-admin-override-control.is-visible{display:flex!important}
.oos-admin-override-control.needs-attention{box-shadow:0 0 0 3px rgba(245,158,11,.14)}
@media(max-width:760px){.oos-available-order-path{padding:10px}}

/* v3.6.6.98 — Collapsible workload management */
.oos-workload-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:0 12px;
    border:1px solid #cbd5e1;
    border-radius:999px;
    background:#f8fafc;
    color:#0f172a;
    font-size:12.5px;
    font-weight:700;
    cursor:pointer;
    white-space:nowrap;
}
.oos-workload-toggle:hover,
.oos-workload-toggle:focus-visible{
    background:#eef2f7;
    border-color:#94a3b8;
}
.oos-workload-toggle[aria-expanded="true"]{
    background:#e8eef7;
    border-color:#94a3b8;
}
[data-oos-workload-panel][hidden]{
    display:none!important;
}
[data-oos-workload-panel]{
    margin-top:10px;
}
.oos-workload-reassign summary{
    cursor:pointer;
    font-weight:700;
}

/* v3.6.6.99 — workload accordion polish */
.oos-workload-toggle,
details.oos-workload-reassign > summary{
    font-size:12.5px!important;
    font-weight:700!important;
}


/* v3.6.6.100 — workload accordion state */
details.oos-workload-manager > summary{
    cursor:pointer;
    user-select:none;
}
details.oos-workload-manager:not([open]) .oos-workload-handover-form{
    display:none;
}

/* v3.6.6.101 — Availability / Workload compact UI refinement */

/* Clear, compact warning badge instead of loose red text */
.oos-continuity-warning{
    display:inline-flex!important;
    align-items:center;
    min-height:24px;
    margin-top:7px!important;
    padding:0 8px;
    border:1px solid #fecaca;
    border-radius:999px;
    background:#fef2f2;
    color:#b91c1c!important;
    font-size:10.5px!important;
    font-weight:800!important;
    line-height:1;
    white-space:nowrap;
}

/* Keep continuity rows visible but subtle */
.oos-continuity-row{
    background:#fffdf8;
}
.oos-continuity-row td:first-child{
    box-shadow:inset 3px 0 0 #f59e0b;
}

/* Tighten the expanded workload panel */
.oos-workload-manager summary{
    padding:9px 12px;
}
.oos-workload-handover-form{
    gap:8px;
    padding:0 12px 11px;
}
.oos-workload-handover-form label{
    gap:4px;
}
.oos-workload-handover-form select,
.oos-workload-handover-form input{
    min-height:36px;
}

/* Align transfer action cleanly under the fields */
.oos-workload-handover-form .oos-button{
    justify-self:start;
    min-height:36px;
    padding:0 14px;
    margin-top:1px;
    border-radius:8px;
    font-size:12px!important;
    font-weight:800!important;
}

/* Make the bottom continuity notice less vertically heavy */
.oos-continuity-note{
    margin-top:10px;
    padding:9px 13px;
    font-size:11.5px;
    line-height:1.45;
}

/* Slightly tighter workload cell spacing */
.oos-availability-table td:last-child{
    padding-top:10px;
    padding-bottom:10px;
}

/* v3.6.6.102 — Availability / Workload readability pass */

/* Availability select + Save button */
.oos-availability-table select,
.oos-availability-table .oos-availability-select{
    font-size:14px!important;
    line-height:1.4!important;
    min-height:40px!important;
    padding:8px 12px!important;
    color:#0f172a!important;
}

.oos-availability-table .oos-button,
.oos-availability-table button{
    font-size:13px!important;
    font-weight:800!important;
}

/* Active order count and supporting text */
.oos-availability-table .oos-active-order-count,
.oos-availability-table td:nth-child(4){
    font-size:14px!important;
    line-height:1.45!important;
}

.oos-availability-table td:nth-child(4) small,
.oos-availability-table td:nth-child(4) .oos-muted,
.oos-availability-table td:nth-child(4) span{
    font-size:12px!important;
    line-height:1.4!important;
}

/* Workload accordion heading */
.oos-workload-toggle,
details.oos-workload-manager > summary,
details.oos-workload-reassign > summary{
    font-size:14px!important;
    font-weight:800!important;
    line-height:1.35!important;
}

/* Workload form labels */
.oos-workload-handover-form label,
.oos-workload-handover-form .oos-field-label{
    font-size:12.5px!important;
    font-weight:700!important;
    line-height:1.4!important;
    color:#0f172a!important;
}

/* Workload form fields */
.oos-workload-handover-form select,
.oos-workload-handover-form input,
.oos-workload-handover-form textarea{
    font-size:14px!important;
    line-height:1.45!important;
    min-height:40px!important;
    padding:9px 12px!important;
    color:#0f172a!important;
    background:#fff!important;
}

.oos-workload-handover-form input::placeholder,
.oos-workload-handover-form textarea::placeholder{
    font-size:12.5px!important;
    color:#8a94a6!important;
    opacity:1!important;
}

/* Transfer button */
.oos-workload-handover-form .oos-button{
    min-height:38px!important;
    padding:0 15px!important;
    font-size:13px!important;
    font-weight:800!important;
}

/* Keep badge readable */
.oos-continuity-warning{
    font-size:11px!important;
    min-height:25px!important;
    padding:0 9px!important;
}

/* v3.6.6.103 — Availability controls visual balance */

/* Save button: smaller and less dominant */
.oos-availability-table .oos-button,
.oos-availability-table button{
    min-height:36px!important;
    padding:0 12px!important;
    border-radius:8px!important;
    font-size:12px!important;
    font-weight:700!important;
    line-height:1!important;
}

/* Reassign Workload: keep readable but not headline-sized */
.oos-workload-toggle,
details.oos-workload-manager > summary,
details.oos-workload-reassign > summary{
    min-height:36px!important;
    padding:8px 12px!important;
    font-size:12.5px!important;
    font-weight:700!important;
    line-height:1.25!important;
}

/* Preserve larger text inside the actual expanded form */
.oos-workload-handover-form select,
.oos-workload-handover-form input,
.oos-workload-handover-form textarea{
    font-size:14px!important;
}


/* v3.6.6.104 — Workload Guidance */
.oos-workload-guidance{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    margin:12px 0 14px;
    padding:13px 16px;
    border:1px solid #bfdbfe;
    border-radius:12px;
    background:#f5f9ff;
}
.oos-workload-guidance>div{display:grid;gap:3px}
.oos-workload-guidance>div>small{
    color:#475569;
    font-size:10px;
    font-weight:800;
    letter-spacing:.08em;
}
.oos-workload-guidance strong{
    color:#0f172a;
    font-size:14px;
    line-height:1.3;
}
.oos-workload-guidance span{
    color:#53657d;
    font-size:12px;
    line-height:1.4;
}
.oos-guidance-legend{
    flex:0 0 auto;
    padding:6px 9px;
    border-radius:999px;
    background:#fff;
    border:1px solid #dbe5f1;
    color:#475569;
    font-size:10.5px;
    font-weight:700;
    white-space:nowrap;
}
.oos-workload-level{
    display:inline-flex;
    align-items:center;
    width:max-content;
    min-height:23px;
    margin-top:6px;
    padding:0 8px;
    border-radius:999px;
    font-size:10.5px!important;
    font-weight:800!important;
    line-height:1!important;
}
.oos-workload-level.is-low{background:#ecfdf3;color:#166534}
.oos-workload-level.is-moderate{background:#fff7ed;color:#9a3412}
.oos-workload-level.is-high{background:#fef2f2;color:#b91c1c}
@media(max-width:760px){
    .oos-workload-guidance{display:grid;gap:10px}
    .oos-guidance-legend{width:max-content}
}

/* v3.6.6.107 — actionable workload guidance */
.oos-workload-guidance{
    align-items:center;
}
.oos-guidance-assign-form{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-top:10px;
}
.oos-guidance-assign-button{
    min-height:36px!important;
    padding:0 14px!important;
    border-radius:9px!important;
    font-size:12.5px!important;
    font-weight:800!important;
}
.oos-guidance-order-preview,
.oos-guidance-empty{
    display:inline-block;
    margin:0!important;
    font-size:11.5px!important;
    line-height:1.4!important;
    color:var(--oos-muted);
}
@media(max-width:760px){
    .oos-guidance-assign-form{
        align-items:stretch;
        flex-direction:column;
    }
    .oos-guidance-assign-button{
        width:100%;
    }
}

/* v3.6.6.108 — Available Orders visibility */
.oos-availability-summary{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
}
.oos-available-orders-stat strong{
    font-size:24px;
}
@media(max-width:1120px){
    .oos-availability-summary{
        grid-template-columns:repeat(3,minmax(0,1fr))!important;
    }
}
@media(max-width:760px){
    .oos-availability-summary{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}
@media(max-width:520px){
    .oos-availability-summary{
        grid-template-columns:1fr!important;
    }
}

/* v3.6.6.109 — Available Orders Queue */
.oos-available-orders-queue-card{margin:14px 0;}
.oos-available-orders-queue{border:1px solid #d7e2ef;border-radius:14px;background:#fff;overflow:hidden;}
.oos-available-orders-queue>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:0 16px;cursor:pointer;font-size:14px;font-weight:800;color:#0f172a;list-style:none;}
.oos-available-orders-queue>summary::-webkit-details-marker{display:none;}
.oos-available-orders-queue>summary small{font-size:11.5px;font-weight:700;color:#64748b;}
.oos-available-orders-queue-body{padding:0 14px 14px;}
.oos-available-orders-table-wrap{overflow-x:auto;}
.oos-available-orders-table{width:100%;border-collapse:collapse;min-width:760px;}
.oos-available-orders-table th{padding:10px 12px;border-bottom:1px solid #dbe4ee;background:#f8fafc;text-align:left;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#52627a;}
.oos-available-orders-table td{padding:11px 12px;border-bottom:1px solid #edf2f7;vertical-align:middle;font-size:13px;}
.oos-available-orders-table tbody tr:last-child td{border-bottom:0;}
.oos-queue-priority{display:inline-flex;align-items:center;min-height:26px;padding:0 9px;border-radius:999px;background:#eef4ff;font-size:11.5px;font-weight:700;}
.oos-queue-priority-urgent{background:#fff0f0;}
.oos-queue-priority-high{background:#fff7e8;}
.oos-queue-assign-button{min-height:34px!important;padding:0 12px!important;border-radius:8px!important;font-size:12px!important;font-weight:800!important;}

/* v3.6.6.110 — Workload Drill-Down Views */
.oos-availability-summary-card{
    display:flex;
    flex-direction:column;
    min-width:0;
    padding:16px;
    border:1px solid #dbe4ee;
    border-radius:14px;
    background:#fff;
    color:inherit!important;
    text-decoration:none!important;
    transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;
}
.oos-availability-summary-card:hover{
    transform:translateY(-2px);
    border-color:#b9c9df;
    box-shadow:0 8px 22px rgba(15,23,42,.08);
}
.oos-availability-summary-card small{
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.05em;
    color:#64748b;
}
.oos-availability-summary-card strong{
    margin-top:4px;
    font-size:23px;
    line-height:1.1;
    color:#0f172a;
}
.oos-availability-summary-card span{
    margin-top:8px;
    font-size:11.5px;
    color:#64748b;
}
.oos-availability-summary-card em{
    margin-top:9px;
    font-style:normal;
    font-size:11.5px;
    font-weight:800;
    color:#1d4ed8;
}
.oos-workload-drilldown{margin:16px 0;}
.oos-back-workload-link{
    display:inline-flex;
    align-items:center;
    min-height:38px;
    margin-bottom:12px;
    padding:0 13px;
    border:1px solid #cbd5e1;
    border-radius:9px;
    background:#f8fafc;
    color:#0f172a!important;
    text-decoration:none!important;
    font-size:12.5px;
    font-weight:800;
}
.oos-back-workload-link:hover{background:#eef2f7;}
.oos-workload-drilldown-card{
    padding:16px;
    border:1px solid #dbe4ee;
    border-radius:14px;
    background:#fff;
}
.oos-workload-drilldown-card h2{margin:0;font-size:19px;}
.oos-workload-drilldown-card p{margin:5px 0 14px;font-size:12.5px;color:#64748b;}
.oos-drilldown-table-wrap{overflow-x:auto;}
.oos-drilldown-table{width:100%;border-collapse:collapse;min-width:720px;}
.oos-drilldown-table th{
    padding:10px 12px;
    border:1px solid #dbe4ee;
    background:#f8fafc;
    text-align:left;
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.04em;
    color:#52627a;
}
.oos-drilldown-table td{
    padding:12px;
    border:1px solid #e2e8f0;
    vertical-align:middle;
    font-size:13px;
}
.oos-drilldown-workload{
    display:inline-flex;
    align-items:center;
    min-height:26px;
    padding:0 9px;
    border-radius:999px;
    background:#ecfdf3;
    color:#166534;
    font-size:11.5px;
    font-weight:800;
}

/* v3.6.6.111 — Drill-Down Refinements */
.oos-availability-summary-card{cursor:pointer;}
.oos-availability-summary-card.is-active{
    border-color:#2563eb!important;
    background:#f4f8ff!important;
    box-shadow:0 0 0 1px rgba(37,99,235,.08),0 8px 22px rgba(15,23,42,.06);
}
.oos-availability-summary-card.is-active em{color:#1d4ed8;}
.oos-staff-identity{display:flex;align-items:center;gap:10px;}
.oos-staff-identity-copy{display:flex;flex-direction:column;min-width:0;}
.oos-staff-identity-copy strong{display:block;line-height:1.25;}
.oos-staff-identity-copy small{display:block;margin-top:3px;line-height:1.2;color:#64748b;}
.oos-drilldown-order-link{color:#0b57d0!important;text-decoration:none!important;font-weight:800;}
.oos-drilldown-order-link:hover{text-decoration:underline!important;}
.oos-back-workload-link{box-shadow:0 1px 2px rgba(15,23,42,.04);}

/* v3.6.6.112 — Staff Performance / Work History */
.oos-performance-workspace{padding-top:18px;}
.oos-performance-summary{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
    margin-bottom:18px;
}
.oos-performance-summary article{
    padding:16px;
    border:1px solid #dbe4ee;
    border-radius:14px;
    background:#fff;
}
.oos-performance-summary small{
    display:block;
    font-size:11px;
    font-weight:800;
    letter-spacing:.05em;
    text-transform:uppercase;
    color:#64748b;
}
.oos-performance-summary strong{
    display:block;
    margin-top:5px;
    font-size:23px;
    line-height:1.1;
}
.oos-performance-summary span{
    display:block;
    margin-top:8px;
    font-size:11.5px;
    color:#64748b;
}
.oos-performance-panel,
.oos-performance-profile{
    padding:16px;
    border:1px solid #dbe4ee;
    border-radius:14px;
    background:#fff;
}
.oos-performance-panel h2{
    margin:0;
    font-size:19px;
}
.oos-performance-panel>p{
    margin:5px 0 14px;
    font-size:12.5px;
    color:#64748b;
}
.oos-performance-table{min-width:1050px;}
.oos-performance-table td{vertical-align:middle;}
.oos-performance-note{
    margin-top:14px;
    padding:12px 14px;
    border:1px solid #d9e6f4;
    border-radius:10px;
    background:#f8fbff;
    font-size:12px;
    line-height:1.55;
    color:#52627a;
}
.oos-performance-profile{margin-bottom:14px;}
.oos-performance-profile-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
}
.oos-performance-profile-head .oos-staff-identity-copy strong{font-size:17px;}
.oos-performance-person-kpis{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:10px;
    margin-top:16px;
}
.oos-performance-person-kpis>div{
    padding:12px;
    border:1px solid #e2e8f0;
    border-radius:10px;
    background:#f8fafc;
}
.oos-performance-person-kpis small{
    display:block;
    font-size:10.5px;
    font-weight:800;
    text-transform:uppercase;
    color:#64748b;
}
.oos-performance-person-kpis strong{
    display:block;
    margin-top:5px;
    font-size:17px;
}
.oos-performance-history-grid{
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);
    gap:14px;
}
.oos-performance-activity-list{
    display:flex;
    flex-direction:column;
    gap:8px;
}
.oos-performance-activity-list article{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
    padding:11px 12px;
    border:1px solid #e2e8f0;
    border-radius:10px;
    background:#fafcff;
}
.oos-performance-activity-list article div{
    display:flex;
    flex-direction:column;
    min-width:0;
}
.oos-performance-activity-list article strong{font-size:12.5px;}
.oos-performance-activity-list article span{
    margin-top:3px;
    font-size:11.5px;
    color:#64748b;
}
.oos-performance-activity-list article>small{
    white-space:nowrap;
    font-size:10.5px;
    color:#64748b;
}
@media(max-width:1050px){
    .oos-performance-summary{grid-template-columns:repeat(2,minmax(0,1fr));}
    .oos-performance-history-grid{grid-template-columns:1fr;}
}
@media(max-width:650px){
    .oos-performance-summary,
    .oos-performance-person-kpis{grid-template-columns:1fr;}
}

/* v3.6.6.113 — Performance Data & Layout Refinement */
.oos-performance-table{
    min-width:0!important;
    table-layout:fixed;
}
.oos-performance-table th:nth-child(1){width:22%;}
.oos-performance-table th:nth-child(2){width:13%;}
.oos-performance-table th:nth-child(3){width:18%;}
.oos-performance-table th:nth-child(4){width:20%;}
.oos-performance-table th:nth-child(5){width:13%;}
.oos-performance-table th:nth-child(6){width:14%;}
.oos-performance-table td{
    overflow-wrap:anywhere;
}
.oos-performance-metric-pair{
    display:flex;
    align-items:center;
    gap:14px;
}
.oos-performance-metric-pair>span{
    display:flex;
    flex-direction:column;
    min-width:42px;
}
.oos-performance-metric-pair strong{
    font-size:14px;
    line-height:1.1;
    color:#0f172a;
}
.oos-performance-metric-pair small{
    margin-top:3px;
    font-size:10.5px;
    color:#64748b;
}
.oos-performance-history-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:0 11px;
    border:1px solid #bfd4ff;
    border-radius:999px;
    background:#f4f8ff;
    color:#1456d9!important;
    text-decoration:none!important;
    font-size:11.5px;
    font-weight:800;
    white-space:nowrap;
    transition:background .15s ease,border-color .15s ease,box-shadow .15s ease;
}
.oos-performance-history-button:hover{
    background:#eaf2ff;
    border-color:#91b6ff;
    box-shadow:0 2px 8px rgba(37,99,235,.10);
}
@media(max-width:900px){
    .oos-performance-table{
        min-width:760px!important;
        table-layout:auto;
    }
}

/* v3.6.6.114 — Performance Table Width Polish */
.oos-performance-panel .oos-drilldown-table-wrap{
    overflow-x:visible;
}
.oos-performance-table{
    width:100%!important;
    min-width:0!important;
    table-layout:fixed!important;
}
.oos-performance-table th:nth-child(1){width:21%;}
.oos-performance-table th:nth-child(2){width:12%;}
.oos-performance-table th:nth-child(3){width:18%;}
.oos-performance-table th:nth-child(4){width:19%;}
.oos-performance-table th:nth-child(5){width:13%;}
.oos-performance-table th:nth-child(6){width:17%;}
.oos-performance-table th,
.oos-performance-table td{
    padding-left:10px!important;
    padding-right:10px!important;
}
.oos-performance-table td:nth-child(6){
    text-align:center;
}
.oos-performance-history-button{
    max-width:100%;
    min-height:32px;
    padding:0 10px;
    font-size:11px;
    white-space:nowrap;
}
.oos-performance-metric-pair{
    gap:10px;
}
.oos-performance-metric-pair>span{
    min-width:38px;
}
.oos-performance-table .oos-staff-identity{
    gap:8px;
}
.oos-performance-table .avatar{
    width:32px!important;
    height:32px!important;
}
.oos-performance-table .oos-staff-identity-copy strong{
    font-size:12.5px;
}
.oos-performance-table .oos-staff-identity-copy small{
    font-size:10px;
}
@media(max-width:1000px){
    .oos-performance-panel .oos-drilldown-table-wrap{
        overflow-x:auto;
    }
    .oos-performance-table{
        min-width:760px!important;
        table-layout:auto!important;
    }
}

/* v3.6.6.115 — Work History Layout & Activity Filters */
.oos-performance-history-stack{
    display:flex;
    flex-direction:column;
    gap:14px;
}
.oos-performance-history-section{
    border:1px solid #dbe4ee;
    border-radius:14px;
    background:#fff;
    overflow:hidden;
}
.oos-performance-history-section>summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-height:52px;
    padding:0 16px;
    cursor:pointer;
    list-style:none;
    font-size:18px;
    font-weight:800;
    color:#0f172a;
}
.oos-performance-history-section>summary::-webkit-details-marker{
    display:none;
}
.oos-performance-history-section>summary small{
    font-size:11.5px;
    font-weight:700;
    color:#64748b;
}
.oos-performance-history-section[open]>summary{
    border-bottom:1px solid #e2e8f0;
}
.oos-performance-history-section-body{
    padding:14px 16px 16px;
}
.oos-performance-history-section-body>p{
    margin:0 0 14px;
    font-size:12.5px;
    color:#64748b;
}
.oos-activity-filter-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:14px;
}
.oos-activity-filter-tabs button{
    min-height:32px;
    padding:0 11px;
    border:1px solid #cbd5e1;
    border-radius:999px;
    background:#f8fafc;
    color:#334155;
    font-size:11.5px;
    font-weight:800;
    cursor:pointer;
}
.oos-activity-filter-tabs button:hover{
    background:#eef2f7;
}
.oos-activity-filter-tabs button.is-active{
    border-color:#2563eb;
    background:#eff6ff;
    color:#1d4ed8;
}
.oos-performance-activity-list article[hidden]{
    display:none!important;
}
.oos-activity-filter-empty{
    margin-top:10px;
    padding:12px 14px;
    border:1px dashed #cbd5e1;
    border-radius:10px;
    background:#f8fafc;
    color:#64748b;
    font-size:12px;
}

/* v3.6.6.116 — Clear Accordion Actions */
.oos-performance-history-section>summary{
    user-select:none;
}
.oos-history-summary-meta{
    display:flex;
    align-items:center;
    gap:12px;
    flex-shrink:0;
}
.oos-history-summary-meta>small{
    margin:0;
}
.oos-history-toggle-action{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:52px;
    min-height:30px;
    padding:0 10px;
    border:1px solid #cbd5e1;
    border-radius:999px;
    background:#f8fafc;
    color:#1d4ed8;
    font-size:11.5px;
    font-weight:800;
    line-height:1;
}
.oos-performance-history-section>summary:hover .oos-history-toggle-action{
    border-color:#9fb8df;
    background:#eef4ff;
}
.oos-history-toggle-hide{
    display:none;
}
.oos-performance-history-section[open] .oos-history-toggle-view{
    display:none;
}
.oos-performance-history-section[open] .oos-history-toggle-hide{
    display:inline;
}
.oos-performance-history-section[open] .oos-history-toggle-action{
    border-color:#b8c7d9;
    background:#f1f5f9;
    color:#334155;
}

/* v3.6.6.117 — Activity Note Readability */
.oos-performance-activity-list article strong{
    font-size:13px!important;
    font-weight:800!important;
    line-height:1.35!important;
    color:#0f172a!important;
}
.oos-performance-activity-list article span{
    margin-top:5px!important;
    font-size:12.5px!important;
    font-weight:500!important;
    line-height:1.55!important;
    color:#334155!important;
}
.oos-performance-activity-list article>small{
    font-size:11px!important;
    font-weight:600!important;
    line-height:1.35!important;
    color:#52627a!important;
}
.oos-performance-history-section-body>p{
    font-size:13px!important;
    line-height:1.5!important;
    color:#475569!important;
}
.oos-performance-activity-list article{
    padding:13px 14px!important;
}

/* v3.6.6.119 — Compact Availability Summary Cards */
.oos-availability-summary-card{
    padding:14px 16px!important;
    min-height:0!important;
}
.oos-availability-summary-card small{
    margin-bottom:6px!important;
}
.oos-availability-summary-card strong{
    display:inline!important;
    margin:0!important;
    font-size:21px!important;
    line-height:1.2!important;
}
.oos-availability-summary-card span{
    display:inline!important;
    margin:0 0 0 7px!important;
    font-size:12px!important;
    line-height:1.3!important;
    color:#64748b!important;
}
.oos-availability-summary-card em{
    margin-top:8px!important;
}
.oos-availability-summary-card strong + span{
    vertical-align:baseline;
}

/* v3.6.6.120 — Summary Card Inline Metrics */
.oos-availability-summary-card{
    display:block!important;
    padding:13px 16px!important;
}
.oos-availability-summary-card small{
    display:block!important;
    margin:0 0 7px!important;
}
.oos-availability-summary-card strong{
    display:inline-block!important;
    margin:0!important;
    font-size:20px!important;
    line-height:1.2!important;
    vertical-align:baseline!important;
}
.oos-availability-summary-card strong + span{
    display:inline-block!important;
    margin:0 0 0 6px!important;
    font-size:12px!important;
    line-height:1.2!important;
    vertical-align:baseline!important;
}
.oos-availability-summary-card em{
    display:block!important;
    margin-top:8px!important;
}

/* v3.6.6.121 — Workload Workspace Priority Layout */
.oos-workload-priority-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:14px;
    align-items:stretch;
    margin:18px 0 14px;
}
.oos-workload-priority-row .oos-workload-guidance{
    margin:0!important;
    min-height:0!important;
}
.oos-workload-guidance>div>small:first-child,
.oos-available-orders-queue-compact>div>small:first-child{
    display:block;
    margin-bottom:5px;
    font-size:11.5px!important;
    font-weight:800!important;
    letter-spacing:.05em;
    line-height:1.2;
    color:#52627a!important;
}
.oos-workload-guidance{
    padding:14px 16px!important;
}
.oos-workload-guidance strong{
    font-size:15px!important;
    line-height:1.3!important;
}
.oos-workload-guidance>div>span{
    font-size:12px!important;
    line-height:1.45!important;
}
.oos-guidance-assign-form{
    margin-top:10px!important;
}
.oos-guidance-legend{
    font-size:12.5px!important;
    font-weight:700!important;
    line-height:1.3!important;
    color:#334155!important;
    white-space:nowrap;
}
.oos-available-orders-queue-compact{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:14px 16px;
    border:1px solid #dbe4ee;
    border-radius:14px;
    background:#fff;
}
.oos-available-orders-queue-compact strong{
    display:inline-block;
    margin-right:6px;
    font-size:20px;
    line-height:1.2;
    color:#0f172a;
}
.oos-available-orders-queue-compact span{
    font-size:12px;
    color:#64748b;
}
.oos-queue-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:58px;
    min-height:34px;
    padding:0 12px;
    border:1px solid #bfd4ff;
    border-radius:999px;
    background:#f4f8ff;
    color:#1456d9;
    font-size:12px;
    font-weight:800;
    cursor:pointer;
}
.oos-queue-toggle:hover{
    background:#eaf2ff;
    border-color:#91b6ff;
}
.oos-queue-toggle-hide{display:none;}
.oos-queue-toggle[aria-expanded="true"] .oos-queue-toggle-view{display:none;}
.oos-queue-toggle[aria-expanded="true"] .oos-queue-toggle-hide{display:inline;}
.oos-available-orders-expansion{
    margin:0 0 14px;
    padding:14px 16px 16px;
    border:1px solid #dbe4ee;
    border-radius:14px;
    background:#fff;
}
.oos-available-orders-expansion[hidden]{
    display:none!important;
}
.oos-available-orders-expansion-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin-bottom:12px;
}
.oos-available-orders-expansion-heading h3{
    margin:0;
    font-size:16px;
}
.oos-available-orders-expansion-heading p{
    margin:3px 0 0;
    font-size:12px;
    color:#64748b;
}
.oos-queue-toggle-secondary{
    flex:0 0 auto;
}
@media(max-width:850px){
    .oos-workload-priority-row{
        grid-template-columns:1fr;
    }
    .oos-guidance-legend{
        white-space:normal;
    }
}

/* v3.6.6.122 — Clickable Available Orders Queue */
.oos-available-orders-queue-compact{
    cursor:pointer!important;
    transition:border-color .15s ease,background .15s ease,box-shadow .15s ease,transform .15s ease;
}
.oos-available-orders-queue-compact:hover{
    border-color:#a9c5f5!important;
    background:#fbfdff!important;
    box-shadow:0 5px 16px rgba(15,23,42,.06);
}
.oos-available-orders-queue-compact:focus{
    outline:2px solid #2563eb;
    outline-offset:2px;
}
.oos-available-orders-queue-compact[aria-expanded="true"]{
    border-color:#8fb7ff!important;
    background:#f7faff!important;
}
.oos-queue-count-line{
    display:flex!important;
    align-items:baseline;
    gap:8px;
    margin-top:3px;
}
.oos-available-orders-queue-compact .oos-queue-count-line>strong{
    margin:0!important;
    font-size:21px!important;
    font-weight:800!important;
    line-height:1.2!important;
    color:#0f172a!important;
}
.oos-available-orders-queue-compact .oos-queue-count-line>span{
    margin:0!important;
    font-size:13.5px!important;
    font-weight:700!important;
    line-height:1.3!important;
    color:#334155!important;
}
.oos-queue-card-action{
    min-width:88px!important;
    min-height:36px!important;
    padding:0 18px!important;
    font-size:12.5px!important;
    pointer-events:none;
}
.oos-available-orders-queue-compact[aria-expanded="true"] .oos-queue-toggle-view{
    display:none!important;
}
.oos-available-orders-queue-compact[aria-expanded="true"] .oos-queue-toggle-hide{
    display:inline!important;
}

/* v3.6.6.123 — Queue Toggle Button Standardization */
.oos-queue-toggle,
.oos-queue-card-action,
.oos-queue-toggle-secondary{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:92px!important;
    min-height:36px!important;
    padding:0 16px!important;
    border:1px solid #0f172a!important;
    border-radius:10px!important;
    background:#0f172a!important;
    color:#ffffff!important;
    font-size:12.5px!important;
    font-weight:800!important;
    line-height:1!important;
    text-decoration:none!important;
    opacity:1!important;
    box-shadow:none!important;
}
.oos-queue-toggle:hover,
.oos-queue-card-action:hover,
.oos-queue-toggle-secondary:hover{
    border-color:#1e293b!important;
    background:#1e293b!important;
    color:#ffffff!important;
    opacity:1!important;
    filter:none!important;
    box-shadow:0 2px 7px rgba(15,23,42,.14)!important;
}
.oos-queue-toggle:focus,
.oos-queue-card-action:focus,
.oos-queue-toggle-secondary:focus{
    outline:2px solid #93c5fd!important;
    outline-offset:2px!important;
}
.oos-queue-toggle:active,
.oos-queue-card-action:active,
.oos-queue-toggle-secondary:active{
    background:#111827!important;
    color:#ffffff!important;
    opacity:1!important;
    transform:translateY(1px);
}
.oos-available-orders-queue-compact[aria-expanded="true"] .oos-queue-card-action{
    background:#0f172a!important;
    border-color:#0f172a!important;
    color:#ffffff!important;
}

/* v3.6.6.124 — Queue Toggle Contrast Fix */
.oos-queue-toggle,
.oos-queue-toggle *,
.oos-queue-card-action,
.oos-queue-card-action *,
.oos-queue-toggle-secondary,
.oos-queue-toggle-secondary *{
    color:#ffffff!important;
    opacity:1!important;
    text-shadow:none!important;
    -webkit-text-fill-color:#ffffff!important;
}
.oos-queue-toggle:hover,
.oos-queue-toggle:hover *,
.oos-queue-card-action:hover,
.oos-queue-card-action:hover *,
.oos-queue-toggle-secondary:hover,
.oos-queue-toggle-secondary:hover *,
.oos-available-orders-queue-compact:hover .oos-queue-card-action,
.oos-available-orders-queue-compact:hover .oos-queue-card-action *{
    color:#ffffff!important;
    opacity:1!important;
    -webkit-text-fill-color:#ffffff!important;
}
.oos-available-orders-queue-compact[aria-expanded="true"] .oos-queue-card-action,
.oos-available-orders-queue-compact[aria-expanded="true"] .oos-queue-card-action *{
    color:#ffffff!important;
    opacity:1!important;
    -webkit-text-fill-color:#ffffff!important;
}

/* v3.6.6.125 — Quick Actions Dashboard Layout Cleanup */
.oos-dashboard-quickbar-v125{
    padding:14px 16px!important;
}
.oos-dashboard-quickbar-v125 .oos-dashboard-quickbar-head{
    display:flex!important;
    align-items:flex-start!important;
    justify-content:space-between!important;
    gap:18px!important;
    margin-bottom:14px!important;
}
.oos-dashboard-quickbar-v125 .oos-dashboard-quickbar-copy{
    flex:1 1 auto;
    min-width:220px;
}
.oos-dashboard-quickbar-v125 .oos-dashboard-quickbar-copy h2{
    margin:0 0 4px!important;
    font-size:17px!important;
    line-height:1.25!important;
}
.oos-dashboard-quickbar-v125 .oos-dashboard-quickbar-copy p{
    margin:0!important;
    font-size:13px!important;
    line-height:1.4!important;
    color:#52627a!important;
}
.oos-dashboard-quickbar-v125 .oos-quick-actions-header-links{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:8px!important;
    flex-wrap:wrap!important;
    flex:0 1 auto!important;
    width:auto!important;
    border:0!important;
    padding:0!important;
    margin:0!important;
}
.oos-dashboard-quickbar-v125 .oos-quick-actions-header-links>a{
    margin:0!important;
    white-space:nowrap;
}
.oos-dashboard-quickbar-v125 .oos-dashboard-quickbar-body{
    display:block!important;
    width:100%!important;
}
.oos-dashboard-quickbar-v125 .oos-quick-action-metrics-row{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:10px!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
}
.oos-dashboard-quickbar-v125 .oos-quick-action-metrics-row .oos-activity-card-link{
    width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
}
@media(max-width:1100px){
    .oos-dashboard-quickbar-v125 .oos-dashboard-quickbar-head{
        flex-direction:column!important;
        align-items:stretch!important;
    }
    .oos-dashboard-quickbar-v125 .oos-quick-actions-header-links{
        justify-content:flex-start!important;
    }
}
@media(max-width:800px){
    .oos-dashboard-quickbar-v125 .oos-quick-action-metrics-row{
        grid-template-columns:repeat(2,minmax(0,1fr))!important;
    }
}
@media(max-width:520px){
    .oos-dashboard-quickbar-v125 .oos-quick-action-metrics-row{
        grid-template-columns:1fr!important;
    }
}

/* v3.6.6.126 — Platform Card Secondary Typography Standard
   Standardizes helper/subtext readability across dashboard cards,
   KPI tiles, quick-action cards, summary panels, and similar UI cards. */

/* Dashboard KPI / summary cards */
.oos-kpi-card small,
.oos-dashboard-kpi small,
.oos-summary-card small,
.oos-stat-card small,
.oos-metric-card small,
.oos-dashboard-card small,
.oos-dashboard-summary-card small{
    font-size:12.5px!important;
    line-height:1.4!important;
    font-weight:500!important;
    color:#52627a!important;
}

/* Dashboard top-card descriptions such as "Today", "Need action", "Active orders" */
.oos-dashboard-kpis small,
.oos-dashboard-stats small,
.oos-dashboard-summary small{
    font-size:12.5px!important;
    line-height:1.4!important;
    font-weight:500!important;
    color:#52627a!important;
}

/* Quick Actions notification card helper text */
.oos-activity-card-link small,
.oos-quick-action-metrics-row .oos-activity-card-link small{
    font-size:12.5px!important;
    line-height:1.4!important;
    font-weight:500!important;
    color:#52627a!important;
}

/* Availability / Workload summary cards */
.oos-availability-summary-card span,
.oos-availability-summary-card em,
.oos-availability-summary-card small{
    font-size:12.5px!important;
    line-height:1.4!important;
}

/* Generic workspace card helper / descriptive copy */
.oos-work-panel p,
.oos-panel p,
.oos-card p,
.oos-card small,
.oos-panel small,
.oos-work-panel small{
    font-size:12.5px;
    line-height:1.45;
}

/* Keep secondary copy readable without competing with primary values */
.oos-work-panel p,
.oos-panel p,
.oos-card p{
    color:#52627a;
}

/* Common helper classes if present */
.oos-help-text,
.oos-helper-text,
.oos-card-subtext,
.oos-card-description,
.oos-meta-text,
.oos-secondary-text{
    font-size:12.5px!important;
    line-height:1.45!important;
    color:#52627a!important;
}

/* Avoid tiny text inside operational table cards and badges */
.oos-table-card small,
.oos-workspace-card small{
    font-size:12px!important;
    line-height:1.4!important;
    color:#52627a!important;
}


/* v3.6.6.127 — Dashboard KPI readability standard
   Increase the readability of the top dashboard summary cards:
   Orders Today, Pending, Revenue Today, Low Stock, New Customers. */

/* Card heading labels */
.oos-dashboard-kpis .oos-kpi-card .oos-kpi-title,
.oos-dashboard-kpis .oos-dashboard-kpi .oos-kpi-title,
.oos-dashboard-kpis .oos-stat-card .oos-kpi-title,
.oos-dashboard-kpis .oos-kpi-card h4,
.oos-dashboard-kpis .oos-dashboard-kpi h4,
.oos-dashboard-kpis .oos-stat-card h4,
.oos-dashboard-kpis .oos-kpi-card .oos-card-title,
.oos-dashboard-kpis .oos-dashboard-kpi .oos-card-title,
.oos-dashboard-kpis .oos-stat-card .oos-card-title{
    font-size:12.5px!important;
    line-height:1.35!important;
    font-weight:700!important;
    letter-spacing:.06em!important;
    color:#5d6f89!important;
}

/* Primary numbers/values in the KPI cards */
.oos-dashboard-kpis .oos-kpi-card .oos-kpi-value,
.oos-dashboard-kpis .oos-dashboard-kpi .oos-kpi-value,
.oos-dashboard-kpis .oos-stat-card .oos-kpi-value,
.oos-dashboard-kpis .oos-kpi-card strong,
.oos-dashboard-kpis .oos-dashboard-kpi strong,
.oos-dashboard-kpis .oos-stat-card strong,
.oos-dashboard-kpis .oos-kpi-card .oos-stat-number,
.oos-dashboard-kpis .oos-dashboard-kpi .oos-stat-number,
.oos-dashboard-kpis .oos-stat-card .oos-stat-number{
    font-size:15px!important;
    line-height:1.2!important;
    font-weight:800!important;
}

/* Supporting helper text: Today, Need action, Active orders, etc. */
.oos-dashboard-kpis .oos-kpi-card small,
.oos-dashboard-kpis .oos-dashboard-kpi small,
.oos-dashboard-kpis .oos-stat-card small,
.oos-dashboard-kpis .oos-kpi-card .oos-kpi-meta,
.oos-dashboard-kpis .oos-dashboard-kpi .oos-kpi-meta,
.oos-dashboard-kpis .oos-stat-card .oos-kpi-meta,
.oos-dashboard-kpis .oos-kpi-card .oos-card-subtext,
.oos-dashboard-kpis .oos-dashboard-kpi .oos-card-subtext,
.oos-dashboard-kpis .oos-stat-card .oos-card-subtext,
.oos-dashboard-kpis .oos-kpi-card .oos-card-description,
.oos-dashboard-kpis .oos-dashboard-kpi .oos-card-description,
.oos-dashboard-kpis .oos-stat-card .oos-card-description{
    font-size:12.5px!important;
    line-height:1.45!important;
    font-weight:500!important;
    color:#52627a!important;
}

/* Slightly larger icon chip alignment if those KPI cards use icon squares */
.oos-dashboard-kpis .oos-kpi-card .oos-kpi-icon,
.oos-dashboard-kpis .oos-dashboard-kpi .oos-kpi-icon,
.oos-dashboard-kpis .oos-stat-card .oos-kpi-icon{
    min-width:34px;
    min-height:34px;
}

/* Defensive fallback for summary cards rendered outside .oos-dashboard-kpis wrapper */
.oos-dashboard-summary-card .oos-card-title,
.oos-kpi-card .oos-card-title,
.oos-dashboard-summary-card h4,
.oos-kpi-card h4{
    font-size:12.5px!important;
    line-height:1.35!important;
    font-weight:700!important;
    color:#5d6f89!important;
}

.oos-dashboard-summary-card .oos-kpi-value,
.oos-kpi-card .oos-kpi-value,
.oos-dashboard-summary-card .oos-stat-number,
.oos-kpi-card .oos-stat-number{
    font-size:15px!important;
    line-height:1.2!important;
    font-weight:800!important;
}

.oos-dashboard-summary-card small,
.oos-kpi-card small{
    font-size:12.5px!important;
    line-height:1.45!important;
    font-weight:500!important;
    color:#52627a!important;
}

/* v3.6.6.128 — Top Dashboard KPI Typography Correction
   Direct coverage for the actual dashboard KPI markup. */

/* Heading labels: ORDERS TODAY / PENDING / REVENUE TODAY / LOW STOCK / NEW CUSTOMERS */
.oos-dashboard .oos-dashboard-stat-label,
.oos-dashboard .oos-stat-label,
.oos-dashboard .oos-kpi-label,
.oos-dashboard .oos-dashboard-kpi-label,
.oos-dashboard .oos-summary-label,
.oos-dashboard .oos-dashboard-card-label,
.oos-dashboard .oos-overview-card-label,
.oos-dashboard .oos-overview-label,
.oos-dashboard .oos-dashboard-stat-card small:first-of-type,
.oos-dashboard .oos-dashboard-kpi-card small:first-of-type,
.oos-dashboard .oos-overview-card small:first-of-type,
.oos-dashboard-overview small:first-of-type,
.oos-dashboard-stats small:first-of-type,
.oos-dashboard-kpis small:first-of-type{
    font-size:13px!important;
    line-height:1.3!important;
    font-weight:800!important;
    letter-spacing:.055em!important;
    color:#4b5f7a!important;
}

/* Main KPI numbers / values */
.oos-dashboard .oos-dashboard-stat-value,
.oos-dashboard .oos-stat-value,
.oos-dashboard .oos-kpi-value,
.oos-dashboard .oos-dashboard-kpi-value,
.oos-dashboard .oos-overview-card-value,
.oos-dashboard .oos-dashboard-stat-card b,
.oos-dashboard .oos-dashboard-kpi-card b,
.oos-dashboard .oos-overview-card b{
    font-size:20px!important;
    line-height:1.15!important;
    font-weight:800!important;
}

/* Supporting text: Today / Need action / Active orders / 5 units or less / Last 7 days */
.oos-dashboard .oos-dashboard-stat-meta,
.oos-dashboard .oos-stat-meta,
.oos-dashboard .oos-kpi-meta,
.oos-dashboard .oos-dashboard-kpi-meta,
.oos-dashboard .oos-summary-meta,
.oos-dashboard .oos-dashboard-card-meta,
.oos-dashboard .oos-overview-card-meta,
.oos-dashboard .oos-dashboard-stat-card small:last-of-type,
.oos-dashboard .oos-dashboard-kpi-card small:last-of-type,
.oos-dashboard .oos-overview-card small:last-of-type,
.oos-dashboard-overview small:last-of-type,
.oos-dashboard-stats small:last-of-type,
.oos-dashboard-kpis small:last-of-type{
    font-size:13px!important;
    line-height:1.4!important;
    font-weight:600!important;
    color:#52627a!important;
}

/* Common top-dashboard card descendants where markup is span-based */
.oos-dashboard .oos-dashboard-stat-card span,
.oos-dashboard .oos-dashboard-kpi-card span,
.oos-dashboard .oos-overview-card span{
    font-size:13px;
}

/* Keep icon glyph size independent from text rules */
.oos-dashboard .oos-dashboard-stat-card .dashicons,
.oos-dashboard .oos-dashboard-kpi-card .dashicons,
.oos-dashboard .oos-overview-card .dashicons{
    font-size:18px!important;
    width:18px!important;
    height:18px!important;
}

/* Direct visual fallback for the top five cards even when class names differ */
.oos-dashboard > .oos-kpi-grid > *,
.oos-dashboard > .oos-dashboard-kpi-grid > *,
.oos-dashboard > .oos-dashboard-stats > *,
.oos-dashboard > .oos-dashboard-overview > *{
    --oos-top-card-label-size:13px;
    --oos-top-card-helper-size:13px;
}

/* v3.6.6.128 precise top KPI selectors */
.oos-metric-grid .oos-metric small{
    display:block!important;
    font-size:13px!important;
    line-height:1.3!important;
    font-weight:800!important;
    letter-spacing:.055em!important;
    color:#4b5f7a!important;
}
.oos-metric-grid .oos-metric strong{
    display:block!important;
    margin-top:3px!important;
    font-size:20px!important;
    line-height:1.15!important;
    font-weight:800!important;
}
.oos-metric-grid .oos-metric em{
    display:block!important;
    margin-top:6px!important;
    font-size:13px!important;
    line-height:1.4!important;
    font-style:normal!important;
    font-weight:600!important;
    color:#52627a!important;
}

/* v3.6.6.129 — Top KPI Heading Balance */
.oos-metric-grid .oos-metric small{
    font-size:11.5px!important;
    line-height:1.25!important;
    font-weight:800!important;
    letter-spacing:.045em!important;
    color:#4b5f7a!important;
    white-space:nowrap!important;
}

/* Preserve readable helper/meta text */
.oos-metric-grid .oos-metric em{
    font-size:12.5px!important;
    line-height:1.35!important;
    font-weight:600!important;
    color:#52627a!important;
}

/* v3.6.6.135 — Product total stock metric */
.oos-object-metrics.oos-product-stock-metrics{
    grid-template-columns:repeat(5,minmax(0,1fr));
}
@media(max-width:1100px){
    .oos-object-metrics.oos-product-stock-metrics{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}
@media(max-width:760px){
    .oos-object-metrics.oos-product-stock-metrics{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:520px){
    .oos-object-metrics.oos-product-stock-metrics{
        grid-template-columns:1fr;
    }
}

/* v3.6.6.137 — Add Product Full Workspace */
.oos-product-create-workspace{
    position:relative!important;
    inset:auto!important;
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:visible!important;
    transform:none!important;
    box-shadow:none!important;
    border-radius:14px!important;
    margin:0!important;
    background:#fff!important;
    z-index:auto!important;
}

/* Remove overlay/drawer behavior when the Add Product workspace is active */
body:has(.oos-product-create-workspace) .oos-drawer-overlay,
body:has(.oos-product-create-workspace) .oos-modal-overlay,
body:has(.oos-product-create-workspace) .oos-side-panel-overlay{
    display:none!important;
}

/* Full-width product create form, matching Sellable Variant workspace proportions */
.oos-product-create-workspace .oos-product-form,
.oos-product-create-workspace form{
    width:100%!important;
    max-width:none!important;
}

.oos-product-create-workspace .oos-form-grid{
    width:100%!important;
}

.oos-product-create-back{
    margin:0 0 14px!important;
}

/* When Add Product is rendered as a workspace, hide the underlying product list shell
   if it remains in the DOM behind the form. */
.oos-items-page:has(.oos-product-create-workspace) .oos-products-list-panel,
.oos-items-page:has(.oos-product-create-workspace) .oos-product-list-panel,
.oos-items-page:has(.oos-product-create-workspace) .oos-products-browser{
    display:none!important;
}

/* Keep responsive behavior clean */
@media(max-width:900px){
    .oos-product-create-workspace{
        border-radius:12px!important;
    }
}


/* v3.6.6.138 — Genuine Add Product Workspace
   Add Product is now routed as a page, not displayed through the slideout. */
.oos-product-create-page{
    width:100%;
    max-width:none;
}

.oos-product-create-page .oos-product-create-back{
    margin:0 0 14px;
}

.oos-product-create-header{
    margin-bottom:16px;
    padding:20px 24px;
}

.oos-product-create-header h2{
    margin:4px 0 4px;
}

.oos-product-create-header p{
    margin:0;
}

.oos-product-create-page-form{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    overflow:visible!important;
}

.oos-product-create-page-form .oos-product-form-section{
    width:100%;
}

.oos-product-create-page-form .oos-product-editor-actions{
    position:static!important;
    margin-top:20px;
}

/* v3.6.6.143 — Currency settings */
.oos-custom-currency-row[hidden]{
    display:none!important;
}


/* v3.6.6.146 — Visible Administrator Top Bar Logout */
.oos-topbar-logout{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:38px;
    padding:0 15px;
    border-radius:10px;
    border:1px solid #dbe3ef;
    background:#ffffff;
    color:#0f172a;
    font-size:14px;
    font-weight:700;
    line-height:1;
    text-decoration:none;
    white-space:nowrap;
    transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease;
}

.oos-topbar-logout:hover,
.oos-topbar-logout:focus{
    background:#f8fafc;
    border-color:#cbd5e1;
    color:#0f172a;
    text-decoration:none;
    box-shadow:0 1px 2px rgba(15,23,42,.08);
    outline:none;
}

.oos-topbar-logout:focus-visible{
    box-shadow:0 0 0 3px rgba(37,99,235,.16);
}

@media(max-width:760px){
    .oos-topbar-logout{
        min-height:36px;
        padding:0 11px;
        font-size:13px;
    }
}


/* ============================================================
   v3.6.6.169 — Administration Workspace Tab Standard
   Shared styling for genuine admin workspace navigation tabs.
   Existing module typography is intentionally preserved.
   ============================================================ */

:root{
    --oos-admin-tab-active:#0f172a;
    --oos-admin-tab-frame:#94a3b8;
    --oos-admin-tab-strip:#f1f5f9;
    --oos-admin-tab-hover:#e8eef5;
}

/* Shared tab-strip treatment */
.oos-object-tabs,
.oos-customer-tabs,
.oos-manager-tabs,
.oos-message-tabs,
.oos-admin-detail-tabs{
    position:relative;
    display:flex;
    align-items:flex-end;
    gap:4px;
    border-bottom:2px solid var(--oos-admin-tab-frame)!important;
    background:var(--oos-admin-tab-strip);
}

/* Shared tab shape.
   Font family / size / weight remain inherited from each module. */
.oos-object-tabs button,
.oos-customer-tabs button,
.oos-manager-tabs a,
.oos-message-tabs a,
.oos-admin-detail-tabs button{
    position:relative;
    z-index:1;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding-left:14px;
    padding-right:14px;
    border:2px solid transparent!important;
    border-bottom:0!important;
    border-radius:9px 9px 0 0;
    background:transparent!important;
    text-decoration:none;
    color:#334155!important;
    cursor:pointer;
    box-shadow:none!important;
}

/* Inactive hover/focus */
.oos-object-tabs button:not(.active):hover,
.oos-customer-tabs button:not(.active):hover,
.oos-manager-tabs a:not(.is-active):hover,
.oos-message-tabs a:not(.active):hover,
.oos-admin-detail-tabs button:not(.active):hover,
.oos-object-tabs button:not(.active):focus-visible,
.oos-customer-tabs button:not(.active):focus-visible,
.oos-manager-tabs a:not(.is-active):focus-visible,
.oos-message-tabs a:not(.active):focus-visible,
.oos-admin-detail-tabs button:not(.active):focus-visible{
    background:var(--oos-admin-tab-hover)!important;
    color:#0f172a!important;
}

/* Active workspace tab */
.oos-object-tabs button.active,
.oos-customer-tabs button.active,
.oos-manager-tabs a.is-active,
.oos-message-tabs a.active,
.oos-admin-detail-tabs button.active{
    z-index:4;
    margin-bottom:-2px!important;
    background:var(--oos-admin-tab-active)!important;
    border-color:var(--oos-admin-tab-active)!important;
    color:#ffffff!important;
}

/* Remove legacy underline indicators now replaced by filled active tabs. */
.oos-object-tabs button.active,
.oos-customer-tabs button.active,
.oos-manager-tabs a.is-active,
.oos-message-tabs a.active,
.oos-admin-detail-tabs button.active{
    border-bottom-color:var(--oos-admin-tab-active)!important;
}

/* Customer-detail admin panels already form a tabbed workspace;
   join their panels cleanly to the new shared tab strip. */
.oos-customer-tabs{
    margin-bottom:0!important;
}

.oos-customer-tab-panel{
    border-top:0!important;
    border-top-left-radius:0!important;
    border-top-right-radius:0!important;
}

/* Object/detail tabs live inside their work panels.
   Keep the content directly connected to the selected tab strip. */
.oos-object-main > .oos-object-tabs:first-child,
.oos-admin-detail-tabs{
    margin-bottom:14px;
}

/* Manager page-level tabs keep their existing page spacing,
   but now use the shared active-state language. */
.oos-manager-tabs{
    padding-top:4px;
}

/* Messages use links / page reloads, but inherit the same visual standard. */
.oos-message-tabs{
    padding-top:4px;
}

/* Responsive: preserve usable horizontal tab navigation. */
@media(max-width:760px){
    .oos-object-tabs,
    .oos-customer-tabs,
    .oos-manager-tabs,
    .oos-message-tabs,
    .oos-admin-detail-tabs{
        overflow-x:auto;
        overflow-y:hidden;
        flex-wrap:nowrap;
        -webkit-overflow-scrolling:touch;
    }

    .oos-object-tabs button,
    .oos-customer-tabs button,
    .oos-manager-tabs a,
    .oos-message-tabs a,
    .oos-admin-detail-tabs button{
        flex:0 0 auto;
        white-space:nowrap;
    }
}


/* v3.6.6.170 — Theme Governance UI */
.oos-theme-settings{margin-top:8px}
.oos-theme-permission-note{display:grid;gap:4px;padding:12px 14px;border:1px solid var(--oos-line);border-radius:10px;background:#f8fafc;color:var(--oos-text)}
.oos-theme-permission-note small{color:var(--oos-muted)}
.oos-theme-permission-list{display:grid;gap:8px}
.oos-theme-permission-row{display:flex!important;align-items:center;justify-content:space-between;gap:14px;padding:11px 12px;border:1px solid var(--oos-line);border-radius:10px;background:#fff}
.oos-theme-permission-row>span{display:flex;align-items:center;gap:10px}
.oos-theme-permission-row img{border-radius:50%}
.oos-theme-permission-row strong,.oos-theme-permission-row small{display:block}
.oos-theme-permission-row small{color:var(--oos-muted)}
.oos-theme-permission-row input{width:auto!important}
/* Make the system-wide admin tab standard theme-aware. */

@media(max-width:720px){.oos-theme-permission-row{align-items:flex-start;flex-direction:column}}


/* v3.6.6.171 — Per-Administrator Custom Theme controls */
.oos-admin-custom-theme-fields{
    margin:12px 0 20px;
    padding:16px;
    border:1px solid var(--oos-line);
    border-radius:12px;
    background:#f8fafc;
}
.oos-admin-custom-theme-fields[hidden]{display:none!important}
.oos-theme-custom-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.oos-theme-custom-head strong{font-size:14px;color:#0f172a}
.oos-theme-custom-head small{font-size:11px;color:#64748b}
.oos-theme-color-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.oos-theme-color-grid label{margin:0!important}
.oos-theme-color-grid input[type=color]{
    display:block;
    width:100%;
    height:44px;
    margin-top:6px;
    padding:4px;
    border:1px solid var(--oos-line);
    border-radius:9px;
    background:#fff;
    cursor:pointer;
}
.oos-theme-color-grid label:last-child{grid-column:1/-1}
@media(max-width:760px){
    .oos-theme-color-grid{grid-template-columns:1fr}
    .oos-theme-color-grid label:last-child{grid-column:auto}
    .oos-theme-custom-head{display:block}
    .oos-theme-custom-head small{display:block;margin-top:3px}
}


/* ============================================================
   v3.6.6.172 — Admin Theme Coverage Pass
   Fix active-tab variable inheritance and theme remaining
   primary administration actions without recolouring semantic
   warning / danger / secondary controls.
   ============================================================ */

/* Active workspace tabs now consume the per-user theme variable directly. */
.oos-object-tabs button.active,
.oos-customer-tabs button.active,
.oos-manager-tabs a.is-active,
.oos-message-tabs a.active,
.oos-admin-detail-tabs button.active{
    background:var(--oos-admin-tab-active,#0f172a)!important;
    border-color:var(--oos-admin-tab-active,#0f172a)!important;
    color:#ffffff!important;
}

/* Primary administration actions that previously retained legacy navy. */
.oos-manager-list-panel .oos-panel-heading > .oos-button:not(.secondary),
.oos-availability-save,
.oos-workload-handover-form .oos-button:not(.secondary),
.oos-queue-toggle,
.oos-queue-card-action,
.oos-queue-toggle-secondary,
.oos-available-orders-queue-compact[aria-expanded="true"] .oos-queue-card-action,
.oos-thread-reply-toggle,
.oos-thread-stats .oos-inline-reply-link[aria-expanded="true"]{
    background:var(--oos-admin-theme-button,#0f172a)!important;
    border-color:var(--oos-admin-theme-button,#0f172a)!important;
    color:#ffffff!important;
}

/* Theme-aware hover/focus for those primary actions. */
.oos-manager-list-panel .oos-panel-heading > .oos-button:not(.secondary):hover,
.oos-manager-list-panel .oos-panel-heading > .oos-button:not(.secondary):focus-visible,
.oos-availability-save:hover,
.oos-availability-save:focus-visible,
.oos-workload-handover-form .oos-button:not(.secondary):hover,
.oos-workload-handover-form .oos-button:not(.secondary):focus-visible,
.oos-queue-toggle:hover,
.oos-queue-toggle:focus-visible,
.oos-queue-card-action:hover,
.oos-queue-card-action:focus-visible,
.oos-queue-toggle-secondary:hover,
.oos-queue-toggle-secondary:focus-visible,
.oos-thread-reply-toggle:hover,
.oos-thread-reply-toggle:focus-visible{
    background:var(--oos-admin-theme-button,#0f172a)!important;
    border-color:var(--oos-admin-theme-focus,var(--oos-admin-theme-button,#0f172a))!important;
    color:#ffffff!important;
    filter:brightness(1.08);
}

/* Pressed state stays in the selected theme rather than reverting to navy. */
.oos-queue-toggle:active,
.oos-queue-card-action:active,
.oos-queue-toggle-secondary:active{
    background:var(--oos-admin-theme-button,#0f172a)!important;
    border-color:var(--oos-admin-theme-button,#0f172a)!important;
    color:#ffffff!important;
    filter:brightness(.92);
}

/* Keep semantic action families intentionally independent of the personal theme. */
.oos-manager-actions .is-suspend,
.oos-manager-actions .is-remove,
.oos-manager-actions .is-reset,
.oos-button.secondary,
.oos-button.danger,
.oos-button.warning{
    filter:none;
}


/* ============================================================
   v3.6.6.173 — Admin Theme Completion + Settings Success Dialog
   ============================================================ */

/* New Manager is visually the page's primary action even though legacy
   markup still carries the secondary class. Make it theme-aware. */
.oos-manager-list-panel .oos-panel-heading > .oos-button{
    background:var(--oos-admin-theme-button,#0f172a)!important;
    border-color:var(--oos-admin-theme-button,#0f172a)!important;
    color:#ffffff!important;
}

.oos-manager-list-panel .oos-panel-heading > .oos-button:hover,
.oos-manager-list-panel .oos-panel-heading > .oos-button:focus-visible{
    background:var(--oos-admin-theme-button,#0f172a)!important;
    border-color:var(--oos-admin-theme-focus,var(--oos-admin-theme-button,#0f172a))!important;
    color:#ffffff!important;
    filter:brightness(1.08);
}

/* Primary form submissions should follow the selected Admin Theme. */
.oos-form > .oos-button:not(.secondary):not(.danger):not(.warning),
.oos-form-actions > .oos-button:not(.secondary):not(.danger):not(.warning),
.oos-panel-heading > .oos-button:not(.secondary):not(.danger):not(.warning),
.oos-work-panel .oos-button:not(.secondary):not(.danger):not(.warning):not(.is-suspend):not(.is-remove){
    background:var(--oos-admin-theme-button,#0f172a)!important;
    border-color:var(--oos-admin-theme-button,#0f172a)!important;
    color:#ffffff!important;
}

/* Keep true navigation / secondary actions neutral. */
.oos-manager-form-panel .oos-panel-heading > .oos-button.secondary{
    background:#eef2f7!important;
    border-color:#cbd5e1!important;
    color:#0f172a!important;
    filter:none!important;
}

/* Selected-theme focus color for standard primary buttons. */
.oos-form > .oos-button:not(.secondary):not(.danger):not(.warning):focus-visible,
.oos-form-actions > .oos-button:not(.secondary):not(.danger):not(.warning):focus-visible,
.oos-panel-heading > .oos-button:not(.secondary):not(.danger):not(.warning):focus-visible{
    outline:2px solid var(--oos-admin-theme-focus,var(--oos-admin-theme-button,#0f172a))!important;
    outline-offset:2px;
}


/* ============================================================
   v3.6.6.174 — Final Admin Theme Consistency Audit
   Universal primary-action coverage across administration.
   ============================================================ */

/* Core rule: every genuine primary OOS action follows the current
   Administrator's personal Button Color. */
.oos-button:not(.secondary):not(.danger):not(.warning),
button.oos-button:not(.secondary):not(.danger):not(.warning),
a.oos-button:not(.secondary):not(.danger):not(.warning){
    background:var(--oos-admin-theme-button,#0f172a)!important;
    border-color:var(--oos-admin-theme-button,#0f172a)!important;
    color:#ffffff!important;
}

/* Specialized primary controls that are not consistently built
   with the generic .oos-button class. */
.oos-guidance-assign-button,
.oos-queue-assign-button,
.oos-availability-save,
.oos-queue-toggle,
.oos-queue-card-action,
.oos-queue-toggle-secondary,
.oos-performance-history-button,
.oos-thread-reply-toggle,
.oos-history-toggle-action,
.oos-primary-action,
.oos-save-action{
    background:var(--oos-admin-theme-button,#0f172a)!important;
    border-color:var(--oos-admin-theme-button,#0f172a)!important;
    color:#ffffff!important;
}

/* Primary controls containing nested spans/icons must keep white content. */
.oos-guidance-assign-button *,
.oos-queue-assign-button *,
.oos-queue-toggle *,
.oos-queue-card-action *,
.oos-queue-toggle-secondary *,
.oos-performance-history-button *,
.oos-thread-reply-toggle *,
.oos-history-toggle-action *{
    color:#ffffff!important;
    -webkit-text-fill-color:#ffffff!important;
}

/* Unified themed hover/focus for genuine primary actions. */
.oos-button:not(.secondary):not(.danger):not(.warning):hover,
.oos-button:not(.secondary):not(.danger):not(.warning):focus-visible,
.oos-guidance-assign-button:hover,
.oos-guidance-assign-button:focus-visible,
.oos-queue-assign-button:hover,
.oos-queue-assign-button:focus-visible,
.oos-availability-save:hover,
.oos-availability-save:focus-visible,
.oos-queue-toggle:hover,
.oos-queue-toggle:focus-visible,
.oos-queue-card-action:hover,
.oos-queue-card-action:focus-visible,
.oos-queue-toggle-secondary:hover,
.oos-queue-toggle-secondary:focus-visible,
.oos-performance-history-button:hover,
.oos-performance-history-button:focus-visible{
    background:var(--oos-admin-theme-button,#0f172a)!important;
    border-color:var(--oos-admin-theme-focus,var(--oos-admin-theme-button,#0f172a))!important;
    color:#ffffff!important;
    filter:brightness(1.08);
}

/* Preserve true secondary/navigation buttons. */
.oos-button.secondary{
    filter:none!important;
}

/* Preserve semantic meaning regardless of selected personal theme. */
.oos-button.danger,
.oos-button.warning,
.oos-action-chip.danger,
.oos-action-chip.is-suspend,
.oos-action-chip.is-remove,
.oos-status,
.oos-priority,
.oos-stock-level{
    filter:none!important;
}

/* Theme ordinary admin accent links/icons without turning them into buttons. */
.oos-table a:not(.oos-button):not(.danger),
.oos-object-link,
.oos-notification-panel>a .dashicons,
.oos-quick-actions .dashicons,
.oos-activity-list .dashicons{
    color:var(--oos-primary)!important;
}

/* Pagination active state follows the personal accent. */
.oos-pagination a.active{
    background:var(--oos-primary)!important;
    border-color:var(--oos-primary)!important;
    color:#ffffff!important;
}


/* ============================================================
   v3.6.6.176 — Admin Theme Finishing Pass
   Theme-aware utility navigation, report controls and remaining
   legacy-blue administrative accents.
   ============================================================ */

/* Top-bar Logout: keep it a utility action, but harmonize it with
   the selected Administrator theme instead of generic grey. */
.oos-topbar-logout{
    background:#ffffff!important;
    border-color:var(--oos-admin-theme-button,#0f172a)!important;
    color:var(--oos-admin-theme-button,#0f172a)!important;
}
.oos-topbar-logout:hover,
.oos-topbar-logout:focus{
    background:var(--oos-admin-theme-button,#0f172a)!important;
    border-color:var(--oos-admin-theme-button,#0f172a)!important;
    color:#ffffff!important;
}
.oos-topbar-logout:focus-visible{
    box-shadow:0 0 0 3px color-mix(in srgb,var(--oos-admin-theme-focus,#2563eb) 22%,transparent)!important;
}

/* Back-navigation actions: theme-aware outline rather than a heavy
   primary fill, preserving their navigation role. */
.oos-manager-form-panel .oos-panel-heading > .oos-button.secondary,
.oos-object-back .oos-button.secondary,
.oos-product-create-back .oos-button.secondary,
.oos-back-workload-link,
.oos-compact-context-back .oos-ajax-link{
    background:#ffffff!important;
    border-color:var(--oos-admin-theme-button,#0f172a)!important;
    color:var(--oos-admin-theme-button,#0f172a)!important;
}
.oos-manager-form-panel .oos-panel-heading > .oos-button.secondary:hover,
.oos-manager-form-panel .oos-panel-heading > .oos-button.secondary:focus-visible,
.oos-object-back .oos-button.secondary:hover,
.oos-object-back .oos-button.secondary:focus-visible,
.oos-product-create-back .oos-button.secondary:hover,
.oos-product-create-back .oos-button.secondary:focus-visible,
.oos-back-workload-link:hover,
.oos-back-workload-link:focus-visible,
.oos-compact-context-back .oos-ajax-link:hover,
.oos-compact-context-back .oos-ajax-link:focus-visible{
    background:var(--oos-admin-theme-button,#0f172a)!important;
    border-color:var(--oos-admin-theme-button,#0f172a)!important;
    color:#ffffff!important;
    text-decoration:none!important;
}

/* Activity Reports: primary Filter + themed-outline Reset. */
.oos-activity-report-panel .oos-activity-filters .button-primary{
    background:var(--oos-admin-theme-button,#0f172a)!important;
    border-color:var(--oos-admin-theme-button,#0f172a)!important;
    color:#ffffff!important;
}
.oos-activity-report-panel .oos-activity-filters a.button{
    background:#ffffff!important;
    border-color:var(--oos-admin-theme-button,#0f172a)!important;
    color:var(--oos-admin-theme-button,#0f172a)!important;
}
.oos-activity-report-panel .oos-activity-filters a.button:hover,
.oos-activity-report-panel .oos-activity-filters a.button:focus-visible{
    background:var(--oos-admin-theme-button,#0f172a)!important;
    color:#ffffff!important;
}

/* Workload summary links: remove legacy blue. */
.oos-availability-summary-card em{
    color:var(--oos-primary,#2563eb)!important;
}
.oos-availability-summary-card.is-active{
    border-color:var(--oos-primary,#2563eb)!important;
    background:color-mix(in srgb,var(--oos-primary,#2563eb) 5%,#ffffff)!important;
    box-shadow:0 0 0 1px color-mix(in srgb,var(--oos-primary,#2563eb) 9%,transparent),
               0 8px 22px rgba(15,23,42,.06)!important;
}
.oos-availability-summary-card.is-active em{
    color:var(--oos-primary,#2563eb)!important;
}

/* Manager Edit: secondary semantic action, but harmonized with personal theme. */
.oos-manager-actions .oos-action-chip.is-edit{
    background:color-mix(in srgb,var(--oos-primary,#2563eb) 7%,#ffffff)!important;
    border-color:color-mix(in srgb,var(--oos-primary,#2563eb) 28%,#ffffff)!important;
    color:var(--oos-primary,#2563eb)!important;
}
.oos-manager-actions .oos-action-chip.is-edit:hover,
.oos-manager-actions .oos-action-chip.is-edit:focus-visible{
    background:color-mix(in srgb,var(--oos-primary,#2563eb) 14%,#ffffff)!important;
    border-color:var(--oos-primary,#2563eb)!important;
    color:var(--oos-primary,#2563eb)!important;
}

/* Drill-down links and other explicit legacy-blue navigation accents. */
.oos-drilldown-order-link,
.oos-availability-summary-card a,
.oos-workload-drilldown a:not(.oos-button),
.oos-activity-report-panel a:not(.button):not(.oos-page-link){
    color:var(--oos-primary,#2563eb)!important;
}

/* Pagination active state remains theme-aware and outline pages harmonize. */
.oos-pagination .oos-page-link{
    border-color:color-mix(in srgb,var(--oos-primary,#2563eb) 25%,#dbe3ef)!important;
}
.oos-pagination .oos-page-link.active{
    background:var(--oos-primary,#2563eb)!important;
    border-color:var(--oos-primary,#2563eb)!important;
    color:#ffffff!important;
}

/* Keep semantic actions protected. */
.oos-manager-actions .oos-action-chip.is-toggle,
.oos-manager-actions .oos-action-chip.is-reset,
.oos-manager-actions .oos-action-chip.danger,
.oos-button.danger,
.oos-button.warning{
    filter:none!important;
}


/* v3.6.6.177 — Personal Admin Theme Reset */
.oos-admin-theme-reset-row{
    display:flex;
    align-items:center;
    gap:12px;
    margin:10px 0 18px;
    flex-wrap:wrap;
}
.oos-admin-theme-reset-row .oos-reset-admin-theme{
    background:#ffffff!important;
    border-color:var(--oos-admin-theme-button,#0f172a)!important;
    color:var(--oos-admin-theme-button,#0f172a)!important;
}
.oos-admin-theme-reset-row .oos-reset-admin-theme:hover,
.oos-admin-theme-reset-row .oos-reset-admin-theme:focus-visible{
    background:var(--oos-admin-theme-button,#0f172a)!important;
    border-color:var(--oos-admin-theme-button,#0f172a)!important;
    color:#ffffff!important;
}
.oos-admin-theme-reset-row small{
    color:#64748b;
    font-size:11px;
}


/* ============================================================
   v3.6.6.178 — Admin Theme Polish
   Reset button clarity + Messages inline theme accents.
   ============================================================ */

/* Make Reset to Default Theme visibly read as a real button. */
.oos-admin-theme-reset-row .oos-reset-admin-theme{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:38px!important;
    padding:0 16px!important;
    border:1px solid var(--oos-admin-theme-button,#0f172a)!important;
    border-radius:9px!important;
    background:#ffffff!important;
    color:var(--oos-admin-theme-button,#0f172a)!important;
    font-weight:700!important;
    line-height:1!important;
    text-decoration:none!important;
    box-shadow:none!important;
    cursor:pointer!important;
}
.oos-admin-theme-reset-row .oos-reset-admin-theme:hover,
.oos-admin-theme-reset-row .oos-reset-admin-theme:focus-visible{
    background:var(--oos-admin-theme-button,#0f172a)!important;
    border-color:var(--oos-admin-theme-button,#0f172a)!important;
    color:#ffffff!important;
    text-decoration:none!important;
}
.oos-admin-theme-reset-row .oos-reset-admin-theme:focus-visible{
    outline:2px solid var(--oos-admin-theme-focus,var(--oos-admin-theme-button,#0f172a))!important;
    outline-offset:2px!important;
}

/* Messages inline actions should follow personal Admin Theme accent. */
.oos-message-thread a:not(.oos-button),
.oos-message-card a:not(.oos-button),
.oos-thread-meta a,
.oos-thread-stats a,
.oos-inline-reply-link,
.oos-message-unread-link,
.oos-message-action-link,
.oos-message-card .oos-link,
.oos-thread-row .oos-link{
    color:var(--oos-primary,#2563eb)!important;
}

.oos-message-thread a:not(.oos-button):hover,
.oos-message-card a:not(.oos-button):hover,
.oos-thread-meta a:hover,
.oos-thread-stats a:hover,
.oos-inline-reply-link:hover,
.oos-message-unread-link:hover,
.oos-message-action-link:hover,
.oos-message-card .oos-link:hover,
.oos-thread-row .oos-link:hover{
    color:var(--oos-admin-theme-button,var(--oos-primary,#2563eb))!important;
    text-decoration:underline!important;
}

/* Keep system/status text semantic and untouched. */
.oos-message-status,
.oos-status,
.oos-badge,
.oos-unread-count-badge{
    filter:none!important;
}


/* ============================================================
   v3.6.6.179 — Messages Theme & Readability Polish
   ============================================================ */

/* Remaining inline message actions inherit the current Admin Theme accent. */
.oos-message-card a[href*="reply"],
.oos-message-card a[href*="conversation"],
.oos-message-card .oos-inline-reply-link,
.oos-message-card .oos-message-unread-link,
.oos-message-card .oos-message-action-link,
.oos-message-thread .oos-inline-reply-link,
.oos-message-thread .oos-message-unread-link,
.oos-message-thread .oos-message-action-link,
.oos-message-thread a:not(.oos-button),
.oos-message-card a:not(.oos-button){
    color:var(--oos-primary,#2563eb)!important;
}

.oos-message-card a[href*="reply"]:hover,
.oos-message-card a[href*="conversation"]:hover,
.oos-message-card .oos-inline-reply-link:hover,
.oos-message-card .oos-message-unread-link:hover,
.oos-message-card .oos-message-action-link:hover,
.oos-message-thread .oos-inline-reply-link:hover,
.oos-message-thread .oos-message-unread-link:hover,
.oos-message-thread .oos-message-action-link:hover,
.oos-message-thread a:not(.oos-button):hover,
.oos-message-card a:not(.oos-button):hover{
    color:var(--oos-admin-theme-button,var(--oos-primary,#2563eb))!important;
    text-decoration:underline!important;
}

/* Announcement badge: still compact, but clearly readable. */
.oos-message-card .oos-announcement-badge,
.oos-message-thread .oos-announcement-badge,
.oos-announcement-badge,
.oos-message-type-announcement,
.oos-message-card .announcement-badge,
.oos-message-thread .announcement-badge{
    display:inline-flex!important;
    align-items:center!important;
    min-height:22px!important;
    padding:3px 9px!important;
    border-radius:999px!important;
    font-size:12px!important;
    line-height:1.15!important;
    font-weight:700!important;
    letter-spacing:.01em!important;
    vertical-align:middle!important;
}

/* Theme the Announcement label without affecting normal message copy. */
.oos-message-card .oos-announcement-badge,
.oos-message-thread .oos-announcement-badge,
.oos-announcement-badge,
.oos-message-type-announcement,
.oos-message-card .announcement-badge,
.oos-message-thread .announcement-badge{
    background:color-mix(in srgb,var(--oos-primary,#2563eb) 10%,#ffffff)!important;
    border:1px solid color-mix(in srgb,var(--oos-primary,#2563eb) 24%,#ffffff)!important;
    color:var(--oos-primary,#2563eb)!important;
}

/* Keep message titles/content typography unchanged. */
.oos-message-card h3,
.oos-message-card h4,
.oos-message-thread h3,
.oos-message-thread h4{
    font-size:inherit;
}


/* ============================================================
   v3.6.6.180 — Messages Unread Accent Fix
   ============================================================ */

/* Unread count is a span, not a link, so theme it directly. */
.oos-thread-unread{
    color:var(--oos-primary,#2563eb)!important;
    font-weight:700!important;
}

/* Keep ordinary message-count text neutral. */
.oos-thread-count{
    color:inherit!important;
}


/* ============================================================
   v3.6.6.181 — Final Messages Reply Accent Fix
   ============================================================ */

/* Reply is the active conversational action: theme it directly. */
.oos-inline-reply-link,
.oos-message-reply-link,
a[data-oos-reply],
a[href*="reply"]{
    color:var(--oos-primary,#2563eb)!important;
    font-weight:600!important;
    text-decoration:none!important;
}

.oos-inline-reply-link:hover,
.oos-inline-reply-link:focus-visible,
.oos-message-reply-link:hover,
.oos-message-reply-link:focus-visible,
a[data-oos-reply]:hover,
a[data-oos-reply]:focus-visible,
a[href*="reply"]:hover,
a[href*="reply"]:focus-visible{
    color:var(--oos-admin-theme-button,var(--oos-primary,#2563eb))!important;
    text-decoration:underline!important;
}

/* Keep View Conversation neutral so Reply remains the emphasized action. */
.oos-message-card a[href*="conversation"],
.oos-message-thread a[href*="conversation"],
.oos-view-conversation-link{
    color:#0f172a!important;
    font-weight:600!important;
}
.oos-message-card a[href*="conversation"]:hover,
.oos-message-thread a[href*="conversation"]:hover,
.oos-view-conversation-link:hover{
    color:#0f172a!important;
    text-decoration:underline!important;
}


/* ============================================================
   v3.6.6.182 — Final Specificity Fix for Messages Reply
   ============================================================ */

/* Override the older hard-coded blue !important rule exactly. */
.oos-thread-stats .oos-inline-reply-link,
.oos-message-card .oos-thread-stats .oos-inline-reply-link,
.oos-message-thread .oos-thread-stats .oos-inline-reply-link{
    color:var(--oos-primary,#2563eb)!important;
    -webkit-text-fill-color:var(--oos-primary,#2563eb)!important;
    font-weight:600!important;
    text-decoration:none!important;
}

.oos-thread-stats .oos-inline-reply-link:hover,
.oos-thread-stats .oos-inline-reply-link:focus-visible,
.oos-message-card .oos-thread-stats .oos-inline-reply-link:hover,
.oos-message-card .oos-thread-stats .oos-inline-reply-link:focus-visible,
.oos-message-thread .oos-thread-stats .oos-inline-reply-link:hover,
.oos-message-thread .oos-thread-stats .oos-inline-reply-link:focus-visible{
    color:var(--oos-admin-theme-button,var(--oos-primary,#2563eb))!important;
    -webkit-text-fill-color:var(--oos-admin-theme-button,var(--oos-primary,#2563eb))!important;
    text-decoration:underline!important;
}

/* Keep conversation open/close controls deliberately neutral. */
.oos-thread-stats a:not(.oos-inline-reply-link){
    color:#0f172a!important;
    -webkit-text-fill-color:#0f172a!important;
}


/* ============================================================
   v3.6.6.183 — Natural Conversation Expansion
   One workspace scrollbar only.
   ============================================================ */

.oos-thread-body .oos-message-thread{
    max-height:none!important;
    height:auto!important;
    overflow:visible!important;
    min-height:0!important;
}

.oos-thread-body,
.oos-message-card.is-open .oos-thread-body,
.oos-message-card.is-open .oos-message-thread{
    max-height:none!important;
    overflow:visible!important;
}

.oos-message-card.is-open{
    overflow:visible!important;
}


/* ============================================================
   v3.6.6.184 — Conversation Canvas & Reading Width Polish
   ============================================================ */

/* Make the expanded conversation canvas quieter so the message cards
   remain the visual focus. */
.oos-thread-body{
    background:#fcfcfd!important;
}

.oos-thread-body .oos-message-thread{
    background:transparent!important;
    border-color:#e7eaf0!important;
    box-shadow:none!important;
}

/* Use more of the available conversation width without making
   message cards feel edge-to-edge. */
.oos-thread-body .oos-chat-bubble{
    max-width:74%!important;
}

/* Preserve left/right conversational alignment. */
.oos-thread-body .oos-chat-row.is-theirs .oos-chat-bubble{
    margin-right:auto!important;
}

.oos-thread-body .oos-chat-row.is-mine .oos-chat-bubble{
    margin-left:auto!important;
}

/* Responsive reading width. */
@media(max-width:900px){
    .oos-thread-body .oos-chat-bubble{
        max-width:84%!important;
    }
}

@media(max-width:600px){
    .oos-thread-body .oos-chat-bubble{
        max-width:94%!important;
    }
}


/* ============================================================
   v3.6.6.185 — Customer Theme Library + final Messages width
   ============================================================ */

.oos-thread-body .oos-chat-bubble{
    max-width:70%!important;
}

.oos-customer-theme-reset-row{
    display:flex;
    align-items:center;
    gap:12px;
    margin:10px 0 18px;
    flex-wrap:wrap;
}
.oos-customer-theme-reset-row .oos-reset-customer-theme{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:38px!important;
    padding:0 16px!important;
    border:1px solid var(--oos-admin-theme-button,#0f172a)!important;
    border-radius:9px!important;
    background:#ffffff!important;
    color:var(--oos-admin-theme-button,#0f172a)!important;
    font-weight:700!important;
    cursor:pointer!important;
}
.oos-customer-theme-reset-row .oos-reset-customer-theme:hover,
.oos-customer-theme-reset-row .oos-reset-customer-theme:focus-visible{
    background:var(--oos-admin-theme-button,#0f172a)!important;
    color:#ffffff!important;
}
.oos-customer-theme-reset-row small{
    color:#64748b;
    font-size:11px;
}
.oos-customer-custom-theme-fields{
    margin:0 0 20px;
    padding:16px;
    border:1px solid #dce3ea;
    border-radius:12px;
    background:#fafbfc;
}
.oos-customer-custom-theme-fields[hidden]{
    display:none!important;
}

/* Settings Center — v3.6.6.193 */
.oos-settings-center{max-width:1180px;margin:0 auto;padding:0;overflow:visible}
.oos-settings-center-head{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:22px 24px 18px;border-bottom:1px solid var(--oos-line);background:linear-gradient(135deg,#fff 0%,#fbfcfe 100%);border-radius:var(--oos-radius) var(--oos-radius) 0 0}
.oos-settings-center-head h2{margin:4px 0 5px;font-size:24px;line-height:1.15}
.oos-settings-center-head p{margin:0;color:var(--oos-muted);font-size:12px;line-height:1.55;max-width:670px}
.oos-settings-center-badge{display:flex;align-items:center;gap:10px;min-width:235px;padding:11px 13px;border:1px solid var(--oos-line);border-radius:11px;background:#fff;box-shadow:0 5px 16px rgba(15,23,42,.04)}
.oos-settings-center-badge>.dashicons{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;background:color-mix(in srgb,var(--oos-primary) 10%,#fff);color:var(--oos-primary)}
.oos-settings-center-badge strong,.oos-settings-center-badge small{display:block}
.oos-settings-center-badge strong{font-size:12px;color:var(--oos-text)}
.oos-settings-center-badge small{margin-top:2px;font-size:10px;color:var(--oos-muted);font-weight:400;line-height:1.35}
.oos-settings-center-form{gap:0!important}
.oos-settings-tabs{display:flex;align-items:stretch;gap:2px;padding:12px 16px 0;background:#f8fafc;border-bottom:1px solid var(--oos-line);overflow-x:auto;scrollbar-width:thin}
.oos-settings-tabs a{appearance:none;border:0;border-bottom:3px solid transparent;background:transparent;color:#536174;display:flex;align-items:center;gap:7px;padding:11px 13px 10px;white-space:nowrap;font:inherit;font-size:12px;font-weight:750;cursor:pointer;border-radius:9px 9px 0 0;transition:.16s ease}
.oos-settings-tabs a>.dashicons{width:17px;height:17px;font-size:17px}
.oos-settings-tabs a:hover{background:#eef2f7;color:var(--oos-text)}
.oos-settings-tabs a.is-active{background:var(--oos-primary);color:#fff;border-bottom-color:var(--oos-primary);box-shadow:0 5px 15px rgba(15,23,42,.08)}
.oos-settings-panels{padding:20px 24px 4px;background:#fff}
.oos-settings-tab-panel{display:grid;gap:14px;animation:oosSettingsIn .14s ease-out}
.oos-settings-tab-panel[hidden]{display:none!important}
@keyframes oosSettingsIn{from{opacity:.45;transform:translateY(3px)}to{opacity:1;transform:none}}
.oos-settings-tab-intro{display:flex;align-items:flex-start;gap:13px;padding:15px 16px;border:1px solid var(--oos-line);border-radius:12px;background:#f8fafc;margin-bottom:2px}
.oos-settings-tab-intro>.dashicons{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;background:color-mix(in srgb,var(--oos-primary) 11%,#fff);color:var(--oos-primary);font-size:19px}
.oos-settings-tab-intro h3{margin:0 0 4px!important;font-size:18px!important;color:var(--oos-text)}
.oos-settings-tab-intro p{margin:0;color:var(--oos-muted);font-size:12px;line-height:1.5}
.oos-settings-tab-panel>.oos-settings-divider:first-of-type{margin-top:4px}
.oos-settings-tab-panel .oos-settings-divider{margin:18px 0 4px;padding-top:16px}
.oos-settings-tab-panel .oos-settings-divider h3{font-size:17px}
.oos-settings-subsection{margin:8px 0 0;padding:14px 15px 11px;border-left:3px solid var(--oos-primary);background:#f8fafc;border-radius:0 9px 9px 0}
.oos-settings-subsection h4{margin:0 0 4px!important;font-size:14px!important;color:var(--oos-text);text-transform:none!important;letter-spacing:0!important}
.oos-settings-subsection p{margin:0;color:var(--oos-muted);font-size:11px;line-height:1.5}
.oos-settings-center .oos-form-row{gap:14px}
.oos-settings-center .oos-form label{font-size:12px}
.oos-settings-center .oos-form input,.oos-settings-center .oos-form select,.oos-settings-center .oos-form textarea{padding:10px 11px;border-radius:9px;background:#fff}
.oos-settings-center .oos-form textarea{line-height:1.5;resize:vertical}
.oos-settings-savebar{position:sticky;bottom:12px;z-index:24;display:flex;align-items:center;justify-content:space-between;gap:18px;margin:18px 18px 18px;padding:12px 13px 12px 15px;border:1px solid var(--oos-line);border-radius:13px;background:rgba(255,255,255,.97);box-shadow:0 14px 38px rgba(15,23,42,.16);backdrop-filter:blur(8px)}
.oos-settings-save-state{display:flex;align-items:center;gap:10px;min-width:0}
.oos-settings-save-state>.dashicons{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#eaf8ef;color:#16844a;font-size:18px;flex:0 0 auto}
.oos-settings-save-state strong,.oos-settings-save-state small{display:block}
.oos-settings-save-state strong{font-size:12px;color:var(--oos-text)}
.oos-settings-save-state small{margin-top:2px;color:var(--oos-muted);font-size:10px;font-weight:400}
.oos-settings-save-state.is-unsaved>.dashicons{background:#fff4df;color:#b86a00}
.oos-settings-save-state.is-unsaved strong{color:#8a5200}
.oos-settings-save-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.oos-settings-save-actions .oos-button{min-width:126px;padding:10px 16px}
.oos-settings-save-actions .oos-button.secondary{border:1px solid var(--oos-line);background:#fff;color:var(--oos-text)!important}
.oos-settings-save-actions .oos-button:disabled{opacity:.45;cursor:not-allowed}
.oos-settings-center .oos-settings-callout{margin:14px 24px 20px}
.oos-settings-center .oos-admin-theme-reset-row,.oos-settings-center .oos-customer-theme-reset-row{margin-top:4px}
.oos-settings-center .oos-theme-color-grid{padding:14px;border:1px solid var(--oos-line);border-radius:11px;background:#fbfcfe}
@media(max-width:900px){.oos-settings-center-head{align-items:flex-start;flex-direction:column}.oos-settings-center-badge{width:100%}.oos-settings-panels{padding:16px}.oos-settings-savebar{bottom:8px;margin:14px 10px;align-items:stretch}.oos-settings-save-state{flex:1}.oos-settings-save-actions{flex-direction:column}.oos-settings-save-actions .oos-button{width:150px}}
@media(max-width:640px){.oos-settings-center-head{padding:18px 16px}.oos-settings-tabs{padding-left:8px;padding-right:8px}.oos-settings-tabs a{padding:10px 11px}.oos-settings-panels{padding:12px}.oos-settings-savebar{position:static;flex-direction:column}.oos-settings-save-actions{width:100%;flex-direction:row}.oos-settings-save-actions .oos-button{flex:1;width:auto;min-width:0}.oos-settings-tab-intro{padding:13px}.oos-settings-center .oos-form-row{grid-template-columns:1fr}}


/* Settings Center visual polish — v3.6.6.194 */
.oos-settings-center{
    border:1px solid var(--oos-line);
    border-radius:16px;
    background:#fff;
    box-shadow:0 12px 32px rgba(15,23,42,.055);
}
.oos-settings-center-head{
    padding:25px 26px 22px;
    background:linear-gradient(135deg,#fff 0%,color-mix(in srgb,var(--oos-primary) 4%,#fff) 100%);
    border-radius:15px 15px 0 0;
}
.oos-settings-center-head .oos-eyebrow{
    color:var(--oos-primary);
    letter-spacing:.12em;
}
.oos-settings-center-head h2{
    margin-top:5px;
    font-size:25px;
    letter-spacing:-.02em;
}
.oos-settings-center-head p{
    font-size:12.5px;
    line-height:1.65;
}
.oos-settings-center-badge{
    min-width:248px;
    padding:12px 14px;
    border-color:color-mix(in srgb,var(--oos-primary) 18%,var(--oos-line));
    box-shadow:0 8px 22px rgba(15,23,42,.055);
}
.oos-settings-center-badge>.dashicons{
    width:38px;height:38px;
    border-radius:11px;
    background:color-mix(in srgb,var(--oos-primary) 13%,#fff);
}
.oos-settings-center-badge strong{font-size:12.5px}
.oos-settings-tabs{
    gap:4px;
    padding:13px 16px 0;
    background:linear-gradient(180deg,#fafbfd 0%,#f6f8fb 100%);
    border-bottom-color:color-mix(in srgb,var(--oos-primary) 14%,var(--oos-line));
}
.oos-settings-tabs a{
    min-height:45px;
    gap:8px;
    padding:11px 14px 10px;
    border:1px solid transparent;
    border-bottom-width:3px;
    color:#5a6677;
    border-radius:10px 10px 0 0;
    font-size:12px;
    font-weight:700;
}
.oos-settings-tabs a>.dashicons{
    width:22px;height:22px;
    display:grid;place-items:center;
    border-radius:7px;
    font-size:15px;
    background:#eef2f6;
    color:#657286;
    transition:.16s ease;
}
.oos-settings-tabs a:hover{
    background:#fff;
    border-color:var(--oos-line);
    border-bottom-color:transparent;
    color:var(--oos-text);
}
.oos-settings-tabs a:hover>.dashicons{
    background:color-mix(in srgb,var(--oos-primary) 8%,#fff);
    color:var(--oos-primary);
}
.oos-settings-tabs a.is-active{
    background:var(--oos-primary);
    color:#fff;
    border-color:var(--oos-primary);
    box-shadow:0 7px 18px color-mix(in srgb,var(--oos-primary) 20%,transparent);
}
.oos-settings-tabs a.is-active>.dashicons{
    background:rgba(255,255,255,.16);
    color:#fff;
}
.oos-settings-panels{
    padding:22px 24px 8px;
}
.oos-settings-tab-panel{gap:16px}
.oos-settings-tab-intro{
    align-items:center;
    gap:14px;
    padding:16px 18px;
    margin-bottom:5px;
    border-color:color-mix(in srgb,var(--oos-primary) 14%,var(--oos-line));
    border-radius:13px;
    background:linear-gradient(135deg,color-mix(in srgb,var(--oos-primary) 5%,#fff),#fbfcfe);
}
.oos-settings-tab-intro>.dashicons{
    width:40px;height:40px;
    border-radius:11px;
    background:color-mix(in srgb,var(--oos-primary) 13%,#fff);
}
.oos-settings-tab-intro h3{
    font-size:19px!important;
    letter-spacing:-.015em;
}
.oos-settings-tab-intro p{font-size:12.5px;line-height:1.55}
.oos-settings-tab-panel .oos-settings-divider{
    margin:20px 0 5px;
    padding-top:18px;
    border-top-color:color-mix(in srgb,var(--oos-primary) 10%,var(--oos-line));
}
.oos-settings-tab-panel .oos-settings-divider h3{
    margin-bottom:4px!important;
    font-size:18px;
    letter-spacing:-.01em;
}
.oos-settings-tab-panel .oos-settings-divider p{
    line-height:1.55;
}
.oos-settings-subsection{
    margin-top:10px;
    padding:15px 16px 12px;
    border-left-width:4px;
    border-radius:0 11px 11px 0;
    background:linear-gradient(90deg,color-mix(in srgb,var(--oos-primary) 5%,#fff),#fafbfd 70%);
}
.oos-settings-subsection h4{font-size:14.5px!important}
.oos-settings-center .oos-form-row{gap:16px}
.oos-settings-center .oos-form label{
    font-size:12px;
    font-weight:700;
    color:var(--oos-text);
}
.oos-settings-center .oos-form label small{
    margin-top:6px;
    color:var(--oos-muted);
    font-weight:400;
    line-height:1.45;
}
.oos-settings-center .oos-form input,
.oos-settings-center .oos-form select,
.oos-settings-center .oos-form textarea{
    min-height:41px;
    margin-top:7px;
    padding:10px 12px;
    border-color:color-mix(in srgb,var(--oos-primary) 12%,var(--oos-line));
    border-radius:10px;
    transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.oos-settings-center .oos-form input:focus,
.oos-settings-center .oos-form select:focus,
.oos-settings-center .oos-form textarea:focus{
    outline:none;
    border-color:var(--oos-primary);
    box-shadow:0 0 0 3px color-mix(in srgb,var(--oos-primary) 12%,transparent);
}
.oos-settings-center .oos-admin-theme-reset-row,
.oos-settings-center .oos-customer-theme-reset-row{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
    margin-top:7px;
    padding:12px 13px;
    border:1px dashed color-mix(in srgb,var(--oos-primary) 18%,var(--oos-line));
    border-radius:11px;
    background:#fbfcfe;
}
.oos-settings-center .oos-admin-theme-reset-row small,
.oos-settings-center .oos-customer-theme-reset-row small{
    color:var(--oos-muted);
}
.oos-settings-center .oos-theme-color-grid{
    padding:16px;
    border-radius:12px;
    background:linear-gradient(180deg,#fbfcfe,#f8fafc);
}
.oos-settings-savebar{
    bottom:14px;
    margin:22px 18px 18px;
    padding:13px 14px 13px 16px;
    border-color:color-mix(in srgb,var(--oos-primary) 18%,var(--oos-line));
    border-radius:14px;
    background:rgba(255,255,255,.985);
    box-shadow:0 16px 42px rgba(15,23,42,.17),0 0 0 1px rgba(255,255,255,.8) inset;
}
.oos-settings-save-state>.dashicons{
    width:36px;height:36px;
    font-size:19px;
}
.oos-settings-save-state strong{font-size:12.5px}
.oos-settings-save-state small{font-size:10.5px;line-height:1.4}
.oos-settings-save-actions{gap:10px}
.oos-settings-save-actions .oos-button{
    min-width:136px;
    min-height:40px;
    padding:10px 18px;
    border-radius:9px;
    font-weight:800;
}
.oos-settings-save-actions .oos-button:not(.secondary){
    box-shadow:0 7px 17px color-mix(in srgb,var(--oos-primary) 20%,transparent);
}
.oos-settings-save-actions .oos-button.secondary:not(:disabled):hover{
    border-color:var(--oos-primary);
    color:var(--oos-primary)!important;
}
.oos-settings-center.is-dirty .oos-settings-savebar{
    border-color:color-mix(in srgb,#d48a00 36%,var(--oos-line));
}
.oos-settings-center .oos-settings-callout{
    border-radius:12px;
}
@media(max-width:1100px){
    .oos-settings-tabs a{padding-left:11px;padding-right:11px}
}
@media(max-width:900px){
    .oos-settings-center{border-radius:13px}
    .oos-settings-center-head{padding:21px 19px}
    .oos-settings-tabs{padding-left:10px;padding-right:10px}
    .oos-settings-panels{padding:18px}
    .oos-settings-savebar{margin:18px 12px 14px}
}
@media(max-width:640px){
    .oos-settings-center-head h2{font-size:22px}
    .oos-settings-tabs{gap:3px}
    .oos-settings-tabs a{min-height:42px;padding:9px 10px}
    .oos-settings-tabs a>.dashicons{width:20px;height:20px}
    .oos-settings-tab-intro{align-items:flex-start}
    .oos-settings-savebar{margin:16px 10px}
}


/* Settings Center interaction refinement — v3.6.6.195 */
.oos-settings-tabs{position:relative;z-index:5;overflow-x:auto;overflow-y:hidden}
.oos-settings-tabs a{position:relative;z-index:6;pointer-events:auto!important;user-select:none}
.oos-settings-tabs a:focus-visible{outline:2px solid var(--oos-primary);outline-offset:-2px}
.oos-settings-savebar{position:static!important;bottom:auto!important;margin:24px 18px 18px;box-shadow:0 10px 28px rgba(15,23,42,.10)}
@media(max-width:900px){.oos-settings-savebar{position:static!important;bottom:auto!important}}


/* Settings Center UX refinement — v3.6.6.196 */
.oos-settings-subsection{
    margin:22px 0 14px;
    padding:16px 18px;
    border:1px solid color-mix(in srgb,var(--oos-primary) 18%,#dbe4ee);
    border-left:4px solid var(--oos-primary);
    border-radius:12px;
    background:linear-gradient(135deg,color-mix(in srgb,var(--oos-primary) 5%,#fff),#fff 72%);
    box-shadow:0 5px 16px rgba(15,23,42,.045);
}
.oos-settings-subsection h4{margin:0 0 5px!important;font-size:15px!important;font-weight:800!important;color:var(--oos-text)!important}
.oos-settings-subsection p{margin:0!important;font-size:12px!important;line-height:1.55!important;color:var(--oos-muted)!important}
.oos-settings-appearance-gateway{
    display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:14px;align-items:center;
    margin:26px 0 4px;padding:16px 18px;border:1px solid color-mix(in srgb,var(--oos-primary) 18%,#dbe4ee);
    border-radius:13px;background:color-mix(in srgb,var(--oos-primary) 4%,#fff);
}
.oos-settings-appearance-gateway>.dashicons{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:color-mix(in srgb,var(--oos-primary) 10%,#fff);color:var(--oos-primary)}
.oos-settings-appearance-gateway strong{display:block;font-size:14px;color:var(--oos-text)}
.oos-settings-appearance-gateway p{margin:4px 0 0;font-size:11px;line-height:1.5;color:var(--oos-muted)}
.oos-settings-center-form.is-dirty .oos-settings-savebar{border-color:color-mix(in srgb,var(--oos-primary) 45%,#dbe4ee);box-shadow:0 12px 32px rgba(15,23,42,.12)}
.oos-settings-center-form.is-dirty [data-oos-settings-save]{background:var(--oos-button,var(--oos-primary));border-color:var(--oos-button,var(--oos-primary));color:#fff;opacity:1}
.oos-settings-save-state.is-unsaved .dashicons{color:#b45309;background:#fff7ed}
@media(max-width:760px){.oos-settings-appearance-gateway{grid-template-columns:40px 1fr}.oos-settings-appearance-gateway .oos-button{grid-column:1/-1;width:100%;justify-content:center}}


/* Settings Center native navigation hardening — v3.6.6.197 */
.oos-settings-tabs a{text-decoration:none!important;box-sizing:border-box}
.oos-settings-tabs a:visited{color:#536174}
.oos-settings-tabs a.is-active,.oos-settings-tabs a.is-active:visited{color:#fff}

/* Settings Center tab-width refinement — v3.6.6.198
 * Keep all seven Settings tabs visible on normal desktop widths without
 * introducing a horizontal scrollbar. Native URL navigation remains intact.
 */
.oos-settings-tabs{
    overflow-x:visible!important;
    overflow-y:visible!important;
    scrollbar-width:none;
    gap:2px;
    padding-left:8px;
    padding-right:8px;
}
.oos-settings-tabs::-webkit-scrollbar{display:none}
.oos-settings-tabs a{
    flex:1 1 0;
    min-width:0;
    justify-content:center;
    padding-left:6px;
    padding-right:6px;
    font-size:11.5px;
}
.oos-settings-tabs a>.dashicons{
    flex:0 0 20px;
    width:20px;
    height:20px;
}
@media(max-width:1050px){
    .oos-settings-tabs{
        flex-wrap:wrap;
        align-items:stretch;
        padding-bottom:8px;
        overflow:visible!important;
    }
    .oos-settings-tabs a{
        flex:1 1 calc(33.333% - 4px);
        min-width:180px;
        border-radius:9px;
        border-bottom-width:1px;
    }
}
@media(max-width:640px){
    .oos-settings-tabs a{
        flex:1 1 100%;
        min-width:0;
        justify-content:flex-start;
    }
}

/* Settings Center equal-tab refinement — v3.6.6.199
 * Desktop Settings navigation now uses a true seven-column grid so every
 * tab has the same footprint, icon/label spacing and active-state height.
 * The row remains scrollbar-free; narrower screens wrap into clean grids.
 */
.oos-settings-tabs{
    display:grid!important;
    grid-template-columns:repeat(7,minmax(0,1fr));
    align-items:stretch;
    gap:4px;
    padding:12px 10px 0;
    overflow:visible!important;
    scrollbar-width:none;
}
.oos-settings-tabs::-webkit-scrollbar{display:none}
.oos-settings-tabs a{
    width:100%;
    min-width:0!important;
    min-height:46px;
    height:46px;
    justify-content:center;
    align-items:center;
    gap:6px;
    padding:10px 5px 9px;
    border-radius:9px 9px 0 0;
    font-size:11px;
    line-height:1.15;
    text-align:center;
    box-sizing:border-box;
}
.oos-settings-tabs a>.dashicons{
    flex:0 0 20px;
    width:20px;
    height:20px;
    display:grid;
    place-items:center;
    margin:0;
}
.oos-settings-tabs a.is-active{
    min-height:46px;
    height:46px;
}
@media(max-width:1050px){
    .oos-settings-tabs{
        grid-template-columns:repeat(3,minmax(0,1fr));
        padding:10px;
        gap:6px;
    }
    .oos-settings-tabs a,
    .oos-settings-tabs a.is-active{
        min-width:0!important;
        height:44px;
        min-height:44px;
        border-radius:9px;
        border-bottom-width:1px;
        justify-content:flex-start;
        padding:9px 11px;
        text-align:left;
    }
}
@media(max-width:640px){
    .oos-settings-tabs{grid-template-columns:1fr}
}


/* Settings Center responsive tab-grid refinement — v3.6.6.200
 * Preserve the seven equal desktop tabs, then step down deliberately:
 * 3 columns on compact desktop/tablet, 2 columns on small screens,
 * and 1 column only on genuinely narrow phones. This avoids an overly
 * tall navigation stack and keeps active/inactive cards identical in size.
 */
@media(max-width:700px){
    .oos-settings-tabs{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:6px;
        padding:9px;
    }
    .oos-settings-tabs a,
    .oos-settings-tabs a.is-active{
        width:100%;
        min-width:0!important;
        height:44px;
        min-height:44px;
        justify-content:flex-start;
        align-items:center;
        padding:9px 10px;
        border-radius:9px;
        border-bottom-width:1px;
        text-align:left;
        white-space:normal;
    }
    .oos-settings-tabs a>span:last-child{
        min-width:0;
        line-height:1.2;
    }
}
@media(max-width:420px){
    .oos-settings-tabs{
        grid-template-columns:1fr;
    }
    .oos-settings-tabs a,
    .oos-settings-tabs a.is-active{
        height:42px;
        min-height:42px;
    }
}

/* Settings Center natural wrapping + stronger tab typography — v3.6.6.201
 * Match the clearer System Settings badge typography and allow the tab cards
 * to wrap naturally instead of being compressed into seven rigid columns.
 * No horizontal scrollbar is used at any supported width.
 */
.oos-settings-tabs{
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:stretch!important;
    gap:7px!important;
    padding:12px 12px 10px!important;
    overflow:visible!important;
    overflow-x:visible!important;
    overflow-y:visible!important;
    scrollbar-width:none!important;
}
.oos-settings-tabs::-webkit-scrollbar{display:none!important}
.oos-settings-tabs a,
.oos-settings-tabs a.is-active{
    flex:1 1 auto!important;
    width:auto!important;
    min-width:132px!important;
    min-height:46px!important;
    height:auto!important;
    padding:11px 13px!important;
    justify-content:center!important;
    align-items:center!important;
    gap:8px!important;
    border-radius:10px!important;
    border-bottom-width:1px!important;
    white-space:normal!important;
    text-align:center!important;
    font-size:12.5px!important;
    font-weight:700!important;
    line-height:1.25!important;
    letter-spacing:0!important;
}
.oos-settings-tabs a>span:last-child{
    min-width:0;
    line-height:1.25!important;
}
.oos-settings-tabs a>.dashicons{
    flex:0 0 21px!important;
    width:21px!important;
    height:21px!important;
    font-size:17px!important;
}
@media(max-width:760px){
    .oos-settings-tabs a,
    .oos-settings-tabs a.is-active{
        flex:1 1 calc(50% - 7px)!important;
        min-width:0!important;
        justify-content:flex-start!important;
        text-align:left!important;
    }
}
@media(max-width:460px){
    .oos-settings-tabs a,
    .oos-settings-tabs a.is-active{
        flex-basis:100%!important;
    }
}


/* Settings Center tab boundary refinement — v3.6.6.204
 * Add clearer blue tab demarcation so every tab reads like its own card.
 * Inactive tabs keep a soft blue outline; active tabs get a stronger blue
 * glow and more visible edge definition.
 */
.oos-settings-tabs a,
.oos-settings-tabs a:visited{
    border:1px solid color-mix(in srgb,var(--oos-primary) 28%,#cfd9e6)!important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)!important;
    box-shadow:
        0 0 0 1px color-mix(in srgb,var(--oos-primary) 10%,transparent) inset,
        0 6px 18px color-mix(in srgb,var(--oos-primary) 10%,transparent)!important;
    color:#31445f!important;
}
.oos-settings-tabs a>.dashicons{
    background:color-mix(in srgb,var(--oos-primary) 10%,#fff)!important;
    color:var(--oos-primary)!important;
}
.oos-settings-tabs a:hover,
.oos-settings-tabs a:focus-visible{
    border-color:color-mix(in srgb,var(--oos-primary) 44%,#b8c9e2)!important;
    background:linear-gradient(180deg,#ffffff 0%,#f1f7ff 100%)!important;
    box-shadow:
        0 0 0 1px color-mix(in srgb,var(--oos-primary) 14%,transparent) inset,
        0 10px 22px color-mix(in srgb,var(--oos-primary) 14%,transparent)!important;
}
.oos-settings-tabs a.is-active,
.oos-settings-tabs a.is-active:visited{
    border-color:color-mix(in srgb,var(--oos-primary) 84%,#7aa8ff)!important;
    background:linear-gradient(180deg,color-mix(in srgb,var(--oos-primary) 92%,#5a88ff),var(--oos-primary))!important;
    color:#fff!important;
    box-shadow:
        0 0 0 1px color-mix(in srgb,#ffffff 18%,transparent) inset,
        0 10px 24px color-mix(in srgb,var(--oos-primary) 28%,transparent),
        0 0 0 4px color-mix(in srgb,var(--oos-primary) 12%,transparent)!important;
}
.oos-settings-tabs a.is-active>.dashicons{
    background:rgba(255,255,255,.18)!important;
    color:#fff!important;
}

/* Settings Center theme inheritance refinement — v3.6.6.205
 * Settings navigation now inherits the current Administrator theme instead
 * of presenting a fixed blue visual language. The active tab follows the
 * same admin-tab colour used by the rest of the Administrator workspace;
 * inactive boundaries, icons, hover/focus and glow are derived from it.
 */
.oos-settings-tabs{
    --oos-settings-tab-theme:var(--oos-admin-tab-active,var(--oos-primary,#2563eb));
}
.oos-settings-tabs a,
.oos-settings-tabs a:visited{
    border-color:color-mix(in srgb,var(--oos-settings-tab-theme) 30%,#d6dee8)!important;
    background:linear-gradient(
        180deg,
        #fff 0%,
        color-mix(in srgb,var(--oos-settings-tab-theme) 4%,#fff) 100%
    )!important;
    box-shadow:
        0 0 0 1px color-mix(in srgb,var(--oos-settings-tab-theme) 8%,transparent) inset,
        0 6px 18px color-mix(in srgb,var(--oos-settings-tab-theme) 8%,transparent)!important;
    color:color-mix(in srgb,var(--oos-settings-tab-theme) 72%,#263548)!important;
}
.oos-settings-tabs a>.dashicons{
    background:color-mix(in srgb,var(--oos-settings-tab-theme) 10%,#fff)!important;
    color:var(--oos-settings-tab-theme)!important;
}
.oos-settings-tabs a:hover,
.oos-settings-tabs a:focus-visible{
    border-color:color-mix(in srgb,var(--oos-settings-tab-theme) 52%,#c1ccd9)!important;
    background:linear-gradient(
        180deg,
        #fff 0%,
        color-mix(in srgb,var(--oos-settings-tab-theme) 8%,#fff) 100%
    )!important;
    color:var(--oos-settings-tab-theme)!important;
    box-shadow:
        0 0 0 1px color-mix(in srgb,var(--oos-settings-tab-theme) 13%,transparent) inset,
        0 9px 22px color-mix(in srgb,var(--oos-settings-tab-theme) 14%,transparent)!important;
}
.oos-settings-tabs a:hover>.dashicons,
.oos-settings-tabs a:focus-visible>.dashicons{
    background:color-mix(in srgb,var(--oos-settings-tab-theme) 14%,#fff)!important;
    color:var(--oos-settings-tab-theme)!important;
}
.oos-settings-tabs a:focus-visible{
    outline:2px solid color-mix(in srgb,var(--oos-settings-tab-theme) 74%,#fff)!important;
    outline-offset:2px!important;
}
.oos-settings-tabs a.is-active,
.oos-settings-tabs a.is-active:visited{
    border-color:var(--oos-settings-tab-theme)!important;
    background:linear-gradient(
        180deg,
        color-mix(in srgb,var(--oos-settings-tab-theme) 92%,#fff),
        var(--oos-settings-tab-theme)
    )!important;
    color:#fff!important;
    box-shadow:
        0 0 0 1px rgba(255,255,255,.18) inset,
        0 10px 24px color-mix(in srgb,var(--oos-settings-tab-theme) 28%,transparent),
        0 0 0 4px color-mix(in srgb,var(--oos-settings-tab-theme) 12%,transparent)!important;
}
.oos-settings-tabs a.is-active>.dashicons{
    background:rgba(255,255,255,.18)!important;
    color:#fff!important;
}

/* v3.6.6.206 — Appearance Studio control-center refinement */
.oos-appearance-studio .oos-settings-tabs{
    margin-bottom:0;
}
.oos-appearance-studio .oos-appearance-panels{
    padding-top:22px;
}
.oos-appearance-studio .oos-appearance-tab-panel[hidden]{display:none!important}
.oos-appearance-studio .oos-appearance-section-clean{
    border:0;
    border-radius:0;
    padding:0;
    background:transparent;
}
.oos-appearance-studio .oos-appearance-section-clean>h3{
    margin:0 0 5px;
    font-size:20px;
    color:var(--oos-text);
}
.oos-appearance-studio .oos-field-help{
    margin:0 0 20px;
    color:var(--oos-muted);
}
.oos-appearance-studio .oos-card-preset-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
    margin:18px 0 0;
}
.oos-appearance-studio .oos-preset-card{
    position:relative;
    display:flex!important;
    align-items:flex-start;
    gap:12px;
    min-height:108px;
    padding:17px!important;
    border:1.5px solid color-mix(in srgb,var(--oos-admin-tab-active,var(--oos-primary)) 32%,#d7e0ea)!important;
    border-radius:13px;
    background:linear-gradient(180deg,#fff,color-mix(in srgb,var(--oos-admin-tab-active,var(--oos-primary)) 3%,#fff));
    cursor:pointer;
    box-shadow:0 6px 18px color-mix(in srgb,var(--oos-admin-tab-active,var(--oos-primary)) 7%,transparent);
    transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease,background .16s ease;
}
.oos-appearance-studio .oos-preset-card:hover{
    border-color:color-mix(in srgb,var(--oos-admin-tab-active,var(--oos-primary)) 62%,#cbd5e1)!important;
    box-shadow:0 10px 24px color-mix(in srgb,var(--oos-admin-tab-active,var(--oos-primary)) 12%,transparent);
    transform:translateY(-1px);
}
.oos-appearance-studio .oos-preset-card.is-selected{
    border-color:var(--oos-admin-tab-active,var(--oos-primary))!important;
    background:color-mix(in srgb,var(--oos-admin-tab-active,var(--oos-primary)) 8%,#fff);
    box-shadow:0 0 0 3px color-mix(in srgb,var(--oos-admin-tab-active,var(--oos-primary)) 12%,transparent),0 10px 24px color-mix(in srgb,var(--oos-admin-tab-active,var(--oos-primary)) 14%,transparent);
}
.oos-appearance-studio .oos-preset-card input{position:absolute;opacity:0;pointer-events:none}
.oos-appearance-studio .oos-preset-dot{
    position:relative;
    flex:0 0 18px;
    width:18px;
    height:18px;
    margin-top:1px;
    border:2px solid color-mix(in srgb,var(--oos-admin-tab-active,var(--oos-primary)) 48%,#bac6d3);
    border-radius:50%;
    background:#fff;
}
.oos-appearance-studio .oos-preset-card.is-selected .oos-preset-dot{border-color:var(--oos-admin-tab-active,var(--oos-primary))}
.oos-appearance-studio .oos-preset-card.is-selected .oos-preset-dot:after{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--oos-admin-tab-active,var(--oos-primary))}
.oos-appearance-studio .oos-preset-card strong{display:block;font-size:15px;color:var(--oos-text);margin-bottom:6px}
.oos-appearance-studio .oos-preset-card small{display:block;line-height:1.5;color:var(--oos-muted);font-weight:500}
.oos-appearance-studio .oos-custom-card-controls{opacity:1}
.oos-appearance-studio .oos-settings-savebar{margin-top:26px}
.oos-appearance-studio .oos-settings-center-form.is-dirty .oos-settings-savebar{border-color:color-mix(in srgb,var(--oos-admin-tab-active,var(--oos-primary)) 45%,#dbe4ee);box-shadow:0 12px 32px rgba(15,23,42,.12)}
.oos-appearance-studio .oos-settings-center-form.is-dirty [data-oos-appearance-save]{background:var(--oos-button,var(--oos-primary));border-color:var(--oos-button,var(--oos-primary));color:#fff;opacity:1}
@media(max-width:1050px){.oos-appearance-studio .oos-card-preset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.oos-appearance-studio .oos-card-preset-grid{grid-template-columns:1fr}}

/* v3.6.6.210 — read-only product identity visibility */
.oos-system-id{display:flex;align-items:center;gap:7px;margin-top:7px;flex-wrap:wrap}.oos-system-id>span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--oos-muted);font-weight:750}.oos-system-id>strong{font-size:12px;padding:4px 8px;border:1px solid var(--oos-line);border-radius:7px;background:#f8fafc;color:var(--oos-text)}.oos-system-id>small{font-size:10px;color:var(--oos-muted)}.oos-variant-sku{display:inline-block;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;font-weight:700;white-space:nowrap;padding:4px 7px;border:1px solid var(--oos-line);border-radius:6px;background:#f8fafc}.oos-variant-table{min-width:920px}


/* v3.6.6.212 — product workspace Back to Products uses preserved list return URL */
@media (min-width:901px){
  .oos-product-workspace-stack .oos-variant-table-wrap{overflow:visible;position:relative;}
  .oos-product-workspace-stack .oos-variant-table{min-width:0;}
  .oos-variant-more .oos-product-more-menu{z-index:120;}
}
@media (max-width:900px){
  .oos-product-workspace-stack .oos-variant-table-wrap{overflow-x:auto;overflow-y:visible;}
}
\n\n/* v3.6.6.216 — Product Coding guidance + Products header actions */
.oos-products-heading-actions{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:10px!important;
    flex-wrap:wrap!important;
}
.oos-products-heading-actions .oos-button{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:7px!important;
    min-height:38px!important;
    padding:9px 14px!important;
    border-radius:9px!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:800!important;
    text-decoration:none!important;
    cursor:pointer!important;
}
.oos-products-heading-actions .oos-button .dashicons{
    width:16px!important;
    height:16px!important;
    font-size:16px!important;
    line-height:16px!important;
}
.oos-products-heading-actions .oos-bin-button{
    background:#fff!important;
    color:#172033!important;
    border:1px solid #a9b8c8!important;
    box-shadow:0 1px 2px rgba(15,23,42,.05)!important;
}
.oos-products-heading-actions .oos-bin-button:hover,
.oos-products-heading-actions .oos-bin-button:focus-visible{
    background:#f6f8fb!important;
    border-color:#7f93a8!important;
}
.oos-products-heading-actions .oos-add-product-button{
    background:var(--oos-nav)!important;
    color:#fff!important;
    border:1px solid var(--oos-nav)!important;
    box-shadow:0 2px 5px rgba(15,23,42,.14)!important;
}
.oos-products-heading-actions .oos-add-product-button:hover,
.oos-products-heading-actions .oos-add-product-button:focus-visible{
    filter:brightness(1.12);
    color:#fff!important;
}
.oos-guidance-dialog-layer{
    background:rgba(15,23,42,.16)!important;
}
.oos-guidance-dialog{
    border-color:#d8e1ec!important;
    box-shadow:0 24px 70px rgba(15,23,42,.24)!important;
}
.oos-guidance-dialog .oos-guidance-dialog-icon{
    background:#eef4ff!important;
    color:var(--oos-primary)!important;
}
.oos-guidance-dialog h3{
    color:#172033!important;
}
.oos-guidance-dialog-actions{
    display:flex;
    justify-content:center;
    margin-top:18px;
}
.oos-guidance-dialog-actions .oos-button{
    min-width:190px;
    background:var(--oos-nav)!important;
    color:#fff!important;
    border-color:var(--oos-nav)!important;
}
@media(max-width:640px){
    .oos-products-heading-actions{width:100%;justify-content:flex-start!important}
    .oos-products-heading-actions .oos-button{flex:1}
}
\n\n/* v3.6.6.219 — Product Bin UX and identity history */
.oos-bin-count{display:inline!important;margin-left:7px!important;padding:0!important;border:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;font-size:12px!important;font-weight:800!important;line-height:inherit!important;vertical-align:baseline!important;white-space:nowrap!important}
.oos-bin-count.is-empty{color:#94a3b8!important}
.oos-bin-count.has-items{color:#dc2626!important}
.oos-bin-button:hover .oos-bin-count.is-empty,.oos-bin-button:focus-visible .oos-bin-count.is-empty{color:#64748b!important}
.oos-bin-button:hover .oos-bin-count.has-items,.oos-bin-button:focus-visible .oos-bin-count.has-items{color:#b91c1c!important}
.oos-category-tabs a{display:inline-flex;align-items:center}
.oos-category-tabs .oos-bin-count{position:static!important;top:auto!important;transform:none!important}
.oos-table .oos-product-actions .oos-permanent-delete-action{color:#b42318;border-color:#f4c7c3;background:#fff7f6;padding-left:10px;padding-right:10px}
.oos-table .oos-product-actions .oos-permanent-delete-action:hover{background:#fff0ee;border-color:#e9a9a3;color:#981b12}


/* v3.6.6.220 — Smart Restore Identity and family-together recovery */

/* 3.6.6.228 Variant Relationship Management Foundation */
.oos-variant-description-state{display:block;margin-top:4px;max-width:240px;color:#64748b;font-size:11px;line-height:1.35;font-weight:400;white-space:normal}
.oos-variant-relationship-section{margin-top:14px}
.oos-relationship-actions{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}
.oos-relationship-guidance{margin:14px 0;padding:14px 16px;border:1px solid #d7e0eb;border-radius:12px;background:#f8fafc}
.oos-relationship-guidance strong{display:block;margin-bottom:5px;color:#172033}
.oos-relationship-guidance p{margin:0;color:#5f6f82;line-height:1.55}
.oos-relationship-inline-form{display:grid;gap:12px;margin-top:12px}
.oos-relationship-inline-form label{display:grid;gap:7px;font-weight:600}
.oos-relationship-history-note{display:block;margin-top:12px;color:#64748b}
.oos-variant-page-form textarea[name="variant_short_description"]{min-height:72px}
.oos-variant-page-form textarea[name="variant_description"]{min-height:120px}
@media(max-width:760px){.oos-relationship-actions{display:grid}.oos-relationship-actions .oos-button{width:100%;justify-content:center}}

/* 3.6.6.229 — Variant workspace feedback and relationship navigation */
.oos-variant-relationship-section{scroll-margin-top:84px}
.oos-variant-table .oos-object-link{color:var(--oos-primary);text-decoration:none;font-weight:750}
.oos-variant-table .oos-object-link:hover{text-decoration:underline}


/* 3.6.6.230 — Product-to-variant relationship management */
.oos-product-relationship-panel .oos-product-to-variant-form{max-width:100%;}
.oos-product-relationship-panel .oos-relationship-preview{margin:12px 0 16px;padding:14px 16px;border:1px solid var(--oos-border,#d7e0ec);border-radius:12px;background:#f8fafc;}
.oos-product-relationship-panel .oos-relationship-preview strong{display:block;margin-bottom:5px;}
.oos-product-relationship-panel .oos-relationship-preview p{margin:0;color:#53647a;}


/* 3.6.6.231 — Product workspace relationship tab + compact action layout */
.oos-product-workspace-actions>.oos-button,.oos-product-header-actions .oos-button{white-space:nowrap}
.oos-product-workspace-actions{flex-wrap:nowrap}
.oos-object-tabs [data-oos-tab="convert-variant"]{white-space:nowrap}
[data-oos-tab-panel="convert-variant"]{padding-top:16px}
[data-oos-tab-panel="convert-variant"] .oos-product-relationship-panel{margin:0;border:0;box-shadow:none;padding:0;background:transparent}
@media(max-width:1100px){.oos-product-workspace-actions{flex-wrap:wrap}}

/* 3.6.6.232 — Family conversion and Advanced Options */
.oos-family-conversion-actions{display:flex;justify-content:flex-start;margin:4px 0 14px}
.oos-family-advanced-options{margin:0 0 16px;padding:16px;border:1px solid var(--oos-border,#d7e0ec);border-radius:12px;background:#fbfcfe}
.oos-family-advanced-options .oos-panel-heading{margin-bottom:12px}
.oos-family-advanced-options h4{margin:2px 0 4px;font-size:16px;color:#172033}
.oos-family-child-strategy{display:grid!important;grid-template-columns:minmax(180px,.8fr) minmax(280px,1.2fr);gap:14px;align-items:center;padding:11px 0;border-top:1px solid #e7edf4}
.oos-family-child-strategy:first-of-type{border-top:0}
.oos-family-child-strategy>span{display:grid;gap:3px}
.oos-family-child-strategy>span strong{color:#172033}
.oos-family-child-strategy>span small{color:#64748b;font-weight:500}
.oos-family-child-strategy select{width:100%}
.oos-family-advanced-options .oos-field-help{display:block;margin-top:8px;color:#64748b}
@media(max-width:760px){.oos-family-child-strategy{grid-template-columns:1fr}.oos-family-conversion-actions .oos-button{width:100%;justify-content:center}}


/* v3.6.6.234 — Product Summary family stock composition */
.oos-product-summary-basics{margin-bottom:10px!important}
.oos-family-stock-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px}
.oos-family-stock-card{padding:12px 13px;border:1px solid var(--oos-line);border-radius:10px;background:#f8fafc;min-width:0}
.oos-family-stock-card small,.oos-family-stock-card strong,.oos-family-stock-card span{display:block}
.oos-family-stock-card small{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--oos-muted);font-weight:750;margin-bottom:4px}
.oos-family-stock-card strong{font-size:15px;color:var(--oos-text);overflow-wrap:anywhere}
.oos-family-stock-card span{margin-top:8px;color:var(--oos-muted);font-size:12px}
.oos-family-stock-card span b{color:var(--oos-text);font-size:14px;margin-left:4px}
.oos-family-stock-total{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 13px;border:1px solid var(--oos-line);border-radius:10px;background:#fff}
.oos-family-stock-total span{font-size:12px;font-weight:750;color:var(--oos-muted)}
.oos-family-stock-total strong{font-size:18px;color:var(--oos-text)}
@media(max-width:700px){.oos-family-stock-summary{grid-template-columns:1fr}.oos-family-stock-total{grid-column:auto}}

/* v3.6.6.236 validation and family-selection popup refinements */
.oos-family-required-message{display:block!important;margin-top:7px!important;color:#b42318!important;font-weight:700!important;}
.oos-family-required-message[hidden]{display:none!important;}
select.oos-field-invalid{border-color:#d92d20!important;box-shadow:0 0 0 3px rgba(217,45,32,.10)!important;}

/* v3.6.6.237 — Advanced family conversion summary and conflict validation */
.oos-family-advanced-warning{display:block;margin-top:10px;padding:10px 12px;border:1px solid #f3b4ae;border-radius:8px;background:#fff3f1;color:#a61b13;font-weight:700;}
.oos-family-advanced-warning[hidden]{display:none!important;}

/* v3.6.6.238 — Variant promotion business-decision dialog */
.oos-promotion-dialog-layer{position:fixed;inset:0;z-index:10080;background:rgba(15,23,42,.34);display:grid;place-items:center;padding:24px;overflow:auto}
.oos-promotion-dialog{position:relative;width:min(620px,100%);max-height:calc(100vh - 48px);overflow:auto;background:#fff;border:1px solid #d9e4dc;border-radius:16px;padding:24px;box-shadow:0 28px 80px rgba(15,23,42,.28),0 8px 24px rgba(15,23,42,.16)}
.oos-promotion-close{position:absolute;top:14px;right:16px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;text-decoration:none;font-size:24px;line-height:1;color:#52615a;background:#f4f7f5;border:1px solid #dfe7e2}
.oos-promotion-icon{width:44px;height:44px;border-radius:12px;background:#eef5ff;color:#2563eb;display:grid;place-items:center;margin-bottom:12px}.oos-promotion-icon .dashicons{width:24px;height:24px;font-size:24px}
.oos-promotion-dialog h3{margin:0 44px 7px 0;font-size:22px;color:#102a1d}.oos-promotion-intro{margin:0 0 16px;color:#52615a;line-height:1.55}
.oos-promotion-current{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#f7faf8;border:1px solid #e2ebe5;border-radius:10px;padding:10px 12px;margin-bottom:12px}.oos-promotion-current small{color:#6b7b72}.oos-promotion-current strong{color:#173d29}
.oos-promotion-choice{display:flex;align-items:flex-start;gap:11px;border:1px solid #dce6df;border-radius:11px;padding:12px 13px;margin:9px 0;background:#fff;cursor:pointer}.oos-promotion-choice:hover{border-color:#aac8b5;background:#fbfdfb}.oos-promotion-choice.is-recommended{border-color:#bdd8c6;background:#f4faf6}.oos-promotion-choice.is-destructive{border-color:#ead6d2;background:#fffafa}.oos-promotion-choice input{margin-top:3px}.oos-promotion-choice span{display:grid;gap:3px}.oos-promotion-choice strong{color:#173d29}.oos-promotion-choice small{color:#67756d;line-height:1.4}
.oos-promotion-advanced{margin:12px 0;border-top:1px solid #e5ebe7;padding-top:10px}.oos-promotion-advanced summary{cursor:pointer;font-weight:700;color:#244b35}.oos-promotion-advanced-body{padding-top:6px}.oos-promotion-target{display:grid;gap:6px;margin:10px 0 12px;font-weight:600;color:#334c3e}.oos-promotion-target select{width:100%;min-height:42px;border:1px solid #cfdcd4;border-radius:8px;background:#fff;padding:7px 9px}
.oos-promotion-family-note{display:flex;gap:9px;align-items:flex-start;background:#f5f8fb;border:1px solid #dfe7ef;border-radius:9px;padding:10px 12px;color:#496070;font-size:13px;margin:12px 0}.oos-promotion-family-note .dashicons{color:#4b73a4}
.oos-promotion-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px;padding-top:15px;border-top:1px solid #e7ece9}
@media(max-width:620px){.oos-promotion-dialog-layer{padding:12px}.oos-promotion-dialog{padding:20px 16px}.oos-promotion-actions{flex-direction:column-reverse}.oos-promotion-actions .oos-button{width:100%;text-align:center}.oos-promotion-current{align-items:flex-start;flex-direction:column;gap:3px}}

/* v3.6.6.242 — Relationship audit / Related Records workspace */
.oos-relationship-audit{display:grid;gap:16px;padding-top:4px}
.oos-relationship-current{border:1px solid var(--oos-line);border-radius:12px;background:#fff;overflow:hidden}
.oos-relationship-current-head{display:flex;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--oos-line);background:#f8fafc}
.oos-relationship-current-head>.dashicons{width:34px;height:34px;font-size:20px;display:grid;place-items:center;border-radius:9px;background:#eef4ff;color:#315fbb}
.oos-relationship-current-head h3{margin:2px 0 0;font-size:17px}.oos-relationship-current-head .oos-eyebrow{font-size:10px}
.oos-relationship-code{margin-left:auto;padding:6px 10px;border:1px solid #d9e2ea;border-radius:8px;background:#fff;font-size:12px;font-weight:800;color:#34495e}
.oos-relationship-tree{padding:14px 16px 16px}.oos-relationship-tree-main,.oos-relationship-tree-child{display:flex;align-items:flex-start;gap:10px;position:relative}
.oos-relationship-tree-main>.dashicons{color:#d69e2e;margin-top:2px}.oos-relationship-tree-main strong,.oos-relationship-tree-child strong{display:block;color:var(--oos-text)}
.oos-relationship-tree-main small,.oos-relationship-tree-child small{display:block;color:var(--oos-muted);margin-top:2px;font-size:12px}
.oos-relationship-tree-child{margin-left:12px;padding:12px 0 0 25px}.oos-relationship-tree-child>span{position:absolute;left:3px;top:0;width:15px;height:23px;border-left:1px solid #cbd5e1;border-bottom:1px solid #cbd5e1;border-radius:0 0 0 7px}
.oos-relationship-tree-empty{margin-top:10px;color:var(--oos-muted);font-size:13px;padding-left:34px}
.oos-relationship-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.oos-relationship-summary-grid>div{padding:12px 14px;border:1px solid var(--oos-line);border-radius:10px;background:#f8fafc}
.oos-relationship-summary-grid small,.oos-relationship-summary-grid strong{display:block}.oos-relationship-summary-grid small{text-transform:uppercase;letter-spacing:.05em;color:var(--oos-muted);font-size:10px;font-weight:750}.oos-relationship-summary-grid strong{margin-top:4px;font-size:18px;color:var(--oos-text)}
.oos-relationship-history{border-top:1px solid var(--oos-line);padding-top:14px}.oos-relationship-history .oos-panel-heading{margin-bottom:10px}
.oos-relationship-timeline{position:relative;margin-left:5px}.oos-relationship-timeline:before{content:"";position:absolute;left:7px;top:8px;bottom:8px;width:1px;background:#dbe3e8}
.oos-relationship-event{position:relative;display:grid;grid-template-columns:16px 1fr;gap:12px;padding:0 0 14px}.oos-relationship-dot{width:15px;height:15px;border:3px solid #fff;border-radius:50%;background:#31824c;box-shadow:0 0 0 1px #b9d6c2;z-index:1;margin-top:4px}
.oos-relationship-event-body{padding:11px 13px;border:1px solid var(--oos-line);border-radius:10px;background:#fff}.oos-relationship-event-head{display:flex;align-items:flex-start;gap:10px;justify-content:space-between}.oos-relationship-event-head strong{color:var(--oos-text)}.oos-relationship-event-head span{font-size:11px;font-weight:750;color:#365c45;background:#eef7f1;border-radius:999px;padding:4px 8px;white-space:nowrap}
.oos-relationship-event-body p{margin:7px 0 0;color:#536579;font-size:12px;line-height:1.5}.oos-relationship-event-body small{display:block;margin-top:7px;color:#7b8794;font-size:11px}
.oos-relationship-empty{margin-top:6px}
@media(max-width:760px){.oos-relationship-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.oos-relationship-current-head{align-items:flex-start;flex-wrap:wrap}.oos-relationship-code{margin-left:46px}.oos-relationship-event-head{display:grid}.oos-relationship-event-head span{justify-self:start}}

/* v3.6.6.243 — Relationship History usability + Variant History */
.oos-relationship-summary-link{width:100%;text-align:left;padding:12px 14px;border:1px solid var(--oos-line);border-radius:10px;background:#f8fafc;cursor:pointer;font:inherit}.oos-relationship-summary-link:hover{border-color:#b9c9d7;background:#fff}.oos-relationship-summary-link small,.oos-relationship-summary-link strong,.oos-relationship-summary-link span{display:block}.oos-relationship-summary-link small{text-transform:uppercase;letter-spacing:.05em;color:var(--oos-muted);font-size:10px;font-weight:750}.oos-relationship-summary-link strong{margin-top:4px;font-size:18px;color:var(--oos-text)}.oos-relationship-summary-link span{margin-top:3px;font-size:10px;color:#5b6f83;font-weight:700}
.oos-relationship-history-tools{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px}.oos-relationship-view-switch,.oos-relationship-filter-bar{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.oos-relationship-view-switch button,.oos-relationship-filter-bar button{border:1px solid #d7e0e8;background:#fff;color:#44576a;border-radius:8px;padding:7px 10px;font-size:12px;font-weight:750;cursor:pointer}.oos-relationship-view-switch button.active{background:#111c32;border-color:#111c32;color:#fff}.oos-relationship-filter-bar button.active{background:#eef5ff;border-color:#b8cdf2;color:#1f4f9b}.oos-relationship-view-switch button:hover,.oos-relationship-filter-bar button:hover{border-color:#9fb2c5}
.oos-variant-history-list{display:grid;gap:14px}.oos-variant-history-group{border:1px solid var(--oos-line);border-radius:11px;background:#fbfcfd;overflow:hidden}.oos-variant-history-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid var(--oos-line);background:#f6f9fb}.oos-variant-history-head>div{display:flex;align-items:center;gap:8px}.oos-variant-history-head .dashicons{color:#315fbb}.oos-variant-history-head strong{font-size:14px;color:var(--oos-text)}.oos-variant-history-head>span{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#53705f;background:#eef7f1;border-radius:999px;padding:5px 8px}.oos-variant-relationship-timeline{margin:12px 14px 0}.oos-relationship-event[hidden],.oos-variant-history-group[hidden]{display:none!important}.oos-relationship-filter-empty{padding:16px;border:1px dashed #ccd7df;border-radius:10px;color:#66788a;text-align:center;background:#fafcfd;font-size:13px}
@media(max-width:760px){.oos-relationship-history-tools{align-items:stretch}.oos-relationship-view-switch,.oos-relationship-filter-bar{width:100%}.oos-variant-history-head{align-items:flex-start;flex-direction:column}}

/* v3.6.6.244 — Historical family members in Variant History */
.oos-variant-history-section-label{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:3px 2px 8px;color:#22384d}.oos-variant-history-section-label span{font-size:12px;font-weight:850;text-transform:uppercase;letter-spacing:.055em}.oos-variant-history-section-label small{font-size:11px;color:#748395}.oos-variant-history-section-label.historical{margin-top:5px;padding-top:13px;border-top:1px dashed #ccd7df;color:#5f4b32}
.oos-variant-member-status.status-former,.oos-variant-member-status.status-independent{background:#f2f4f7!important;color:#586575!important}.oos-variant-member-status.status-moved{background:#fff7e8!important;color:#8a5b10!important}.oos-variant-member-status.status-bin{background:#fff0ef!important;color:#a44237!important}.oos-variant-member-status.status-current-main,.oos-variant-member-status.status-current-variant{background:#eef7f1!important;color:#53705f!important}
@media(max-width:760px){.oos-variant-history-section-label{align-items:flex-start;flex-direction:column;gap:3px}}

/* v3.6.6.245 — Categories + Stock Management workspaces */
.oos-product-admin-tool{display:grid;gap:18px}.oos-product-tool-grid{display:grid;grid-template-columns:minmax(280px,.75fr) minmax(0,1.6fr);gap:18px;align-items:start}.oos-product-tool-form,.oos-product-tool-list{border:1px solid var(--oos-line);border-radius:12px;background:#fff;padding:16px}.oos-product-tool-form h3,.oos-product-tool-list h3{margin:0 0 14px}.oos-product-tool-list .oos-table-wrap{margin:0}.oos-tool-muted{color:var(--oos-muted);font-size:12px}.oos-stock-current{display:flex;align-items:end;justify-content:space-between;gap:12px;border:1px solid #dce6df;border-radius:10px;background:#f6faf7;padding:13px 14px;margin-bottom:12px}.oos-stock-current small{color:var(--oos-muted);font-weight:700}.oos-stock-current strong{font-size:28px;color:var(--oos-text)}.oos-stock-history{display:grid;gap:9px}.oos-stock-history>div{display:grid;grid-template-columns:auto auto;gap:4px 12px;border-bottom:1px solid var(--oos-line);padding:9px 0}.oos-stock-history>div:last-child{border-bottom:0}.oos-stock-history strong{color:var(--oos-text)}.oos-stock-history span{justify-self:end;font-weight:800}.oos-stock-history small{grid-column:1/-1;color:var(--oos-muted)}
@media(max-width:860px){.oos-product-tool-grid{grid-template-columns:1fr}.oos-products-heading-actions{flex-wrap:wrap}}

/* v3.6.6.246 — Categories & Stock UX cleanup */
.oos-product-tool-form .oos-row-actions.oos-tool-primary-actions,.oos-product-tool-form>.oos-row-actions{margin-top:14px;display:flex;gap:10px;align-items:center}.oos-product-tool-form>.oos-row-actions .oos-button,.oos-tool-primary-actions .oos-button{min-height:38px;padding:9px 15px;border-radius:8px;font-weight:800;display:inline-flex;align-items:center;justify-content:center}.oos-stock-recovery-note{display:flex;gap:10px;align-items:flex-start;padding:11px 12px;margin:0 0 12px;border:1px solid #f0d59d;background:#fff8ea;border-radius:10px}.oos-stock-recovery-note .dashicons{color:#9a6a18;margin-top:1px}.oos-stock-recovery-note span:last-child{display:grid;gap:2px}.oos-stock-recovery-note strong{color:#6f4d12}.oos-stock-recovery-note small{color:#745f3d}.oos-stock-toolbar{display:grid;grid-template-columns:minmax(260px,1fr) repeat(3,minmax(150px,auto)) auto auto;gap:10px;align-items:center}.oos-stock-toolbar select{min-height:40px}.oos-status.is-out{background:#fff0ef;color:#b03c35}.oos-product-tool-form input[type=number]:invalid{border-color:#d7a19b}
@media(max-width:1080px){.oos-stock-toolbar{grid-template-columns:1fr 1fr}.oos-stock-toolbar .oos-search{grid-column:1/-1}}
@media(max-width:680px){.oos-stock-toolbar{grid-template-columns:1fr}.oos-stock-toolbar .oos-search{grid-column:auto}.oos-product-tool-form>.oos-row-actions,.oos-tool-primary-actions{flex-wrap:wrap}}

/* v3.6.6.247 — category quick actions */
.oos-category-cell{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.oos-inline-link{border:0;background:transparent;color:#175cd3;font-weight:700;font-size:12px;cursor:pointer;padding:0}.oos-inline-link:hover{text-decoration:underline}.oos-product-summary-basics p{position:relative}.oos-summary-category-action{display:inline-block;margin-left:8px}.oos-category-dialog-label{display:block;margin-top:18px;font-weight:700}.oos-category-dialog-label select{display:block;width:100%;margin-top:8px;min-height:44px}


/* v3.6.6.248 — focused Stock Adjustment workspace + category edit in Stock List */
.oos-stock-category-cell{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:130px}.oos-stock-category-cell .oos-inline-link{flex:0 0 auto}.oos-stock-adjust-workspace .oos-stock-adjust-grid{margin-top:2px}.oos-stock-adjust-workspace .oos-product-tool-list{min-height:100%}
@media(max-width:760px){.oos-stock-category-cell{align-items:flex-start;flex-direction:column;gap:4px}}

/* v3.6.6.249 - tabbed category administration */
.oos-category-workspace{display:grid;gap:16px}
.oos-category-tabs{display:flex;gap:6px;border-bottom:1px solid var(--oos-line);padding:0 2px}
.oos-category-tabs a{display:inline-flex;align-items:center;min-height:38px;padding:8px 13px;margin-bottom:-1px;border:1px solid transparent;border-bottom-color:var(--oos-line);border-radius:9px 9px 0 0;color:#475569;font-size:12px;font-weight:800;text-decoration:none;background:transparent}
.oos-category-tabs a:hover{background:#f8fafc;color:#172033}
.oos-category-tabs a.is-active{background:#fff;color:var(--oos-primary);border-color:var(--oos-line);border-bottom-color:#fff}
.oos-category-list-panel,.oos-category-form-panel .oos-product-tool-form{max-width:none}
.oos-category-list-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.oos-category-list-heading h3{margin:0 0 3px}.oos-category-list-heading p{margin:0;color:var(--oos-muted);font-size:12px}
.oos-category-list-heading .oos-button{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.oos-category-list-heading .dashicons{font-size:16px;width:16px;height:16px;line-height:16px}
.oos-category-form-panel{max-width:620px}
.oos-category-form-panel .oos-product-tool-form>p{margin:-5px 0 14px}
@media(max-width:680px){.oos-category-list-heading{align-items:flex-start;flex-direction:column}.oos-category-tabs{overflow-x:auto}.oos-category-tabs a{white-space:nowrap}}

/* ============================================================
   v3.6.6.250 — Category administration readability polish
   Stronger table hierarchy + consistent readable actions.
   ============================================================ */
.oos-category-workspace .oos-category-tabs a{
    min-height:42px;
    padding:10px 16px;
    font-size:13px;
}
.oos-category-workspace .oos-category-tabs a.is-active{
    background:var(--oos-admin-theme-button,#0f172a);
    border-color:var(--oos-admin-theme-button,#0f172a);
    color:#fff!important;
}
.oos-category-workspace .oos-category-tabs a.is-active:hover,
.oos-category-workspace .oos-category-tabs a.is-active:focus-visible{
    color:#fff!important;
    filter:brightness(1.06);
}

.oos-category-list-panel{
    padding:18px;
}
.oos-category-list-panel .oos-table-wrap{
    border:1px solid #d7e0eb;
    border-radius:12px;
    overflow:hidden;
    background:#fff;
}
.oos-category-list-panel .oos-table{
    width:100%;
    border-collapse:separate;
    border-spacing:0;
}
.oos-category-list-panel .oos-table thead th{
    background:#f4f7fb;
    color:#53657d;
    font-size:12px;
    font-weight:900;
    letter-spacing:.035em;
    text-transform:uppercase;
    padding:13px 14px;
    border-bottom:1px solid #d7e0eb;
}
.oos-category-list-panel .oos-table tbody td{
    padding:13px 14px;
    vertical-align:middle;
    border-bottom:1px solid #e5ebf2;
    background:#fff;
}
.oos-category-list-panel .oos-table tbody tr:last-child td{
    border-bottom:0;
}
.oos-category-list-panel .oos-table tbody tr:hover td{
    background:#f9fbfd;
}
.oos-category-list-panel .oos-table td:first-child strong{
    display:block;
    color:var(--oos-text,#172033);
    font-size:14px;
    font-weight:800;
}
.oos-category-list-panel .oos-table td:first-child small{
    display:block;
    margin-top:3px;
    color:var(--oos-muted,#64748b);
    line-height:1.35;
}
.oos-category-list-panel .oos-table th:nth-child(2),
.oos-category-list-panel .oos-table td:nth-child(2){
    width:120px;
    text-align:center;
}
.oos-category-list-panel .oos-table th:last-child,
.oos-category-list-panel .oos-table td:last-child{
    width:250px;
}

.oos-category-list-panel .oos-row-actions{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}
.oos-category-list-panel .oos-row-actions form{
    margin:0;
}
.oos-category-list-panel .oos-row-actions .oos-button,
.oos-category-form-panel .oos-row-actions .oos-button,
.oos-category-list-heading .oos-button{
    min-height:38px;
    padding:9px 14px;
    border-radius:8px;
    font-size:12px;
    font-weight:800;
    line-height:1.2;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    text-decoration:none!important;
    white-space:nowrap;
}
.oos-category-list-panel .oos-row-actions .oos-button.secondary,
.oos-category-form-panel .oos-row-actions .oos-button.secondary{
    background:#eef2f7!important;
    border:1px solid #d9e2ec!important;
    color:#172033!important;
}
.oos-category-list-panel .oos-row-actions .oos-button.secondary:hover,
.oos-category-form-panel .oos-row-actions .oos-button.secondary:hover{
    background:#e3e9f1!important;
    color:#0f172a!important;
}
.oos-category-list-panel .oos-row-actions .oos-button.danger{
    background:#fff5f4!important;
    border:1px solid #efb7b0!important;
    color:#b42318!important;
}
.oos-category-list-panel .oos-row-actions .oos-button.danger:hover{
    background:#fee4e2!important;
    border-color:#e58d83!important;
    color:#912018!important;
}
.oos-category-list-panel .oos-tool-muted{
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:7px 10px;
    border-radius:999px;
    background:#f1f5f9;
    color:#64748b;
    font-weight:700;
}

.oos-category-form-panel .oos-product-tool-form{
    padding:22px;
}
.oos-category-form-panel .oos-product-tool-form h3{
    font-size:26px;
    margin-bottom:12px;
}
.oos-category-form-panel .oos-product-tool-form label{
    font-weight:800;
    color:#172033;
}
.oos-category-form-panel .oos-product-tool-form input,
.oos-category-form-panel .oos-product-tool-form textarea{
    margin-top:7px;
}
.oos-category-form-panel .oos-row-actions{
    margin-top:18px!important;
}
.oos-category-form-panel .oos-row-actions .oos-button{
    min-height:42px;
    padding:10px 16px;
    font-size:13px;
}

@media(max-width:760px){
    .oos-category-list-panel{padding:14px}
    .oos-category-list-panel .oos-table th:last-child,
    .oos-category-list-panel .oos-table td:last-child{width:auto}
    .oos-category-list-panel .oos-row-actions{align-items:flex-start}
}


/* v3.6.6.252 — Categories workspace back-navigation spacing */
.oos-compact-context-back + .oos-category-workspace{margin-top:14px;}

/* v3.6.6.259 — Guaranteed visual spacing before Bin counters */
.oos-bin-count{
    display:inline-flex!important;
    align-items:center!important;
    margin-left:0!important;
    padding-left:0!important;
}
.oos-bin-count::before{
    content:""!important;
    display:inline-block!important;
    width:8px!important;
    min-width:8px!important;
    flex:0 0 8px!important;
}

/* v3.6.6.260 — Dashboard KPI typography aligned with Quick Actions */
.oos-metric-grid-five .oos-metric small{
  font-size:12.5px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.045em;
}
.oos-metric-grid-five .oos-metric strong{
  font-size:19px;
  line-height:1;
  font-weight:800;
  margin:4px 0 3px;
}
.oos-metric-grid-five .oos-metric em{
  font-size:12px;
  line-height:1.25;
  font-weight:600;
}


/* v3.6.6.261 — Definitive top dashboard KPI typography refinement
   Directly targets the actual .oos-metric markup used by the five dashboard cards. */
.oos-metric-grid.oos-metric-grid-five > .oos-metric > div > small{
    font-size:14.5px!important;
    line-height:1.2!important;
    font-weight:800!important;
    letter-spacing:.035em!important;
    color:#4b5f7a!important;
    margin-bottom:5px!important;
}
.oos-metric-grid.oos-metric-grid-five > .oos-metric > div > strong{
    font-size:19px!important;
    line-height:1!important;
    font-weight:800!important;
    letter-spacing:0!important;
    margin:0 0 5px!important;
}
.oos-metric-grid.oos-metric-grid-five > .oos-metric > div > em{
    font-size:12.5px!important;
    line-height:1.3!important;
    font-weight:600!important;
    color:#52627a!important;
}


/* v3.6.6.262 — Top KPI values use the exact Quick Actions number treatment */
.oos-metric-grid.oos-metric-grid-five .oos-dashboard-kpi-value,
.oos-activity-card-link .oos-activity-kpi b{
    font-size:18px!important;
    line-height:1!important;
    font-weight:800!important;
    font-family:Arial,sans-serif!important;
    letter-spacing:0!important;
}
.oos-metric-grid.oos-metric-grid-five .oos-dashboard-kpi-value{
    margin:0 0 5px!important;
}


/* v3.6.6.263 — Slightly reduce top dashboard KPI values for clearer hierarchy */
.oos-metric-grid.oos-metric-grid-five .oos-dashboard-kpi-value{
    font-size:16px!important;
    line-height:1!important;
    font-weight:800!important;
    letter-spacing:0!important;
}


/* v3.6.6.265 — optional Elementor homepage builder */
.oos-homepage-mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}
.oos-homepage-mode-card{display:flex!important;gap:12px;align-items:flex-start;padding:16px!important;border:1px solid #d9e2ec;border-radius:14px;background:#fff;cursor:pointer}
.oos-homepage-mode-card:has(input:checked){border-color:#166534;background:#f2fbf5;box-shadow:0 0 0 1px rgba(22,101,52,.08)}
.oos-homepage-mode-card input{width:auto!important;margin-top:3px!important}
.oos-homepage-mode-card span{display:flex;flex-direction:column;gap:4px}
.oos-homepage-mode-card strong{font-size:14px;color:#172033}
.oos-homepage-mode-card small{font-weight:400;color:#5d6b7b;line-height:1.45}
.oos-homepage-mode-card.is-disabled{opacity:.62;cursor:not-allowed}
.oos-homepage-builder-row{margin-top:18px}
.oos-homepage-builder-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 18px}
.oos-homepage-builder-actions .dashicons{font-size:17px;width:17px;height:17px;margin-right:5px}
@media(max-width:800px){.oos-homepage-mode-grid{grid-template-columns:1fr}}


/* v3.6.6.268 — Storefront custom logo control */
.oos-homepage-branding-card{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);gap:22px;align-items:center;margin:18px 0 6px;padding:18px;border:1px solid #dbe4ec;border-radius:14px;background:#fbfcfd}
.oos-homepage-branding-copy h4{margin:4px 0 7px;font-size:17px;color:#172033}.oos-homepage-branding-copy p{margin:0;color:#5d6b7b;line-height:1.5;font-size:13px}.oos-homepage-logo-control{display:grid;grid-template-columns:150px 1fr;gap:10px 12px;align-items:center}.oos-homepage-logo-preview{width:150px;height:70px;grid-row:1/4;display:flex;align-items:center;justify-content:center;padding:8px;border:1px solid #d5dee8;border-radius:10px;background:#fff;overflow:hidden}.oos-homepage-logo-preview img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.oos-logo-upload-button{position:relative;overflow:hidden;justify-content:center}.oos-logo-upload-button input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}.oos-logo-remove{display:flex!important;align-items:center!important;gap:7px!important;font-size:12px!important;font-weight:700!important;color:#8a2f2a!important}.oos-logo-remove input{width:auto!important;margin:0!important}.oos-homepage-logo-control small{display:block;color:#667587;line-height:1.4}
@media(max-width:860px){.oos-homepage-branding-card{grid-template-columns:1fr}.oos-homepage-logo-control{grid-template-columns:130px 1fr}.oos-homepage-logo-preview{width:130px}}
@media(max-width:540px){.oos-homepage-logo-control{grid-template-columns:1fr}.oos-homepage-logo-preview{grid-row:auto;width:100%;height:84px}.oos-logo-upload-button{width:100%}}


/* v3.6.6.271 — Products pagination visibility refinement */
.oos-pagination.oos-pagination-items{
    justify-content:center!important;
    flex-wrap:wrap!important;
    gap:8px!important;
    width:100%!important;
    margin:14px 0 2px!important;
    padding:4px 64px 12px!important;
    overflow:visible!important;
    position:relative;
    z-index:2;
}
.oos-pagination.oos-pagination-items a{
    flex:0 0 32px!important;
    width:32px!important;
    min-width:32px!important;
    height:32px!important;
    padding:0!important;
    display:inline-grid!important;
    place-items:center!important;
    border-radius:8px!important;
    line-height:1!important;
}
@media(max-width:760px){
    .oos-pagination.oos-pagination-items{
        justify-content:center!important;
        padding-left:46px!important;
        padding-right:46px!important;
    }
}


/* v3.6.6.275 — role-aware AI Help + User Manual */
.oos-help-center{display:grid;gap:18px}.oos-help-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px;border:1px solid #d9e2ec;border-radius:16px;background:#fff}.oos-help-hero h2{margin:3px 0 6px;font-size:26px}.oos-help-hero p{margin:0;color:#607087}.oos-help-role-badge{padding:8px 12px;border-radius:999px;background:#eef7f0;color:#17653a;font-weight:800}.oos-help-tabs{display:flex;gap:8px;border-bottom:1px solid #d9e2ec}.oos-help-tabs button{border:0;background:transparent;padding:12px 16px;font-weight:800;color:#42526b;cursor:pointer}.oos-help-tabs button.is-active{background:#0d1b34;color:#fff;border-radius:10px 10px 0 0}.oos-help-panel{padding:2px 0}.oos-help-ai-card{display:flex;gap:14px;align-items:center;padding:18px;border:1px solid #d9e2ec;border-radius:14px;background:#f8fbff}.oos-help-ai-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#166534;color:#fff;font-weight:900}.oos-help-ai-copy h3{margin:0 0 4px}.oos-help-ai-copy p{margin:0;color:#607087}.oos-help-question{display:flex;gap:10px;margin-top:14px}.oos-help-question input,.oos-help-manual-head input{width:100%;min-height:44px;border:1px solid #cbd5e1;border-radius:10px;padding:0 13px}.oos-help-question button{border:0;border-radius:10px;padding:0 22px;background:#166534;color:#fff;font-weight:800;cursor:pointer}.oos-help-suggestions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.oos-help-suggestions button{border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#1f2937;padding:8px 12px;cursor:pointer;font-weight:700}.oos-help-answer{border-left:4px solid #16a34a;background:#f0fdf4;border-radius:10px;padding:16px}.oos-help-answer strong{display:block;margin-bottom:5px}.oos-help-answer p{margin:0;color:#42526b}.oos-help-manual-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:12px}.oos-help-manual-head h3{margin:0 0 4px}.oos-help-manual-head p{margin:0;color:#607087}.oos-help-manual-head input{max-width:320px}.oos-help-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.oos-help-topic{border:1px solid #d9e2ec;border-radius:12px;background:#fff;padding:0 15px}.oos-help-topic summary{cursor:pointer;font-weight:800;padding:14px 0}.oos-help-topic p{margin:0 0 15px;color:#53657a;line-height:1.55}@media(max-width:780px){.oos-help-hero,.oos-help-manual-head{align-items:flex-start;flex-direction:column}.oos-help-question{flex-direction:column}.oos-help-question button{min-height:44px}.oos-help-topic-grid{grid-template-columns:1fr}.oos-help-manual-head input{max-width:none}}

/* v3.6.6.276 - downloadable illustrated role manuals */
.oos-help-manual-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.oos-help-manual-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 15px;border-radius:10px;font-weight:800;text-decoration:none!important;white-space:nowrap}.oos-help-manual-button.is-primary{background:#166534;color:#fff!important;border:1px solid #166534}.oos-help-manual-button.is-secondary{background:#fff;color:#166534!important;border:1px solid #166534}.oos-help-manual-button:hover{filter:brightness(.97)}.oos-help-manual-search-row{display:flex;justify-content:flex-end;margin:0 0 14px}.oos-help-manual-search-row input{width:100%;max-width:360px;min-height:44px;border:1px solid #cbd5e1;border-radius:10px;padding:0 13px}@media(max-width:780px){.oos-help-manual-tools{width:100%}.oos-help-manual-button{flex:1 1 180px}.oos-help-manual-search-row input{max-width:none}}

/* v3.6.6.278 — Help Center resilient navigation and readable suggestions */
.oos-help-tabs a{display:inline-flex;align-items:center;text-decoration:none!important;border:0;background:transparent;padding:12px 16px;font-weight:800;color:#42526b!important;cursor:pointer}.oos-help-tabs a.is-active{background:#0d1b34;color:#fff!important;border-radius:10px 10px 0 0}.oos-help-suggestions a{display:inline-flex;align-items:center;justify-content:center;border:1px solid #cbd5e1;border-radius:999px;background:#fff!important;color:#1f2937!important;padding:8px 12px;text-decoration:none!important;cursor:pointer;font-weight:700;min-height:34px}.oos-help-suggestions button{color:#1f2937!important;background:#fff!important}
/* v3.6.6.279 - professional text Help & Manual */
.oos-help-answer ol,.oos-help-topic ol{margin:10px 0 16px 20px;padding:0;color:#42526b;line-height:1.6}.oos-help-answer li,.oos-help-topic li{margin:5px 0}.oos-help-topic>p{margin-bottom:8px}.oos-help-ai-icon{font-size:22px}
/* v3.6.6.283 - Help & Manual 2.0 Operational Handbook */
.oos-handbook-section{margin-top:26px;padding-top:22px;border-top:1px solid #d9e2ec}.oos-handbook-section-head{margin-bottom:14px}.oos-handbook-section-head h3{margin:3px 0 5px;font-size:22px;color:#12233d}.oos-handbook-section-head p{margin:0;color:#607087}.oos-handbook-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.oos-handbook-result{display:flex;gap:8px;align-items:flex-start;margin:12px 0 16px;padding:12px 13px;border-left:4px solid #16a34a;border-radius:8px;background:#f0fdf4;color:#355347}.oos-handbook-result strong{white-space:nowrap;color:#166534}.oos-handbook-decision{margin:0 0 16px;padding:12px;border-radius:9px;background:#f8fafc;color:#42526b;line-height:1.6}.oos-handbook-table-wrap{overflow-x:auto;border:1px solid #d9e2ec;border-radius:12px;background:#fff}.oos-handbook-table{width:100%;border-collapse:collapse;min-width:760px}.oos-handbook-table th,.oos-handbook-table td{padding:12px 13px;border-bottom:1px solid #e6edf4;border-right:1px solid #eef2f7;text-align:left;vertical-align:top}.oos-handbook-table th{background:#f3f6fa;color:#42526b;font-size:12px;text-transform:uppercase;letter-spacing:.04em}.oos-handbook-table td:first-child{font-weight:800;color:#16233a}.oos-handbook-table tr:last-child td{border-bottom:0}.oos-handbook-path{display:flex;flex-wrap:wrap;gap:10px}.oos-handbook-path span{display:inline-flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid #d6e4db;border-radius:999px;background:#fff;color:#244c34;font-weight:700}.oos-handbook-path b{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#166534;color:#fff;font-size:12px}@media(max-width:780px){.oos-handbook-grid{grid-template-columns:1fr}.oos-handbook-result{flex-direction:column}.oos-handbook-path span{width:100%;border-radius:10px}}

/* v3.6.6.284 - Operational Handbook 2.1 refinements */
.oos-handbook-decision-table th:nth-child(1){width:24%;}
.oos-handbook-decision-table th:nth-child(2){width:20%;}
.oos-handbook-decision-table th:nth-child(3){width:38%;}
.oos-handbook-decision-table th:nth-child(4){width:18%;}
.oos-handbook-decision-table td{vertical-align:top;line-height:1.45;}
.oos-handbook-decision-table td strong{color:#13233b;}
.oos-handbook-daily-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:14px;}
.oos-handbook-daily-card{background:#fff;border:1px solid #d8e0e9;border-radius:14px;padding:18px;box-shadow:0 4px 12px rgba(18,35,59,.04);}
.oos-handbook-daily-card h4{margin:0 0 10px;color:#13233b;font-size:15px;}
.oos-handbook-daily-card ul{margin:0;padding-left:20px;color:#4a5a6e;}
.oos-handbook-daily-card li{margin:0 0 8px;line-height:1.45;}
.oos-handbook-daily-card li:last-child{margin-bottom:0;}
@media (max-width:900px){.oos-handbook-daily-grid{grid-template-columns:1fr;}.oos-handbook-decision-table{min-width:780px;}}

/* v3.6.6.286 - Help & Manual 3.0 training and contextual guidance */
.oos-context-help{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:0 0 14px;padding:8px 12px;border:1px solid #dbe5e1;border-radius:10px;background:#f7fbf8;font-size:13px;color:#5b6c64}.oos-context-help-link{font-weight:800;color:#126c3a;text-decoration:none}.oos-context-help-link:hover{text-decoration:underline}
.oos-training-section{margin-top:28px}.oos-training-level-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.oos-training-card{border:1px solid #d8e1ea;border-radius:14px;background:#fff;padding:18px}.oos-training-card h4{margin:0 0 10px;font-size:16px}.oos-training-card ul{margin:0;padding-left:19px}.oos-training-card li{margin:0 0 8px;line-height:1.45;color:#42536a}.oos-common-task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.oos-common-task{display:flex;flex-direction:column;gap:5px;border:1px solid #cfdbe5;border-radius:12px;padding:14px 16px;background:#fff;text-decoration:none;color:#12213a}.oos-common-task:hover{border-color:#16733e;background:#f6fbf7}.oos-common-task strong{font-size:14px}.oos-common-task span{font-size:12px;color:#63758a}.oos-training-checklist{margin:0;padding:4px 0 4px 25px;columns:2;column-gap:38px}.oos-training-checklist li{break-inside:avoid;margin:0 0 10px;color:#35465d}.oos-whats-new{border:1px solid #cfe4d5;border-radius:14px;background:#f4fbf6;padding:18px}.oos-faq-grid{margin-top:0}
@media(max-width:900px){.oos-training-level-grid,.oos-common-task-grid{grid-template-columns:1fr}.oos-training-checklist{columns:1}.oos-context-help{justify-content:space-between;align-items:flex-start}}

/* v3.6.6.288 Courses & Training admin */
.oos-course-admin-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:18px}.oos-course-admin-head h2{margin:4px 0 6px}.oos-course-module-state{display:inline-flex;padding:9px 13px;border-radius:999px;font-weight:800;font-size:12px}.oos-course-module-state.is-on{background:#e7f8ed;color:#14763a}.oos-course-module-state.is-off{background:#f0f2f5;color:#68727e}.oos-course-disabled-note{display:flex;flex-direction:column;gap:4px;margin:14px 0 18px;padding:14px 16px;border:1px solid #f0d7a2;border-radius:12px;background:#fff8e8;color:#71511d}.oos-course-tabs{margin-bottom:20px}.oos-course-two-col{display:grid;grid-template-columns:minmax(300px,38%) minmax(0,62%);gap:22px;align-items:start}.oos-course-editor{padding:18px;border:1px solid #dce4ee;border-radius:14px;background:#fff}.oos-course-editor h3{margin-top:0}.oos-course-editor label{display:block;margin:12px 0;font-weight:700}.oos-course-editor input,.oos-course-editor textarea,.oos-course-editor select{width:100%;box-sizing:border-box;margin-top:6px;padding:10px 11px;border:1px solid #cfd8e5;border-radius:8px}.oos-course-admin-list{display:grid;gap:10px}.oos-course-admin-list article{display:flex;justify-content:space-between;gap:16px;padding:14px 15px;border:1px solid #dce4ee;border-radius:12px;background:#fff}.oos-course-admin-list article div{min-width:0}.oos-course-admin-list strong,.oos-course-admin-list small{display:block}.oos-course-admin-list small{margin-top:4px;color:#65728a}.oos-course-admin-list>article>span{align-self:flex-start;padding:5px 8px;border-radius:999px;background:#eef4ff;color:#31598b;font-size:11px;font-weight:800}.oos-course-spec-field-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 20px}.oos-course-spec-field-settings label{display:flex;align-items:center;gap:9px;margin:0;padding:11px 12px;border:1px solid #dce4ee;border-radius:9px;background:#fff}.oos-course-spec-field-settings input{width:auto;margin:0}.oos-inline-form{display:flex;gap:7px;align-items:center}.oos-inline-form select{min-width:115px}.oos-course-status{display:inline-flex;padding:5px 8px;border-radius:999px;background:#eef4ff;color:#31598b;font-weight:800;font-size:11px}@media(max-width:900px){.oos-course-two-col{grid-template-columns:1fr}.oos-course-spec-field-settings{grid-template-columns:1fr}}

/* v3.6.6.289 Course catalogue quick switch */
.oos-course-catalogue-control{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;max-width:430px}
.oos-course-toggle-form{margin:0}
.oos-course-catalogue-toggle{appearance:none;border:1px solid #ccd7e3;border-radius:10px;padding:9px 13px;font:inherit;font-size:12px;font-weight:800;line-height:1;cursor:pointer;background:#fff;color:#1f2b3d;box-shadow:none}
.oos-course-catalogue-toggle.is-enable{background:#16733b;border-color:#16733b;color:#fff}
.oos-course-catalogue-toggle.is-disable{background:#fff7f6;border-color:#efb5ae;color:#b22f29}
.oos-course-catalogue-toggle:hover{filter:brightness(.97)}
.oos-course-settings-link{display:inline-flex;align-items:center;padding:8px 2px;font-size:12px;font-weight:800;color:#52627a;text-decoration:none}
.oos-course-settings-link:hover{color:#0e5f31;text-decoration:underline}
@media(max-width:760px){.oos-course-admin-head{flex-direction:column}.oos-course-catalogue-control{justify-content:flex-start;max-width:none}}

/* v3.6.6.297 Student Intake terminology refinement */
.oos-course-editor-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin-top:14px}.oos-course-editor-actions .oos-button{margin:0}
.oos-course-subject-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.oos-course-subject-card{overflow:hidden;border:1px solid #dce4ee;border-radius:14px;background:#fff;box-shadow:0 4px 14px rgba(15,34,53,.04)}.oos-course-subject-image{height:135px;background:#eef5ef;display:flex;align-items:center;justify-content:center;overflow:hidden}.oos-course-subject-image img{width:100%;height:100%;object-fit:cover}.oos-course-subject-image span{display:flex;width:54px;height:54px;align-items:center;justify-content:center;border-radius:50%;background:#176b3a;color:#fff;font-weight:900}.oos-course-subject-body{padding:14px}.oos-course-subject-title-row{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.oos-course-subject-title-row strong{font-size:15px;color:#17253a}.oos-course-subject-title-row span{padding:4px 8px;border-radius:999px;font-size:10px;font-weight:900}.oos-course-subject-title-row .is-active{background:#e8f8ed;color:#14763a}.oos-course-subject-title-row .is-draft{background:#f1f3f6;color:#667281}.oos-course-subject-body p{min-height:38px;margin:7px 0 13px;color:#65728a;font-size:12px;line-height:1.45}.oos-course-subject-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.oos-course-subject-actions a,.oos-course-subject-actions button{appearance:none;border:1px solid #cfd9e5;border-radius:8px;background:#fff;color:#243248;padding:7px 9px;font:inherit;font-size:11px;font-weight:800;text-decoration:none;cursor:pointer}.oos-course-subject-actions a.is-primary{background:#10203a;border-color:#10203a;color:#fff}.oos-course-subject-actions form{margin:0}.oos-course-subject-actions a:hover,.oos-course-subject-actions button:hover{filter:brightness(.97)}
.oos-course-empty-admin{display:flex;flex-direction:column;gap:5px;padding:22px;border:1px dashed #cad5e0;border-radius:12px;background:#fbfcfd;color:#617086}.oos-course-empty-admin strong{color:#18273b}
.oos-course-offering-editor{padding:16px}.oos-course-form-intro{margin:-5px 0 14px;color:#65728a;font-size:12px}.oos-course-form-section{margin:0 0 10px;border:1px solid #dce4ee;border-radius:12px;background:#fff;overflow:hidden}.oos-course-form-section>summary{display:grid;grid-template-columns:30px max-content 1fr;gap:9px;align-items:center;padding:12px 13px;cursor:pointer;list-style:none;background:#f8fafc}.oos-course-form-section>summary::-webkit-details-marker{display:none}.oos-course-form-section>summary span{display:flex;width:26px;height:26px;align-items:center;justify-content:center;border-radius:50%;background:#10203a;color:#fff;font-size:11px;font-weight:900}.oos-course-form-section>summary strong{color:#18273b;font-size:13px}.oos-course-form-section>summary small{color:#718096;font-size:11px}.oos-course-form-section[open]>summary{border-bottom:1px solid #e4eaf1;background:#f5f8fb}.oos-course-section-body{padding:10px 13px 13px}.oos-course-section-body label{margin:9px 0}.oos-course-save-bar{position:sticky;bottom:0;z-index:3;display:flex;justify-content:space-between;gap:12px;align-items:center;margin:14px -2px -2px;padding:11px 12px;border:1px solid #dce4ee;border-radius:10px;background:rgba(255,255,255,.96);box-shadow:0 -4px 16px rgba(15,34,53,.06)}.oos-course-save-bar span{font-size:11px;color:#65728a}.oos-course-save-bar .oos-button{margin:0;white-space:nowrap}
@media(max-width:1100px){.oos-course-subject-grid{grid-template-columns:1fr}}@media(max-width:760px){.oos-course-form-section>summary{grid-template-columns:30px 1fr}.oos-course-form-section>summary small{grid-column:2}.oos-course-save-bar{position:static;flex-direction:column;align-items:stretch}}

/* v3.6.6.300 — Settings form readability refinement */
.oos-settings-center-form input[type="text"],
.oos-settings-center-form input[type="email"],
.oos-settings-center-form input[type="tel"],
.oos-settings-center-form input[type="number"],
.oos-settings-center-form input[type="url"],
.oos-settings-center-form input[type="date"],
.oos-settings-center-form textarea,
.oos-settings-center-form select{
  font-size:15px;
  line-height:1.5;
}
.oos-settings-center-form input[type="text"],
.oos-settings-center-form input[type="email"],
.oos-settings-center-form input[type="tel"],
.oos-settings-center-form input[type="number"],
.oos-settings-center-form input[type="url"],
.oos-settings-center-form input[type="date"],
.oos-settings-center-form select{
  min-height:44px;
  padding:10px 12px;
}
.oos-settings-center-form textarea{
  padding:11px 12px;
}
.oos-settings-center-form input::placeholder,
.oos-settings-center-form textarea::placeholder{
  font-size:14px;
}

/* v3.6.6.306 Courses simplification */
.oos-course-card-type{display:block;margin:.25rem 0 .4rem;font-weight:700;color:#52606d}.oos-course-form-help{margin:-.2rem 0 .75rem;color:#627080;font-size:.92rem}

/* v3.6.6.307 Course library + full workspace */
.oos-course-type-field>span{display:block;font-weight:700;margin-bottom:8px;line-height:1.35}.oos-course-type-field select{line-height:1.35;padding-top:12px;padding-bottom:12px;min-height:46px}
.oos-course-view-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px;padding-top:6px}.oos-course-library-card{border:1px solid #d8e1e8;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(16,38,62,.05)}.oos-course-library-link{display:block;color:inherit;text-decoration:none;height:100%}.oos-course-library-image{height:180px;background:#eff5f1;display:flex;align-items:center;justify-content:center;overflow:hidden}.oos-course-library-image img{width:100%;height:100%;object-fit:cover}.oos-course-library-image span{font-size:38px;font-weight:800;color:#176337}.oos-course-library-body{padding:16px}.oos-course-library-body h3{font-size:20px;margin:8px 0}.oos-course-library-body p{min-height:44px;color:#536274}.oos-course-library-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.oos-course-library-meta .is-active{color:#11733c}.oos-course-library-meta .is-draft{color:#8b6500}.oos-course-library-open{display:inline-block;margin-top:8px;font-weight:800;color:#0f6b35}
.oos-course-add-list .oos-table-wrap{margin-top:8px}.oos-course-compact-table td{vertical-align:middle}.oos-course-table-actions{display:flex;gap:8px;flex-wrap:wrap}.oos-course-table-actions .oos-button{padding:8px 13px;min-height:auto}
.oos-course-workspace-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.oos-course-workspace-head>div{display:flex;gap:8px}.oos-course-full-workspace{display:grid;grid-template-columns:minmax(320px,44%) 1fr;gap:30px;background:#fff;border:1px solid #d9e3ea;border-radius:18px;padding:22px}.oos-course-full-image{min-height:330px;border-radius:14px;overflow:hidden;background:#eff5f1;display:flex;align-items:center;justify-content:center}.oos-course-full-image img{width:100%;height:100%;object-fit:cover}.oos-course-full-image span{font-size:64px;font-weight:800;color:#176337}.oos-course-full-content h1{font-size:34px;margin:12px 0}.oos-course-full-short{font-size:18px;color:#4f6070;font-weight:600}.oos-course-full-description{margin-top:20px;font-size:16px;line-height:1.7}.oos-course-full-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.oos-course-full-editor-wrap{max-width:980px;margin:0 auto}.oos-course-full-editor{padding:24px}.oos-course-workspace-title h2{margin:4px 0 18px}.oos-course-workspace-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media(max-width:900px){.oos-course-full-workspace{grid-template-columns:1fr}.oos-course-workspace-form-grid{grid-template-columns:1fr}.oos-course-workspace-head{align-items:flex-start;flex-direction:column}}

/* v3.6.6.308 Course status actions */
.oos-course-library-actions{display:flex;gap:10px;align-items:center;padding:0 16px 16px;flex-wrap:wrap}
.oos-course-library-actions form,.oos-course-inline-action{margin:0}
.oos-course-library-actions .oos-button{white-space:nowrap}
.oos-button.is-course-disable{background:#fff5f3;color:#a92f24;border:1px solid #e7a59e}
.oos-button.is-course-disable:hover{background:#fde9e6;color:#8f241b}
.oos-course-full-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}

/* v3.6.6.309 View Courses action visibility fix */
.oos-course-library-card{display:flex;flex-direction:column}
.oos-course-library-link{height:auto;flex:1 1 auto}
.oos-course-library-actions{position:relative;z-index:2;flex:0 0 auto;background:#fff}

/* v3.6.6.310 — Match View Courses cards to Add Courses card size */
.oos-course-view-grid{
    grid-template-columns:repeat(auto-fill,minmax(280px,300px));
    justify-content:start;
    gap:14px;
}
.oos-course-library-card{
    width:100%;
    max-width:300px;
    min-height:304px;
    border-radius:14px;
}
.oos-course-library-image{
    height:135px;
}
.oos-course-library-body{
    padding:14px;
}
.oos-course-library-body h3{
    font-size:16px;
    margin:6px 0;
}
.oos-course-library-body p{
    min-height:38px;
    margin:6px 0 10px;
    font-size:12px;
    line-height:1.45;
}
.oos-course-library-meta{
    font-size:11px;
}
.oos-course-library-actions{
    padding:0 14px 14px;
    gap:7px;
}
.oos-course-library-actions .oos-button{
    padding:8px 11px;
    font-size:11px;
}

/* v3.6.6.311 — Course button legibility + single-column Add Courses */
.oos-course-library-actions .oos-button{
    padding:9px 13px;
    font-size:13px;
    font-weight:800;
    line-height:1.2;
}
.oos-course-add-single{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:22px;
    align-items:start;
}
.oos-course-add-single .oos-course-editor,
.oos-course-add-single .oos-course-add-list{
    width:100%;
    max-width:none;
}
.oos-course-add-single .oos-course-editor{
    box-sizing:border-box;
}
.oos-course-add-single .oos-course-add-list .oos-table-wrap{
    width:100%;
    overflow-x:auto;
}
.oos-course-add-single .oos-course-compact-table{
    width:100%;
    min-width:0;
    table-layout:fixed;
}
.oos-course-add-single .oos-course-compact-table th:nth-child(1),
.oos-course-add-single .oos-course-compact-table td:nth-child(1){
    width:24%;
}
.oos-course-add-single .oos-course-compact-table th:nth-child(2),
.oos-course-add-single .oos-course-compact-table td:nth-child(2){
    width:auto;
}
.oos-course-add-single .oos-course-compact-table th:nth-child(3),
.oos-course-add-single .oos-course-compact-table td:nth-child(3){
    width:150px;
}

/* v3.6.6.312 — keep View Course and Disable Course on one line */
.oos-course-library-actions{
    gap:8px;
    flex-wrap:nowrap;
}
.oos-course-library-actions form,
.oos-course-library-actions .oos-course-inline-action{
    flex:1 1 0;
    min-width:0;
}
.oos-course-library-actions .oos-button{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:10px 10px;
    font-size:12px;
    font-weight:800;
    line-height:1.15;
}

/* v3.6.6.313 — Course form label clarity + larger course table typography */
.oos-course-add-single .oos-course-editor label{
    display:block;
    line-height:1.35;
    overflow:visible;
}
.oos-course-add-single .oos-course-editor label > select,
.oos-course-add-single .oos-course-editor label > input,
.oos-course-add-single .oos-course-editor label > textarea{
    margin-top:8px;
}
.oos-course-add-single .oos-course-editor select{
    line-height:1.35;
    min-height:42px;
}
.oos-course-add-single .oos-course-compact-table{
    font-size:14px;
}
.oos-course-add-single .oos-course-compact-table th{
    font-size:13px;
    font-weight:800;
}
.oos-course-add-single .oos-course-compact-table td{
    font-size:14px;
    line-height:1.45;
}
.oos-course-add-single .oos-course-table-actions .oos-button{
    font-size:13px;
    font-weight:700;
    padding:8px 11px;
}


/* v3.6.6.314 — Student Intake single-column layout */
.oos-course-offering-layout{
    grid-template-columns: 1fr;
}
.oos-course-offering-layout > form,
.oos-course-offering-layout > div{
    max-width: 100%;
}
.oos-course-offering-layout > div h3{
    margin-top: 0;
}

/* v3.6.6.315 — Guided Student Intake accordion workflow */
.oos-course-offering-editor .oos-course-form-section{scroll-margin-top:90px}
.oos-intake-section-actions{display:flex;justify-content:flex-end;align-items:center;margin-top:14px;padding-top:12px;border-top:1px solid #e4eaf1}
.oos-intake-section-actions .oos-button{margin:0;min-width:190px;font-weight:800}
.oos-course-intake-list-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.oos-course-intake-list-actions>span{padding:5px 8px;border-radius:999px;background:#eef4ff;color:#31598b;font-size:11px;font-weight:800}
#current-student-intakes{scroll-margin-top:90px}
@media(max-width:640px){.oos-intake-section-actions .oos-button{width:100%;min-width:0}}

/* v3.6.6.317 — Student Intake sequential flow + stronger form text */
.oos-course-offering-editor input,
.oos-course-offering-editor textarea,
.oos-course-offering-editor select{
    color:#172033 !important;
    font-weight:500;
}
.oos-course-offering-editor input::placeholder,
.oos-course-offering-editor textarea::placeholder{
    color:#9ba7b7 !important;
    opacity:1;
}
.oos-course-offering-editor select option{
    color:#172033;
}

/* v3.6.6.318 — None autofill buttons for optional Student Intake fields */
.oos-intake-label-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:6px;
}
.oos-intake-none-button{
    appearance:none;
    border:1px solid #cfd8e5;
    border-radius:7px;
    background:#f7f9fc;
    color:#26364b;
    padding:5px 10px;
    font-size:12px;
    font-weight:800;
    line-height:1;
    cursor:pointer;
}
.oos-intake-none-button:hover{
    background:#eef3f8;
    border-color:#aebccc;
}

/* v3.6.6.319 — Payment Terms presets + stable None hover state */
.oos-intake-none-button,
.oos-intake-none-button:hover,
.oos-intake-none-button:focus,
.oos-intake-none-button:active{
    opacity:1 !important;
    visibility:visible !important;
    color:#26364b !important;
    text-shadow:none !important;
}
.oos-intake-none-button:hover,
.oos-intake-none-button:focus{
    background:#e9eef5 !important;
    border-color:#93a4b8 !important;
    box-shadow:0 0 0 2px rgba(147,164,184,.14) !important;
}
.oos-payment-terms-choice{
    color:#172033 !important;
    font-weight:500;
}
.oos-payment-terms-custom-wrap{
    margin-top:10px !important;
}

/* v3.6.6.320 — Course card proportions, description clamp and visible actions */
.oos-course-library-card{
    min-height:0 !important;
    overflow:hidden;
}
.oos-course-library-image{
    height:180px !important;
    flex:0 0 60%;
}
.oos-course-library-body{
    flex:1 1 auto;
    min-height:0;
}
.oos-course-library-body p{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    text-overflow:ellipsis;
    min-height:0 !important;
    max-height:2.9em;
    line-height:1.45;
}
.oos-course-library-actions{
    display:grid !important;
    grid-template-columns:1fr 1fr;
    gap:8px;
    flex-wrap:nowrap !important;
    padding:0 14px 14px !important;
    background:#fff;
}
.oos-course-library-actions form{
    display:block;
    width:100%;
    min-width:0;
}
.oos-course-library-actions .oos-button{
    width:100% !important;
    min-width:0;
    padding:9px 8px !important;
    font-size:12px !important;
    line-height:1.2;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
