/* Desi Monitor v18.14 — Catering workspace rebuild */
:root{
  --cat14-ink:#100c00;
  --cat14-ink-2:#211a03;
  --cat14-gold:var(--mustard,#e1ad01);
  --cat14-gold-soft:#fff7d4;
  --cat14-line:#e7e2d4;
  --cat14-muted:#6f6a5e;
  --cat14-surface:#fff;
  --cat14-radius:16px;
  --cat14-shadow:0 12px 32px rgba(16,12,0,.08);
}

.cat14-shell.v1813-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-template-areas:"hero" "rail" "workspace";
  align-items:start;
  gap:12px;
}
.cat14-shell .v1813-hero{
  grid-area:hero;
  min-height:112px;
  padding:20px 22px;
  border:1px solid rgba(225,173,1,.28);
  border-radius:20px;
  background:
    radial-gradient(circle at 84% -60%,rgba(225,173,1,.30),transparent 48%),
    linear-gradient(128deg,#0c0a03 0%,#191400 65%,#272000 100%);
  box-shadow:0 16px 38px rgba(16,12,0,.15);
}
.cat14-shell .v1813-hero h2{font-size:1.55rem;letter-spacing:-.025em;margin:.12rem 0 .22rem}
.cat14-shell .v1813-hero p{max-width:690px;margin:0;color:rgba(255,255,255,.69);font-size:.9rem}
.cat14-shell .v1813-kicker{font-size:.67rem;letter-spacing:.18em;color:var(--cat14-gold)}
.cat14-shell .v1813-hero #v1813HeroActions{justify-content:flex-end;align-content:center;max-width:760px}
.cat14-shell .v1813-hero .btn{min-height:38px;border-radius:10px;font-weight:760;white-space:nowrap}
.cat14-scope{
  display:inline-flex;align-items:center;gap:.42rem;margin-top:.55rem;padding:.28rem .52rem;
  border:1px solid rgba(255,255,255,.18);border-radius:999px;color:rgba(255,255,255,.76);font-size:.73rem
}
.cat14-scope i{color:var(--cat14-gold)}

.cat14-shell .v1813-tabs{
  grid-area:rail;
  position:relative;
  z-index:10;
  display:grid;
  grid-template-columns:repeat(5,minmax(120px,1fr));
  gap:6px;
  overflow:visible;
  padding:9px;
  border:1px solid var(--cat14-line);
  border-radius:14px;
  background:#fff;
  box-shadow:0 6px 18px rgba(16,12,0,.05);
}
.cat14-section-head{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:1px 3px 7px;color:#4c473c;font-size:.76rem}
.cat14-section-head>div i{color:#a57d00}
.cat14-section-toggle{display:inline-flex;align-items:center;padding:.34rem .58rem;border:1px solid #d8d2c4;border-radius:8px;background:#faf9f5;color:#332f27;font-size:.7rem;font-weight:780}
.cat14-section-toggle:hover{border-color:var(--cat14-gold);background:var(--cat14-gold-soft)}
.cat14-shell .v1813-tab{
  display:flex;align-items:center;justify-content:center;gap:.48rem;width:100%;min-width:0;padding:.54rem .55rem;
  border:1px solid #e3ded1;border-radius:9px;background:#fbfaf7;color:#5f5a50;
  font-size:.74rem;font-weight:750;text-align:center;white-space:nowrap
}
.cat14-shell .v1813-tab i{display:grid;place-items:center;color:#827d72;font-size:.76rem}
.cat14-shell .v1813-tab:hover{border-color:#c9bc91;background:#fff8dc;color:#16130a}
.cat14-shell .v1813-tab.active{border-color:#d4a400;background:linear-gradient(135deg,#171200,#332800);color:#fff;box-shadow:0 5px 12px rgba(35,28,2,.15)}
.cat14-shell .v1813-tab.active i{color:var(--cat14-gold)}
.cat14-shell.cat14-menu-hidden .v1813-tab{display:none}
.cat14-shell.cat14-menu-hidden .v1813-tabs{grid-template-columns:1fr;padding-block:7px}
.cat14-shell.cat14-menu-hidden .cat14-section-head{padding-bottom:1px}

.cat14-shell .v1813-workspace{grid-area:workspace;min-width:0;margin:0}
.cat14-shell .v1813-card{border-color:var(--cat14-line);border-radius:var(--cat14-radius);box-shadow:0 6px 22px rgba(16,12,0,.045);overflow:visible}
.cat14-shell .v1813-card-head{min-height:52px;padding:.82rem 1rem;border-bottom-color:#eeeade;background:linear-gradient(180deg,#fff,#fdfcf8)}
.cat14-shell .v1813-card-body{padding:1rem}
.cat14-shell .v1813-stat-grid{gap:10px}
.cat14-shell .v1813-stat{min-height:108px;padding:1rem;border-top:3px solid var(--cat14-gold);background:linear-gradient(145deg,#fff,#fbfaf5)}
.cat14-shell .v1813-stat span{color:var(--cat14-muted);font-size:.69rem;font-weight:780;letter-spacing:.03em;text-transform:uppercase}
.cat14-shell .v1813-stat strong{font-size:1.32rem;letter-spacing:-.035em;color:var(--cat14-ink)}
.cat14-shell .v1813-toolbar{gap:.66rem;align-items:end}
.cat14-shell .v1813-field{min-width:150px}
.cat14-shell .v1813-field.grow{min-width:260px}
.cat14-shell .form-label{margin-bottom:.25rem;color:#5f5a50;font-size:.67rem;font-weight:800;letter-spacing:.025em}
.cat14-shell .form-control,.cat14-shell .form-select{min-height:38px;border-color:#ddd8ca;border-radius:9px;background-color:#fff;font-size:.81rem}
.cat14-shell .form-control:focus,.cat14-shell .form-select:focus{border-color:var(--cat14-gold);box-shadow:0 0 0 .18rem rgba(225,173,1,.14)}
.cat14-shell .v1813-more-filters{margin-top:.8rem;padding:.85rem;border:1px dashed #d9d1b8;border-radius:12px;background:#faf8f1}
.cat14-shell .v1813-table-wrap{border-radius:0 0 var(--cat14-radius) var(--cat14-radius)}
.cat14-shell .v1813-table thead th,.cat14-shell .table thead th{position:sticky;top:0;z-index:2;background:#f5f2e8;color:#4d493f;font-size:.66rem;font-weight:850;letter-spacing:.035em;text-transform:uppercase}
.cat14-shell .table>tbody>tr:hover>*{--bs-table-bg-state:rgba(225,173,1,.055)}
.cat14-shell .v1813-actions .btn{border-radius:8px}
.cat14-shell .v1813-pagination{padding:.72rem 1rem;background:#fbfaf6;border-radius:0 0 var(--cat14-radius) var(--cat14-radius)}
.cat14-shell .v1813-bulkbar{bottom:1rem;border:1px solid rgba(225,173,1,.32);background:linear-gradient(105deg,#171200,#2b2200)}

.cat14-template-card{border-radius:18px!important;overflow:hidden!important;background:#fff}
.cat14-template-sheet{margin:14px;border:1px solid #ddd7c8;border-radius:12px;background:#fff;box-shadow:0 8px 18px rgba(20,16,2,.09);overflow:hidden}
.cat14-template-sheet header{display:grid;grid-template-columns:112px 1fr;align-items:center;gap:12px;min-height:76px;padding:12px 14px;border-top:6px solid var(--cat14-gold);background:linear-gradient(135deg,#0d0b04,#282000);color:#fff}
.cat14-template-sheet header img{width:105px;height:48px;object-fit:contain;object-position:left center}
.cat14-template-sheet header div{display:grid;gap:3px;text-align:right}.cat14-template-sheet header small{color:#c8c2b0;font-size:.55rem}.cat14-template-sheet header b{font-size:.72rem}
.cat14-template-sheet-body{padding:12px 14px 9px}
.cat14-template-bill{display:grid;grid-template-columns:1.2fr .8fr;gap:24px;margin-bottom:12px}.cat14-template-bill span{display:grid;gap:4px}.cat14-template-bill i{display:block;height:4px;border-radius:4px;background:#e4e0d6}.cat14-template-bill i:nth-child(2){width:75%}.cat14-template-bill i:nth-child(3){width:55%}
.cat14-template-lines{display:grid;gap:5px}.cat14-template-lines i{display:block;height:7px;border-radius:3px;background:#eeece6}.cat14-template-lines i:first-child{height:9px}
.cat14-template-total{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:10px}.cat14-template-total span{width:48px;height:5px;background:#ded9ce;border-radius:4px}.cat14-template-total b{width:62px;height:13px;border-radius:4px}
.cat14-template-sheet footer{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:34px;padding:6px 12px;background:#f7f4ec;border-top:1px solid #e8e3d8}.cat14-template-sheet footer span{color:#8a8478;font-size:.52rem}.cat14-template-sheet footer img{width:72px;height:20px;object-fit:contain;object-position:right center}
.cat14-template-info{padding:0 14px 14px}.cat14-template-title{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.cat14-template-title h4{margin:0;font-size:.96rem}.cat14-template-title p{margin:.2rem 0 0;color:#777166;font-size:.66rem}
.cat14-template-meta{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}
.cat14-template-chip{padding:.22rem .42rem;border-radius:999px;background:#f2eee2;color:#5c574c;font-size:.62rem;font-weight:760}
.cat14-template-actions{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:10px}
.cat14-template-actions .btn{font-size:.7rem}
.cat14-brand-fields{grid-column:span 4;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-top:.35rem;padding:1rem;border:1px solid #e4dec9;border-radius:12px;background:#fcfaf2}
.cat14-brand-fields h6{grid-column:1/-1;margin:0;color:#2c260d}

.cat14-analysis-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:1rem 1.1rem;border-bottom:1px solid var(--cat14-line)}
.cat14-analysis-head h3{margin:0;font-size:1.05rem}
.cat14-analysis-actions{display:flex;gap:6px;flex-wrap:wrap}
.cat14-report-bars{display:grid;gap:.55rem;padding:1rem}
.cat14-report-row{display:grid;grid-template-columns:minmax(130px,1.4fr) minmax(110px,3fr) 100px;align-items:center;gap:.7rem;font-size:.76rem}
.cat14-report-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:720}
.cat14-report-track{height:9px;border-radius:999px;background:#eeeade;overflow:hidden}
.cat14-report-fill{height:100%;min-width:2px;border-radius:inherit;background:linear-gradient(90deg,#9b7600,var(--cat14-gold))}
.cat14-report-value{text-align:right;font-weight:850}
.cat14-empty{padding:2rem;text-align:center;color:#777166}
.cat14-analysis-table td:first-child{font-weight:720}
.cat14-analysis-table tfoot td{background:#f6f2e5;font-weight:850}
.cat14-view-list{display:grid;gap:7px}
.cat14-view-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:.65rem;border:1px solid #e4dfd2;border-radius:10px}

.cat14-native-multi{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}
.cat14-multi-picker{position:relative;min-width:190px}.cat14-multi-picker summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:38px;padding:.48rem .7rem;border:1px solid #ddd8ca;border-radius:9px;background:#fff;cursor:pointer;font-size:.78rem;list-style:none}.cat14-multi-picker summary::-webkit-details-marker{display:none}.cat14-multi-picker[open] summary{border-color:var(--cat14-gold);box-shadow:0 0 0 .18rem rgba(225,173,1,.14)}.cat14-multi-options{position:absolute;z-index:40;top:calc(100% + 5px);left:0;width:max(100%,250px);max-height:260px;overflow:auto;padding:6px;border:1px solid #d8d2c4;border-radius:10px;background:#fff;box-shadow:0 14px 30px rgba(20,16,2,.16)}.cat14-multi-options label{display:flex;align-items:center;gap:8px;padding:.45rem .5rem;border-radius:7px;font-size:.75rem;cursor:pointer}.cat14-multi-options label:hover{background:#fff7d6}.cat14-multi-options input{accent-color:#b58b00}

@media(max-width:1280px){
  .cat14-shell .v1813-tabs{grid-template-columns:repeat(4,minmax(118px,1fr))}
  .cat14-shell .v1813-hero{align-items:flex-start}
  .cat14-shell .v1813-hero #v1813HeroActions{max-width:620px}
  .cat14-brand-fields{grid-template-columns:repeat(2,minmax(0,1fr));grid-column:span 2}
}
@media(max-width:980px){
  .cat14-shell .v1813-tabs{grid-template-columns:repeat(3,minmax(118px,1fr))}
  .cat14-shell .v1813-hero{flex-direction:column}
  .cat14-shell .v1813-hero #v1813HeroActions{justify-content:flex-start;max-width:none}
}
@media(max-width:720px){
  .cat14-shell .v1813-hero{padding:16px;border-radius:15px}
  .cat14-shell .v1813-hero h2{font-size:1.3rem}
  .cat14-shell .v1813-hero .btn{min-height:34px;padding:.36rem .58rem;font-size:.73rem}
  .cat14-shell .v1813-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cat14-shell .v1813-stat{min-height:94px}
  .cat14-shell .v1813-field,.cat14-shell .v1813-field.grow{min-width:100%;width:100%}
  .cat14-shell .v1813-tabs{grid-template-columns:repeat(2,minmax(110px,1fr))}
  .cat14-section-head{grid-column:1/-1}.cat14-section-toggle span{display:inline}
  .cat14-multi-picker{width:100%}.cat14-multi-options{width:100%}
  .cat14-report-row{grid-template-columns:1fr 80px}.cat14-report-track{grid-column:1/-1;grid-row:2}
  .cat14-brand-fields{grid-template-columns:1fr;grid-column:auto}.cat14-brand-fields h6{grid-column:auto}
}
