/* Vouchers — dashboard design, scoped under .crdts-dash.
   Page-private classes; the shared shell stays in dashboard.scoped.css. */

.crdts-dash h1,.crdts-dash h2,.crdts-dash h3,.crdts-dash h4,.crdts-dash p,.crdts-dash span,.crdts-dash a,.crdts-dash b,.crdts-dash strong,.crdts-dash small,.crdts-dash em,.crdts-dash i,.crdts-dash li,.crdts-dash ul,.crdts-dash ol,.crdts-dash button,.crdts-dash label,.crdts-dash input,.crdts-dash textarea,.crdts-dash select,.crdts-dash summary,.crdts-dash option:not(.material-symbols-outlined):not([class*="material-symbols"]):not(.material-symbols-rounded):not([class*="material-symbols-rounded"]){font-family:inherit}
.crdts-dash .material-symbols-outlined,.crdts-dash [class*="material-symbols"]{
  font-family:'Material Symbols Outlined'!important;font-weight:400;font-style:normal;
  line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;
  white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:'liga';
  -webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased}

/* ============ vouchers — list ============ */

.crdts-dash .vc-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}
.crdts-dash .vc-rows{display:grid;gap:10px}
.crdts-dash .vc-row{cursor:pointer}

.crdts-dash .vc-name{display:flex;align-items:flex-start;gap:10px;min-width:0}
.crdts-dash .vc-name-ico{width:30px;height:30px;border-radius:8px;background:#fff6d8;color:#b48314;
  display:grid;place-items:center;flex-shrink:0}
.crdts-dash .vc-name-ico svg{width:16px;height:16px}
.crdts-dash .vc-name-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.crdts-dash .vc-name-row>b{font-size:12.5px;font-weight:500;color:#38382d}
.crdts-dash .vc-desc{font-size:11px;color:#a1a194;margin:5px 0 0;max-width:220px;overflow:hidden;
  text-overflow:ellipsis;white-space:nowrap}

.crdts-dash .vc-chip{font-size:10px;padding:4px 7px;border-radius:4px;display:inline-block}
.crdts-dash .vc-chip.sales{background:#fff6d8;color:#8a6d00}
.crdts-dash .vc-chip.off{background:#fff0ed;color:#c94742}

.crdts-dash .vc-code{display:inline-flex;align-items:center;gap:6px;direction:ltr;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;color:#38382d;
  background:#f6f6f0;border:1px solid #efefe7;border-radius:5px;padding:5px 8px;cursor:pointer;
  transition:background .15s,border-color .15s}
.crdts-dash .vc-code:hover{background:#fff6d4;border-color:#f0dfa8}
.crdts-dash .vc-code svg{width:12px;height:12px;color:#a1a194}

.crdts-dash .vc-value{font-size:13px;color:#171714}
.crdts-dash .vc-usage{min-width:104px}
.crdts-dash .vc-usage-top{display:flex;align-items:center;justify-content:space-between;gap:8px;
  direction:ltr;font-size:10.5px;color:#a1a194;margin-bottom:6px}
.crdts-dash .vc-date{font-size:11.5px;color:#8c8c81;white-space:nowrap}
.crdts-dash .vc-acts{display:flex;align-items:center;gap:6px}

@media(max-width:1200px){
.crdts-dash .vc-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:680px){
.crdts-dash .vc-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
.crdts-dash .vc-desc{max-width:150px}
.crdts-dash .vc-usage{min-width:88px}
}

/* ============ vouchers — full-page form ============ */

.crdts-dash .vc-type{display:flex;align-items:center;gap:10px;height:42px}
.crdts-dash .vc-type b{font-size:13px;color:#38382d}

.crdts-dash .vc-choices{display:grid;gap:9px}
.crdts-dash .vc-choice{width:100%;text-align:start;padding:13px 15px;border:1px solid #e5e5db;
  border-radius:9px;background:#fff;cursor:pointer;font-family:inherit;
  transition:background .15s,border-color .15s,box-shadow .15s}
.crdts-dash .vc-choice:hover{background:#fffdf4;border-color:#e0c266}
.crdts-dash .vc-choice.on{background:#fff9e4;border-color:#e0c266;box-shadow:0 0 0 2px #f6edb9}
.crdts-dash .vc-choice b{display:block;font-size:12.5px;font-weight:600;color:#38382d}
.crdts-dash .vc-choice small{display:block;font-size:11px;color:#a1a194;margin-top:5px;line-height:1.75}

.crdts-dash .vc-sum{margin-top:14px;border-top:1px solid #f0f0e8;padding-top:13px;display:grid;gap:9px}
.crdts-dash .vc-sum>div{display:flex;align-items:center;justify-content:space-between;gap:10px;
  font-size:11.5px;color:#a1a194}
.crdts-dash .vc-sum b{font-size:12px;font-weight:600;color:#38382d}

@media(max-width:680px){
.crdts-dash .vc-choice{padding:12px 13px}
}

