/* Your Home: charcoal, warm gold and calm, readable work surfaces. */
:root { --yh-ink:#242326; --yh-gold:#b18b35; --yh-cream:#f7f3e9; --bs-primary:#80601e; --bs-primary-rgb:128,96,30; --bs-link-color:#80601e; --bs-link-hover-color:#523c13; }
body { background:#f5f4f1; color:var(--yh-ink); font-family:'Segoe UI',system-ui,sans-serif; min-height:100vh; display:flex; flex-direction:column; }
main { flex:1; padding-bottom:2rem; }
.navbar { background:var(--yh-ink)!important; border-bottom:3px solid var(--yh-gold); padding-block:.85rem; }
.navbar-brand { letter-spacing:.05em; font-weight:650; color:#ebd69b!important; }
.navbar .nav-link { color:#ddd9d0; border-radius:.5rem; }
.navbar .nav-link.active,.navbar .nav-link:hover { background:#39352b; color:#f7dea0; }
h1 { font-size:clamp(1.45rem,2.6vw,2rem); font-weight:650; letter-spacing:-.025em; }
h2,h3,h4,h5 { color:var(--yh-ink); }
.card { border:1px solid #e4dfd3; border-radius:14px; box-shadow:0 3px 15px #24232606; overflow:visible; }
.card-header { background:var(--yh-cream); border-bottom:1px solid #e4dfd3; padding:1rem 1.25rem; }
.card-header:first-child { border-radius:13px 13px 0 0; }
.card-body { padding:1.25rem; }
.btn { border-radius:8px; font-weight:600; min-height:40px; }
.btn-primary { --bs-btn-bg:#80601e; --bs-btn-border-color:#80601e; --bs-btn-hover-bg:#634916; --bs-btn-hover-border-color:#634916; --bs-btn-active-bg:#523c13; --bs-btn-active-border-color:#523c13; --bs-btn-disabled-bg:#80601e; --bs-btn-disabled-border-color:#80601e; }
.btn-outline-primary { --bs-btn-color:#80601e; --bs-btn-border-color:#b18b35; --bs-btn-hover-bg:#80601e; --bs-btn-hover-border-color:#80601e; --bs-btn-active-bg:#80601e; }
.form-control,.form-select { border-color:#d8d3c7; border-radius:8px; min-height:40px; }
.form-control:focus,.form-select:focus { border-color:var(--yh-gold); box-shadow:0 0 0 .2rem #b18b3526; }
:focus-visible { outline:3px solid #b18b35; outline-offset:3px; }
.table { --bs-table-striped-bg:#faf8f2; --bs-table-hover-bg:#f4eddb; }
.table thead th { background:var(--yh-cream); color:var(--yh-ink); border-bottom:2px solid #c5a557; font-size:.82rem; padding-block:.9rem; }
.table td { vertical-align:middle; overflow-wrap:anywhere; }
.table-responsive { border-radius:8px; overflow-x:auto; max-width:100%; }
.card,.card-body { min-width:0; }
.orders-list-table { min-width:1000px; }
.orders-list-table td:not(:nth-child(2)) { white-space:nowrap; }
.navbar-nav .nav-link { white-space:nowrap; }
.page-link { color:#80601e; }
.active>.page-link { background:#80601e; border-color:#80601e; color:white; }
.footer { background:#eeebe3!important; border-top:1px solid #ded8c9; }
@media(max-width:767px) { .card-body { padding:1rem; } .btn-group { gap:.4rem; } .btn-group>.btn { border-radius:8px!important; } .navbar .nav-link { padding:.7rem; } }
@media print { .navbar,.footer,.btn,.alert { display:none!important; } body { background:white; } .card { box-shadow:none; break-inside:auto; } .table-responsive { overflow:visible; } thead { display:table-header-group; } tr { break-inside:avoid; } }

/* YOUR HOME Operations design layer — first safe pass. */
:root {
  --yh-bg:#f5f3ee;
  --yh-surface:#fff;
  --yh-surface-muted:#eeece6;
  --yh-ink:#22231f;
  --yh-ink-muted:#6f716a;
  --yh-border:#deddd6;
  --yh-olive:#68735c;
  --yh-olive-dark:#4e5846;
  --yh-terracotta:#b66b4c;
  --yh-amber:#c4964f;
  --yh-blue:#6f8ca7;
  --yh-red:#b9513d;
  --yh-shadow:0 6px 20px rgba(34,35,31,.06);
  --bs-primary:var(--yh-olive);
  --bs-primary-rgb:104,115,92;
  --bs-link-color:var(--yh-olive-dark);
  --bs-link-hover-color:var(--yh-terracotta);
}

html { background:var(--yh-bg); }
body {
  background:var(--yh-bg);
  color:var(--yh-ink);
  font-family:'Manrope','Segoe UI',system-ui,sans-serif;
  letter-spacing:-.005em;
}
main.container { max-width:1600px; }
.app-navbar {
  background:var(--yh-olive-dark)!important;
  border-bottom:0;
  box-shadow:0 4px 18px rgba(34,35,31,.14);
  padding-block:.65rem;
}
.app-navbar .navbar-brand { color:#fff!important; letter-spacing:.02em; font-weight:750; }
.app-navbar .navbar-brand img { object-fit:contain; }
.app-navbar .nav-link { color:#eeeee8; border-radius:7px; transition:background .15s ease,color .15s ease; }
.app-navbar .nav-link.active,.app-navbar .nav-link:hover { background:rgba(255,255,255,.13); color:#fff; }
.app-nav-links .nav-item-divider { border-color:rgba(255,255,255,.16); }
.dashboard-page { padding-bottom:1rem; }
.dashboard-page-header { padding:1.25rem 0 .35rem; }
.dashboard-page-header h1 { color:var(--yh-ink); font-size:clamp(1.65rem,2.4vw,2.25rem); letter-spacing:-.04em; }
.dashboard-page .card {
  background:var(--yh-surface);
  border:1px solid var(--yh-border);
  border-radius:12px;
  box-shadow:var(--yh-shadow);
}
.dashboard-page .card-header { background:var(--yh-surface); border-bottom:1px solid var(--yh-border); }
.dashboard-page .card-title { font-weight:700; letter-spacing:-.02em; }
.dashboard-page .card-footer { background:var(--yh-surface-muted); border-top:1px solid var(--yh-border); }
.dashboard-page .bg-primary { background:var(--yh-olive)!important; }
.dashboard-page .bg-success { background:#788b68!important; }
.dashboard-page .bg-warning { background:var(--yh-amber)!important; color:var(--yh-ink)!important; }
.dashboard-page .bg-danger { background:var(--yh-terracotta)!important; }
.dashboard-page .table thead th { background:var(--yh-surface-muted); border-bottom:1px solid var(--yh-border); }
.dashboard-page .table-hover tbody tr:hover { background:#f1f0e9; }
.dashboard-page .btn-outline-primary { --bs-btn-color:var(--yh-olive-dark); --bs-btn-border-color:var(--yh-olive); --bs-btn-hover-bg:var(--yh-olive); --bs-btn-hover-border-color:var(--yh-olive); }
.dashboard-page .badge.bg-primary { background:var(--yh-olive)!important; }
.dashboard-page .badge.bg-warning { background:#ead9ad!important; color:#614a1f!important; }
.dashboard-page .badge.bg-danger { background:#f2d2c9!important; color:#7e3325!important; }
.dashboard-page .badge.bg-success { background:#dbe7d5!important; color:#3e5b36!important; }
.dashboard-page canvas { max-height:300px; }
.footer { background:#ebe9e2!important; color:var(--yh-ink-muted); border-top:1px solid var(--yh-border); }
.alert { border-radius:9px; border-width:1px; box-shadow:none; }
.btn { border-radius:7px; font-weight:700; }
.form-control,.form-select { border-color:var(--yh-border); }
.form-control:focus,.form-select:focus { border-color:var(--yh-olive); box-shadow:0 0 0 .2rem rgba(104,115,92,.18); }
:focus-visible { outline:3px solid var(--yh-amber); outline-offset:3px; }
.table { --bs-table-striped-bg:#faf9f5; --bs-table-hover-bg:#f1f0e9; }
.table td,.table th { border-color:#e8e6df; }
.badge { border-radius:5px; font-weight:700; }
@media (max-width:767px) {
  .dashboard-page-header { align-items:flex-start!important; flex-direction:column; gap:.75rem; }
  .dashboard-page-header > div { width:100%; display:flex; gap:.5rem; }
  .dashboard-page-header .btn { flex:1; margin-right:0!important; }
  .dashboard-page .card { border-radius:10px; }
}

/* Unified order workflow screens: single order, group, Telegram and email. */
.workflow-page { max-width: 1180px; margin: 0 auto; padding: 18px 0 32px; }
.workflow-header { display:flex; align-items:flex-start; justify-content:space-between; flex-wrap:wrap; gap:18px; margin-bottom:18px; }
.workflow-header h1 { margin:3px 0 5px; color:var(--yh-ink); font-size:1.45rem; letter-spacing:-.025em; }
.workflow-header p { margin:0; color:var(--yh-ink-muted); font-size:.82rem; }
.workflow-header .btn { flex:0 0 auto; }
.workflow-actions { display:flex; flex-wrap:wrap; flex-basis:100%; gap:8px; width:100%; margin-top:14px; }
.workflow-actions .btn { display:inline-flex; align-items:center; gap:7px; min-height:38px; border-radius:8px; font-size:.76rem; font-weight:700; }
.workflow-card { overflow:hidden; border:1px solid var(--yh-border); border-radius:12px; background:var(--yh-surface); box-shadow:var(--yh-shadow); }
.workflow-card + .workflow-card { margin-top:16px; }
.workflow-card-header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:15px 18px; color:var(--yh-ink); background:#f7f7f3; border-bottom:1px solid var(--yh-border); }
.workflow-card-header h3,.workflow-card-header h5 { margin:0; font-size:.96rem; font-weight:800; }
.workflow-card-body { padding:18px; }
.workflow-step { color:var(--yh-olive-dark); font-size:.64rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.workflow-choice { display:flex; align-items:center; gap:12px; min-height:58px; padding:12px 14px; border:1px solid var(--yh-border); border-radius:9px; background:#fff; }
.workflow-choice + .workflow-choice { margin-top:8px; }
.workflow-choice:hover { border-color:#b9c5ae; background:#f7faf5; }
.workflow-choice strong { color:var(--yh-ink); font-size:.82rem; }
.workflow-choice small { color:var(--yh-ink-muted); }
.supplier-picker-row-link { color:inherit; text-decoration:none; cursor:pointer; }
.supplier-picker-row-link:hover { color:inherit; text-decoration:none; transform:translateY(-1px); box-shadow:0 4px 12px rgba(36,38,32,.08); }
.supplier-picker-arrow { display:inline-flex; align-items:center; justify-content:center; flex:0 0 30px; width:30px; height:30px; border-radius:50%; color:var(--yh-olive-dark); background:#eef3ea; }
.supplier-picker-hint { display:inline-flex; align-items:center; gap:6px; color:var(--yh-ink-muted); font-size:.74rem; }
.workflow-footer-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; padding-top:14px; border-top:1px solid #efeee9; }
@media (max-width:767px) {
  .workflow-page { padding-top:4px; }
  .workflow-header { flex-direction:column; }
  .workflow-header .btn { width:100%; justify-content:center; }
  .workflow-actions .btn { flex:1 1 100%; justify-content:center; }
  .workflow-card-body { padding:13px; }
}

/* Order detail readability: larger product and summary text for low-vision users. */
.order-detail-page .table-borderless th,
.order-detail-page .table-borderless td { font-size:.96rem; line-height:1.55; }
.order-detail-page .table-products-order th { font-size:.82rem; }
.order-detail-page .table-products-order td { font-size:.98rem; line-height:1.55; }
.order-detail-page .table-products-order .col-narrow { font-variant-numeric:tabular-nums; }
.order-detail-page .card-title { font-size:1.08rem; }
.order-detail-page .btn-photo { font-size:.86rem; min-height:32px; }
.order-detail-hero {
  margin:0 0 22px;
  padding:22px 24px 18px;
  border:1px solid var(--yh-border);
  border-radius:14px;
  background:var(--yh-surface);
  box-shadow:var(--yh-shadow);
}
.order-detail-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; }
.order-detail-heading h1 { margin:2px 0 5px; color:var(--yh-ink); font-size:clamp(1.65rem,2.8vw,2.25rem); letter-spacing:-.04em; }
.order-detail-heading p { margin:0; color:var(--yh-ink-muted); font-size:.9rem; }
.order-detail-back { display:inline-flex; align-items:center; gap:7px; flex:0 0 auto; min-height:40px; padding:9px 13px; border:1px solid var(--yh-border); border-radius:8px; color:var(--yh-olive-dark); background:#fafaf7; font-size:.82rem; font-weight:800; text-decoration:none; }
.order-detail-back:hover { color:var(--yh-ink); background:#f0f1eb; border-color:var(--yh-olive); }
.order-detail-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; padding-top:16px; border-top:1px solid #ecebe5; }
.order-detail-actions .order-action { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:42px; padding:9px 13px; border:1px solid transparent; border-radius:8px; color:#fff; font-size:.8rem; font-weight:800; text-decoration:none; transition:transform .15s ease,filter .15s ease,box-shadow .15s ease; }
.order-detail-actions .order-action i { font-size:1rem; line-height:1; }
.order-detail-actions .order-action:hover { color:#fff; transform:translateY(-1px); filter:brightness(.96); box-shadow:0 4px 10px rgba(34,35,31,.12); }
.order-action-client { background:var(--yh-olive); border-color:var(--yh-olive)!important; }
.order-action-supplier { background:#6f8ca7; border-color:#6f8ca7!important; }
.order-action-telegram { background:#5f9477; border-color:#5f9477!important; }
.order-action-status { background:var(--yh-amber); border-color:var(--yh-amber)!important; color:var(--yh-ink)!important; }
.order-action-status:hover { color:var(--yh-ink)!important; }
.order-action-tracking { background:#b66b4c; border-color:#b66b4c!important; }
.order-action-print { color:var(--yh-olive-dark)!important; background:#f5f4ef; border-color:var(--yh-border)!important; }
.order-action-print:hover { color:var(--yh-ink)!important; background:#ebeae3; }
.order-group-page .alert-info { border-color:#d9e4d4; color:#4e6048; background:#eef5eb; }
@media (max-width:767px) {
  .order-detail-hero { padding:18px 16px 16px; border-radius:11px; }
  .order-detail-heading { flex-direction:column; gap:12px; }
  .order-detail-heading h1 { font-size:1.55rem; }
  .order-detail-heading p { font-size:.86rem; }
  .order-detail-back { width:100%; justify-content:center; }
  .order-detail-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .order-detail-actions .order-action { width:100%; min-height:46px; padding-inline:8px; font-size:.78rem; }
  .order-detail-actions .order-action span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .order-detail-page .table-borderless th,
  .order-detail-page .table-borderless td { font-size:1rem; }
  .order-detail-page .table-products-order tbody td:nth-of-type(2) { font-size:1rem; line-height:1.5; }
  .order-detail-page .table-products-order tbody td:nth-of-type(3),
  .order-detail-page .table-products-order tbody td:nth-of-type(4),
  .order-detail-page .table-products-order tbody td:nth-of-type(5) { font-size:.92rem; }
}

/* Offline price workspace: readable catalog table and real product thumbnails. */
.offline-price-page { padding:28px 34px 42px; max-width:1700px; margin:0 auto; }
.offline-price-header h1 { margin:0; color:var(--yh-ink); font-size:clamp(1.6rem,2.4vw,2.15rem); letter-spacing:-.04em; }
.offline-price-header h1 i { color:var(--yh-olive); }
.offline-price-header .btn { display:inline-flex; align-items:center; gap:7px; min-height:42px; }
.offline-price-tabs { gap:5px; padding:5px; border:1px solid var(--yh-border); border-radius:11px; background:#ebeae4; }
.offline-price-tabs .nav-link { display:inline-flex; align-items:center; gap:5px; border:0; border-radius:8px; color:var(--yh-ink-muted); font-weight:700; }
.offline-price-tabs .nav-link.active { color:var(--yh-ink); background:#fff; box-shadow:0 2px 7px rgba(40,43,35,.09); }
.offline-price-filter-card,.offline-price-table-card { border:1px solid var(--yh-border); border-radius:13px; box-shadow:var(--yh-shadow); overflow:hidden; }
.offline-price-filter-card .card-body { padding:20px 22px; }
.offline-price-filter-card .form-label { color:var(--yh-ink-muted); font-size:.8rem; }
.offline-price-filter-card .form-control,.offline-price-filter-card .input-group-text { min-height:40px; border-color:#dedfd8; background:#fafaf7; }
.offline-price-table-card .card-body { padding:20px 22px; }
.offline-price-table { min-width:1240px; margin-bottom:0; }
.offline-price-table thead th { padding:13px 10px; color:var(--yh-ink-muted); background:#f3f2ed; border-bottom:1px solid var(--yh-border); font-size:.75rem; font-weight:800; white-space:nowrap; }
.offline-price-table tbody td { padding:12px 10px; color:var(--yh-ink); border-color:#e8e6df; font-size:.86rem; line-height:1.45; vertical-align:middle; }
.offline-price-table tbody tr:hover { background:#f8faf5; }
.offline-price-table .badge { padding:5px 8px; border-radius:6px; font-size:.72rem; }
.offline-price-table .input-group { min-width:126px; }
.offline-price-table .btn-add-to-cart { display:inline-flex; align-items:center; justify-content:center; min-width:39px; background:var(--yh-olive); border-color:var(--yh-olive); }
.offline-price-table .btn-add-to-cart:hover { background:var(--yh-olive-dark); border-color:var(--yh-olive-dark); }
.photo-thumb { position:relative; display:inline-flex; align-items:center; justify-content:center; width:50px; height:50px; padding:3px; border:1px solid #d8d9d0; border-radius:8px; background:#fff; cursor:pointer; overflow:hidden; box-shadow:0 1px 3px rgba(40,43,35,.08); }
.photo-thumb:hover { border-color:var(--yh-olive); box-shadow:0 0 0 3px rgba(104,124,90,.16); }
.photo-thumb img { display:block; width:100%; height:100%; object-fit:contain; }
.photo-thumb-count { position:absolute; right:2px; bottom:2px; min-width:17px; padding:1px 4px; border-radius:5px; color:#fff; background:rgba(37,42,34,.82); font-size:.65rem; font-weight:800; line-height:1.2; }
.photo-empty { color:#9da197; font-size:1rem; }
.photo-tools { display:inline-flex; align-items:center; gap:5px; }
.photo-upload-trigger { display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; padding:0; border:1px solid #d7d9d0; border-radius:7px; color:var(--yh-olive-dark); background:#f5f7f1; cursor:pointer; }
.photo-upload-trigger:hover { border-color:var(--yh-olive); color:#fff; background:var(--yh-olive); }
.photo-upload-trigger:disabled { opacity:.7; cursor:wait; }
.photo-url-trigger { display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; padding:0; border:1px solid #d7d9d0; border-radius:7px; color:#496d82; background:#f1f6f8; cursor:pointer; }
.photo-url-trigger:hover { border-color:#496d82; color:#fff; background:#496d82; }
.photo-url-trigger:disabled { opacity:.7; cursor:wait; }
@media (max-width:767px) {
  .offline-price-page { padding:22px 15px 32px; }
  .offline-price-header { align-items:flex-start!important; flex-direction:column; }
  .offline-price-header > div { width:100%; }
  .offline-price-header .btn { flex:1; justify-content:center; }
  .offline-price-tabs { flex-direction:column; }
  .offline-price-tabs .nav-link { justify-content:center; }
  .offline-price-filter-card .card-body,.offline-price-table-card .card-body { padding:15px; }
  .offline-price-table { min-width:1240px; }
}

/* Full YOUR HOME Operations shell. Existing links, forms and endpoints stay intact. */
.yh-app-body { display:block; min-height:100vh; background:var(--yh-bg); }
.yh-app-shell { display:grid; grid-template-columns:250px minmax(0,1fr); min-height:100vh; }
.yh-sidebar { position:sticky; top:0; z-index:1045; width:250px; height:100vh; display:flex; flex-direction:column; padding:22px 14px 16px; color:#f7f7f2; background:linear-gradient(180deg,#353d31 0%,#262c24 100%); box-shadow:5px 0 22px rgba(34,35,31,.12); }
.yh-sidebar-brand { position:relative; display:flex; align-items:center; justify-content:space-between; padding:0 10px 24px; }
.yh-brand-link { display:flex; align-items:center; gap:10px; color:#fff; text-decoration:none; min-width:0; }
.yh-brand-link img { width:38px; height:38px; object-fit:contain; }
.yh-brand-link span { display:flex; flex-direction:column; line-height:1.1; }
.yh-brand-link strong { font-size:1.08rem; letter-spacing:.045em; }
.yh-brand-link small { margin-top:5px; color:#cbd0c4; font-size:.55rem; letter-spacing:.08em; }
.yh-sidebar-section-label { padding:14px 12px 7px; color:#aeb8a4; font-size:.68rem; font-weight:800; letter-spacing:.13em; text-transform:uppercase; }
.yh-sidebar-nav { display:flex; flex-direction:column; gap:3px; }
.yh-side-link { display:flex; align-items:center; gap:12px; width:100%; min-height:43px; padding:10px 12px; border:0; border-radius:9px; color:#e9ede4; background:transparent; font:inherit; font-size:.91rem; text-align:left; text-decoration:none; transition:background .15s ease,color .15s ease,transform .15s ease; }
.yh-side-link i { width:20px; color:#bdc8b4; font-size:1.05rem; text-align:center; }
.yh-side-link:hover { color:#fff; background:rgba(255,255,255,.10); transform:translateX(2px); }
.yh-side-link.active { color:#fff; background:#68735c; box-shadow:0 4px 12px rgba(0,0,0,.12); }
.yh-side-link.active i { color:#fff; }
.yh-sidebar-spacer { flex:1; min-height:18px; }
.yh-sidebar-logout { margin:0; }
.yh-sidebar-close { border:0; color:#fff; background:transparent; font-size:1.15rem; }
.yh-sidebar-collapse { align-items:center; justify-content:center; flex:0 0 30px; width:30px; height:30px; padding:0; border:1px solid rgba(255,255,255,.18); border-radius:8px; color:#e9ede4; background:rgba(255,255,255,.08); font-size:.82rem; transition:background .15s ease,color .15s ease; }
.yh-sidebar-collapse:hover { color:#fff; background:rgba(255,255,255,.18); }
.yh-main-column { grid-column:2; width:auto; min-width:0; margin-left:0; display:flex; flex-direction:column; min-height:100vh; }
.yh-topbar { min-height:76px; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:13px 28px; background:rgba(255,255,255,.92); border-bottom:1px solid var(--yh-border); }
.yh-topbar-context { display:flex; flex-direction:column; line-height:1.15; }
.yh-topbar-context strong { font-size:1.02rem; color:var(--yh-ink); }
.yh-eyebrow { margin-bottom:4px; color:var(--yh-olive); font-size:.63rem; font-weight:800; letter-spacing:.15em; }
.yh-topbar-actions { display:flex; align-items:center; gap:12px; }
.yh-global-search { width:min(330px,32vw); height:42px; align-items:center; gap:8px; padding:0 12px; border:1px solid var(--yh-border); border-radius:8px; color:var(--yh-ink-muted); background:var(--yh-bg); }
.yh-global-search input { width:100%; border:0; outline:0; color:var(--yh-ink); background:transparent; font:inherit; font-size:.84rem; }
.btn-yh-primary { color:#fff!important; border-color:var(--yh-olive)!important; background:var(--yh-olive)!important; }
.btn-yh-primary:hover { border-color:var(--yh-olive-dark)!important; background:var(--yh-olive-dark)!important; }
.yh-quick-create { display:inline-flex; align-items:center; gap:7px; min-height:42px; }
.yh-user-chip { display:flex; align-items:center; gap:8px; color:var(--yh-ink); font-size:.86rem; font-weight:700; white-space:nowrap; }
.yh-user-avatar { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:50%; color:#fff; background:var(--yh-olive-dark); }
.yh-menu-toggle { width:42px; height:42px; border:1px solid var(--yh-border); border-radius:8px; color:var(--yh-ink); background:#fff; font-size:1.35rem; }
.yh-main-content { flex:1; width:100%; }
.yh-footer { display:flex; justify-content:space-between; gap:12px; padding:16px 28px; color:var(--yh-ink-muted); background:transparent; border-top:1px solid var(--yh-border); font-size:.78rem; }
@media (max-width:991.98px) {
  .yh-app-shell { display:block; }
  .yh-sidebar { display:none; }
  .yh-sidebar.offcanvas { position:fixed; inset:0 auto 0 0; display:flex; width:280px; height:100vh; }
  .yh-main-column { width:100%; margin-left:0; }
  .yh-topbar { padding-inline:16px; }
}
@media (min-width:992px) {
  .yh-sidebar.offcanvas { visibility:visible; transform:none; }
  .yh-sidebar-close { display:none; }
  .yh-app-shell.sidebar-collapsed { grid-template-columns:78px minmax(0,1fr); }
  .yh-app-shell.sidebar-collapsed .yh-sidebar { width:78px; padding-inline:10px; }
  .yh-app-shell.sidebar-collapsed .yh-sidebar-brand { justify-content:center; padding-inline:0; }
  .yh-app-shell.sidebar-collapsed .yh-brand-link { justify-content:center; }
  .yh-app-shell.sidebar-collapsed .yh-brand-link span,
  .yh-app-shell.sidebar-collapsed .yh-sidebar-section-label,
  .yh-app-shell.sidebar-collapsed .yh-side-link span { display:none; }
  .yh-app-shell.sidebar-collapsed .yh-sidebar-brand .yh-brand-link img { width:38px; }
  .yh-app-shell.sidebar-collapsed .yh-sidebar-collapse { position:absolute; top:24px; right:-15px; z-index:2; border-color:rgba(255,255,255,.32); background:#68735c; box-shadow:0 3px 10px rgba(0,0,0,.18); }
  .yh-app-shell.sidebar-collapsed .yh-side-link { justify-content:center; gap:0; padding-inline:0; }
  .yh-app-shell.sidebar-collapsed .yh-side-link i { width:auto; font-size:1.2rem; }
  .yh-app-shell.sidebar-collapsed .yh-sidebar-nav { gap:6px; }
  .yh-app-shell.sidebar-collapsed .yh-sidebar-spacer { min-height:12px; }
}
@media (max-width:575px) {
  .yh-topbar { min-height:66px; padding-block:10px; }
  .yh-topbar-context strong { font-size:.9rem; }
  .yh-quick-create span { display:none; }
  .yh-quick-create { width:42px; justify-content:center; padding-inline:0; }
  .yh-footer { padding-inline:16px; }
}

/* Supplier orders workspace — keeps every existing action, but gives the
   section the same visual hierarchy as the main YOUR HOME dashboard. */
.supplier-orders-page { padding:30px 34px 42px; max-width:1500px; margin:0 auto; }
.supplier-page-header { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; margin-bottom:24px; }
.supplier-page-header h1 { margin:5px 0 6px; color:var(--yh-ink); font-size:clamp(1.75rem,2.7vw,2.4rem); letter-spacing:-.045em; }
.supplier-page-header p { margin:0; color:var(--yh-ink-muted); }
.supplier-eyebrow { display:block; color:var(--yh-olive); font-size:.66rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.supplier-eyebrow i { margin-right:4px; }
.supplier-primary-action { display:inline-flex; align-items:center; gap:8px; min-height:44px; white-space:nowrap; }
.supplier-kpi-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-bottom:22px; }
.supplier-kpi-card { display:flex; align-items:center; gap:14px; min-height:94px; padding:16px 18px; border:1px solid var(--yh-border); border-radius:12px; background:var(--yh-surface); box-shadow:var(--yh-shadow); }
.supplier-kpi-card > div { display:flex; flex-direction:column; min-width:0; }
.supplier-kpi-card small { color:var(--yh-ink-muted); font-weight:700; }
.supplier-kpi-card strong { color:var(--yh-ink); font-size:1.55rem; line-height:1.25; }
.supplier-kpi-card span:last-child { color:var(--yh-ink-muted); font-size:.76rem; }
.supplier-kpi-icon { display:inline-flex; align-items:center; justify-content:center; flex:0 0 44px; width:44px; height:44px; border-radius:11px; font-size:1.2rem; }
.supplier-kpi-icon.olive { color:#4b603f; background:#e0e9da; }
.supplier-kpi-icon.amber { color:#76591e; background:#f4e8c9; }
.supplier-kpi-icon.blue { color:#4e6c86; background:#e1eaf2; }
.supplier-section-tabs { display:flex; gap:8px; padding:6px; margin-bottom:16px; border:1px solid var(--yh-border); border-radius:12px; background:#ebeae4; }
.supplier-section-tabs a { display:flex; align-items:center; gap:9px; min-width:250px; padding:11px 15px; border-radius:8px; color:var(--yh-ink-muted); text-decoration:none; transition:.15s ease; }
.supplier-section-tabs a i { color:var(--yh-olive); font-size:1.05rem; }
.supplier-section-tabs a span { font-weight:800; font-size:.86rem; }
.supplier-section-tabs a small { color:inherit; font-size:.73rem; }
.supplier-section-tabs a.active { color:var(--yh-ink); background:#fff; box-shadow:0 2px 7px rgba(40,43,35,.09); }
.supplier-section-tabs a.active i { color:var(--yh-terracotta); }
.supplier-info-banner { display:flex; align-items:center; gap:13px; margin-bottom:18px; padding:14px 17px; border:1px solid #e4d9bd; border-radius:11px; background:#fbf5e6; }
.supplier-info-banner > div { display:flex; flex:1; flex-direction:column; gap:2px; }
.supplier-info-banner strong { color:var(--yh-ink); font-size:.88rem; }
.supplier-info-banner span:not(.supplier-info-icon) { color:var(--yh-ink-muted); font-size:.78rem; }
.supplier-info-icon { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:9px; color:#795d20; background:#f2dfae; }
.supplier-table-card { overflow:hidden; border-radius:13px; }
.supplier-table-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; padding:19px 22px 16px; border-bottom:1px solid var(--yh-border); background:var(--yh-surface); }
.supplier-table-heading h2 { margin:4px 0 0; color:var(--yh-ink); font-size:1.18rem; letter-spacing:-.03em; }
.supplier-live-status { color:var(--yh-ink-muted); font-size:.76rem; white-space:nowrap; }
.supplier-live-status i { display:inline-block; width:7px; height:7px; margin-right:5px; border-radius:50%; background:var(--yh-olive); box-shadow:0 0 0 3px #e0e9da; }
.supplier-orders-table { --bs-table-striped-bg:#faf9f5; --bs-table-hover-bg:#f1f0e9; }
.supplier-orders-table thead th { padding:12px 16px; color:var(--yh-ink-muted); background:#f3f2ed; border-bottom:1px solid var(--yh-border); font-size:.7rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; white-space:nowrap; }
.supplier-orders-table tbody td { padding:15px 16px; color:var(--yh-ink); border-color:#eceae3; font-size:.84rem; }
.supplier-orders-table tbody tr:hover { background:#f6f6f1; }
.supplier-orders-table tbody td:first-child { font-weight:800; }
.supplier-orders-table .btn { width:34px; height:32px; padding:0; border-radius:7px; }
.supplier-status { display:inline-flex; align-items:center; gap:5px; padding:5px 9px; border-radius:6px; font-size:.72rem; font-weight:800; white-space:nowrap; }
.supplier-status.sent { color:#3e5b36; background:#dbe7d5; }
.supplier-status.draft { color:#76591e; background:#f4e8c9; }
.supplier-status.reply-waiting { color:#285b86; background:#dcecf8; }
.supplier-status.reply-found { color:#775b13; background:#fff0bd; }
.supplier-status.reply-document { color:#8a4b16; background:#ffe1c2; }
.supplier-status.reply-attention { color:#8e2f2f; background:#f9d8d8; }
.supplier-status.reply-confirmed { color:#2f6a3b; background:#d8eedb; }
.supplier-status.reply-draft { color:#76591e; background:#f4e8c9; }
.supplier-reply-status-wrap { display:flex; flex-direction:column; align-items:flex-start; gap:3px; margin-bottom:4px; }
.supplier-reply-checked { color:var(--yh-ink-muted); font-size:.68rem; }
.supplier-empty-state { padding:55px 20px; text-align:center; }
.supplier-empty-state h3 { margin:12px 0 5px; color:var(--yh-ink); font-size:1.05rem; }
.supplier-empty-state p { margin:0 auto 18px; max-width:450px; color:var(--yh-ink-muted); font-size:.86rem; }
.supplier-empty-icon { display:inline-flex; align-items:center; justify-content:center; width:54px; height:54px; border-radius:15px; color:var(--yh-olive); background:#e0e9da; font-size:1.35rem; }
.supplier-detail-header { align-items:flex-start; }
.supplier-detail-header h1 { margin-top:7px; }
.supplier-back-link { display:inline-flex; align-items:center; gap:6px; margin-bottom:16px; color:var(--yh-olive-dark); font-size:.82rem; font-weight:800; text-decoration:none; }
.supplier-back-link:hover { color:var(--yh-terracotta); }
.supplier-detail-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.supplier-detail-actions .btn { display:inline-flex; align-items:center; gap:6px; }
.supplier-items-table tbody td { vertical-align:middle; }
.supplier-form-card { max-width:760px; overflow:hidden; border-radius:13px; }
.supplier-form-card .card-body { padding:24px; }
.supplier-form-card .form-label { color:var(--yh-ink-muted); font-size:.78rem; font-weight:800; }
.supplier-queue-card { border:1px solid var(--yh-border); background:var(--yh-surface); box-shadow:var(--yh-shadow); }
.supplier-section-subtitle { margin:5px 0 0; color:var(--yh-ink-muted); font-size:.78rem; }
.supplier-bulk-actions { display:flex; align-items:center; gap:10px; }
.supplier-bulk-actions .btn { display:inline-flex; align-items:center; gap:6px; }
.supplier-selected-count { color:var(--yh-ink-muted); font-size:.76rem; font-weight:700; }
.supplier-check-col { width:42px; text-align:center; }
.supplier-check-col input { width:16px; height:16px; accent-color:var(--yh-olive); }
.supplier-send-col { min-width:310px; width:34%; }
.supplier-automation-table thead th { padding:13px 16px; }
.supplier-automation-table tbody td { padding:18px 16px; vertical-align:top; }
.supplier-name-cell { display:flex; align-items:flex-start; gap:10px; min-width:170px; }
.supplier-name-cell > div { display:flex; flex-direction:column; gap:4px; }
.supplier-name-cell strong { color:var(--yh-ink); font-size:.86rem; }
.supplier-name-cell small { max-width:210px; overflow-wrap:anywhere; color:var(--yh-ink-muted); font-size:.74rem; font-weight:500; }
.supplier-row-icon { display:inline-flex; align-items:center; justify-content:center; flex:0 0 32px; width:32px; height:32px; border-radius:9px; color:var(--yh-olive-dark); background:#e4ebdf; }
.supplier-order-list { display:flex; flex-direction:column; gap:8px; min-width:190px; max-width:300px; }
.supplier-order-list > div { padding:8px 10px; border:1px solid #e6e3d8; border-radius:10px; background:linear-gradient(135deg,#fffdf8,#f8f7f1); box-shadow:0 2px 6px rgba(45,48,39,.04); }
.supplier-order-list > span { align-self:flex-start; padding:5px 9px; border:1px solid #e5e5dc; border-radius:7px; color:var(--yh-ink-muted); background:#fafaf7; font-size:.75rem; font-weight:700; }
.supplier-order-number { display:flex; align-items:center; gap:7px; color:var(--yh-ink); font-size:.88rem; font-weight:800; }
.supplier-order-number strong { letter-spacing:.01em; }
.supplier-order-number { flex-wrap:wrap; row-gap:6px; }
.supplier-order-number .manual-reply-search { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; width:auto; min-width:34px; min-height:30px; margin:0 0 0 2px !important; padding:4px 8px; border-radius:7px; line-height:1; white-space:nowrap; vertical-align:middle; }
.supplier-order-number .manual-reply-search i { margin:0; line-height:1; }
.supplier-order-list > .group-reply-search {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  width:100%;
  min-height:36px;
  margin:0 0 2px;
  padding:7px 10px;
  border-radius:8px;
  line-height:1.2;
  white-space:normal;
  text-align:center;
}
@media (max-width:1199.98px) { .supplier-order-number .manual-reply-search span { display:none !important; } .supplier-order-number .manual-reply-search { width:32px; padding:4px; } }
.supplier-center-badge { display:inline-flex; align-items:center; gap:4px; padding:3px 7px; border-radius:999px; color:#68735c; background:#edf1e9; font-size:.64rem; font-weight:700; line-height:1.2; }
.supplier-center-badge i { color:#9a772c; font-size:.68rem; }
.supplier-order-note { display:flex; gap:6px; margin-top:7px; padding-top:7px; border-top:1px dashed #ddd9ca; color:#77786f; font-size:.7rem; line-height:1.4; white-space:pre-line; overflow-wrap:anywhere; }
.supplier-order-note i { flex:0 0 auto; margin-top:2px; color:#b18b35; }
.supplier-attachment-cell { display:flex; flex-direction:column; gap:7px; min-width:105px; }
.supplier-attachment-cell strong { color:var(--yh-ink); font-size:.8rem; white-space:nowrap; }
.supplier-attachment-cell strong i { color:var(--yh-terracotta); }
.supplier-attachment-cell a { color:var(--yh-olive-dark); font-size:.74rem; font-weight:800; text-decoration:none; white-space:nowrap; }
.supplier-attachment-cell a:hover { color:var(--yh-terracotta); }
.supplier-send-form { display:flex; flex-direction:column; gap:7px; max-width:330px; }
.supplier-send-form .form-control, .supplier-send-form .form-select { min-height:35px; border-color:#dedfd8; border-radius:8px; color:var(--yh-ink); font-size:.76rem; }
.supplier-send-form .form-control:focus, .supplier-send-form .form-select:focus { border-color:var(--yh-olive); box-shadow:0 0 0 3px rgba(104,124,90,.16); }
.supplier-confirm { display:flex; align-items:center; gap:7px; color:var(--yh-ink-muted); font-size:.74rem; }
.supplier-confirm input { width:15px; height:15px; accent-color:var(--yh-olive); }
.supplier-send-button { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:38px; border:0; border-radius:8px; color:#fff; background:var(--yh-olive); font-size:.78rem; font-weight:800; }
.supplier-orders-table .supplier-send-button { width:100%; height:auto; min-height:38px; padding:9px 12px; }
.supplier-send-button:hover { color:#fff; background:var(--yh-olive-dark); }
.supplier-delete-form { margin-top:7px; }
.supplier-delete-form .btn { display:inline-flex; align-items:center; gap:5px; width:auto; height:auto; padding:2px 0; font-size:.73rem; font-weight:700; }
.supplier-delete-form .btn:hover { color:#a33225!important; }
@media (max-width:767px) {
  .supplier-orders-page { padding:22px 15px 32px; }
  .supplier-page-header { align-items:flex-start; flex-direction:column; gap:14px; }
  .supplier-primary-action { width:100%; justify-content:center; }
  .supplier-kpi-grid { grid-template-columns:1fr; gap:9px; }
  .supplier-kpi-card { min-height:76px; }
  .supplier-section-tabs { flex-direction:column; gap:4px; }
  .supplier-section-tabs a { min-width:0; }
  .supplier-info-banner { align-items:flex-start; flex-wrap:wrap; }
  .supplier-info-banner .btn { width:100%; }
  .supplier-table-heading { align-items:flex-start; flex-direction:column; padding-inline:15px; }
  .supplier-detail-actions { width:100%; justify-content:stretch; }
  .supplier-detail-actions .btn { flex:1; justify-content:center; }
  .supplier-orders-table { min-width:760px; }
  .supplier-bulk-actions { width:100%; justify-content:space-between; }
  .supplier-section-subtitle { max-width:280px; }
}

/* Orders workspace: same visual language as the dashboard concept. */
.orders-page-header h1 { margin:.25rem 0 .35rem; color:var(--yh-ink); font-size:clamp(1.7rem,2.7vw,2.35rem); letter-spacing:-.045em; }
.orders-page-header p { max-width:650px; }
.orders-page-actions .btn { display:inline-flex; align-items:center; gap:7px; }
.orders-summary-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.orders-summary-card { display:flex; align-items:center; gap:13px; min-height:92px; padding:16px 18px; border:1px solid var(--yh-border); border-radius:12px; background:var(--yh-surface); box-shadow:var(--yh-shadow); }
.orders-summary-card > div { display:flex; flex-direction:column; min-width:0; }
.orders-summary-card small { color:var(--yh-ink-muted); font-weight:700; }
.orders-summary-card strong { color:var(--yh-ink); font-size:1.45rem; line-height:1.2; }
.orders-summary-card span:last-child { color:var(--yh-ink-muted); font-size:.76rem; }
.orders-summary-icon { display:inline-flex; align-items:center; justify-content:center; flex:0 0 42px; width:42px; height:42px; border-radius:10px; font-size:1.15rem; }
.orders-summary-icon.olive { color:#4b603f; background:#e0e9da; }
.orders-summary-icon.amber { color:#76591e; background:#f4e8c9; }
.orders-summary-icon.blue { color:#4e6c86; background:#e1eaf2; }
.orders-filter-card { box-shadow:none!important; }
.orders-filter-card .card-body { padding:17px 20px; }
.orders-filter-card label { color:var(--yh-ink-muted); font-size:.76rem; font-weight:800; letter-spacing:.02em; }
.orders-table-card .card-body { padding:0; }
.orders-table-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:12px; padding:20px 22px 16px; }
.orders-table-heading h2 { margin:2px 0 0; font-size:1.25rem; letter-spacing:-.035em; }
.orders-live-dot { color:var(--yh-ink-muted); font-size:.76rem; white-space:nowrap; }
.orders-live-dot i { display:inline-block; width:7px; height:7px; margin-right:5px; border-radius:50%; background:var(--yh-olive); box-shadow:0 0 0 3px #e0e9da; }
.orders-table-card .table-responsive { border-radius:0 0 12px 12px; }
.orders-table-card .orders-list-table thead th { border-top:1px solid var(--yh-border); }

/* Supplier picker: the same focused workflow as the YOUR HOME operations mockup. */
.supplier-picker-page { max-width:1080px; margin:0 auto; padding:4px 0 34px; }
.supplier-picker-breadcrumbs { display:flex; flex-wrap:wrap; gap:8px; margin:2px 0 20px; color:var(--yh-ink-muted); font-size:.74rem; }
.supplier-picker-breadcrumbs a { color:var(--yh-olive-dark); font-weight:700; text-decoration:none; }
.supplier-picker-breadcrumbs strong { color:var(--yh-ink); font-weight:800; }
.supplier-picker-header { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; margin-bottom:22px; }
.supplier-picker-header h1 { margin:5px 0 4px; color:var(--yh-ink); font-size:clamp(1.65rem,2.8vw,2.25rem); letter-spacing:-.045em; }
.supplier-picker-header h1 i { color:var(--yh-olive); margin-right:4px; }
.supplier-picker-header p { margin:0; color:var(--yh-ink-muted); font-size:.86rem; }
.orders-eyebrow { color:var(--yh-olive); font-size:.64rem; font-weight:900; letter-spacing:.14em; }
.supplier-picker-card { overflow:hidden; border:1px solid var(--yh-border); border-radius:14px; background:var(--yh-surface); box-shadow:var(--yh-shadow); }
.supplier-picker-card-head { display:flex; align-items:flex-end; justify-content:space-between; gap:18px; padding:19px 22px 16px; border-bottom:1px solid var(--yh-border); }
.supplier-picker-card-head h2 { margin:5px 0 0; color:var(--yh-ink); font-size:1.15rem; letter-spacing:-.03em; }
.supplier-picker-card-head h2 i { color:var(--yh-olive); margin-right:5px; }
.supplier-picker-search { display:flex; align-items:center; gap:8px; min-width:330px; padding:4px 5px 4px 11px; border:1px solid var(--yh-border); border-radius:9px; background:#fff; }
.supplier-picker-search > i { color:var(--yh-ink-muted); }
.supplier-picker-search input { min-width:0; flex:1; border:0; outline:0; color:var(--yh-ink); font-size:.78rem; }
.supplier-picker-search .btn { min-height:32px; padding:6px 12px; font-size:.74rem; }
.supplier-picker-list { padding:8px 14px; }
.supplier-picker-row { display:flex; align-items:center; gap:13px; min-height:67px; padding:11px 10px; border-bottom:1px solid #eeeDE7; cursor:pointer; transition:background .15s ease, transform .15s ease; }
.supplier-picker-row:last-child { border-bottom:0; }
.supplier-picker-row:hover { border-radius:9px; background:#f5f6f1; transform:translateX(2px); }
.supplier-picker-row:has(input:checked) { border-radius:9px; background:#edf3e9; box-shadow:inset 3px 0 var(--yh-olive); }
.supplier-picker-radio { flex:0 0 24px; text-align:center; }
.supplier-picker-radio input { width:17px; height:17px; accent-color:var(--yh-olive); }
.supplier-picker-icon { display:inline-flex; align-items:center; justify-content:center; flex:0 0 37px; width:37px; height:37px; border-radius:10px; color:var(--yh-olive-dark); background:#e3ecde; }
.supplier-picker-main { display:flex; flex:1; flex-direction:column; gap:3px; min-width:0; }
.supplier-picker-main strong { overflow:hidden; color:var(--yh-ink); font-size:.86rem; text-overflow:ellipsis; white-space:nowrap; }
.supplier-picker-main small { color:var(--yh-ink-muted); font-size:.72rem; }
.supplier-picker-contact { display:flex; flex-direction:column; gap:4px; min-width:190px; color:var(--yh-ink-muted); font-size:.73rem; }
.supplier-picker-contact i { width:17px; color:var(--yh-olive); }
.supplier-picker-row-actions { display:flex; align-items:center; justify-content:flex-end; gap:6px; flex:0 0 auto; opacity:0; pointer-events:none; transform:none; transition:none; }
.supplier-picker-row-actions[hidden] { display:none !important; }
.supplier-picker-row:has(input:checked) .supplier-picker-row-actions { opacity:1; pointer-events:auto; transform:none; }
.supplier-picker-row-actions .btn { display:inline-flex; align-items:center; gap:5px; min-height:32px; padding:6px 9px; white-space:nowrap; font-size:.7rem; font-weight:800; }
.supplier-picker-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 22px; border-top:1px solid var(--yh-border); background:#fafaf7; }
.supplier-picker-actions > div { display:flex; gap:8px; }
.supplier-picker-actions .btn { display:inline-flex; align-items:center; gap:6px; min-height:37px; font-size:.76rem; font-weight:800; }
.supplier-picker-empty { padding:52px 20px; color:var(--yh-ink-muted); text-align:center; }
.supplier-picker-empty > i { color:var(--yh-olive); font-size:1.6rem; }
.supplier-picker-empty h3 { margin:10px 0 4px; color:var(--yh-ink); font-size:1rem; }
.supplier-picker-empty p { margin:0; font-size:.8rem; }
@media (max-width:767px) {
  .supplier-picker-page { padding-inline:0; }
  .supplier-picker-header,.supplier-picker-card-head { align-items:flex-start; flex-direction:column; }
  .supplier-picker-header .btn { width:100%; justify-content:center; }
  .supplier-picker-search { width:100%; min-width:0; }
  .supplier-picker-contact { display:none; }
  .supplier-picker-row-actions { opacity:1; pointer-events:auto; transform:none; flex-wrap:wrap; }
  .supplier-picker-row-actions .btn span { display:none; }
  .supplier-picker-actions { align-items:stretch; flex-direction:column; }
  .supplier-picker-actions > div { width:100%; }
  .supplier-picker-actions .btn { flex:1; justify-content:center; }
}

/* Administration workspace: same calm YOUR HOME operations language. */
.admin-page { max-width:1500px; margin:0 auto; padding:10px 0 28px; }
.admin-page-header { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin:8px 0 22px; }
.admin-page-header h1 { margin:3px 0 5px; font-size:clamp(1.7rem,2.8vw,2.35rem); letter-spacing:-.045em; }
.admin-page-header p { margin:0; color:var(--yh-ink-muted); font-size:.9rem; }
.admin-header-status { display:inline-flex; align-items:center; gap:8px; padding:9px 12px; border:1px solid #d8e4d1; border-radius:8px; color:#4e6948; background:#f0f6ed; font-size:.78rem; font-weight:800; white-space:nowrap; }
.admin-status-dot { width:8px; height:8px; border-radius:50%; background:#6f9865; box-shadow:0 0 0 3px #dcebd7; }
.admin-layout { display:grid; grid-template-columns:220px minmax(0,1fr); gap:18px; align-items:start; }
.admin-nav-card,.admin-card,.admin-kpi { border:1px solid var(--yh-border); border-radius:12px; background:var(--yh-surface); box-shadow:var(--yh-shadow); }
.admin-nav-card { position:sticky; top:18px; overflow:hidden; }
.admin-nav-title { display:flex; align-items:center; gap:9px; padding:16px 17px; color:var(--yh-ink); font-size:.78rem; font-weight:800; border-bottom:1px solid var(--yh-border); }
.admin-nav-title i { color:var(--yh-olive); font-size:1.05rem; }
.admin-nav { display:flex; flex-direction:column; padding:7px; }
.admin-nav a { display:flex; align-items:center; gap:10px; min-height:40px; padding:9px 11px; border-radius:8px; color:var(--yh-ink-muted); font-size:.82rem; font-weight:700; text-decoration:none; }
.admin-nav a i { width:19px; color:#8b9484; font-size:1rem; text-align:center; }
.admin-nav a:hover { color:var(--yh-ink); background:#f1f3ed; }
.admin-nav a.active { color:#fff; background:var(--yh-olive); box-shadow:0 3px 8px rgba(78,88,70,.18); }
.admin-nav a.active i { color:#fff; }
.admin-workspace { min-width:0; }
.admin-kpi-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:16px; }
.admin-kpi { display:flex; align-items:center; gap:11px; min-height:86px; padding:14px; }
.admin-kpi-icon { display:inline-flex; align-items:center; justify-content:center; flex:0 0 38px; width:38px; height:38px; border-radius:10px; font-size:1.05rem; }
.admin-kpi-icon.olive { color:#4e6048; background:#e2ebdd; }.admin-kpi-icon.blue { color:#4d6c82; background:#e2edf3; }.admin-kpi-icon.amber { color:#76591e; background:#f4e8c9; }.admin-kpi-icon.terracotta { color:#8b4935; background:#f4dfd6; }
.admin-kpi div { display:flex; flex-direction:column; min-width:0; }.admin-kpi small,.admin-kpi span { color:var(--yh-ink-muted); font-size:.69rem; font-weight:700; }.admin-kpi strong { color:var(--yh-ink); font-size:1.4rem; line-height:1.2; }
.admin-card-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-bottom:16px; }
.admin-card { overflow:hidden; }
.admin-card-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:18px 20px 14px; border-bottom:1px solid var(--yh-border); }
.admin-card-heading h2 { margin:3px 0 0; font-size:1.08rem; letter-spacing:-.025em; }.admin-card-heading h2 i { color:var(--yh-olive); margin-right:5px; }
.admin-section-label { color:var(--yh-olive); font-size:.62rem; font-weight:800; letter-spacing:.14em; }.admin-card-state { display:inline-flex; align-items:center; gap:4px; padding:5px 8px; border-radius:6px; font-size:.67rem; font-weight:800; white-space:nowrap; }.admin-card-state.ok { color:#47623f; background:#e5f0e1; }.admin-card-state.neutral { color:var(--yh-ink-muted); background:#f0f0eb; }
.admin-security-list { padding:7px 20px 2px; }.admin-security-list > div { display:flex; justify-content:space-between; gap:10px; padding:11px 0; border-bottom:1px solid #efeee9; font-size:.8rem; }.admin-security-list > div:last-child { border-bottom:0; }.admin-security-list span { color:var(--yh-ink); font-weight:700; }.admin-security-list span i { width:19px; margin-right:4px; color:var(--yh-olive); }.admin-security-list strong { color:var(--yh-ink); font-size:.74rem; text-align:right; }.admin-security-list em { margin-left:5px; color:var(--yh-ink-muted); font-style:normal; font-weight:600; }
.admin-card-note { margin:10px 20px 14px; color:var(--yh-ink-muted); font-size:.75rem; line-height:1.45; }.admin-card-note i { color:var(--yh-amber); margin-right:4px; }.admin-card-actions { display:flex; gap:8px; padding:12px 20px; border-top:1px solid #efeee9; background:#fafaf7; }.admin-card-actions .btn { display:inline-flex; align-items:center; gap:6px; min-height:36px; padding:7px 10px; font-size:.74rem; }
.admin-btn-primary { color:#fff!important; border-color:var(--yh-olive)!important; background:var(--yh-olive)!important; }.admin-btn-primary:hover { background:var(--yh-olive-dark)!important; }.admin-btn-secondary { color:var(--yh-olive-dark)!important; border:1px solid #b9c5ae!important; background:#fff!important; }.admin-btn-secondary:hover { background:#eef3ea!important; }
.admin-progress-label { display:flex; justify-content:space-between; gap:10px; padding:18px 20px 8px; color:var(--yh-ink-muted); font-size:.76rem; font-weight:700; }.admin-progress-label strong { color:var(--yh-ink); }.admin-progress { display:flex; height:23px; margin:0 20px; overflow:hidden; border-radius:6px; color:#fff; background:#eee; font-size:.67rem; font-weight:800; text-align:center; }.admin-progress span { display:flex; align-items:center; justify-content:center; min-width:0; white-space:nowrap; }.admin-progress .allowed { background:#5e916b; }.admin-progress .blocked { background:#bd6549; }.admin-stat-pairs { display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:18px 20px; }.admin-stat-pairs div { display:flex; flex-direction:column; gap:4px; padding:10px; border-radius:8px; background:#f6f6f2; }.admin-stat-pairs small { color:var(--yh-ink-muted); font-size:.7rem; }.admin-stat-pairs strong { color:var(--yh-ink); font-size:.86rem; }.admin-stat-pairs i { color:var(--yh-olive); }
.admin-mac-banner { display:flex; align-items:center; gap:16px; margin-bottom:16px; padding:18px 20px; background:#eef5eb; border-color:#d8e5d3; }.admin-mac-icon { display:flex; align-items:center; justify-content:center; flex:0 0 48px; width:48px; height:48px; border-radius:12px; color:#4e6848; background:#dcebd7; font-size:1.4rem; }.admin-mac-copy { flex:1; min-width:0; }.admin-mac-copy h2 { margin:3px 0 4px; font-size:1.05rem; }.admin-mac-copy p { margin:0; color:#61705c; font-size:.78rem; line-height:1.45; }.admin-mac-banner .btn { flex:0 0 auto; display:inline-flex; align-items:center; gap:6px; font-size:.75rem; }
.admin-log-card .admin-card-heading { align-items:center; }.admin-inline-link { color:var(--yh-olive-dark); font-size:.76rem; font-weight:800; text-decoration:none; }.admin-inline-link:hover { color:var(--yh-terracotta); }.admin-log-table { min-width:620px; }.admin-log-table th { padding:11px 20px; color:var(--yh-ink-muted); background:#f7f7f3; border-bottom:1px solid var(--yh-border); font-size:.68rem; text-transform:uppercase; letter-spacing:.06em; }.admin-log-table td { padding:12px 20px; color:var(--yh-ink); border-color:#efeee9; font-size:.78rem; }.admin-log-status { display:inline-flex; align-items:center; gap:4px; padding:4px 8px; border-radius:6px; font-size:.69rem; font-weight:800; }.admin-log-status.allowed { color:#47623f; background:#e4f0e0; }.admin-log-status.blocked { color:#8b4935; background:#f5ded6; }
@media (max-width:1100px) { .admin-kpi-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:767px) { .admin-page { padding-top:0; }.admin-page-header { align-items:flex-start; flex-direction:column; gap:12px; }.admin-layout { grid-template-columns:1fr; }.admin-nav-card { position:static; }.admin-nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:3px; }.admin-card-grid { grid-template-columns:1fr; }.admin-mac-banner { align-items:flex-start; flex-wrap:wrap; }.admin-mac-banner .btn { width:100%; justify-content:center; }.admin-security-list > div { flex-direction:column; gap:4px; }.admin-security-list strong { text-align:left; }.admin-log-card .admin-card-heading { align-items:flex-start; flex-direction:column; } }
@media (max-width:767px) {
  .orders-page-header { align-items:flex-start!important; flex-direction:column; gap:14px; }
  .orders-page-actions { width:100%; }
  .orders-page-actions .btn { flex:1; justify-content:center; }
  .orders-summary-grid { grid-template-columns:1fr; gap:9px; }
  .orders-summary-card { min-height:76px; }
  .orders-table-heading { align-items:flex-start; flex-direction:column; padding-inline:14px; }
  .orders-live-dot { white-space:normal; }
}
