/* V8.305 Gift Vouchers tab and dashboard voucher detail. */
.gv305{max-width:1200px;margin:0 auto;display:grid;gap:16px}
.gv-head305{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px}
.gv-head305 h1{margin:0;font-size:26px}.gv-head305 p{margin:4px 0 0;color:var(--muted)}
.gv-views305,.gv-filters305{display:flex;flex-wrap:wrap;gap:4px}
.gv-filter305{min-height:36px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--muted);font:inherit;font-weight:600;cursor:pointer}
.gv-filter305:hover{color:var(--ink)}.gv-filter305.on{background:var(--rose2);color:var(--wine)}
.gv-kpis305{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:10px}
.gv-kpi305{padding:14px 16px;border:1px solid #e3dcef;border-radius:12px;background:#f7f4fc;display:flex;flex-direction:column;gap:4px;min-width:0}
.gv-kpi305 span{font-size:12px;font-weight:600;color:#4d3162}.gv-kpi305 strong{font-size:clamp(20px,2.2vw,26px);line-height:1.15;overflow-wrap:anywhere}.gv-kpi305 small{font-size:12px;color:var(--muted)}
.gv-kpi305.blue{background:#eef5ff;border-color:#dce8fb}.gv-kpi305.blue span{color:#244f8f}
.gv-kpi305.gold{background:#fff8e9;border-color:#efe5ce}.gv-kpi305.gold span{color:#7a5a17}
.gv305 .card,.gv-dash305{margin:0;padding:20px;min-width:0}
.gv305 h2{margin:0;font-size:18px}
.gv-sell305{display:flex;flex-wrap:wrap;gap:28px}
.gv-form305{flex:999 1 460px;min-width:0;display:flex;flex-direction:column;gap:16px}
.gv-label305{display:block;font-size:12px;font-weight:600;margin:0 0 6px}
.gv-chips305,.gv-segs305{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.gv-chip305,.gv-seg305{min-height:44px;padding:0 18px;border:1px solid #d9d4e2;border-radius:10px;background:#fff;color:var(--ink);font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.gv-seg305{flex:1 1 0;font-size:14px;padding:0 10px}
.gv-chip305:hover,.gv-seg305:hover{border-color:var(--wine)}
.gv-chip305.on{background:var(--wine);border-color:var(--wine);color:#fff}
.gv-seg305.on{background:var(--rose2);border-color:var(--wine);color:var(--wine)}
#gv-custom305{width:120px;min-height:44px;margin:0;padding:0 12px;box-sizing:border-box}
.gv-two305{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:0 12px}
.gv-two305 .field,.gv-more305 .field{margin:0}
.gv-more305{border:1px solid var(--line);border-radius:10px;padding:0 14px}
.gv-more305 summary{min-height:44px;display:flex;align-items:center;font-weight:600;color:var(--wine);cursor:pointer}
.gv-more305[open]{padding-bottom:14px}.gv-more305[open]>*:not(summary){margin-top:8px}
.gv-go305{display:flex;flex-wrap:wrap;align-items:center;gap:14px}
#gv-issue305{min-height:48px;font-size:15px;padding:0 22px}
.gv-note305{color:var(--muted);font-size:12px}
.gv-preview305{flex:1 1 260px;max-width:340px;display:flex;flex-direction:column;gap:8px;color:var(--muted);font-size:12px}
.gv-mini305{aspect-ratio:1.6/1;border-radius:16px;background:var(--wine);color:#fff;padding:20px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;gap:8px}
.gv-mini305 b{display:block;font-size:13px}.gv-mini305 small{color:#ffffffcc}.gv-mini305 strong{font-size:38px;line-height:1;overflow-wrap:anywhere}
.gv-mini-foot305{display:flex;justify-content:space-between;gap:8px;color:#ffffffe0}
.gv-list305{display:flex;flex-direction:column;gap:12px}
.gv-list-head305{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px}
.gv-tools305{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
#gv-search305{flex:1 1 260px;max-width:420px;min-height:44px;margin:0;padding:0 12px;box-sizing:border-box}
.gv-table305,.gv-dash305 .tablewrap,.gv-activity305 .tablewrap{overflow-x:auto}
.gv305 table,.gv-dash305 table{width:100%;border-collapse:collapse}
.gv305 th,.gv305 td,.gv-dash305 th,.gv-dash305 td{padding:10px 8px;text-align:left;border-bottom:1px solid #eeeef2;font-size:13px;white-space:nowrap;vertical-align:middle}
.gv305 th,.gv-dash305 th{font-size:12px;color:var(--muted);font-weight:600}
.gv305 td small{display:block;color:var(--muted);font-size:12px}
.gv-code305{font-family:ui-monospace,Consolas,monospace}
.gv-num305{text-align:right!important}
.gv-bal305 small{display:inline;color:var(--muted)}
.gv-bar305{display:block;width:130px;height:6px;margin-top:5px;border-radius:3px;background:#eeeef2;overflow:hidden}
.gv-bar305>span{display:block;height:100%;background:var(--wine)}
.gv-act305{text-align:right}.gv-act305 .btn{margin-left:4px}
.gv-danger305{color:var(--bad,#a83b4e)}
.gv-empty305{white-space:normal!important;color:var(--muted)}
#gv-more305:empty{display:none}
.sr-only305{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.gv-day305{border-top:1px solid var(--line)}
.gv-day305 summary{min-height:44px;display:flex;flex-wrap:wrap;gap:6px 18px;align-items:center;cursor:pointer}
.gv-day305 summary span{color:var(--muted)}
.gv-dialog-head305{display:flex;justify-content:space-between;align-items:center;gap:10px}
.gv-dialog-head305 h3{margin:0}
.gv-card-dialog305 .modal{max-width:820px}
.gv-card-wrap305{display:flex;flex-wrap:wrap;gap:20px;align-items:flex-start}
.gv-card-wrap305>div:first-child{flex:0 1 330px;min-width:0}
.gv-card-wrap305 .gift-card-printable{margin:8px 0}
.gv-card-wrap305 .gift-qr{width:200px;height:200px}
.gv-card-side305{flex:1 1 280px;display:flex;flex-direction:column;gap:14px;min-width:0}
.gv-card-actions305{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.gv-card-actions305 .btn{min-height:44px}
.gv-saved305{border-radius:12px;background:#f6f6f9;padding:14px 16px;display:flex;flex-direction:column;gap:8px}
.gv-saved305 h4{margin:0;font-size:14px}
.gv-saved305 div{display:flex;justify-content:space-between;gap:10px;font-size:14px}
.gv-saved305 small{color:var(--muted)}
.gv-dash305 h3{margin:0 0 6px;font-size:14px}
.gv-dash305 .gv-kpis305{margin:12px 0 16px}
.gv-dash-tables305{display:flex;flex-wrap:wrap;gap:16px}
.gv-dash-tables305>div{flex:1 1 440px;min-width:0}
.gv-dash305 tfoot td{font-weight:700;border-bottom:0}
.gv305 button:focus-visible,.gv305 input:focus-visible,.gv305 summary:focus-visible,.gv-dialog305 button:focus-visible{outline:2px solid #8757b4;outline-offset:2px}
@media(max-width:600px){.gv-seg305{flex:1 1 40%}.gv-preview305{display:none}.gv-card-actions305{grid-template-columns:1fr}}
