/* מחלקת נלווים — the system's own look (Raphael 08.10.2026). Base = the existing accessories screen styles (acc-*), department components (dk-*) on system tokens, light + dark. */
@keyframes acc-fadein{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.accessories-command *{animation:none!important;transition:none!important}}.accessories-command{animation:acc-fadein .3s ease both;display:flex;flex-direction:column;gap:1.35rem;padding-bottom:2rem;direction:rtl;}.acc-hero{background:var(--bg-secondary);border:1px solid var(--border-default);border-radius:16px;padding:1.75rem 2rem;display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:2rem;align-items:start;box-shadow:var(--shadow-sm);}@media(max-width:900px){.acc-hero{grid-template-columns:1fr;}}.acc-hero-title{display:flex;flex-direction:column;gap:.55rem;}.acc-hero-breadcrumb{font-size:11px;color:var(--text-tertiary);display:flex;align-items:center;gap:5px;}.acc-hero-h1{font-size:28px;font-weight:800;color:var(--text-primary);margin:0;line-height:1.15;}.acc-hero-sub{font-size:13px;color:var(--text-secondary);margin:0 0 .15rem;}.acc-hero-controls{background:rgba(184,136,87,.07);border:1px solid rgba(184,136,87,.22);border-radius:13px;padding:1.25rem 1.25rem;display:flex;flex-direction:column;gap:.65rem;}.acc-brand-card{display:flex;align-items:flex-start;gap:.75rem;}.acc-brand-icon-wrap{width:46px;height:46px;background:rgba(184,136,87,.15);border-radius:11px;display:flex;align-items:center;justify-content:center;font-size:22px;color:var(--accent-primary,#b88857);flex-shrink:0;}.acc-brand-info{flex:1;min-width:0;}.acc-brand-name{font-weight:700;font-size:13.5px;color:var(--text-primary);display:block;line-height:1.3;}.acc-brand-active-badge{display:inline-flex;align-items:center;gap:3px;background:rgba(22,163,74,.12);color:#16a34a;font-size:10.5px;font-weight:600;padding:.15rem .5rem;border-radius:20px;margin-top:.2rem;}.acc-brand-dot{width:6px;height:6px;border-radius:50%;background:#16a34a;flex-shrink:0;}.acc-brand-details{display:flex;flex-direction:column;gap:.3rem;}.acc-brand-detail-row{font-size:11.5px;color:var(--text-secondary);display:flex;align-items:center;gap:5px;}.acc-brand-detail-row i{font-size:12px;color:var(--accent-primary,#b88857);flex-shrink:0;}.acc-brand-edit{border:1px solid rgba(184,136,87,.35);background:transparent;color:var(--accent-primary,#b88857);border-radius:8px;padding:.35rem .85rem;font-size:12px;font-weight:600;cursor:pointer;display:inline-flex;align-items:center;gap:5px;transition:all .15s;margin-top:.2rem;width:fit-content;}.acc-brand-edit:hover{background:rgba(184,136,87,.1);}.acc-hero-tabs{display:inline-flex;background:var(--bg-tertiary);border-radius:10px;padding:3px;gap:2px;margin-top:.1rem;}.acc-hero-tab{border:none;background:transparent;border-radius:8px;padding:.4rem .9rem;font-size:13px;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:all .15s;display:flex;align-items:center;gap:5px;white-space:nowrap;}.acc-hero-tab.active{background:var(--bg-secondary);color:var(--accent-primary,#b88857);box-shadow:0 1px 5px rgba(0,0,0,.1);font-weight:600;}.acc-hero-tab:hover:not(.active){background:var(--bg-elevated,var(--bg-tertiary));color:var(--text-primary);}.acc-toolbar{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center;direction:rtl;}.acc-toolbar-btn{border:1px solid var(--border-default);background:var(--bg-secondary);color:var(--text-primary);border-radius:9px;padding:.5rem 1.1rem;font-size:13px;font-weight:500;cursor:pointer;display:inline-flex;align-items:center;gap:6px;transition:all .15s;white-space:nowrap;line-height:1.4;}.acc-toolbar-btn:hover{border-color:var(--accent-primary,#b88857);color:var(--accent-primary,#b88857);}.acc-toolbar-btn.primary{background:var(--accent-primary,#b88857);border-color:var(--accent-primary,#b88857);color:#fff;font-weight:600;}.acc-toolbar-btn.primary:hover{background:var(--accent-hover,#a07748);border-color:var(--accent-hover,#a07748);}.accessories-kpi-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:1rem;}@media(max-width:1200px){.accessories-kpi-grid{grid-template-columns:repeat(3,1fr);}}@media(max-width:700px){.accessories-kpi-grid{grid-template-columns:repeat(2,1fr);}}.accessories-kpi-card,.acc-kpi-card{background:var(--bg-secondary);border:1px solid var(--border-default);border-radius:14px;padding:1.25rem 1.35rem;min-height:120px;display:flex;flex-direction:column;justify-content:space-between;cursor:pointer;transition:all .2s;box-shadow:var(--shadow-sm);}.accessories-kpi-card:hover{transform:translateY(-3px);box-shadow:0 8px 24px rgba(0,0,0,.1);border-color:var(--accent-primary,#b88857);}.accessories-kpi-head{display:flex;justify-content:space-between;align-items:flex-start;gap:.4rem;}.accessories-kpi-label{font-size:12px;color:var(--text-secondary);font-weight:500;line-height:1.35;max-width:110px;}.accessories-kpi-icon{width:42px;height:42px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;font-size:21px;flex-shrink:0;}.accessories-kpi-value{font-size:28px;font-weight:800;color:var(--text-primary);line-height:1;letter-spacing:-.02em;margin-top:.4rem;}.accessories-kpi-sub{font-size:11px;color:var(--text-tertiary);margin-top:.25rem;}.accessories-main-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:1.2rem;align-items:start;}@media(max-width:1000px){.accessories-main-grid{grid-template-columns:1fr;}}.accessories-table-card,.acc-table-card{background:var(--bg-secondary);border:1px solid var(--border-default);border-radius:14px;overflow:hidden;box-shadow:var(--shadow-sm);}.acc-table-head{display:flex;justify-content:space-between;align-items:center;padding:1.1rem 1.4rem .9rem;border-bottom:1px solid var(--border-default);}.acc-table-title{font-size:15.5px;font-weight:700;color:var(--text-primary);display:flex;align-items:center;gap:.5rem;}.acc-quick-chips{display:flex;gap:.4rem;flex-wrap:wrap;padding:.65rem 1.4rem;border-bottom:1px solid var(--border-default);}.acc-chip{border:1px solid var(--border-default);background:var(--bg-tertiary);border-radius:20px;padding:.25rem .7rem;font-size:12px;cursor:pointer;color:var(--text-secondary);transition:all .12s;}.acc-chip.active,.acc-chip:hover{background:var(--accent-primary,#b88857);color:#fff;border-color:var(--accent-primary,#b88857);}.acc-filter-row{display:flex;gap:.5rem;padding:.65rem 1.4rem;border-bottom:1px solid var(--border-default);flex-wrap:wrap;align-items:center;}.acc-search{flex:1;min-width:180px;background:var(--bg-tertiary);border:1px solid var(--border-default);border-radius:8px;padding:.4rem .75rem;font-size:12.5px;color:var(--text-primary);direction:rtl;}.acc-filter-btn{border:1px solid var(--border-default);background:var(--bg-tertiary);color:var(--text-secondary);border-radius:8px;padding:.4rem .75rem;font-size:12px;cursor:pointer;display:inline-flex;align-items:center;gap:4px;}.acc-filter-btn:hover{border-color:var(--accent-primary,#b88857);color:var(--accent-primary,#b88857);}.acc-filter-panel{padding:.75rem 1.4rem;border-bottom:1px solid var(--border-default);display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:.5rem;}.acc-filter-select{background:var(--bg-tertiary);border:1px solid var(--border-default);border-radius:7px;padding:.35rem .6rem;font-size:12px;color:var(--text-primary);width:100%;direction:rtl;}.acc-table-wrap{overflow-x:auto;}.acc-table{width:100%;border-collapse:collapse;font-size:12.5px;}.acc-table th{padding:.6rem 1rem;text-align:right;font-size:11px;font-weight:600;color:var(--text-tertiary);border-bottom:1px solid var(--border-default);white-space:nowrap;cursor:pointer;user-select:none;}.acc-table th:hover{color:var(--accent-primary,#b88857);}.acc-table td{padding:.65rem 1rem;border-bottom:1px solid var(--border-default);vertical-align:middle;color:var(--text-primary);}.acc-table tr:last-child td{border-bottom:none;}.acc-table tr:hover td{background:var(--bg-tertiary);}.acc-table-footer{display:flex;justify-content:space-between;align-items:center;padding:.7rem 1.4rem;font-size:11.5px;color:var(--text-secondary);}.acc-page-btn{border:1px solid var(--border-default);background:var(--bg-tertiary);border-radius:6px;padding:.3rem .6rem;cursor:pointer;font-size:12px;color:var(--text-primary);}.acc-page-btn:hover{border-color:var(--accent-primary,#b88857);}.acc-page-btn.active{background:var(--accent-primary,#b88857);color:#fff;border-color:var(--accent-primary,#b88857);}.accessories-status-card,.accessories-overdue-card,.acc-side-card{background:var(--bg-secondary);border:1px solid var(--border-default);border-radius:14px;padding:1.1rem 1.25rem;box-shadow:var(--shadow-sm);}.acc-card-title{font-size:14px;font-weight:700;color:var(--text-primary);margin:0 0 .9rem;display:flex;align-items:center;gap:.45rem;}.acc-donut-wrap{position:relative;width:110px;height:110px;margin:.4rem auto;}.acc-donut-center{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;}.acc-donut-total{font-size:26px;font-weight:800;color:var(--text-primary);line-height:1;}.acc-donut-lbl{font-size:10px;color:var(--text-tertiary);}.acc-legend{display:flex;flex-direction:column;gap:.35rem;margin-top:.9rem;}.acc-legend-row{display:flex;justify-content:space-between;align-items:center;font-size:12px;cursor:pointer;padding:.25rem .3rem;border-radius:5px;}.acc-legend-row:hover{background:var(--bg-tertiary);}.acc-legend-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0;margin-left:.4rem;}.acc-overdue-item{display:flex;justify-content:space-between;align-items:center;padding:.45rem 0;border-bottom:1px solid var(--border-default);font-size:12px;}.acc-overdue-item:last-child{border-bottom:none;}.accessories-nav-cards{display:grid;grid-template-columns:repeat(5,1fr);gap:1rem;}@media(max-width:900px){.accessories-nav-cards{grid-template-columns:repeat(3,1fr);}}.accessories-nav-card,.acc-nav-card{background:var(--bg-secondary);border:1px solid var(--border-default);border-radius:14px;padding:1.4rem 1.1rem;text-align:center;cursor:pointer;transition:all .2s;display:flex;flex-direction:column;align-items:center;gap:.6rem;box-shadow:var(--shadow-sm);}.accessories-nav-card:hover{border-color:var(--accent-primary,#b88857);transform:translateY(-3px);box-shadow:0 6px 18px rgba(0,0,0,.09);}.acc-nav-icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;font-size:23px;}.acc-nav-label{font-size:13.5px;font-weight:700;color:var(--text-primary);}.acc-nav-sub{font-size:11.5px;color:var(--text-tertiary);}.acc-status-pill{display:inline-flex;align-items:center;gap:4px;padding:.2rem .55rem;border-radius:20px;font-size:11px;font-weight:600;white-space:nowrap;}.acc-more-menu{position:relative;display:inline-block;}.acc-more-dropdown{position:absolute;top:calc(100% + 6px);right:0;background:var(--bg-secondary);border:1px solid var(--border-default);border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.12);z-index:100;min-width:180px;padding:.4rem 0;}.acc-more-item{display:flex;align-items:center;gap:.5rem;padding:.55rem 1rem;font-size:12.5px;color:var(--text-primary);cursor:pointer;border:none;background:none;width:100%;text-align:right;}.acc-more-item:hover{background:var(--bg-tertiary);}.acc-empty{text-align:center;padding:2.5rem 1rem;color:var(--text-tertiary);}.acc-empty i{font-size:36px;display:block;margin-bottom:.6rem;}.acc-empty p{font-size:13px;}.acc-modal-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;}.acc-field label{display:block;font-size:11.5px;font-weight:600;color:var(--text-secondary);margin-bottom:.3rem;}.acc-field input,.acc-field select,.acc-field textarea{width:100%;background:var(--bg-tertiary);border:1px solid var(--border-default);border-radius:7px;padding:.45rem .65rem;font-size:13px;color:var(--text-primary);direction:rtl;}.acc-field textarea{resize:vertical;min-height:70px;}.acc-field input:focus,.acc-field select:focus,.acc-field textarea:focus{outline:none;border-color:var(--accent-primary,#b88857);}.acc-items-table{width:100%;border-collapse:collapse;font-size:12px;margin-top:.5rem;}.acc-items-table th,.acc-items-table td{padding:.4rem .5rem;border:1px solid var(--border-default);text-align:right;}.acc-items-table th{background:var(--bg-tertiary);font-weight:600;}.acc-items-table input{border:none;background:transparent;width:100%;font-size:12px;color:var(--text-primary);}t affect other modals
      

/* ---------- department components on the system tokens (light + dark via body.dark token overrides) ---------- */
.dk-studio{color:var(--text-primary);font-family:inherit;display:flex;flex-direction:column;gap:1rem;min-width:0}
.dk-studio *{box-sizing:border-box}
.dk-studio h1,.dk-studio h2,.dk-studio h3,.dk-studio p{margin:0}
.dk-studio h1{font-size:20px;font-weight:700;color:var(--text-primary)}
.dk-studio h2{font-size:15px;font-weight:700;color:var(--text-primary)}
.dk-studio h3{font-size:14px;font-weight:600;color:var(--text-primary)}
.dk-studio small{display:block;font-size:11.5px;color:var(--text-tertiary)}
.dk-studio a{color:var(--accent-primary,#b88857)}
.dk-studio [hidden]{display:none!important}
.dk-studio .ti{font-size:16px;line-height:1;flex-shrink:0}
.dk-studio button{font-family:inherit;cursor:pointer}
.dk-studio button:disabled{opacity:.5;cursor:not-allowed}
.dk-studio input,.dk-studio select,.dk-studio textarea{font-family:inherit;font-size:13px;color:var(--text-primary);background:var(--bg-tertiary);border:1px solid var(--border-default);border-radius:8px;padding:.45rem .65rem;min-width:0}
.dk-studio textarea{min-height:70px;resize:vertical}
.dk-studio :focus-visible{outline:2px solid var(--accent-primary,#b88857);outline-offset:2px}
.dk-studio .acc-hero{grid-template-columns:minmax(0,1fr) 300px}
.dk-studio .acc-hero-tabs{flex-wrap:wrap}
.dk-scan{display:flex;align-items:center;gap:6px;margin-top:.7rem;background:var(--bg-tertiary);border:1px solid var(--border-default);border-radius:8px;padding:.35rem .6rem}
.dk-scan input{border:0;background:transparent;padding:0;flex:1}
#dk-main{min-width:0;animation:acc-fadein .2s ease}
.dk-studio .dk-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-bottom:.9rem}
.dk-studio .dk-heading p{font-size:12.5px;color:var(--text-secondary);margin-top:3px}
.dk-studio .dk-actions{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}
.dk-studio .dk-btn{border:1px solid var(--border-default);background:var(--bg-secondary);color:var(--text-primary);border-radius:9px;padding:.45rem 1rem;font-size:13px;font-weight:500;display:inline-flex;align-items:center;gap:6px;white-space:nowrap;line-height:1.4;transition:background .15s,border-color .15s}
.dk-studio .dk-btn:hover{border-color:var(--accent-primary,#b88857)}
.dk-studio .dk-btn.main{background:var(--accent-primary,#b88857);border-color:var(--accent-primary,#b88857);color:#fff;font-weight:600}
.dk-studio .dk-btn.main:hover{background:var(--accent-hover,#a07748)}
.dk-studio .dk-btn.sm{padding:.28rem .65rem;font-size:12px;border-radius:7px}
.dk-studio .dk-btn.ghost{background:transparent}
.dk-studio .dk-btn.danger{color:var(--danger,#dc2626)}
.dk-studio .dk-link{background:none;border:0;padding:0;color:var(--accent-primary,#b88857);font-weight:600;cursor:pointer;text-align:start}
.dk-studio .dk-back{display:inline-flex;align-items:center;gap:4px;margin-bottom:.6rem;font-size:12.5px}
.dk-studio .dk-chip{display:inline-flex;align-items:center;gap:4px;padding:.18rem .55rem;border-radius:20px;font-size:11px;font-weight:600;white-space:nowrap;background:var(--bg-tertiary);color:var(--text-secondary);border:1px solid var(--border-default)}
.dk-studio .dk-chip.green{background:var(--success-bg,rgba(22,163,74,.12));color:var(--success,#16a34a);border-color:transparent}
.dk-studio .dk-chip.amber{background:var(--warning-bg,rgba(217,119,6,.12));color:var(--warning,#d97706);border-color:transparent}
.dk-studio .dk-chip.red{background:var(--danger-bg,rgba(220,38,38,.12));color:var(--danger,#dc2626);border-color:transparent}
.dk-studio .dk-chip.blue{background:var(--info-bg,rgba(37,99,235,.12));color:var(--info,#2563eb);border-color:transparent}
.dk-studio .dk-chip.dark{background:var(--text-primary);color:var(--bg-secondary)}
.dk-studio .dk-status-line{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-top:6px}
.dk-studio .dk-panel{background:var(--bg-secondary);border:1px solid var(--border-default);border-radius:14px;box-shadow:var(--shadow-sm);overflow:hidden;min-width:0}
.dk-studio .dk-panel-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:.85rem 1.1rem;border-bottom:1px solid var(--border-default)}
.dk-studio .dk-subtitle{font-size:11.5px;color:var(--text-tertiary)}
.dk-studio .dk-pad{padding:1rem 1.1rem}
.dk-studio .dk-space{margin-top:.8rem}
.dk-studio .dk-sep{height:1px;background:var(--border-default);margin:.8rem 0}
.dk-studio .dk-row{display:flex;align-items:center;gap:10px;padding:.65rem 1.1rem;border-bottom:1px solid var(--border-default)}
.dk-studio .dk-row:last-child{border-bottom:0}
.dk-studio .dk-grow{flex:1;min-width:0}
.dk-studio .dk-dot-icon{width:32px;height:32px;border-radius:9px;background:var(--accent-light,rgba(184,136,87,.12));color:var(--accent-primary,#b88857);display:grid;place-items:center}
.dk-studio .dk-grid2{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:1rem;align-items:start}
.dk-studio .dk-grid2.equal{grid-template-columns:repeat(2,minmax(0,1fr))}
.dk-studio .dk-stack{display:flex;flex-direction:column;gap:1rem}
.dk-studio .dk-note{display:flex;gap:8px;align-items:flex-start;background:var(--warning-bg,rgba(217,119,6,.1));color:var(--text-primary);border:1px solid var(--border-default);border-radius:10px;padding:.6rem .8rem;font-size:12.5px}
.dk-studio .dk-note.neutral{background:var(--bg-tertiary);color:var(--text-secondary)}
.dk-studio .dk-empty{text-align:center;padding:2rem 1rem;color:var(--text-tertiary)}
.dk-studio .dk-empty .ti{font-size:28px;display:block;margin:0 auto .4rem}
.dk-studio .dk-muted{color:var(--text-tertiary)}
.dk-studio .dk-small{font-size:12px;color:var(--text-secondary)}
.dk-studio .dk-num{font-variant-numeric:tabular-nums;white-space:nowrap}
.dk-studio .dk-pending{color:var(--warning,#d97706);font-weight:700}
.dk-studio .dk-warn-text{color:var(--warning,#d97706)}
.dk-studio .dk-archive{opacity:.55}
.dk-studio .dk-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem;margin-bottom:1rem}
.dk-studio td .dk-actions{flex-wrap:nowrap;gap:.3rem}.dk-studio td .dk-actions .dk-btn.sm.ghost{padding:.3rem .4rem}
.dk-studio .dk-table-wrap td:first-child{min-width:150px}
.dk-studio .dk-kpi{background:var(--bg-secondary);border:1px solid var(--border-default);border-radius:14px;padding:1rem 1.1rem;min-height:104px;display:flex;flex-direction:column;justify-content:space-between;text-align:start;box-shadow:var(--shadow-sm);transition:border-color .15s,transform .15s;color:var(--text-primary)}
.dk-studio .dk-kpi:hover{border-color:var(--accent-primary,#b88857);transform:translateY(-1px)}
.dk-studio .dk-kpi-label{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:12px;font-weight:600;color:var(--text-secondary)}
.dk-studio .dk-kpi-label .ti{width:30px;height:30px;border-radius:8px;display:grid;place-items:center;background:var(--accent-light,rgba(184,136,87,.12));color:var(--accent-primary,#b88857);order:2}
.dk-studio .dk-kpi strong{font-size:24px;font-weight:800;line-height:1.1;font-variant-numeric:tabular-nums}
.dk-studio .dk-table-wrap{overflow-x:auto}
.dk-studio .dk-table-wrap table{width:100%;border-collapse:collapse;font-size:12.5px}
.dk-studio .dk-table-wrap th{padding:.6rem 1rem;text-align:right;font-size:11px;font-weight:600;color:var(--text-tertiary);border-bottom:1px solid var(--border-default);white-space:nowrap;background:var(--bg-secondary)}
.dk-studio .dk-table-wrap td{padding:.6rem 1rem;border-bottom:1px solid var(--border-default);vertical-align:middle;color:var(--text-primary)}
.dk-studio .dk-table-wrap tr:hover td{background:var(--bg-hover,rgba(0,0,0,.02))}
.dk-studio .dk-pills{display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:.8rem}
.dk-studio .dk-pills button{border:1px solid var(--border-default);background:var(--bg-tertiary);border-radius:20px;padding:.25rem .75rem;font-size:12px;color:var(--text-secondary);display:inline-flex;align-items:center;gap:4px}
.dk-studio .dk-pills button[aria-pressed="true"]{background:var(--text-primary);border-color:var(--text-primary);color:var(--bg-secondary);font-weight:600}
.dk-studio .dk-filters{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:.6rem;align-items:end;margin-bottom:.8rem}
.dk-studio .dk-field{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600;color:var(--text-secondary);min-width:0}
.dk-studio .dk-search-wrap{display:flex;align-items:center;gap:6px;background:var(--bg-tertiary);border:1px solid var(--border-default);border-radius:8px;padding:0 .6rem}
.dk-studio .dk-search-wrap input{border:0;background:transparent;flex:1;padding:.45rem 0}
.dk-studio .dk-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
.dk-studio .dk-form .full,.dk-studio .dk-field.full{grid-column:1/-1}
.dk-studio .dk-check{display:flex;gap:8px;align-items:flex-start;font-size:12.5px;color:var(--text-secondary)}
.dk-studio .dk-results{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--text-secondary);margin-bottom:.6rem}
.dk-studio .dk-pager{display:flex;gap:10px;align-items:center;justify-content:center;margin:1rem 0;font-size:12.5px;color:var(--text-secondary)}
.dk-studio .dk-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.8rem}
.dk-studio .dk-product{background:var(--bg-secondary);border:1px solid var(--border-default);border-radius:14px;overflow:hidden;display:flex;flex-direction:column;box-shadow:var(--shadow-sm)}
.dk-studio .dk-product-image{position:relative;border:0;padding:0;background:#fff;aspect-ratio:4/3;display:grid;place-items:center;overflow:hidden}
.dk-studio .dk-product-image img{width:100%;height:100%;object-fit:contain}
.dk-studio .dk-product-image .dk-chip{position:absolute;top:8px;right:8px;background:var(--bg-secondary)}
.dk-studio .dk-product-body{padding:.7rem .85rem;display:flex;flex-direction:column;gap:3px;flex:1}
.dk-studio .dk-product-brand{font-size:10.5px;font-weight:700;letter-spacing:.04em;color:var(--accent-primary,#b88857);text-transform:uppercase}
.dk-studio .dk-model{font-size:11.5px;color:var(--text-tertiary);min-height:28px}
.dk-studio .dk-product-bottom{display:flex;justify-content:space-between;align-items:flex-end;margin-top:auto;padding-top:6px}
.dk-studio .dk-plus{width:32px;height:32px;border-radius:9px;border:0;background:var(--accent-primary,#b88857);color:#fff;display:grid;place-items:center}
.dk-studio .dk-image-fallback{display:flex;flex-direction:column;align-items:center;gap:4px;color:var(--text-tertiary);font-size:11px;padding:1rem}
.dk-studio .dk-mini-img{width:44px;height:44px;object-fit:contain;border-radius:8px;border:1px solid var(--border-default);background:#fff;flex-shrink:0}
.dk-studio .dk-product-cell{display:flex;gap:8px;align-items:center}
.dk-studio .dk-detail-image{width:100%;max-height:380px;object-fit:contain;border-radius:10px;background:#fff}
.dk-studio .dk-thumbs{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.dk-studio .dk-thumbs img{width:56px;height:56px;object-fit:contain;border:1px solid var(--border-default);border-radius:7px;background:#fff}
.dk-studio .dk-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem 1rem;font-size:12.5px}
.dk-studio .dk-summary-line{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:.35rem 0;font-size:13px}
.dk-studio .dk-summary-line.big{font-size:16px;font-weight:700}
.dk-studio .dk-file{display:inline-flex;gap:5px;align-items:center;margin:4px 0 0 10px;font-size:12.5px}
.dk-studio .dk-cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:1rem;align-items:start}
.dk-studio .dk-cart-layout aside{position:sticky;top:12px;max-height:calc(100vh - 40px);overflow:auto}
.dk-studio .dk-cart-item{display:flex;gap:8px;align-items:flex-start;padding:.6rem 0;border-bottom:1px solid var(--border-default)}
.dk-studio .dk-line-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 8px;margin:6px 0}
.dk-studio .dk-line-grid input,.dk-studio .dk-line-grid select{width:100%;padding:.3rem .45rem;font-size:12px}
.dk-studio .dk-steps{display:flex;gap:.8rem;margin-bottom:.8rem;flex-wrap:wrap}
.dk-studio .dk-step{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--text-tertiary)}
.dk-studio .dk-step span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:var(--bg-tertiary);border:1px solid var(--border-default);font-size:11px}
.dk-studio .dk-step.active{color:var(--text-primary);font-weight:600}
.dk-studio .dk-step.active span{background:var(--accent-primary,#b88857);border-color:var(--accent-primary,#b88857);color:#fff}
.dk-studio .dk-payment-track{height:8px;border-radius:8px;background:var(--bg-tertiary);overflow:hidden;margin:.5rem 0}
.dk-studio .dk-payment-track div{height:100%;background:var(--success,#16a34a)}
.dk-studio .dk-timeline{display:flex;gap:10px;padding:.5rem 0;border-bottom:1px solid var(--border-default)}
.dk-studio .dk-datebox{width:44px;text-align:center;border-radius:9px;background:var(--bg-tertiary);padding:4px 0;font-size:10.5px;color:var(--text-tertiary)}
.dk-studio .dk-datebox strong{display:block;font-size:16px;color:var(--text-primary)}
.dk-studio .dk-customer-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:.8rem}
.dk-studio .dk-customer-box{background:var(--bg-secondary);border:1px solid var(--border-default);border-radius:14px;padding:.9rem 1rem;text-align:start;box-shadow:var(--shadow-sm);color:var(--text-primary)}
.dk-studio .dk-customer-box:hover{border-color:var(--accent-primary,#b88857)}
.dk-studio .dk-pair{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.dk-studio .dk-avatar{width:34px;height:34px;border-radius:50%;background:var(--accent-light,rgba(184,136,87,.15));color:var(--accent-primary,#b88857);display:grid;place-items:center;font-weight:700}
.dk-studio .dk-customer-meta{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem 1rem;margin-top:.7rem;font-size:12.5px}
.dk-studio details summary{cursor:pointer;font-weight:600}
.dk-studio .dk-main-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:1rem;align-items:start}
.dk-studio .dk-donut{width:130px;height:130px;border-radius:50%;margin:.5rem auto;display:grid;place-items:center}
.dk-studio .dk-donut span{width:84px;height:84px;border-radius:50%;background:var(--bg-secondary);display:grid;place-items:center;font-size:22px;font-weight:800}
.dk-studio .dk-legend{display:flex;flex-direction:column;gap:4px;font-size:12px}
.dk-studio .dk-legend div{display:flex;justify-content:space-between;gap:6px}
.dk-studio .dk-legend i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-inline-end:5px}
.dk-modal{padding:1.2rem 1.3rem;max-width:620px;min-width:min(540px,92vw)}
.dk-modal h2{font-size:16px;margin-bottom:.4rem}
.dk-modal .dk-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
.dk-modal .dk-actions{display:flex;gap:.5rem;justify-content:flex-start;margin-top:.4rem}
@media(max-width:1100px){.dk-studio .dk-main-grid,.dk-studio .dk-cart-layout{grid-template-columns:1fr}.dk-studio .dk-cart-layout aside{position:static;max-height:none}.dk-studio .acc-hero{grid-template-columns:1fr}}
@media(max-width:1100px){.dk-studio .dk-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.dk-studio .dk-grid2,.dk-studio .dk-grid2.equal,.dk-studio .dk-form,.dk-modal .dk-form,.dk-studio .dk-filters,.dk-studio .dk-details,.dk-studio .dk-customer-meta{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.dk-studio *{animation:none!important;transition:none!important}}
.dk-studio .dk-cov-sum td small{white-space:nowrap}.dk-studio .dk-cov-sum td{vertical-align:top}

/* acc3: one top bar — tabs + actions in the same row (Raphael 08.10) */
.dk-studio .acc-hero-tabs{align-items:center;row-gap:.45rem}
.dk-studio .dk-bar-sep{width:1px;align-self:stretch;min-height:28px;background:var(--border-default,#e5e0d8);margin:0 .35rem}
.dk-studio .dk-bar-actions{display:contents}
.dk-studio .acc-hero-tab.dk-bar-act{border-style:dashed}
.dk-studio .acc-hero-tab.dk-bar-act.main{background:var(--accent-primary,#b88857);color:#fff;border-color:var(--accent-primary,#b88857);border-style:solid}
.dk-studio .acc-hero-tab.dk-bar-act.main:hover{background:var(--accent-hover,#a07748)}
.dk-studio .dk-bar-menu{display:none;position:relative}
.dk-studio .dk-bar-menu>summary{list-style:none;cursor:pointer}
.dk-studio .dk-bar-menu>summary::-webkit-details-marker{display:none}
.dk-studio .dk-bar-menu-list{position:absolute;inset-inline-start:0;top:calc(100% + 6px);z-index:30;min-width:210px;background:var(--bg-secondary,#fff);border:1px solid var(--border-default,#e5e0d8);border-radius:12px;box-shadow:var(--shadow-sm,0 6px 20px rgba(0,0,0,.12));padding:6px;display:flex;flex-direction:column}
.dk-studio .dk-bar-menu-list button{display:flex;gap:.5rem;align-items:center;background:none;border:0;padding:.55rem .7rem;border-radius:8px;color:var(--text-primary,#222);font:inherit;text-align:start;cursor:pointer}
.dk-studio .dk-bar-menu-list button:hover{background:var(--bg-tertiary,#f4f1ec)}
@media(max-width:760px){.dk-studio .dk-bar-actions,.dk-studio .dk-bar-sep{display:none}.dk-studio .dk-bar-menu{display:inline-block}}
body.dark .dk-studio .dk-bar-menu-list{background:var(--bg-secondary);border-color:var(--border-default)}

/* acc3: impact table in the confirmation dialogs */
.dk-modal .dk-impact{width:100%;border-collapse:collapse;font-size:13px;margin-top:.4rem}.dk-modal .dk-impact th{text-align:start;font-weight:600;color:var(--text-secondary,#666);padding:.3rem .5rem;width:7.5rem;vertical-align:top}.dk-modal .dk-impact td{padding:.3rem .5rem;border-bottom:1px solid var(--border-default,#eee)}
/* acc4 (08.10): ONE clear dialog for the department (the department dialogs are not wrapped in the system .modal) — opaque surface on the
   system tokens, title bar with a close button, the body scrolls inside, the form's action row stays visible at the bottom. Only .dk-modal. */
.modal-container>.dk-modal{background:var(--bg-secondary,#fff);color:var(--text-primary,#2a1f15);border:1px solid var(--border-default,#e3ddd3);border-radius:var(--radius-xl,14px);box-shadow:var(--shadow-lg,0 16px 48px rgba(0,0,0,.25));width:100%;max-height:90vh;overflow-y:auto;overscroll-behavior:contain;padding:0;animation:scaleIn .25s ease;position:relative}
.modal-container>.dk-modal .dk-modal-head{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:1rem 1.3rem .75rem;background:var(--bg-secondary,#fff);border-bottom:1px solid var(--border-default,#e3ddd3)}
.modal-container>.dk-modal .dk-modal-head h2{margin:0;font-size:17px;font-weight:600;display:flex;align-items:center;gap:.4rem;color:var(--text-primary,#2a1f15)}
.modal-container>.dk-modal .dk-modal-x{flex:0 0 auto;width:34px;height:34px;border-radius:9px;border:1px solid var(--border-default,#e3ddd3);background:var(--bg-secondary,#fff);color:var(--text-secondary,#5c4f42);display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-size:17px}
.modal-container>.dk-modal .dk-modal-x:hover{background:var(--danger-bg,#fdecea);color:var(--danger,#c0392b)}
.modal-container>.dk-modal .dk-modal-x:focus-visible{outline:2px solid var(--accent-primary,#a8794b);outline-offset:2px}
.modal-container>.dk-modal .dk-modal-body{padding:1rem 1.3rem 0}
.modal-container>.dk-modal .dk-modal-body>:last-child{margin-bottom:1rem}
.modal-container>.dk-modal .dk-modal-body form>.dk-actions:last-child,.modal-container>.dk-modal .dk-modal-body>.dk-actions:last-child{position:sticky;bottom:0;z-index:2;background:var(--bg-secondary,#fff);margin:.6rem -1.3rem 0;padding:.75rem 1.3rem 1rem;border-top:1px solid var(--border-default,#e3ddd3)}
.modal-container>.dk-modal .dk-field{color:var(--text-primary,#2a1f15);font-weight:500}
@media(max-width:760px){.modal-container>.dk-modal{min-width:0;max-height:94vh;border-radius:12px}.modal-container>.dk-modal .dk-modal-head{padding:.85rem 1rem .6rem}.modal-container>.dk-modal .dk-modal-body{padding:.85rem 1rem 0}.modal-container>.dk-modal .dk-modal-body form>.dk-actions:last-child,.modal-container>.dk-modal .dk-modal-body>.dk-actions:last-child{margin:.6rem -1rem 0;padding:.7rem 1rem .9rem}}
body.dark .modal-container>.dk-modal,body.dark .modal-container>.dk-modal .dk-modal-head,body.dark .modal-container>.dk-modal .dk-modal-x,body.dark .modal-container>.dk-modal .dk-modal-body form>.dk-actions:last-child,body.dark .modal-container>.dk-modal .dk-modal-body>.dk-actions:last-child{background:var(--bg-secondary,#161922)}

/* acc4: approval form — the error sits next to the field it belongs to */
.dk-studio .dk-field-error{display:block;color:var(--danger,#c0392b);font-size:12px;font-weight:500;margin-top:.25rem}
.dk-studio .dk-field.has-error select,.dk-studio .dk-field.has-error input{border-color:var(--danger,#c0392b)!important}
.dk-studio .dk-cart-item.has-error{outline:1px solid var(--danger,#c0392b);outline-offset:4px;border-radius:10px}
.dk-studio .dk-check.has-error span{color:var(--danger,#c0392b)}

/* acc4: department > customer > order — the customer card and the order are framed, distinct work surfaces */
.dk-studio .dk-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;font-size:13px;color:var(--text-secondary,#6b5d50);margin:0 0 .6rem}
.dk-studio .dk-crumbs button{background:none;border:0;padding:0;font:inherit;color:var(--accent-primary,#a8794b);cursor:pointer}
.dk-studio .dk-crumbs button:hover{text-decoration:underline}
.dk-studio .dk-crumbs .ti{font-size:13px;opacity:.6}
.dk-studio .dk-crumbs b{color:var(--text-primary,#2a1f15);font-weight:600}
.dk-studio .dk-frame{border:1px solid var(--border-default,#e3ddd3);border-radius:16px;background:var(--bg-secondary,#fff);box-shadow:var(--shadow-sm,0 2px 10px rgba(0,0,0,.05));margin-bottom:1rem}
.dk-studio .dk-frame>.dk-frame-body{padding:1rem 1.1rem 1.1rem}
.dk-studio .dk-frame-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;padding:.9rem 1.1rem;border-bottom:1px solid var(--border-default,#e3ddd3);border-radius:16px 16px 0 0;background:var(--bg-tertiary,#f1ece4)}
.dk-studio .dk-frame-head h1{font-size:20px;margin:0;line-height:1.3}
.dk-studio .dk-frame-head .dk-frame-kicker{display:block;font-size:12px;color:var(--text-secondary,#6b5d50);font-weight:500;margin-bottom:.15rem}
.dk-studio .dk-frame-head .dk-frame-meta{display:flex;flex-wrap:wrap;gap:.4rem;align-items:center;margin-top:.35rem}
.dk-studio .dk-frame-head .dk-actions{flex-wrap:wrap}
.dk-studio .dk-frame.order>.dk-frame-head{position:sticky;top:0;z-index:5;box-shadow:0 1px 0 var(--border-default,#e3ddd3)}
.dk-studio .dk-frame.customer{border-color:var(--accent-primary,#c9a77c)}
.dk-studio .dk-frame.order{border-color:var(--accent-primary,#c9a77c)}
.dk-studio .dk-frame .dk-heading{margin-top:0}
body.dark .dk-studio .dk-frame{background:var(--bg-secondary)}body.dark .dk-studio .dk-frame-head{background:var(--bg-tertiary)}
@media(max-width:760px){.dk-studio .dk-frame-head{padding:.75rem .8rem}.dk-studio .dk-frame>.dk-frame-body{padding:.8rem}.dk-studio .dk-frame-head h1{font-size:17px}}
.dk-studio label.has-error input,.dk-studio label.has-error select{border-color:var(--danger,#c0392b)!important;box-shadow:0 0 0 2px rgba(192,57,43,.12)}
