/* 三睿通 V2 visual foundation — presentation only, no business behaviour. */
:root{
  --background:#f6f6f3;
  --background-secondary:#f0f1ed;
  --surface:#fff;
  --surface-subtle:#f2f8f5;
  --surface-hover:#eceee9;
  --foreground:#18201d;
  --foreground-strong:#111714;
  --foreground-secondary:#65706b;
  --foreground-muted:#8a928e;
  --border:rgba(22,36,30,.09);
  --border-strong:rgba(22,36,30,.16);
  --divider:rgba(22,36,30,.07);
  --brand:#0f6b54;
  --brand-hover:#0b5c48;
  --brand-pressed:#084b3b;
  --brand-soft:#e9f4ef;
  --warning:#c98525;
  --danger:#b6504b;
  --info:#5f7772;
  --shadow-sm:0 1px 2px rgba(18,32,26,.03);
  --shadow-md:0 8px 24px rgba(18,32,26,.06);
  --shadow-menu:0 16px 40px rgba(18,32,26,.10);
  /* Three radii only: controls, standard surfaces, and feature surfaces. */
  --radius-sm:10px;
  --radius-md:16px;
  --radius-lg:20px;
  --radius-pill:999px;
  --control-height:44px;
  --motion-fast:160ms;
  --motion-normal:220ms;
  --motion-slow:280ms;
}

/* Mobile session actions must remain reachable above the fixed bottom bar. */
.personal-logout-card-v2{
  display:flex;align-items:center;justify-content:space-between;gap:24px;
  margin-top:20px;padding:24px 28px;border:1px solid var(--divider);
  border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm)
}
.personal-logout-card-v2 h2{margin:5px 0 6px;font-size:20px}
.personal-logout-card-v2 p{margin:0;color:var(--muted)}
.personal-logout-card-v2 form{margin:0;flex:0 0 auto}
.personal-logout-button-v2{
  min-height:46px;padding:0 22px;border:1px solid rgba(189,64,49,.24);
  border-radius:var(--radius-sm);background:#fff3f1;color:var(--danger);
  font:inherit;font-weight:750;cursor:pointer
}
.personal-logout-button-v2:hover{background:#ffe9e5}

@media(max-width:980px){
  body.nav-open .mobile-bottom-nav{display:none!important}
  .topbar #mainNav{padding-bottom:calc(136px + env(safe-area-inset-bottom))!important}
  .topbar #mainNav .drawer-actions{
    position:absolute;left:0;right:0;bottom:0;z-index:4;
    display:grid!important;grid-template-columns:1fr 1fr;gap:8px;
    margin:0;padding:12px 12px calc(12px + env(safe-area-inset-bottom));
    border-top:1px solid var(--divider);background:rgba(255,255,255,.98);
    box-shadow:0 -8px 22px rgba(18,32,26,.06)
  }
  .topbar #mainNav .drawer-actions form{display:block!important;margin:0}
  .topbar #mainNav .drawer-actions a,
  .topbar #mainNav .drawer-actions .nav-switch-account,
  .topbar #mainNav .drawer-actions .nav-logout{
    display:flex!important;align-items:center;justify-content:center;width:100%;min-height:48px;
    box-sizing:border-box;border-radius:var(--radius-sm);padding:12px 14px!important;
    font:inherit;font-weight:700;text-decoration:none;text-align:center
  }
  .topbar #mainNav .drawer-actions .nav-logout{
    border:1px solid rgba(189,64,49,.22);background:#fff3f1;
    color:var(--danger)!important;cursor:pointer
  }
  .topbar #mainNav .drawer-actions .nav-switch-account{
    border:1px solid rgba(15,107,84,.18);background:var(--brand-soft);
    color:var(--brand)!important;cursor:pointer
  }
  .topbar #mainNav .drawer-actions>form:last-child{grid-column:1/-1}
  .personal-logout-card-v2{display:grid;gap:18px;padding:20px;margin-bottom:18px}
  .personal-logout-card-v2 form,.personal-logout-button-v2{width:100%}
  .personal-logout-button-v2{min-height:50px}
}

@media(max-width:980px) and (max-height:900px){
  .topbar #mainNav>a{min-height:40px;padding:9px 11px!important}
  .topbar #mainNav .drawer-account{padding:8px 11px 12px}
}

html{background:var(--background)}
body{background:var(--background);color:var(--foreground);font-family:Geist,Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;font-size:15px;line-height:1.55}
button,input,select{font:inherit}
button,.button{transition:background-color var(--motion-fast) cubic-bezier(.22,1,.36,1),border-color var(--motion-fast) cubic-bezier(.22,1,.36,1),box-shadow var(--motion-fast) cubic-bezier(.22,1,.36,1),transform var(--motion-fast) cubic-bezier(.22,1,.36,1)}
button:active,.button:active{transform:translateY(1px)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid rgba(15,107,84,.22);outline-offset:2px}
button,.button,.primary,.ghost{border-radius:var(--radius-sm)}
input,select{height:var(--control-height);border-color:var(--border-strong);border-radius:var(--radius-sm);box-shadow:none}
input:focus,select:focus{border-color:var(--brand);box-shadow:0 0 0 3px rgba(15,107,84,.12)}
.primary{background:var(--brand);box-shadow:none}
.primary:hover{background:var(--brand-hover);box-shadow:0 4px 12px rgba(15,107,84,.14);transform:translateY(-1px)}
.ghost{background:var(--surface);border:1px solid var(--border-strong);color:var(--foreground)}
.ghost:hover{background:var(--surface-hover);border-color:var(--border-strong);box-shadow:var(--shadow-sm)}

/* Desktop shell and navigation */
.topbar{height:64px;padding:0;background:rgba(255,255,255,.96);color:var(--foreground);border-bottom:1px solid var(--divider);box-shadow:none;backdrop-filter:none}
.topbar-inner{width:min(100% - 48px,1360px);height:100%;margin:0 auto;display:flex;align-items:center;gap:34px}
.brand{color:var(--foreground);gap:10px;flex:0 0 auto}
.brand-symbol{width:31px;height:31px;display:grid;place-items:center;background:var(--brand);border-radius:var(--radius-sm);overflow:hidden}
.brand-logo-white{width:22px;height:22px;object-fit:contain;display:block}
.brand-copy b{font-size:18px;letter-spacing:.02em;line-height:1.15;color:var(--foreground-strong)}
.brand-copy small{font-size:10px;color:var(--foreground-secondary);letter-spacing:.04em;line-height:1.35}
.brand-scope{margin-left:6px;color:var(--warning);font-size:11px;font-style:normal;font-weight:700;letter-spacing:0;vertical-align:1px}
.topbar #mainNav{display:flex;align-items:center;gap:3px;min-width:0;flex:1}
.topbar #mainNav>a{color:var(--foreground-secondary);opacity:1;padding:9px 10px;border-radius:var(--radius-sm);font-size:14px;font-weight:650;white-space:nowrap}
.topbar #mainNav>a:hover{color:var(--foreground);background:var(--surface-hover)}
.topbar #mainNav>a.active{color:var(--brand);background:var(--brand-soft);padding:9px 10px}
.topbar #mainNav>a.active:after{display:none}
.drawer-account,.drawer-actions{display:none}
.account-menu{margin-left:auto}
.account-menu summary{min-width:108px;height:38px;padding:0 11px;border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--foreground);font-size:14px;font-weight:650;cursor:pointer;list-style:none}
.account-menu summary::-webkit-details-marker{display:none}
.account-menu summary svg{stroke:var(--foreground-secondary)}
.account-menu>div{right:0;top:48px;border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-menu)}
.account-menu>div b{color:var(--foreground)}
.account-menu>div small{color:var(--foreground-secondary)}
.account-menu>div a{color:var(--foreground);font-weight:600}
 .account-menu>div button{color:var(--danger);font-weight:700}
 .account-menu>div .nav-switch-account{border:1px solid rgba(15,107,84,.16);background:var(--brand-soft);color:var(--brand);cursor:pointer}
.force-password-header{margin-left:auto;display:flex;align-items:center;gap:12px;color:var(--foreground-secondary);font-size:13px;font-weight:650}.force-password-header form{margin:0}.force-password-header button{padding:8px 11px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--foreground);font:inherit;font-weight:650;cursor:pointer}
.department-overview-v2{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.department-overview-v2 h1{margin:5px 0}.department-overview-v2 p{margin:0;color:var(--foreground-secondary)}.department-workspace-v2,.department-list-card-v2{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.department-workspace-v2{padding:22px;margin-bottom:16px}.department-workspace-v2>header{display:flex;align-items:end;justify-content:space-between;gap:18px;padding-bottom:17px;border-bottom:1px solid var(--divider)}.department-workspace-v2 h2{margin:3px 0;font-size:20px}.department-workspace-v2 p{margin:0;color:var(--foreground-secondary);font-size:13px}.department-scope-label{color:var(--warning);font-size:12px;font-weight:750}.department-scope-picker-v2 label{display:block;color:var(--foreground-secondary);font-size:12px;font-weight:650}.department-scope-picker-v2 select{min-width:210px;margin-top:5px}.department-create-v2{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;margin-top:17px}.department-create-v2 label{display:block;color:var(--foreground-secondary);font-size:13px;font-weight:650}.department-create-v2 input{margin-top:6px}.department-list-card-v2{padding:22px}.department-list-v2{display:grid;gap:0}.department-tag-row-v2{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:16px;padding:15px 0;border-bottom:1px solid var(--divider)}.department-tag-row-v2:last-child{border-bottom:0}.department-tag-row-v2 b,.department-tag-row-v2 small{display:block}.department-tag-row-v2 small{margin-top:3px;color:var(--foreground-secondary);font-size:12px}.department-tag-row-v2.is-inactive{opacity:.68}.department-empty-v2{display:grid;gap:4px;justify-items:start;padding:30px 0;color:var(--foreground-secondary)}.department-empty-v2 b{color:var(--foreground)}
.nav-toggle,.mobile-bottom-nav{display:none}
.container{max-width:1360px;padding:32px 24px 52px}
.flash{border:1px solid rgba(15,107,84,.12);border-radius:var(--radius-md);background:var(--brand-soft);color:var(--brand);box-shadow:var(--shadow-sm)}
.flash.error{border-color:rgba(182,80,75,.14);background:#fcebea;color:var(--danger)}
.save-toast{position:fixed;top:calc(env(safe-area-inset-top,0px) + 84px);left:50%;z-index:120;display:flex;align-items:center;justify-content:center;width:min(720px,calc(100vw - 40px));min-height:46px;padding:11px 22px;border:1px solid rgba(206,245,229,.38);border-radius:0 0 15px 15px;background:rgba(10,99,76,.82);box-shadow:0 14px 34px rgba(8,61,47,.2);backdrop-filter:blur(16px);color:#fff;font-size:14px;font-weight:750;letter-spacing:.01em;opacity:0;transform:translate(-50%,-14px);transition:opacity .2s ease,transform .2s ease;pointer-events:none}.save-toast.is-visible{opacity:1;transform:translate(-50%,0)}.save-toast.error{border-color:rgba(255,223,220,.45);background:rgba(162,62,56,.84)}
@media(max-width:720px){.save-toast{top:calc(env(safe-area-inset-top,0px) + 64px);width:calc(100vw - 24px);min-height:42px;border-radius:0 0 13px 13px;font-size:13px}}
.eyebrow{display:inline-block;color:var(--warning);font-size:11px;letter-spacing:.08em;font-weight:750}

/* Login: asymmetric but calm desktop, a purpose-built small-screen flow. */
.page-login .topbar{position:relative;background:var(--background);border-bottom:0}
.page-login .topbar-inner{width:min(100% - 64px,1320px)}
.page-login .container{max-width:none;padding:0}
.login-page-v2{min-height:calc(100dvh - 64px);display:grid;grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);background:var(--surface)}
.login-scene{position:relative;overflow:hidden;min-height:640px;background:var(--surface-subtle)}
.login-scene picture,.login-scene picture img{display:block;width:100%;height:100%}
.login-scene picture img{object-fit:cover;object-position:center}
.login-scene:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,70,55,.72) 0%,rgba(11,70,55,.46) 52%,rgba(11,70,55,.12) 100%)}
.login-scene-copy{position:absolute;z-index:1;left:clamp(36px,7vw,100px);bottom:clamp(54px,9vh,100px);max-width:480px;color:#fff}
.login-scene-copy>span{display:inline-flex;padding:5px 9px;border:1px solid rgba(255,255,255,.35);border-radius:999px;font-size:12px;letter-spacing:.06em}
.login-scene-copy h1{margin:16px 0 14px;font-size:clamp(36px,3.6vw,50px);line-height:1.15;letter-spacing:-.045em;color:#fff}
.login-scene-copy p{margin:0;color:rgba(255,255,255,.82);font-size:16px}
.login-panel-v2{display:flex;align-items:center;justify-content:center;padding:72px 42px;background:var(--surface)}
.login-panel-inner{width:min(100%,410px)}
.login-brand-v2{display:flex;align-items:center;gap:10px;margin-bottom:46px}
.login-brand-symbol{width:36px;height:36px;display:grid;place-items:center;border-radius:var(--radius-sm);background:var(--brand)}
.login-brand-symbol img{width:24px;height:24px;object-fit:contain}
.login-brand-v2 b,.login-brand-v2 small{display:block}
.login-brand-v2 b{font-size:19px;line-height:1.25;color:var(--foreground-strong)}
.login-brand-v2 small{margin-top:2px;color:var(--foreground-secondary);font-size:12px}
.login-form-v2 header{margin-bottom:27px}
.login-form-v2 h2{font-size:32px;letter-spacing:-.035em;color:var(--foreground-strong)}
.login-form-v2 header p{margin:6px 0 0;color:var(--foreground-secondary)}
.login-form-v2>label{display:block;margin:17px 0 7px;color:var(--foreground);font-size:13px;font-weight:650}
.login-form-v2 input{display:block;width:100%;height:46px;background:var(--surface);border-color:var(--border-strong)}
.password-control{display:block;position:relative}
.password-control input{padding-right:58px}
.password-control button{position:absolute;right:5px;top:5px;height:36px;padding:0 10px;background:transparent;color:var(--brand);font-size:12px;font-weight:700}
.login-submit{height:46px;margin-top:27px;font-size:15px}

/* Dashboard */
.dashboard-hero-v2{display:block;position:relative;min-height:316px;overflow:hidden;background:#0f6b54;border:1px solid rgba(10,66,53,.36);border-radius:var(--radius-lg);box-shadow:var(--shadow-md)}
.dashboard-hero-copy{position:relative;z-index:2;display:flex;flex-direction:column;justify-content:center;box-sizing:border-box;width:min(68%,860px);min-height:315px;padding:34px 42px;overflow:hidden;background:linear-gradient(90deg,rgba(7,67,54,.98) 0%,rgba(9,81,65,.95) 48%,rgba(10,91,72,.72) 77%,rgba(10,91,72,0) 100%)}
.dashboard-hero-copy:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:3px;background:linear-gradient(90deg,var(--warning),rgba(232,196,125,0));pointer-events:none}
.dashboard-hero-copy>*{position:relative;z-index:1}.dashboard-hero-copy .eyebrow{display:block;margin-bottom:11px;color:#e8c47d}
.dashboard-hero-copy h1{max-width:570px;margin:0;color:#fff;font-size:37px;line-height:1.15;letter-spacing:-.05em}
.mobile-title-break{display:none}
.dashboard-hero-copy p{max-width:500px;margin:12px 0 21px;color:#c7ddd5;font-size:14px;line-height:1.72}
.dashboard-hero-actions{display:flex;gap:10px;align-items:center}
.dashboard-hero-actions .button,.dashboard-hero-actions .primary{padding:10px 16px}.dashboard-hero-actions .primary{box-shadow:0 8px 20px rgba(0,0,0,.16)}.dashboard-hero-actions .button.ghost{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.32);color:#fff}.dashboard-hero-actions .button.ghost:hover{background:rgba(255,255,255,.18)}
.dashboard-hero-image{position:absolute;z-index:0;inset:0;min-height:0;margin:0;overflow:hidden;border-radius:0;background:#164f44}
.dashboard-hero-image:before{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(90deg,rgba(5,66,53,.34) 0%,rgba(5,66,53,.13) 53%,rgba(5,42,34,.14) 100%),linear-gradient(180deg,rgba(6,46,37,.04),rgba(6,46,37,.32))}
.dashboard-hero-image img{width:100%;height:100%;object-fit:cover;object-position:center 52%;display:block;filter:saturate(.78) contrast(.98)}
.dashboard-hero-image-note{position:absolute;z-index:2;right:16px;bottom:16px;display:inline-flex;align-items:center;min-width:0;padding:8px 10px;background:rgba(7,48,39,.8);border:1px solid rgba(255,255,255,.18);border-radius:var(--radius-sm);box-shadow:none;backdrop-filter:blur(9px)}
.dashboard-hero-image-note b{color:#fff;font-size:12px;font-weight:750}.dashboard-hero-image-note b:after{content:'·';margin:0 6px;color:rgba(255,255,255,.52)}.dashboard-hero-image-note small{color:rgba(255,255,255,.78);font-size:11px;font-weight:600}
.dashboard-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}
.metric-card{min-height:138px;padding:19px 20px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);color:var(--foreground);text-decoration:none;box-shadow:var(--shadow-sm)}
.metric-card:hover{border-color:var(--border-strong);box-shadow:var(--shadow-md);transform:translateY(-1px)}
.metric-card span,.metric-card small{display:block;color:var(--foreground-secondary)}
.metric-card span{font-size:14px}
.metric-card strong{display:block;margin:8px 0 2px;color:var(--foreground-strong);font-size:34px;letter-spacing:-.04em;line-height:1.15}
.metric-card small{font-size:12px}
.metric-card-emphasis{background:var(--brand-soft);border-color:rgba(15,107,84,.14)}
.metric-card-emphasis strong{color:var(--brand)}
.dashboard-workflows-v2{margin:0 0 24px;padding:18px 20px 0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}
.workflow-head-v2{padding:0 2px 14px}.workflow-head-v2 h2{margin:0;color:var(--foreground-strong);font-size:17px;letter-spacing:-.02em}.workflow-head-v2 p{margin:3px 0 0;color:var(--foreground-secondary);font-size:13px}
.workflow-grid-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--divider)}
.workflow-grid-v2>a{min-height:82px;display:flex;align-items:center;gap:11px;padding:15px 12px;color:var(--foreground);text-decoration:none;border-right:1px solid var(--divider);transition:background-color var(--motion-fast) cubic-bezier(.22,1,.36,1)}
.workflow-grid-v2>a:first-child{padding-left:2px}.workflow-grid-v2>a:last-child{border-right:0}.workflow-grid-v2>a:hover{background:var(--surface-subtle)}
.workflow-grid-v2 b,.workflow-grid-v2 small{display:block}.workflow-grid-v2 b{font-size:14px;font-weight:700}.workflow-grid-v2 small{margin-top:2px;color:var(--foreground-secondary);font-size:12px;line-height:1.4}.workflow-grid-v2 i{margin-left:auto;color:var(--foreground-muted);font-size:22px;font-style:normal;font-weight:300;line-height:1}
.workflow-icon{width:28px;height:28px;display:grid;flex:0 0 28px;place-items:center;color:var(--brand)}.workflow-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* Shared component bridge for the remaining server-rendered views.  This keeps
   old templates readable while they are progressively restructured. */
.page-standard .card,.page-standard .filter-card,.page-standard .canteen-node,.page-standard .canteen-vouchers,.page-standard .idcard,.page-standard .scan-panel,.page-standard .wallet-panel,.page-standard .issue-voucher-summary{border-color:var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}
.page-standard .card,.page-standard .filter-card,.page-standard .canteen-node,.page-standard .canteen-vouchers,.page-standard .idcard,.page-standard .scan-panel,.page-standard .wallet-panel{background:var(--surface)}
.page-standard .hero-mini,.page-standard .cashier-head,.page-standard .mobile-wallet-head{border-radius:var(--radius-lg);box-shadow:none}
.page-standard dialog{border-radius:var(--radius-lg);box-shadow:var(--shadow-menu)}
.page-standard .voucher-strip>div,.page-standard .voucher-card-button,.page-standard .voucher-mini,.page-standard .ticket{border-radius:var(--radius-md)}
.page-standard .role,.page-standard .status,.page-standard .date-badge,.page-standard .chip-list span{border-radius:var(--radius-pill)}
.page-standard .backup-note,.page-standard .reconcile-total,.page-standard .selected-count,.page-standard .batch-preview,.page-standard .month-total{border-radius:var(--radius-md)}
.page-standard .quick-actions a,.page-standard .system-links a{border-radius:var(--radius-sm)}
.page-standard :is(.inline-form input,.inline-form select,.filter-card input,.filter-card select,.people-rows select){border-radius:var(--radius-sm);border-color:var(--border-strong)}
.page-standard .table-wrap{border-radius:var(--radius-md)}
.recent-redemptions-v2,.data-panel-v2{padding:23px 24px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}
.section-head-v2{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:16px}
.section-head-v2 h2{font-size:20px;color:var(--foreground-strong)}
.section-head-v2 p{margin:4px 0 0;color:var(--foreground-secondary);font-size:14px}
.text-link{color:var(--brand);font-weight:700;text-decoration:none}
.text-link:hover{text-decoration:underline}
.data-table-v2{min-width:0!important;width:100%;border-collapse:collapse}
.data-table-v2 th{padding:11px 12px;color:var(--foreground-secondary);font-size:12px;font-weight:650;letter-spacing:0;text-transform:none;background:var(--surface);border-bottom:1px solid var(--border)}
.data-table-v2 td{padding:14px 12px;white-space:normal;border-bottom:1px solid var(--divider);color:var(--foreground)}
.data-table-v2 tbody tr:last-child td{border-bottom:0}
.data-table-v2 tbody tr:hover{background:var(--surface-subtle)}
.data-table-v2 b{font-weight:650}
.data-table-v2 small{color:var(--foreground-secondary)}
.data-table-v2 .face{color:var(--brand);font-size:16px;font-weight:750}
.transaction-note-cell>b,.transaction-note-cell>small{display:block}.transaction-note-cell>small{max-width:260px;line-height:1.45}.admin-cancel-details{min-width:180px}.admin-cancel-details summary{color:var(--danger);font-size:12px;font-weight:750;cursor:pointer}.admin-cancel-details form{display:grid;gap:8px;margin-top:7px}.admin-cancel-details textarea{min-height:56px;width:260px;max-width:100%;padding:7px 8px;font-size:12px}.admin-cancel-details .danger{min-height:32px;padding:6px 9px;background:var(--danger);color:#fff}.cancel-voucher-choice{display:grid;gap:6px;width:260px;max-width:100%;margin:0;padding:8px;border:1px solid var(--border);border-radius:10px}.cancel-voucher-choice legend{padding:0 4px;color:var(--foreground-secondary);font-size:11px;font-weight:700}.cancel-voucher-choice label{display:flex;align-items:flex-start;gap:7px;padding:7px;border:1px solid var(--border);border-radius:8px;cursor:pointer}.cancel-voucher-choice label:has(input:checked){border-color:var(--brand);background:var(--brand-soft)}.cancel-voucher-choice input{margin-top:2px}.cancel-voucher-choice span,.cancel-voucher-choice b,.cancel-voucher-choice small{display:block}.cancel-voucher-choice b{font-size:12px}.cancel-voucher-choice small{margin-top:2px;color:var(--foreground-secondary);font-size:10px;line-height:1.35}.cancel-expired-note{width:260px;max-width:100%;margin:0;padding:7px 9px;border-radius:8px;background:rgba(182,80,75,.1);color:var(--danger);font-size:11px;line-height:1.45}

/* Transactions desktop */
.page-head-v2{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}
.page-head-v2 h1{margin:4px 0 3px;color:var(--foreground-strong);font-size:32px;letter-spacing:-.04em}
.page-head-v2 p{margin:0;color:var(--foreground-secondary)}
.page-head-actions{display:flex;gap:9px;align-items:center}
.filter-toolbar-v2{padding:16px 18px;margin-bottom:16px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}
.transactions-filter-v2{display:flex;align-items:end;gap:9px}
.transactions-filter-v2 label{display:block;flex:0 1 132px;min-width:0;color:var(--foreground-secondary);font-size:12px;font-weight:650}
.transactions-filter-v2 label.filter-grow{flex:1 1 170px}
.transactions-filter-v2 input,.transactions-filter-v2 select{display:block;margin-top:5px;height:42px;padding-top:9px;padding-bottom:9px;font-size:14px}
.filter-toolbar-actions{display:flex;gap:7px;flex:0 0 auto}
.filter-toolbar-actions .primary,.filter-toolbar-actions .button{height:42px;padding:10px 13px}
.data-panel-meta{display:flex;justify-content:space-between;margin-bottom:12px;color:var(--foreground-secondary);font-size:13px}
.mobile-filter-bar,.mobile-transaction-list{display:none}
.pagination-v2{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:18px}
.pagination-v2 span{min-width:88px;color:var(--foreground-secondary);font-size:13px;text-align:center}
.pagination-v2 button:disabled{opacity:.48;cursor:not-allowed;box-shadow:none}
.filter-sheet-v2{border:0;border-radius:var(--radius-lg) var(--radius-lg) 0 0;padding:0;width:min(100%,560px);max-width:560px;box-shadow:var(--shadow-menu)}
.filter-sheet-v2::backdrop{background:rgba(18,32,26,.38)}
.filter-sheet-v2 form{padding:20px}
.filter-sheet-v2 header{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}
.filter-sheet-v2 header div{display:flex;align-items:center;gap:10px}.filter-sheet-v2 header span{width:32px;height:4px;border-radius:999px;background:#d6ddd9}.filter-sheet-v2 header h2{font-size:19px}.filter-sheet-v2 header button{width:36px;height:36px;padding:0;background:var(--surface-hover);color:var(--foreground);font-size:24px}
.filter-sheet-v2 label{display:block;margin:13px 0 6px;color:var(--foreground-secondary);font-size:13px;font-weight:650}.filter-sheet-v2 input,.filter-sheet-v2 select{margin-top:6px}.filter-sheet-actions{display:grid;grid-template-columns:1fr 1.25fr;gap:9px;margin-top:20px}.filter-sheet-actions>*{text-align:center}

@media(max-width:1180px) and (min-width:768px){
  .topbar-inner{width:min(100% - 36px,1360px);gap:16px}.topbar #mainNav{gap:0}.topbar #mainNav>a{padding:8px 7px;font-size:13px}.brand-copy small{display:none}
  .transactions-filter-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.transactions-filter-v2 label,.transactions-filter-v2 label.filter-grow{min-width:0}.filter-toolbar-actions{grid-column:1/-1}
  .dashboard-hero-v2{display:block;min-height:296px}.dashboard-hero-copy{min-height:295px;padding:29px 32px}.dashboard-hero-copy h1{font-size:34px}.dashboard-hero-image{margin:0}
  .issue-stage-v2{grid-template-columns:minmax(0,1fr);gap:16px}.issue-config-panel-v2{position:static}
}

/* Mobile task experience */
@media(max-width:767px){
  html{background:var(--brand)}
  body{padding-bottom:calc(68px + env(safe-area-inset-bottom));background:var(--background)}
  .topbar,.page-login .topbar{height:calc(58px + env(safe-area-inset-top));padding-top:env(safe-area-inset-top);background:var(--brand)!important;border-bottom:1px solid rgba(255,255,255,.12);box-shadow:none}
  .topbar-inner,.page-login .topbar-inner{position:relative;width:100%;padding:0 16px;justify-content:center;gap:0}
  .brand{display:flex;align-items:center;min-height:44px;gap:8px;color:#fff}.brand-symbol{width:28px;height:28px;border-radius:8px;background:rgba(255,255,255,.12)}.brand-logo-white{width:19px;height:19px}.brand-copy b{font-size:17px;color:#fff}.brand-copy small,.brand-scope{display:none}
  /* The parent topbar already reserves the status-bar inset. Center within
     the remaining header row so the control never drops into page content. */
  .nav-toggle{position:absolute;left:max(10px,env(safe-area-inset-left));top:50%;display:grid;width:clamp(40px,11vw,44px);height:clamp(40px,11vw,44px);padding:clamp(9px,2.4vw,11px);gap:clamp(3px,1vw,4px);place-content:center;transform:translateY(-50%);background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:9px}.nav-toggle span{width:clamp(18px,5.2vw,20px);height:1.5px;background:#fff;border-radius:999px}
  .topbar #mainNav{position:fixed;z-index:60;top:calc(58px + env(safe-area-inset-top));left:0;bottom:0;width:min(82vw,322px);display:flex;flex-direction:column;align-items:stretch;gap:0;padding:14px 12px max(24px,env(safe-area-inset-bottom));overflow-y:auto;background:var(--surface)!important;border-right:1px solid var(--border);border-radius:0;box-shadow:var(--shadow-menu);transform:translateX(-104%);transition:transform var(--motion-normal) cubic-bezier(.22,1,.36,1)}
  body.nav-open .topbar #mainNav{transform:translateX(0)}
  .topbar #mainNav>a{padding:12px 11px;border-radius:9px;color:var(--foreground);font-size:15px}.topbar #mainNav>a.active{background:var(--brand-soft);color:var(--brand)}
  .drawer-account{display:block;padding:8px 11px 16px;margin-bottom:8px;border-bottom:1px solid var(--divider)}.drawer-account b,.drawer-account small{display:block}.drawer-account b{color:var(--foreground)}.drawer-account small{margin-top:2px;color:var(--foreground-secondary)}
  .drawer-actions{display:block;margin-top:auto;padding-top:12px;border-top:1px solid var(--divider)}.drawer-actions a,.drawer-actions button{color:var(--foreground)!important;padding:12px 11px!important}.drawer-actions button{color:var(--danger)!important}
  .account-menu{display:none}.nav-backdrop{inset:calc(58px + env(safe-area-inset-top)) 0 0!important;background:rgba(18,32,26,.32)!important}.nav-open .nav-backdrop{display:block}
  .force-password-header{margin-left:auto;gap:7px;font-size:12px}.force-password-header button{padding:7px 9px;color:var(--brand);background:rgba(255,255,255,.95)}
  .department-overview-v2{align-items:flex-start;flex-direction:column;margin-bottom:16px}.department-workspace-v2,.department-list-card-v2{padding:17px}.department-workspace-v2>header{align-items:flex-start;flex-direction:column}.department-scope-picker-v2,.department-scope-picker-v2 select{width:100%}.department-create-v2{grid-template-columns:1fr}.department-tag-row-v2{grid-template-columns:minmax(0,1fr) auto;gap:10px}.department-tag-row-v2 .text-btn{grid-column:2}
  .container{max-width:none;padding:18px 16px 28px}.page-login .container{padding:0}
  .mobile-bottom-nav{position:fixed;z-index:45;bottom:0;left:0;right:0;display:grid;grid-auto-flow:column;grid-auto-columns:1fr;min-height:64px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));background:rgba(255,255,255,.98);border-top:1px solid var(--border);box-shadow:0 -6px 20px rgba(18,32,26,.05)}
  .mobile-bottom-nav a{min-height:48px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;color:var(--foreground-muted);text-decoration:none;font-size:11px;font-weight:650}.mobile-bottom-nav svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.mobile-bottom-nav a.active{color:var(--brand)}.mobile-bottom-nav a.action{color:var(--brand)}.mobile-bottom-nav a.action svg{padding:4px;box-sizing:content-box;border-radius:10px;background:var(--brand-soft)}

  .login-page-v2{display:block;min-height:calc(100dvh - 58px - env(safe-area-inset-top));background:var(--surface)}
  .login-scene{min-height:132px;height:132px;background:var(--brand)}.login-scene picture img{object-position:center 42%;opacity:.35}.login-scene:after{background:linear-gradient(90deg,rgba(15,107,84,.9),rgba(15,107,84,.45))}.login-scene-copy{left:22px;bottom:20px}.login-scene-copy>span,.login-scene-copy p{display:none}.login-scene-copy h1{margin:0;font-size:26px;line-height:1.25}.login-panel-v2{display:block;padding:31px 20px 38px}.login-panel-inner{width:100%;max-width:440px;margin:0 auto}.login-brand-v2{margin-bottom:30px}.login-brand-symbol{width:34px;height:34px}.login-brand-v2 b{font-size:18px}.login-form-v2 h2{font-size:28px}.login-form-v2 header{margin-bottom:23px}.login-form-v2>label{margin-top:15px}.login-form-v2 input,.login-submit{height:46px}.login-submit{margin-top:24px}

  .dashboard-hero-v2{display:block;position:relative;min-height:174px;padding:0;margin:2px 0 14px;border-radius:18px;background:var(--brand)}.dashboard-hero-copy{position:relative;z-index:2;display:block;width:auto;min-height:0;padding:22px 20px;max-width:82%;background:transparent}.dashboard-hero-copy:after{display:none}.dashboard-hero-copy .eyebrow{margin-bottom:6px;color:#e8c47d;font-size:10px}.dashboard-hero-copy h1{font-size:27px;line-height:1.2;color:#fff}.mobile-title-break{display:block}.dashboard-hero-copy p{display:none}.dashboard-hero-actions{margin-top:14px}.dashboard-hero-actions .button,.dashboard-hero-actions .primary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 10px;font-size:13px}.dashboard-hero-actions .primary{background:#fff;color:var(--brand)}.dashboard-hero-actions .button.ghost{border-color:rgba(255,255,255,.32);background:rgba(255,255,255,.1);color:#fff}.dashboard-hero-image{position:absolute;inset:0;min-height:0;margin:0;overflow:hidden;border-radius:inherit}.dashboard-hero-image:before{background:linear-gradient(90deg,var(--brand) 0%,rgba(15,107,84,.83) 48%,rgba(15,107,84,.16) 100%)}.dashboard-hero-image img{filter:saturate(.68) contrast(.93);object-position:65% center}.dashboard-hero-image-note{display:none}
  .dashboard-metrics{grid-template-columns:1fr 1fr;gap:10px;margin:0 0 16px}.metric-card{min-height:122px;padding:15px 14px;border-radius:14px}.metric-card span{font-size:13px}.metric-card strong{margin:8px 0 1px;font-size:29px}.metric-card small{font-size:11px}.metric-card-emphasis{grid-column:span 2;min-height:112px}.metric-card-emphasis strong{font-size:31px}
  .dashboard-shortcuts{grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px}.dashboard-shortcuts a{padding:12px;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.dashboard-shortcuts small{font-size:11px}.recent-redemptions-v2{padding:18px;border-radius:16px}.section-head-v2 h2{font-size:19px}.section-head-v2 .text-link{display:inline-flex;align-items:center;min-height:44px;padding:0 4px}.dashboard-table-wrap{display:none}

  .page-head-v2{align-items:flex-start;margin:2px 0 17px}.page-head-v2 h1{font-size:28px}.page-head-v2 p{font-size:14px}.page-head-actions{display:none}.desktop-filter-toolbar{display:none}.mobile-filter-bar{display:flex;align-items:center;justify-content:space-between;margin:0 0 12px}.mobile-filter-bar .button{height:42px;padding:9px 13px;color:var(--brand);border-color:rgba(15,107,84,.2);background:var(--brand-soft)}.mobile-filter-bar span{color:var(--foreground-secondary);font-size:13px}.data-panel-v2{padding:0;background:transparent;border:0;box-shadow:none}.data-panel-meta,.desktop-transaction-table{display:none}.mobile-transaction-list{display:grid;gap:9px}.mobile-transaction-item{padding:14px 15px;background:var(--surface);border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow-sm)}.mobile-transaction-main,.mobile-transaction-item>div:not(.mobile-transaction-main),.mobile-transaction-item footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.mobile-transaction-main b{font-size:16px;color:var(--foreground-strong)}.mobile-transaction-main strong{font-size:18px;color:var(--brand)}.mobile-transaction-item>div:not(.mobile-transaction-main){margin-top:5px;color:var(--foreground-secondary);font-size:13px}.mobile-transaction-item time{white-space:nowrap}.mobile-transaction-item footer{margin-top:10px;padding-top:9px;border-top:1px solid var(--divider);color:var(--foreground-muted);font-size:12px}.mobile-transaction-item .status{padding:3px 7px;font-size:11px}.empty-state-v2{padding:32px 18px;text-align:center;background:var(--surface);border:1px dashed var(--border-strong);border-radius:14px;color:var(--foreground-secondary)}.pagination-v2{justify-content:space-between;margin-top:16px}.pagination-v2 button{padding:10px 12px}.filter-sheet-v2{position:fixed;bottom:0;max-width:none;width:100%;margin:0}.filter-sheet-v2 form{padding:17px 18px calc(18px + env(safe-area-inset-bottom))}.filter-sheet-v2 header{margin-bottom:12px}.filter-sheet-v2 header div{display:block}.filter-sheet-v2 header span{display:block;margin:0 auto 11px}.filter-sheet-v2 header h2{font-size:20px}.filter-sheet-v2 header{align-items:flex-start}.filter-sheet-v2 header button{margin-top:5px}.filter-sheet-v2 label{margin-top:11px}.filter-sheet-v2 input,.filter-sheet-v2 select{height:44px}.filter-sheet-actions{position:sticky;bottom:0;padding-top:12px;background:var(--surface)}
}

@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important}}

/* System consistency pass: one radius scale, quieter surfaces, clearer action hierarchy. */
button,.button,.primary,.ghost{border-radius:var(--radius-sm)}
.brand-symbol,.login-brand-symbol{border-radius:var(--radius-sm)}
.topbar #mainNav>a,.account-menu summary{border-radius:var(--radius-sm)}
.account-menu>div{border-radius:var(--radius-md)}
.dashboard-hero-v2{border-radius:var(--radius-lg)}
.metric-card,.filter-toolbar-v2{border-radius:var(--radius-md)}
.recent-redemptions-v2,.data-panel-v2{border-radius:var(--radius-lg)}
.dashboard-workflows-v2{margin:0 0 24px;padding:18px 20px 0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}
.workflow-head-v2{padding:0 2px 14px}.workflow-head-v2 h2{margin:0;color:var(--foreground-strong);font-size:17px;letter-spacing:-.02em}.workflow-head-v2 p{margin:3px 0 0;color:var(--foreground-secondary);font-size:13px}
.workflow-grid-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--divider)}
.workflow-grid-v2>a{min-height:82px;display:flex;align-items:center;gap:11px;padding:15px 12px;color:var(--foreground);text-decoration:none;border-right:1px solid var(--divider);transition:background-color var(--motion-fast) cubic-bezier(.22,1,.36,1)}
.workflow-grid-v2>a:first-child{padding-left:2px}.workflow-grid-v2>a:last-child{border-right:0}.workflow-grid-v2>a:hover{background:var(--surface-subtle)}
.workflow-grid-v2 b,.workflow-grid-v2 small{display:block}.workflow-grid-v2 b{font-size:14px;font-weight:700}.workflow-grid-v2 small{margin-top:2px;color:var(--foreground-secondary);font-size:12px;line-height:1.4}.workflow-grid-v2 i{margin-left:auto;color:var(--foreground-muted);font-size:22px;font-style:normal;font-weight:300;line-height:1}
.workflow-icon{width:28px;height:28px;display:grid;flex:0 0 28px;place-items:center;color:var(--brand)}.workflow-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

@media(max-width:767px){
  .brand-symbol{border-radius:var(--radius-sm)}
  .nav-toggle{border-radius:var(--radius-sm)}.nav-toggle span{border-radius:var(--radius-pill)}
  .topbar #mainNav>a{border-radius:var(--radius-sm)}.mobile-bottom-nav a.action svg{border-radius:var(--radius-sm)}
  .dashboard-hero-v2{border-radius:var(--radius-md)}
  .dashboard-metrics{grid-template-columns:1fr 1fr;gap:10px;margin:0 0 16px}.metric-card{min-height:122px;padding:15px 14px;border-radius:var(--radius-md)}.metric-card-emphasis{grid-column:auto;min-height:122px}.metric-card-emphasis strong{font-size:29px}
  .dashboard-workflows-v2{margin-bottom:18px;padding:17px 16px 0;border-radius:var(--radius-md)}.workflow-head-v2{padding:0 2px 13px}.workflow-head-v2 h2{font-size:17px}
  .workflow-grid-v2{grid-template-columns:1fr 1fr}.workflow-grid-v2>a{min-height:72px;padding:12px 6px;border-right:0;border-bottom:1px solid var(--divider)}.workflow-grid-v2>a:first-child{padding-left:6px}.workflow-grid-v2>a:nth-child(odd){border-right:1px solid var(--divider)}.workflow-grid-v2>a:nth-last-child(-n+2){border-bottom:0}.workflow-grid-v2 small{font-size:11px}.workflow-grid-v2 i{display:none}.workflow-icon{width:25px;height:25px;flex-basis:25px}.workflow-icon svg{width:18px;height:18px}
  .recent-redemptions-v2{border-radius:var(--radius-md)}.mobile-transaction-item,.empty-state-v2{border-radius:var(--radius-md)}
}

/* Issue workspace: a focused two-step flow instead of a collection of admin cards. */
.issue-overview-v2{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;padding:2px 2px 22px}
.issue-overview-v2 h1{margin:4px 0 4px;color:var(--foreground-strong);font-size:32px;line-height:1.2;letter-spacing:-.04em}
.issue-overview-v2 p{max-width:620px;margin:0;color:var(--foreground-secondary);font-size:14px}
.issue-expiry-note-v2{display:flex;align-items:center;gap:11px;min-width:282px;padding:12px 14px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}
.issue-expiry-note-v2 svg{width:23px;height:23px;flex:0 0 23px;fill:none;stroke:var(--warning);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.issue-expiry-note-v2 span,.issue-expiry-note-v2 b,.issue-expiry-note-v2 small{display:block}.issue-expiry-note-v2 b{color:var(--foreground);font-size:13px}.issue-expiry-note-v2 small{margin-top:1px;color:var(--foreground-secondary);font-size:12px}
.issue-filter-v2{padding:16px 18px;margin-bottom:18px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}
.issue-filter-v2 form{display:grid;grid-template-columns:minmax(220px,1.35fr) minmax(150px,.8fr) minmax(166px,.88fr) auto;gap:10px;align-items:end}
.issue-filter-v2 label,.issue-mode-field-v2{display:block;color:var(--foreground-secondary);font-size:12px;font-weight:700}
.issue-filter-v2 input,.issue-filter-v2 select,.issue-mode-field-v2 select{display:block;width:100%;margin-top:5px;background:var(--surface);font-size:14px}
.issue-filter-actions{display:flex;align-items:center;gap:8px}.issue-filter-actions>*{height:var(--control-height);padding:11px 13px;white-space:nowrap}
.issue-stage-v2{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:18px;align-items:start}
.issue-people-panel-v2,.issue-config-panel-v2,.recent-issue-v2{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}
.issue-people-panel-v2{padding:20px}.issue-config-panel-v2{position:sticky;top:82px;padding:20px}.recent-issue-v2{margin-top:20px;padding:20px}
.issue-step-head-v2{display:flex;align-items:center;gap:10px;min-height:34px;margin-bottom:16px}.issue-step-head-v2>div{min-width:0}.issue-step-head-v2 h2{margin:0;color:var(--foreground-strong);font-size:19px;line-height:1.25;letter-spacing:-.02em}.issue-step-head-v2 p{margin:2px 0 0;color:var(--foreground-secondary);font-size:12px}
.issue-step-number{width:27px;height:27px;display:grid;place-items:center;flex:0 0 27px;color:var(--brand);background:var(--brand-soft);border-radius:var(--radius-pill);font-size:13px;font-weight:800}
.issue-select-all-v2{display:inline-flex;align-items:center;gap:7px;margin-left:auto;color:var(--foreground-secondary);font-size:13px;font-weight:650;white-space:nowrap}.issue-select-all-v2 input{width:17px;height:17px;margin:0}
.issue-people-list-v2{max-height:520px;margin:0!important;padding:0!important;overflow-y:auto;overscroll-behavior:contain}.issue-people-list-v2::-webkit-scrollbar{width:8px}.issue-people-list-v2::-webkit-scrollbar-thumb{background:#cbd5d0;border-radius:var(--radius-pill)}
.issue-people-panel-v2 .issue-person-group{margin:0 0 10px!important;padding:0!important;border:1px solid var(--border)!important;border-radius:var(--radius-md)!important;background:var(--surface)!important;overflow:hidden}
.issue-people-panel-v2 .issue-person-group>summary{min-height:48px;display:flex!important;align-items:center!important;padding:10px 13px!important;border:0!important;border-radius:0!important;background:var(--surface-subtle)!important;color:var(--foreground)!important;cursor:pointer}
.issue-people-panel-v2 .issue-person-group>summary b{font-size:14px}.issue-people-panel-v2 .issue-person-group>summary small{margin-left:auto!important;padding:4px 8px!important;background:transparent!important;border:0!important;color:var(--brand)!important;font-size:12px}
.issue-people-panel-v2 .issue-person-group[open]>summary{border-bottom:1px solid var(--divider)!important;background:var(--brand-soft)!important;color:var(--brand)!important}
.issue-people-panel-v2 .issue-person-group>label,.issue-people-panel-v2 .people-check-list>label{display:flex!important;align-items:center!important;gap:10px;min-height:52px;margin:0!important;padding:12px 13px!important;background:#f5f7f6;border:0!important;border-top:1px solid var(--divider)!important;cursor:pointer}
.issue-people-panel-v2 .issue-group-head{display:flex;align-items:center;min-height:48px;background:var(--surface-subtle)}.issue-people-panel-v2 .issue-group-head .group-select{width:18px!important;height:18px!important;flex:0 0 auto;margin:0 0 0 13px}.issue-people-panel-v2 .issue-group-disclosure{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:48px;padding:10px 13px;border:0;background:transparent;color:var(--foreground);text-align:left;cursor:pointer}.issue-people-panel-v2 .issue-group-disclosure b{font-size:14px}.issue-people-panel-v2 .issue-group-disclosure small{margin-left:auto;color:var(--brand);font-size:12px}.issue-people-panel-v2 .issue-group-disclosure[aria-expanded='true']{color:var(--brand)}.issue-people-panel-v2 .issue-group-head:has(.issue-group-disclosure[aria-expanded='true']){border-bottom:1px solid var(--divider);background:var(--brand-soft)}.issue-people-panel-v2 .issue-group-list>label:first-child{border-top:0!important}
.issue-people-panel-v2 .issue-person-group>summary+label{border-top:0!important}.issue-people-panel-v2 .issue-person-group>label:hover,.issue-people-panel-v2 .people-check-list>label:hover{background:#eef4f1}
.issue-people-panel-v2 .issue-person-group>label span,.issue-people-panel-v2 .people-check-list>label span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.issue-people-panel-v2 .issue-person-group>label span b,.issue-people-panel-v2 .issue-person-group>label span small,.issue-people-panel-v2 .people-check-list>label span b,.issue-people-panel-v2 .people-check-list>label span small{display:inline}.issue-people-panel-v2 .issue-person-group>label span b:after,.issue-people-panel-v2 .people-check-list>label span b:after{content:' · '}.issue-people-panel-v2 .people-check-list>label span small{color:var(--foreground-secondary);font-size:12px}
.issue-people-panel-v2 .issue-group-list>label{display:flex!important;align-items:center!important;gap:10px;min-height:52px;margin:0!important;padding:12px 13px!important;background:#f5f7f6;border:0!important;border-top:1px solid var(--divider)!important;cursor:pointer}
.issue-people-panel-v2 .issue-group-list>label input{width:18px!important;height:18px!important;flex:0 0 18px;margin:0!important;padding:0!important}
.issue-people-panel-v2 .issue-group-list>label span{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.issue-people-panel-v2 .issue-group-list>label span b,.issue-people-panel-v2 .issue-group-list>label span small{display:inline;vertical-align:baseline}
.issue-people-panel-v2 .issue-group-list>label span b:after{content:' · '}.issue-people-panel-v2 .issue-group-list>label span small{color:var(--foreground-secondary);font-size:12px}
.issue-people-panel-v2 .issue-group-list>label .issue-person-identity-v2{flex:1 1 auto}
.issue-people-panel-v2 .issue-group-list>label .issue-person-issued-v2{display:flex;flex:0 0 auto;flex-direction:column;align-items:flex-end;min-width:190px;margin-left:auto;overflow:visible;text-align:right;line-height:1.35}
.issue-people-panel-v2 .issue-group-list>label .issue-person-issued-v2 b{display:block;color:var(--brand);font-size:14px}.issue-people-panel-v2 .issue-group-list>label .issue-person-issued-v2 b:after{content:none}.issue-people-panel-v2 .issue-group-list>label .issue-person-issued-v2 small{display:block;color:var(--foreground-secondary);font-size:11px}
@media(max-width:700px){.issue-people-panel-v2 .issue-group-list>label .issue-person-issued-v2{min-width:0;max-width:48%}.issue-people-panel-v2 .issue-group-list>label .issue-person-issued-v2 small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
.issue-people-panel-v2 .issue-group-list>label:hover{background:#eef4f1}
.issue-people-panel-v2 .people-check-list>label{border:1px solid var(--border)!important;border-radius:var(--radius-md)!important;margin-bottom:8px!important}.issue-people-panel-v2 .people-check-list>label+label{margin-top:0!important}
.issue-people-panel-v2 .empty-row,.issue-people-panel-v2 .empty-state{padding:18px;color:var(--foreground-secondary);font-size:13px;text-align:center;background:#f5f7f6}
.issue-pagination-v2{padding:14px 0 0!important;color:var(--foreground-secondary);font-size:13px}.issue-pagination-v2 a{color:var(--brand);font-weight:700;text-decoration:none}
.issue-config-panel-v2 .issue-step-head-v2{margin-bottom:14px}.issue-config-panel-v2 .selected-count{margin:0 0 12px;padding:8px 10px;color:var(--brand);background:var(--brand-soft);border-radius:var(--radius-sm);font-size:13px;font-weight:750}
.issue-ticket-list{margin:0!important;gap:8px!important}.issue-config-panel-v2 .issue-ticket{min-height:66px;padding:10px 11px!important;border:1px solid rgba(22,36,30,.07)!important;border-left:4px solid var(--ticket)!important;border-radius:var(--radius-sm)!important;background:color-mix(in srgb,var(--ticket) 10%,white)!important}.issue-config-panel-v2 .issue-ticket span{min-width:0}.issue-config-panel-v2 .issue-ticket span small{margin-bottom:2px;color:var(--foreground-secondary)!important;font-size:11px}.issue-config-panel-v2 .issue-ticket span b{overflow:hidden;color:var(--foreground)!important;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.issue-config-panel-v2 .issue-ticket select{height:38px;width:78px;padding:0 8px;font-size:13px;background:rgba(255,255,255,.86)}
.issue-mode-field-v2{min-width:0;margin:14px 0 0;padding:0;border:0}.issue-mode-field-v2 legend{padding:0;color:var(--foreground-secondary);font-size:12px;font-weight:700}.issue-mode-options-v2{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:6px}.issue-mode-option-v2{display:flex;align-items:center;gap:8px;min-height:54px;padding:9px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);cursor:pointer}.issue-mode-option-v2 input{appearance:none;-webkit-appearance:none;flex:0 0 17px;width:17px!important;height:17px!important;margin:0!important;padding:0!important;border:1px solid #9bbcb2;border-radius:50%;background:#fff}.issue-mode-option-v2 input:checked{border:5px solid var(--brand)}.issue-mode-option-v2:has(input:checked){border-color:rgba(15,107,84,.35);background:var(--brand-soft)}.issue-mode-option-v2 span{display:grid;gap:1px;min-width:0}.issue-mode-option-v2 b{color:var(--foreground);font-size:13px;line-height:1.15}.issue-mode-option-v2 small{overflow:hidden;color:var(--foreground-secondary);font-size:11px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.issue-config-panel-v2 .batch-preview{min-height:58px;display:flex;align-items:center;margin:14px 0 0;padding:11px 12px;background:#f7f3ea;color:#725d35;border-radius:var(--radius-sm);font-size:13px;line-height:1.5}.issue-error-v2{margin:10px 0 0;padding:9px 11px;background:#fcebea;color:var(--danger);border-radius:var(--radius-sm);font-size:13px;font-weight:650}.issue-error-v2[hidden]{display:none}.issue-submit-v2{height:46px;margin-top:13px;font-size:15px}
.issue-confirm-dialog-v2{border:0;background:transparent}.issue-confirm-dialog-v2 .dialog-form{border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-menu)}
.section-head-v2{margin-bottom:12px}.recent-issue-v2 .section-head-v2 h2{font-size:18px}.recent-issue-v2 .section-head-v2 p{font-size:13px}.issue-activity-list-v2>div{min-height:54px}.issue-activity-list-v2 time{color:var(--foreground-secondary)}

@media(max-width:767px){
  .issue-overview-v2{display:block;padding:2px 1px 16px}.issue-overview-v2 h1{font-size:28px}.issue-overview-v2 p{font-size:13px}.issue-expiry-note-v2{min-width:0;margin-top:14px;padding:10px 12px}.issue-filter-v2{padding:14px;margin-bottom:14px}.issue-filter-v2 form{grid-template-columns:1fr 1fr;gap:10px}.issue-filter-search{grid-column:1/-1}.issue-filter-actions{grid-column:1/-1}.issue-filter-actions>*{flex:1;text-align:center}
  .issue-stage-v2{grid-template-columns:1fr;gap:14px}.issue-people-panel-v2,.issue-config-panel-v2,.recent-issue-v2{border-radius:var(--radius-md)}.issue-people-panel-v2,.issue-config-panel-v2{padding:16px}.issue-config-panel-v2{position:static}.issue-step-head-v2{margin-bottom:14px}.issue-step-head-v2 h2{font-size:18px}.issue-select-all-v2{font-size:12px}.issue-people-list-v2{max-height:292px}.issue-people-panel-v2 .issue-person-group{border-radius:var(--radius-sm)!important}.issue-people-panel-v2 .issue-person-group>summary{min-height:46px;padding:9px 11px!important}.issue-people-panel-v2 .issue-person-group>label,.issue-people-panel-v2 .people-check-list>label{min-height:50px;padding:11px!important}.issue-pagination-v2{padding-top:12px!important}.recent-issue-v2{margin-top:14px;padding:16px}.issue-activity-list-v2>div{padding:10px 0!important}
}

/* Cashier: make the scan state, chosen voucher, and completed action obvious at a glance. */
.cashier-overview-v2{display:flex;align-items:flex-end;justify-content:space-between;gap:28px;padding:2px 2px 22px}
.cashier-overview-v2 h1{margin:4px 0 4px;color:var(--foreground-strong);font-size:32px;line-height:1.2;letter-spacing:-.04em}.cashier-overview-v2 p{max-width:630px;margin:0;color:var(--foreground-secondary);font-size:14px}
.cashier-total-v2{min-width:190px;padding:13px 15px;background:var(--brand-soft);border:1px solid rgba(15,107,84,.13);border-radius:var(--radius-md)}.cashier-total-v2 span,.cashier-total-v2 b,.cashier-total-v2 small{display:block}.cashier-total-v2 span,.cashier-total-v2 small{color:var(--foreground-secondary);font-size:12px}.cashier-total-v2 b{margin:1px 0;color:var(--brand);font-size:28px;line-height:1.2;letter-spacing:-.035em}
.cashier-workspace-v2{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr);gap:18px;align-items:stretch}.scanner-workbench-v2,.wallet-workbench-v2,.recent-cashier-v2{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.scanner-workbench-v2{padding:20px}.wallet-workbench-v2{padding:20px;min-height:430px}
.cashier-section-head-v2{display:flex;align-items:center;gap:10px;margin-bottom:16px}.cashier-section-head-v2>div{min-width:0}.cashier-section-head-v2 h2{margin:0;color:var(--foreground-strong);font-size:19px;line-height:1.25;letter-spacing:-.02em}.cashier-section-head-v2 p{margin:2px 0 0;color:var(--foreground-secondary);font-size:12px}.cashier-step-v2{width:27px;height:27px;display:grid;place-items:center;flex:0 0 27px;border-radius:var(--radius-pill);background:var(--brand-soft);color:var(--brand);font-size:13px;font-weight:800}.cashier-ready-v2{display:inline-flex;align-items:center;gap:6px;margin-left:auto;color:var(--foreground-secondary);font-size:12px;font-weight:650;white-space:nowrap}.cashier-ready-v2 i{width:7px;height:7px;border-radius:var(--radius-pill);background:#57c8a6;box-shadow:0 0 0 4px rgba(87,200,166,.14)}
.scanner-workbench-v2 .camera-shell{min-height:300px;margin:0;border-radius:var(--radius-md);background:#103f34}.scanner-workbench-v2 #reader,.scanner-workbench-v2 #reader video{min-height:300px!important}.scanner-workbench-v2 .camera-placeholder{background:radial-gradient(circle at 50% 45%,#1e5949,#103f34)}.scanner-workbench-v2 .camera-placeholder b{font-size:18px}.scanner-workbench-v2 .scan-corners{width:136px;height:136px;border-color:#d1a85e;border-radius:var(--radius-md)}.scanner-actions-v2{display:flex;align-items:center;gap:13px;margin-top:14px}.scanner-actions-v2 .primary{height:44px;min-width:146px;padding:10px 16px;font-size:14px}.scanner-actions-v2 .camera-message{margin:0;color:var(--foreground-secondary)}.scanner-actions-v2 .camera-message.bad{padding:8px 10px;border-radius:var(--radius-sm)}
.scanner-manual-v2{display:block;margin-top:16px}.scanner-manual-v2>span{display:block;margin:0 0 6px;color:var(--foreground-secondary);font-size:12px;font-weight:700}.scanner-manual-v2>div{display:flex;gap:8px}.scanner-manual-v2 input{min-width:0;flex:1;background:var(--surface)}.scanner-manual-v2 button{height:44px;padding:10px 13px;background:var(--surface-hover);border-radius:var(--radius-sm);color:var(--foreground);font-weight:700;white-space:nowrap}
.scan-ready-wallet-v2{min-height:100%;display:flex!important;flex-direction:column;align-items:center;justify-content:center;padding:46px 24px;text-align:center}.scan-ready-wallet-v2>span{width:46px;height:46px;display:grid;place-items:center;margin-bottom:14px;color:var(--brand);background:var(--brand-soft);border-radius:var(--radius-md);font-size:16px;font-weight:800}.scan-ready-wallet-v2 h2{margin:0;color:var(--foreground-strong);font-size:21px}.scan-ready-wallet-v2 p{max-width:260px;margin:6px 0 11px;color:var(--foreground-secondary)}.scan-ready-wallet-v2 small{color:var(--foreground-muted);font-size:12px}
.wallet-workbench-v2 .loading{display:grid;min-height:100%;place-items:center;color:var(--foreground-secondary)}.wallet-workbench-v2 .employee-found{padding:0 0 15px;border-bottom:1px solid var(--divider)}.wallet-workbench-v2 .employee-found>span{color:var(--warning);font-size:12px;font-weight:750}.wallet-workbench-v2 .employee-found h2{margin:4px 0 2px;color:var(--foreground-strong);font-size:28px;letter-spacing:-.035em}.wallet-workbench-v2 .employee-found p{margin:0;color:var(--foreground-secondary);font-size:13px}.wallet-workbench-v2 .redeem-grid{margin-top:14px;gap:9px}.wallet-workbench-v2 .redeem-card{min-height:105px;border:1px solid transparent;border-left:5px solid var(--ticket);border-radius:var(--radius-md);background:color-mix(in srgb,var(--ticket) 11%,white);box-shadow:none}.wallet-workbench-v2 .redeem-card:hover{transform:translateY(-1px);box-shadow:var(--shadow-sm)}.wallet-workbench-v2 .redeem-card.selected{box-shadow:0 7px 18px color-mix(in srgb,var(--ticket) 24%,transparent)!important}.wallet-workbench-v2 .selection-hint{margin-top:14px;padding:10px 12px;border-radius:var(--radius-sm);background:var(--surface-subtle);color:var(--foreground-secondary);font-size:13px}.wallet-workbench-v2 .confirm-redeem{height:48px;margin-top:10px;border-radius:var(--radius-sm);font-size:15px}.wallet-workbench-v2 .cancel-current{height:42px;margin-top:9px;border-radius:var(--radius-sm)}.wallet-workbench-v2 .success-screen{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 22px;text-align:center}.wallet-workbench-v2 .success-screen>div{width:54px;height:54px;display:grid;place-items:center;color:#fff;background:var(--brand);border-radius:var(--radius-pill);font-size:28px;font-weight:800}.wallet-workbench-v2 .success-screen h2{margin:16px 0 3px;color:var(--foreground-strong);font-size:27px}.wallet-workbench-v2 .success-screen strong{color:var(--brand);font-size:35px;line-height:1.1;letter-spacing:-.04em}.wallet-workbench-v2 .success-screen p{margin:7px 0 15px;color:var(--foreground-secondary)}.wallet-workbench-v2 .success-screen form{width:100%;margin-bottom:8px}.wallet-workbench-v2 .success-screen form button,.wallet-workbench-v2 .success-screen>.primary{width:100%;height:44px;border-radius:var(--radius-sm)}
.recent-cashier-v2{margin-top:20px;padding:20px}.cashier-recent-head-v2{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:12px}.cashier-recent-head-v2 h2{margin:2px 0 3px;color:var(--foreground-strong);font-size:19px}.cashier-recent-head-v2 p{margin:0;color:var(--foreground-secondary);font-size:13px}.cashier-recent-head-v2 .month-total{min-width:108px;padding:9px 11px;text-align:right;background:var(--surface-subtle);border-radius:var(--radius-sm)}.cashier-recent-head-v2 .month-total b{font-size:20px}.cashier-activity-v2>div{min-height:56px}.cashier-activity-v2 strong{color:var(--brand);font-size:17px}.cashier-activity-v2 form{margin-top:5px}.cashier-activity-v2 .undo-btn{margin:0}

@media(max-width:767px){
  .cashier-overview-v2{display:block;padding:2px 1px 16px}.cashier-overview-v2 h1{font-size:28px}.cashier-overview-v2 p{font-size:13px}.cashier-total-v2{display:flex;align-items:baseline;gap:8px;min-width:0;margin-top:14px;padding:10px 12px}.cashier-total-v2 b{font-size:23px}.cashier-total-v2 small{margin-left:auto}
  .cashier-workspace-v2{grid-template-columns:1fr;gap:14px}.scanner-workbench-v2,.wallet-workbench-v2,.recent-cashier-v2{border-radius:var(--radius-md)}.scanner-workbench-v2{padding:16px}.wallet-workbench-v2{min-height:264px;padding:16px}.cashier-section-head-v2{margin-bottom:13px}.cashier-section-head-v2 h2{font-size:18px}.cashier-ready-v2{font-size:11px}.scanner-workbench-v2 .camera-shell{min-height:244px}.scanner-workbench-v2 #reader,.scanner-workbench-v2 #reader video{min-height:244px!important}.scanner-workbench-v2 .scan-corners{width:116px;height:116px}.scanner-actions-v2{display:block;margin-top:12px}.scanner-actions-v2 .primary{width:100%;height:46px}.scanner-actions-v2 .camera-message{margin-top:8px;text-align:center;font-size:12px}.scanner-manual-v2{margin-top:14px}.scanner-manual-v2>div{display:grid;grid-template-columns:1fr auto}.scanner-manual-v2 button{padding:10px 11px;font-size:13px}.scan-ready-wallet-v2{min-height:230px;padding:28px 18px}.wallet-workbench-v2 .employee-found h2{font-size:25px}.wallet-workbench-v2 .redeem-card{min-height:96px}.recent-cashier-v2{margin-top:14px;padding:16px}.cashier-recent-head-v2 p{font-size:12px}.cashier-recent-head-v2 .month-total{min-width:94px}.cashier-activity-v2>div{padding:10px 0!important}
}

/* People and cards: readable group management on wide screens, real cards instead of horizontal tables on phones. */
.people-overview-v2,.cards-overview-v2{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:2px 2px 22px}.people-overview-v2 h1,.cards-overview-v2 h1{margin:4px 0;color:var(--foreground-strong);font-size:32px;line-height:1.2;letter-spacing:-.04em}.people-overview-v2 p,.cards-overview-v2 p{max-width:700px;margin:0;color:var(--foreground-secondary);font-size:14px}.people-page-actions-v2,.cards-overview-actions-v2{display:flex;align-items:center;gap:9px;white-space:nowrap}.people-page-actions-v2>*{height:44px;padding:10px 13px}.cards-overview-actions-v2>span{color:var(--foreground-secondary);font-size:13px}.cards-overview-actions-v2 .primary{height:44px;padding:10px 14px}
.people-filter-v2{padding:16px 18px;margin-bottom:18px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.people-filter-v2 form{display:grid;grid-template-columns:minmax(150px,.78fr) minmax(270px,1.42fr) repeat(3,minmax(130px,.78fr)) auto;align-items:end;gap:10px}.people-filter-v2 label{display:block;color:var(--foreground-secondary);font-size:12px;font-weight:700}.people-filter-v2 input,.people-filter-v2 select{display:block;width:100%;margin-top:5px;background:var(--surface);font-size:14px}.people-filter-actions-v2{display:flex;gap:8px}.people-filter-actions-v2>*{height:44px;padding:10px 13px;white-space:nowrap}
.people-group-v2{margin-bottom:12px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);overflow:hidden}.people-group-v2 details>summary,.people-current-v2>header{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 18px;cursor:pointer;list-style:none}.people-group-v2 details>summary::-webkit-details-marker{display:none}.people-group-v2 details>summary>div b,.people-current-v2>header b{display:block;color:var(--foreground-strong);font-size:16px}.people-group-v2 details>summary>div small,.people-current-v2>header small{display:block;margin-top:2px;color:var(--foreground-secondary);font-size:12px}.people-group-v2 details>summary>span{display:inline-flex;align-items:center;justify-content:center;padding:5px 10px;border:1px solid rgba(15,107,84,.18);border-radius:var(--radius-pill);color:var(--brand);background:var(--brand-soft);font-size:12px;font-weight:700;white-space:nowrap}.people-group-v2 details[open]>summary{border-bottom:1px solid var(--divider);background:var(--surface-subtle)}.people-group-v2 details[open]>summary>span:after{content:' · 已展开';font-weight:600}.people-current-v2>header{background:var(--surface-subtle);border-bottom:1px solid var(--divider)}
.people-group-v2 .people-group-toggle-v2{width:100%;min-height:68px;padding:15px 18px;background:var(--surface);color:var(--foreground);border:0;border-radius:0}.people-group-v2 .people-group-toggle-v2>span{display:block}.people-group-v2 .people-group-toggle-v2 b{display:block;color:var(--foreground-strong);font-size:16px}.people-group-v2 .people-group-toggle-v2 small{display:block;margin-top:2px;color:var(--foreground-secondary);font-size:12px}.people-group-v2 .people-group-toggle-v2 em{display:inline-flex;align-items:center;justify-content:center;min-width:88px;min-height:30px;padding:5px 10px;border:1px solid rgba(15,107,84,.18);border-radius:var(--radius-sm);color:var(--brand);background:var(--brand-soft);font-size:12px;font-weight:700;font-style:normal;white-space:nowrap}.people-toggle-close-v2{display:none}.people-group-v2 .people-group-toggle-v2[aria-expanded='true']{border-bottom:1px solid var(--divider);background:var(--surface-subtle)}.people-group-v2 .people-group-toggle-v2[aria-expanded='true'] .people-toggle-open-v2{display:none}.people-group-v2 .people-group-toggle-v2[aria-expanded='true'] .people-toggle-close-v2{display:block}
.people-list-v2{padding:0 18px}.person-row-v2{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(150px,.8fr) auto;align-items:center;gap:16px;min-height:80px;border-bottom:1px solid var(--divider)}.person-row-v2:last-child{border-bottom:0}.person-primary-v2 b,.person-primary-v2 small,.person-remaining-v2 span,.person-remaining-v2 b,.person-remaining-v2 small{display:block}.person-primary-v2 b{color:var(--foreground-strong);font-size:15px}.person-primary-v2 small,.person-remaining-v2 span,.person-remaining-v2 small{color:var(--foreground-secondary);font-size:12px}.person-primary-v2 small{margin-top:2px}.person-remaining-v2 b{margin:1px 0;color:var(--brand);font-size:18px;line-height:1.2}.person-remaining-v2 small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.person-operations-v2{display:flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:4px 7px 4px 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface-subtle)}.person-status-v2{min-width:62px;text-align:center}.person-actions-v2{display:flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap}.person-actions-v2 a,.person-actions-v2 .text-btn{min-height:28px;padding:4px 2px;background:none;color:var(--brand);font-size:13px;font-weight:700;text-decoration:none;box-shadow:none}.person-actions-v2 .text-btn:hover,.person-actions-v2 a:hover{text-decoration:underline}.person-actions-v2 form{margin:0}.people-list-v2 .empty-row{padding:28px 0;color:var(--foreground-secondary);text-align:center}
.idcard-grid-v2{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:16px}.idcard-v2{min-height:400px;display:flex;flex-direction:column;padding:19px!important;border:1px solid var(--border)!important;border-radius:var(--radius-md)!important;box-shadow:var(--shadow-sm)!important}.idcard-v2 header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.idcard-v2 header b,.idcard-v2 header small{display:block}.idcard-v2 header b{color:var(--foreground-strong);font-size:16px}.idcard-v2 header small{margin-top:1px;color:var(--foreground-secondary);font-size:11px}.idcard-v2 header span{padding:4px 8px;border-radius:var(--radius-pill);background:var(--brand-soft);color:var(--brand);font-size:11px;font-weight:750}.idcard-v2>img{width:158px;height:158px;margin:20px auto 16px;object-fit:contain;image-rendering:auto}.idcard-person-v2{text-align:center}.idcard-person-v2 h2{margin:0;color:var(--foreground-strong);font-size:22px}.idcard-person-v2 p{margin:3px 0 0;color:var(--foreground-secondary);font-size:12px}.idcard-v2 .idcard-rules{margin-top:auto;padding-top:12px;border-top:1px dashed var(--border-strong);color:var(--foreground-secondary);font-size:11px;line-height:1.6}.idcard-v2 .id-brand{display:none}

@media(max-width:767px){
  .people-overview-v2,.cards-overview-v2{display:block;padding:2px 1px 16px}.people-overview-v2 h1,.cards-overview-v2 h1{font-size:28px}.people-overview-v2 p,.cards-overview-v2 p{font-size:13px}.people-page-actions-v2,.cards-overview-actions-v2{margin-top:14px}.people-page-actions-v2>*{flex:1;text-align:center}.cards-overview-actions-v2{justify-content:space-between}.cards-overview-actions-v2 .primary{min-width:112px}
  .people-filter-v2{padding:14px;margin-bottom:14px}.people-filter-v2 form{grid-template-columns:1fr 1fr;gap:10px}.people-filter-search{grid-column:1/-1}.people-filter-actions-v2{grid-column:1/-1}.people-filter-actions-v2>*{flex:1;text-align:center}.people-group-v2{margin-bottom:10px;border-radius:var(--radius-md)}.people-group-v2 details>summary,.people-current-v2>header{min-height:62px;padding:13px 14px}.people-list-v2{padding:0 14px}.person-row-v2{grid-template-columns:minmax(0,1fr) auto;gap:10px;min-height:0;padding:14px 0}.person-primary-v2{min-width:0}.person-primary-v2 small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.person-remaining-v2{text-align:right}.person-operations-v2{grid-column:1/-1;justify-content:flex-start;min-height:36px;padding:3px 7px;border-radius:var(--radius-sm)}.person-status-v2{min-width:auto}.person-actions-v2{justify-content:flex-start;gap:14px}.person-actions-v2 a,.person-actions-v2 .text-btn{font-size:12px}.issue-mode-options-v2{grid-template-columns:1fr}.idcard-grid-v2{grid-template-columns:1fr;gap:12px}.idcard-v2{min-height:382px;padding:17px!important;border-radius:var(--radius-md)!important}.idcard-v2>img{width:150px;height:150px;margin:16px auto}.idcard-v2 .idcard-rules{font-size:10px}
}

@media print{
  .idcard-grid-v2{grid-template-columns:repeat(3,1fr);gap:8mm}.idcard-v2{min-height:auto;padding:5mm!important;box-shadow:none!important;break-inside:avoid}.idcard-v2>img{width:38mm;height:38mm;margin:5mm auto}.idcard-v2 header span{display:none}.idcard-v2 .idcard-rules{font-size:8pt}.idcard-person-v2 h2{font-size:17pt}
}

/* Canteen & stall administration: canteen first, actionable stall details second. */
.setup-overview-v2{margin-bottom:20px}
.setup-canteen-tree-v2{display:grid;gap:12px}
.setup-node-v2{overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}
.setup-canteen-tree-v2 .setup-node-v2>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px 22px;cursor:pointer;list-style:none;background:var(--surface)}
.setup-canteen-tree-v2 .setup-node-v2>summary::-webkit-details-marker{display:none}
.setup-node-v2__summary{min-width:0}.setup-node-v2__summary b,.setup-node-v2__summary small{display:block}.setup-node-v2__summary b{color:var(--foreground-strong);font-size:18px;letter-spacing:-.02em}.setup-node-v2__summary small{margin-top:3px;color:var(--foreground-secondary);font-size:13px}
.setup-node-v2__policy-summary{display:flex;align-items:stretch;justify-content:flex-end;gap:8px;margin-left:auto}.setup-node-v2__policy-summary>span{display:grid;align-content:center;min-width:108px;padding:6px 10px;border:1px solid #d9e8e2;border-radius:10px;background:#f1f7f4}.setup-node-v2__policy-summary small,.setup-node-v2__policy-summary b{display:block;line-height:1.25}.setup-node-v2__policy-summary small{color:var(--foreground-secondary);font-size:11px}.setup-node-v2__policy-summary b{margin-top:2px;color:var(--brand);font-size:11px;font-weight:700;white-space:nowrap}
.canteen-expiry-rule--readonly{grid-template-columns:minmax(0,1fr) auto}.expiry-readonly-badge{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 10px;border-radius:999px;background:#eef3f1;color:var(--foreground-secondary);font-size:12px;font-weight:700;white-space:nowrap}
.setup-node-v2__toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:86px;height:32px;padding:0 12px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);background:var(--surface-subtle);color:var(--brand);font-size:13px;font-weight:750}
.setup-node-v2[open]>summary{border-bottom:1px solid var(--divider);background:linear-gradient(90deg,#fbfdfb 0%,var(--brand-soft) 100%)}
.setup-node-v2[open] .setup-node-v2__toggle{border-color:rgba(15,107,84,.2);background:var(--surface);color:var(--brand)}

.issue-audience-nav-v118{grid-template-columns:repeat(3,minmax(220px,286px));justify-content:start}
.special-voucher-workbench{display:grid;gap:18px}.special-voucher-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface)}.special-voucher-intro h2{margin:4px 0}.special-voucher-intro p{margin:4px 0;color:var(--foreground-secondary)}.special-batch-list{display:grid;gap:10px}.special-batch-list article{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface)}.special-batch-list p{margin:4px 0;color:var(--foreground)}.special-batch-list small{color:var(--foreground-secondary)}.special-voucher-dialog textarea{width:100%;min-height:110px;padding:12px;border:1px solid var(--border-strong);border-radius:var(--radius-sm);font:inherit;resize:vertical}.special-voucher-dialog label small{display:block;margin-top:6px;color:var(--foreground-secondary)}.special-fixed-rule{display:flex;justify-content:space-between;gap:20px;margin:14px 0;padding:13px 14px;border-radius:var(--radius-sm);background:var(--brand-soft)}.special-print-sheet{display:grid;place-items:center}.special-print-card{width:min(760px,100%);padding:34px;border:1px dashed #8ea79f;border-radius:18px;background:#fff;box-shadow:var(--shadow)}.special-print-card>header{display:flex;justify-content:space-between;align-items:flex-start}.special-print-card>header b,.special-print-card>header small{display:block}.special-print-card>header strong{font-size:38px;color:var(--brand)}.special-print-main{display:grid;grid-template-columns:230px 1fr;align-items:center;gap:30px;margin:28px 0}.special-print-main img{width:230px}.special-print-main h2{font-size:28px;margin:8px 0 18px}.special-print-main dl{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.special-print-main dl div{padding:10px;border-radius:10px;background:var(--brand-soft)}.special-print-main dt{font-size:12px;color:var(--foreground-secondary)}.special-print-main dd{margin:2px 0;font-size:18px;font-weight:800}.special-print-card footer{padding-top:18px;border-top:1px dashed var(--border-strong)}.special-print-card footer p{margin:7px 0}.special-note-cell{max-width:360px;white-space:normal}.special-redemption-panel{margin-top:16px}
@media(max-width:700px){.issue-audience-nav-v118{grid-template-columns:1fr}.special-voucher-intro,.special-batch-list article{align-items:stretch;flex-direction:column}.special-voucher-intro .primary{width:100%}.special-print-card{padding:20px}.special-print-main{grid-template-columns:1fr}.special-print-main img{width:190px;margin:auto}.special-print-main dl{grid-template-columns:1fr 1fr 1fr}}
@media print{.special-print-card{box-shadow:none;width:180mm;min-height:105mm;margin:0;border:1px dashed #777}.special-print-main{grid-template-columns:50mm 1fr}.special-print-main img{width:48mm}}
.setup-node-v2__body{padding:14px 22px 8px;background:var(--surface-subtle)}
.setup-node-v2__toolbar{display:flex;justify-content:flex-end;align-items:center;gap:9px;padding:0 0 8px}.setup-node-v2__toolbar .button,.setup-node-v2__toolbar .primary{height:40px;padding:9px 13px}
.setup-stall-list-v2{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);overflow:hidden}
.setup-stall-list-v2 article{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 16px;border-top:1px solid var(--divider)}.setup-stall-list-v2 article:first-child{border-top:0}
.setup-stall-list-v2 article b{display:block;color:var(--foreground-strong);font-size:15px}.setup-stall-list-v2 article small{display:block;margin-top:3px;color:var(--foreground-secondary);font-size:12px}.setup-stall-list-v2 .text-btn{flex:0 0 auto;padding:7px 2px;font-size:13px;font-weight:750}.setup-stall-list-v2 .empty-row{padding:22px}
.setup-voucher-v2{margin-top:16px;padding:23px 24px}.setup-voucher-v2 .section-head{align-items:flex-start;margin-bottom:12px}.setup-voucher-v2 .section-head .eyebrow{margin-bottom:4px}.setup-voucher-v2 .section-head h2{color:var(--foreground-strong);font-size:20px}.setup-voucher-v2 .voucher-group{padding:17px 0;border-color:var(--divider)}.setup-voucher-v2 .voucher-group>b{display:block;color:var(--foreground-strong);font-size:14px}.setup-voucher-v2 .voucher-strip{gap:10px;padding:10px 0 1px}.setup-voucher-v2 .voucher-card-button{min-width:154px;padding:15px 16px;border:1px solid color-mix(in srgb,var(--ticket) 28%,white);border-left:4px solid var(--ticket);border-radius:var(--radius-md);box-shadow:none}.setup-voucher-v2 .voucher-card-button:hover{transform:translateY(-1px);box-shadow:var(--shadow-sm)}

@media(max-width:767px){
  .setup-overview-v2{margin-bottom:16px}.setup-canteen-tree-v2{gap:10px}.setup-canteen-tree-v2 .setup-node-v2>summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:16px}.setup-node-v2__summary b{font-size:16px}.setup-node-v2__summary small{font-size:12px}.setup-node-v2__policy-summary{grid-column:1/-1;grid-row:2;justify-content:stretch;margin:0}.setup-node-v2__policy-summary>span{flex:1;min-width:0}.setup-node-v2__toggle{grid-column:2;grid-row:1;min-width:78px;height:30px;padding:0 9px;font-size:12px}.setup-node-v2__body{padding:12px 14px 7px}.setup-node-v2__toolbar{justify-content:stretch;padding-bottom:8px}.setup-node-v2__toolbar .button,.setup-node-v2__toolbar .primary{flex:1;min-width:0;padding:9px 7px;font-size:12px}.setup-stall-list-v2 article{padding:14px}.setup-stall-list-v2 article small{line-height:1.5}.setup-voucher-v2{margin-top:12px;padding:18px 16px}.setup-voucher-v2 .section-head{margin-bottom:8px}.setup-voucher-v2 .section-head .primary{height:40px;padding:9px 11px;font-size:12px}.setup-voucher-v2 .voucher-strip{margin-right:-2px}.setup-voucher-v2 .voucher-card-button{min-width:144px}
}

/* Account administration: roles are grouped by operating scope before individual actions. */
.account-overview-v2{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:2px 2px 22px}.account-overview-v2 h1{margin:4px 0;color:var(--foreground-strong);font-size:32px;line-height:1.2;letter-spacing:-.04em}.account-overview-v2 p{max-width:680px;margin:0;color:var(--foreground-secondary);font-size:14px}.account-page-actions-v2{display:flex;gap:9px}.account-page-actions-v2 .primary{height:44px;padding:10px 14px;white-space:nowrap}
.account-filter-v2{padding:16px 18px;margin-bottom:18px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.account-filter-v2 form{display:grid;grid-template-columns:minmax(220px,1.35fr) repeat(2,minmax(150px,.88fr)) auto;gap:10px;align-items:end}.account-filter-v2 label{display:block;color:var(--foreground-secondary);font-size:12px;font-weight:700}.account-filter-v2 input,.account-filter-v2 select{display:block;width:100%;margin-top:5px;background:var(--surface);font-size:14px}.account-filter-actions-v2{display:flex;gap:8px}.account-filter-actions-v2>*{height:44px;padding:10px 13px;white-space:nowrap}
.account-group-v2{margin-bottom:12px;overflow:hidden;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.account-group-v2 details>summary{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 18px;cursor:pointer;list-style:none}.account-group-v2 details>summary::-webkit-details-marker{display:none}.account-group-v2 details>summary div b,.account-group-v2 details>summary div small{display:block}.account-group-v2 details>summary div b{color:var(--foreground-strong);font-size:16px}.account-group-v2 details>summary div small{margin-top:2px;color:var(--foreground-secondary);font-size:12px}.account-group-v2 details>summary>span{display:inline-flex;align-items:center;justify-content:center;padding:5px 10px;border:1px solid rgba(15,107,84,.18);border-radius:var(--radius-pill);color:var(--brand);background:var(--brand-soft);font-size:12px;font-weight:700;white-space:nowrap}.account-group-v2 details[open]>summary{border-bottom:1px solid var(--divider);background:var(--surface-subtle)}
.account-list-v2{padding:0 18px}.account-row-v2{display:grid;grid-template-columns:minmax(200px,1.2fr) minmax(112px,.62fr) minmax(150px,.72fr) auto;align-items:center;gap:16px;min-height:78px;border-bottom:1px solid var(--divider)}.account-row-v2:last-child{border-bottom:0}.account-primary-v2 b,.account-primary-v2 small,.account-scope-v2 b,.account-scope-v2 small{display:block}.account-primary-v2 b{color:var(--foreground-strong);font-size:15px}.account-primary-v2 small,.account-scope-v2 small{margin-top:2px;color:var(--foreground-secondary);font-size:12px}.account-scope-v2 b{color:var(--foreground);font-size:13px}.account-role-v2{display:inline-flex;justify-self:start;align-items:center;padding:4px 8px;border-radius:var(--radius-pill);background:var(--surface-subtle);color:var(--brand);font-size:12px;font-weight:700}.account-actions-v2{display:flex;align-items:center;justify-content:flex-end;gap:10px;white-space:nowrap}.account-actions-v2 form{margin:0}.account-actions-v2 .text-btn,.account-actions-v2 .danger-link{padding:0;background:transparent;font-size:13px;font-weight:700;box-shadow:none}.account-actions-v2 .text-btn{color:var(--brand)}.account-actions-v2 .danger-link{color:var(--danger)}.account-locked-v2{color:var(--foreground-muted);font-size:12px}.account-empty-v2{padding:36px 18px;text-align:center;background:var(--surface);border:1px dashed var(--border-strong);border-radius:var(--radius-md);color:var(--foreground-secondary)}

@media(max-width:767px){
  .account-overview-v2{display:block;padding:2px 1px 16px}.account-overview-v2 h1{font-size:28px}.account-overview-v2 p{font-size:13px}.account-page-actions-v2{margin-top:14px}.account-page-actions-v2 .primary{width:100%;text-align:center}.account-filter-v2{padding:14px;margin-bottom:14px}.account-filter-v2 form{grid-template-columns:1fr 1fr;gap:10px}.account-filter-search{grid-column:1/-1}.account-filter-actions-v2{grid-column:1/-1}.account-filter-actions-v2>*{flex:1;text-align:center}.account-group-v2{margin-bottom:10px}.account-group-v2 details>summary{min-height:62px;padding:13px 14px}.account-list-v2{padding:0 14px}.account-row-v2{grid-template-columns:minmax(0,1fr) auto;gap:10px;min-height:0;padding:14px 0}.account-primary-v2{min-width:0}.account-primary-v2 small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-role-v2{justify-self:end}.account-scope-v2{grid-column:1/2}.account-actions-v2{grid-column:1/-1;justify-content:flex-start;gap:14px;padding-top:3px}.account-actions-v2 .text-btn,.account-actions-v2 .danger-link{font-size:12px}
}

/* Reconciliation keeps the accounting facts dense on desktop and legible on a phone. */
.reconcile-overview-v2{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:2px 2px 22px}.reconcile-overview-v2 h1{margin:4px 0;color:var(--foreground-strong);font-size:32px;line-height:1.2;letter-spacing:-.04em}.reconcile-overview-v2 p{max-width:670px;margin:0;color:var(--foreground-secondary);font-size:14px}.reconcile-total-v2{min-width:204px;padding:13px 15px;text-align:right;background:var(--brand);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.reconcile-total-v2 span,.reconcile-total-v2 b,.reconcile-total-v2 small{display:block}.reconcile-total-v2 span,.reconcile-total-v2 small{color:rgba(255,255,255,.73);font-size:12px}.reconcile-total-v2 b{margin:1px 0;color:#fff;font-size:29px;line-height:1.2;letter-spacing:-.04em}
.reconcile-filter-v2{padding:16px 18px;margin-bottom:18px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.reconcile-filter-v2 form{display:grid;grid-template-columns:repeat(5,minmax(124px,1fr)) auto;gap:10px;align-items:end}.reconcile-filter-v2 label{display:block;min-width:0;color:var(--foreground-secondary);font-size:12px;font-weight:700}.reconcile-filter-v2 input,.reconcile-filter-v2 select{display:block;width:100%;margin-top:5px;background:var(--surface);font-size:14px}.reconcile-filter-actions-v2{display:flex;gap:8px}.reconcile-filter-actions-v2>*{height:44px;padding:10px 13px;white-space:nowrap}
.reconcile-results-v2{padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.reconcile-results-head-v2{display:flex;justify-content:space-between;gap:16px;margin:0 0 12px;color:var(--foreground-secondary);font-size:13px}.reconcile-table-v2{overflow-x:auto}.reconcile-table-v2 table{min-width:640px}.reconcile-table-v2 th,.reconcile-table-v2 td{padding:14px 12px;border-bottom:1px solid var(--divider)}.reconcile-table-v2 tr:last-child td{border-bottom:0}.reconcile-table-v2 th{color:var(--foreground-secondary);font-size:11px}.reconcile-table-v2 td{color:var(--foreground);font-size:14px}.reconcile-table-v2 td b{color:var(--foreground-strong)}.reconcile-amount-v2{color:var(--brand)!important;font-size:17px!important;font-weight:800}.reconcile-mobile-list-v2{display:none}.reconcile-pagination-v2{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin:16px 0 0}.reconcile-pagination-v2 span{color:var(--foreground-secondary);font-size:13px}.reconcile-pagination-v2 button{height:42px;padding:9px 13px}

@media(max-width:767px){
  .reconcile-overview-v2{display:block;padding:2px 1px 16px}.reconcile-overview-v2 h1{font-size:28px}.reconcile-overview-v2 p{font-size:13px}.reconcile-total-v2{display:flex;align-items:baseline;gap:8px;min-width:0;margin-top:14px;padding:11px 12px;text-align:left}.reconcile-total-v2 b{font-size:24px}.reconcile-total-v2 small{margin-left:auto}.reconcile-filter-v2{padding:14px;margin-bottom:14px}.reconcile-filter-v2 form{grid-template-columns:1fr 1fr;gap:10px}.reconcile-filter-actions-v2{grid-column:1/-1}.reconcile-filter-actions-v2>*{flex:1;text-align:center}.reconcile-results-v2{padding:0;background:transparent;border:0;box-shadow:none}.reconcile-results-head-v2{padding:0 2px;margin:0 0 10px}.reconcile-table-v2{display:none}.reconcile-mobile-list-v2{display:grid;gap:9px}.reconcile-mobile-list-v2 article{padding:14px 15px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.reconcile-mobile-list-v2 header,.reconcile-mobile-list-v2 footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.reconcile-mobile-list-v2 header b{color:var(--foreground-strong);font-size:16px}.reconcile-mobile-list-v2 header strong{color:var(--brand);font-size:19px}.reconcile-mobile-list-v2 p{margin:4px 0 9px;color:var(--foreground-secondary);font-size:12px}.reconcile-mobile-list-v2 footer{padding-top:9px;border-top:1px solid var(--divider);color:var(--foreground-secondary);font-size:12px}.reconcile-pagination-v2{justify-content:space-between;margin-top:14px}.reconcile-pagination-v2 button{flex:1;min-width:0}.reconcile-pagination-v2 span{white-space:nowrap}
}

/* System settings use policy groups instead of an undifferentiated field wall. */
.settings-overview-v2{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:2px 2px 22px}.settings-overview-v2 h1{margin:4px 0;color:var(--foreground-strong);font-size:32px;line-height:1.2;letter-spacing:-.04em}.settings-overview-v2 p{max-width:660px;margin:0;color:var(--foreground-secondary);font-size:14px}.settings-overview-v2 .button{height:44px;padding:10px 13px;white-space:nowrap}
.settings-grid-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.settings-card-v2{padding:21px 22px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.settings-card-v2>header{display:flex;align-items:flex-start;gap:10px;margin-bottom:15px}.settings-card-v2>header>span{width:27px;height:27px;display:grid;place-items:center;flex:0 0 27px;border-radius:var(--radius-pill);color:var(--brand);background:var(--brand-soft);font-size:12px;font-weight:800}.settings-card-v2 h2{margin:0;color:var(--foreground-strong);font-size:19px}.settings-card-v2 header p{margin:2px 0 0;color:var(--foreground-secondary);font-size:12px}.settings-card-v2 label{display:block;margin-top:13px;color:var(--foreground-secondary);font-size:12px;font-weight:700}.settings-card-v2 label>input,.settings-card-v2 label>select{display:block;width:100%;margin-top:5px;background:var(--surface);font-size:14px}.settings-field-grid-v2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.settings-field-grid-v2 label{min-width:0}.settings-fact-v2{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 0;border-top:1px solid var(--divider);color:var(--foreground-secondary);font-size:13px}.settings-card-v2 label+label,.settings-card-v2 label+.settings-fact-v2,.settings-card-v2 .settings-field-grid-v2+.settings-link-v2{margin-top:13px}.settings-fact-v2 b{color:var(--foreground);font-size:13px}.settings-link-v2{display:block;margin-top:14px;text-align:center}.settings-hint-v2{margin:14px 0 0;padding:10px 11px;color:#725d35;background:#f8f2e8;border-radius:var(--radius-sm);font-size:12px;line-height:1.55}.settings-save-v2{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px;padding:15px 17px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.settings-save-v2 div b,.settings-save-v2 div span{display:block}.settings-save-v2 div b{color:var(--foreground);font-size:14px}.settings-save-v2 div span{margin-top:2px;color:var(--foreground-secondary);font-size:12px}.settings-save-v2 .primary{min-width:132px}.settings-status-v2{margin-top:16px;padding:20px 22px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.settings-status-v2 h2{margin:4px 0 0;color:var(--foreground-strong);font-size:19px}.settings-status-v2>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:15px;border-top:1px solid var(--divider)}.settings-status-v2>div>span{display:flex;flex-direction:column;gap:3px;min-height:61px;padding:14px 15px 0;border-right:1px solid var(--divider);color:var(--foreground-secondary);font-size:12px}.settings-status-v2>div>span:first-child{padding-left:0}.settings-status-v2>div>span:last-child{border-right:0}.settings-status-v2>div b{color:var(--foreground);font-size:13px}

@media(max-width:767px){
  .settings-overview-v2{display:block;padding:2px 1px 16px}.settings-overview-v2 h1{font-size:28px}.settings-overview-v2 p{font-size:13px}.settings-overview-v2 .button{display:block;width:100%;margin-top:14px;text-align:center}.settings-grid-v2{grid-template-columns:1fr;gap:11px}.settings-card-v2{padding:18px 16px;border-radius:var(--radius-md)}.settings-field-grid-v2{grid-template-columns:1fr}.settings-save-v2{align-items:stretch;flex-direction:column;padding:15px}.settings-save-v2 .primary{width:100%;height:46px}.settings-status-v2{margin-top:12px;padding:18px 16px;border-radius:var(--radius-md)}.settings-status-v2>div{grid-template-columns:1fr 1fr}.settings-status-v2>div>span{min-height:56px;padding:12px 10px 0;border-bottom:1px solid var(--divider)}.settings-status-v2>div>span:nth-child(2n){border-right:0}.settings-status-v2>div>span:first-child,.settings-status-v2>div>span:nth-child(3){padding-left:0}.settings-status-v2>div>span:nth-last-child(-n+2){border-bottom:0}
}

/* Backup and restore: destructive recovery stays visually separate from normal downloads. */
.backup-overview-v2{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:2px 2px 22px}.backup-overview-v2 h1{margin:4px 0;color:var(--foreground-strong);font-size:32px;line-height:1.2;letter-spacing:-.04em}.backup-overview-v2 p{max-width:670px;margin:0;color:var(--foreground-secondary);font-size:14px}.backup-overview-actions-v2{display:flex;gap:9px;align-items:center}.backup-overview-actions-v2 form{margin:0}.backup-overview-actions-v2 .button,.backup-overview-actions-v2 .primary{height:44px;padding:10px 14px;white-space:nowrap}
.backup-safety-v2{display:flex;align-items:flex-start;gap:11px;margin:0 0 16px;padding:13px 15px;background:#fbf5ea;border:1px solid #eddaba;border-radius:var(--radius-md);color:#6c5530}.backup-safety-v2>span{width:24px;height:24px;display:grid;flex:0 0 24px;place-items:center;border-radius:50%;background:#ead19a;color:#5d4725;font-weight:850}.backup-safety-v2 b{display:block;font-size:14px}.backup-safety-v2 p{margin:2px 0 0;font-size:12px;line-height:1.6}
.backup-list-panel-v2{padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.backup-list-panel-v2>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:0 1px 14px}.backup-list-panel-v2>header h2{margin:0;color:var(--foreground-strong);font-size:20px}.backup-list-panel-v2>header p{margin:3px 0 0;color:var(--foreground-secondary);font-size:13px}.backup-list-panel-v2>header>span{display:inline-flex;align-items:center;padding:5px 9px;border-radius:var(--radius-pill);background:var(--brand-soft);color:var(--brand);font-size:12px;font-weight:750;white-space:nowrap}.backup-table-v2{overflow-x:auto;border-top:1px solid var(--divider)}.backup-table-v2 table{min-width:650px}.backup-table-v2 th,.backup-table-v2 td{padding:14px 12px;border-bottom:1px solid var(--divider)}.backup-table-v2 tr:last-child td{border-bottom:0}.backup-table-v2 th{color:var(--foreground-secondary);font-size:11px}.backup-table-v2 td{color:var(--foreground);font-size:14px}.backup-table-v2 td b{color:var(--foreground-strong);font-size:14px}.backup-table-v2 .text-link,.backup-table-v2 .danger-link{display:inline-flex;align-items:center;min-height:32px;padding:4px 5px;background:transparent;font-size:13px;font-weight:750;box-shadow:none}.backup-table-v2 .danger-link{margin-left:10px;color:var(--danger)}.backup-mobile-list-v2{display:none}
.backup-overview-v2+ .backup-safety-v2~dialog{width:min(440px,calc(100vw - 32px));max-width:440px;border:0;border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-menu)}.backup-overview-v2+ .backup-safety-v2~dialog::backdrop{background:rgba(8,42,34,.48)}.backup-overview-v2+ .backup-safety-v2~dialog .dialog-form{padding:23px}.backup-overview-v2+ .backup-safety-v2~dialog .dialog-head{margin-bottom:12px}.backup-overview-v2+ .backup-safety-v2~dialog .dialog-head h2{color:var(--foreground-strong);font-size:21px}.backup-overview-v2+ .backup-safety-v2~dialog .dialog-head button{width:34px;height:34px;padding:0;color:var(--foreground-secondary);font-size:25px;line-height:1}.backup-overview-v2+ .backup-safety-v2~dialog p{margin:0;color:var(--foreground-secondary);font-size:13px;line-height:1.6}.backup-overview-v2+ .backup-safety-v2~dialog code{padding:1px 4px;background:var(--surface-subtle);border-radius:4px;color:var(--foreground)}.backup-overview-v2+ .backup-safety-v2~dialog label{display:block;margin-top:15px;color:var(--foreground-secondary);font-size:13px;font-weight:700}.backup-overview-v2+ .backup-safety-v2~dialog label input{display:block;width:100%;margin-top:6px}.backup-overview-v2+ .backup-safety-v2~dialog .full{height:45px;margin-top:20px}.backup-overview-v2+ .backup-safety-v2~dialog .danger-box{margin:0 0 13px;padding:10px 11px;border-radius:var(--radius-sm);background:#fff0ed;color:#9f3c34;font-size:13px;line-height:1.55}

@media(max-width:767px){
  .backup-overview-v2{display:block;padding:2px 1px 16px}.backup-overview-v2 h1{font-size:28px}.backup-overview-v2 p{font-size:13px}.backup-overview-actions-v2{display:grid;grid-template-columns:1fr 1fr;margin-top:14px}.backup-overview-actions-v2 .button,.backup-overview-actions-v2 .primary{width:100%;text-align:center}.backup-safety-v2{margin-bottom:13px;padding:12px 13px}.backup-list-panel-v2{padding:0;background:transparent;border:0;box-shadow:none}.backup-list-panel-v2>header{padding:0 2px 10px}.backup-list-panel-v2>header h2{font-size:19px}.backup-table-v2{display:none}.backup-mobile-list-v2{display:grid;gap:9px}.backup-mobile-list-v2 article{padding:14px 15px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.backup-mobile-list-v2 article header,.backup-mobile-list-v2 article footer{display:flex;align-items:center;justify-content:space-between;gap:12px}.backup-mobile-list-v2 article header b{min-width:0;overflow:hidden;color:var(--foreground-strong);font-size:14px;text-overflow:ellipsis;white-space:nowrap}.backup-mobile-list-v2 article header span{flex:0 0 auto;color:var(--foreground-secondary);font-size:12px}.backup-mobile-list-v2 article p{margin:5px 0 10px;color:var(--foreground-secondary);font-size:12px}.backup-mobile-list-v2 article footer{padding-top:10px;border-top:1px solid var(--divider)}.backup-mobile-list-v2 .danger-link{padding:3px 0;background:transparent;color:var(--danger);font-size:13px;font-weight:750;box-shadow:none}.backup-overview-v2+ .backup-safety-v2~dialog .dialog-form{padding:20px}
}

/* Audit and exception pages favour traceability over decorative density. */
.audit-overview-v2,.event-overview-v2{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:2px 2px 22px}.audit-overview-v2 h1,.event-overview-v2 h1{margin:4px 0;color:var(--foreground-strong);font-size:32px;line-height:1.2;letter-spacing:-.04em}.audit-overview-v2 p,.event-overview-v2 p{max-width:680px;margin:0;color:var(--foreground-secondary);font-size:14px}.audit-overview-v2 .button,.event-overview-v2 .button{height:44px;padding:10px 14px;white-space:nowrap}
.audit-panel-v2,.event-panel-v2{padding:20px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.audit-panel-v2>header,.event-panel-v2>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:0 1px 14px}.audit-panel-v2>header h2,.event-panel-v2>header h2{margin:0;color:var(--foreground-strong);font-size:20px}.audit-panel-v2>header p,.event-panel-v2>header p{margin:3px 0 0;color:var(--foreground-secondary);font-size:13px}.audit-panel-v2>header>span,.event-panel-v2>header>span{display:inline-flex;align-items:center;padding:5px 9px;border-radius:var(--radius-pill);background:var(--brand-soft);color:var(--brand);font-size:12px;font-weight:750;white-space:nowrap}
.audit-table-v2{overflow-x:auto;border-top:1px solid var(--divider)}.audit-table-v2 table{min-width:900px}.audit-table-v2 th,.audit-table-v2 td{padding:13px 12px;border-bottom:1px solid var(--divider)}.audit-table-v2 tr:last-child td{border-bottom:0}.audit-table-v2 th{color:var(--foreground-secondary);font-size:11px}.audit-table-v2 td{color:var(--foreground);font-size:13px}.audit-table-v2 td b{color:var(--foreground-strong)}.audit-detail-v2{max-width:360px;overflow:hidden;color:var(--foreground-secondary)!important;text-overflow:ellipsis;white-space:nowrap}.audit-action-v2{display:inline-flex;align-items:center;padding:4px 8px;border-radius:var(--radius-pill);background:var(--surface-subtle);color:var(--brand);font-size:12px;font-weight:700}.audit-mobile-list-v2{display:none}
.event-list-v2{display:grid;gap:9px}.event-list-v2 article{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:15px;padding:15px 16px;background:var(--surface-subtle);border:1px solid transparent;border-radius:var(--radius-md)}.event-list-v2 article:not(.resolved){border-color:#ead6b2;background:#fffaf1}.event-list-v2 article.resolved{opacity:.76}.event-status-v2{display:inline-flex;align-items:center;justify-content:center;min-width:54px;padding:5px 8px;border-radius:var(--radius-pill);background:#f7e3c6;color:#7e5423;font-size:11px;font-weight:800}.event-status-v2.high,.event-status-v2.critical{background:#ffe2de;color:#9e3b32}.event-status-v2.low{background:var(--brand-soft);color:var(--brand)}.resolved .event-status-v2{background:#e8eeeb;color:#63716b}.event-body-v2{min-width:0}.event-body-v2 header{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.event-body-v2 b{color:var(--foreground-strong);font-size:15px}.event-body-v2 time{flex:0 0 auto;color:var(--foreground-secondary);font-size:12px}.event-body-v2 p{margin:3px 0 0;overflow:hidden;color:var(--foreground-secondary);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.event-list-v2 form{margin:0}.event-list-v2 form .button{height:38px;padding:8px 11px;color:var(--brand);font-size:12px;white-space:nowrap}.event-empty-v2{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:260px;padding:28px;text-align:center;background:var(--surface-subtle);border:1px dashed var(--border-strong);border-radius:var(--radius-md)}.event-empty-v2>span{width:44px;height:44px;display:grid;place-items:center;margin-bottom:10px;border-radius:50%;background:var(--brand-soft);color:var(--brand);font-size:23px;font-weight:850}.event-empty-v2 b{color:var(--foreground-strong);font-size:16px}.event-empty-v2 p{margin:4px 0 0;color:var(--foreground-secondary);font-size:13px}

@media(max-width:767px){
  .audit-overview-v2,.event-overview-v2{display:block;padding:2px 1px 16px}.audit-overview-v2 h1,.event-overview-v2 h1{font-size:28px}.audit-overview-v2 p,.event-overview-v2 p{font-size:13px}.audit-overview-v2 .button,.event-overview-v2 .button{display:block;width:100%;margin-top:14px;text-align:center}.audit-panel-v2,.event-panel-v2{padding:0;background:transparent;border:0;box-shadow:none}.audit-panel-v2>header,.event-panel-v2>header{padding:0 2px 10px}.audit-panel-v2>header h2,.event-panel-v2>header h2{font-size:19px}.audit-table-v2{display:none}.audit-mobile-list-v2{display:grid;gap:9px}.audit-mobile-list-v2 article{padding:14px 15px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-md);box-shadow:var(--shadow-sm)}.audit-mobile-list-v2 article header{display:flex;align-items:center;justify-content:space-between;gap:12px}.audit-mobile-list-v2 article header b{color:var(--foreground-strong);font-size:14px}.audit-mobile-list-v2 article time{color:var(--foreground-secondary);font-size:12px}.audit-mobile-list-v2 article p{margin:4px 0;color:var(--foreground-secondary);font-size:12px}.audit-mobile-list-v2 article small{display:block;padding-top:8px;border-top:1px solid var(--divider);color:var(--foreground-muted);font-size:12px;line-height:1.5}.event-list-v2{gap:9px}.event-list-v2 article{grid-template-columns:auto minmax(0,1fr);gap:11px;padding:14px}.event-list-v2 article form{grid-column:1/-1;padding-top:10px;border-top:1px solid rgba(99,79,38,.14)}.event-list-v2 form .button{width:100%;height:40px}.event-body-v2 header{display:block}.event-body-v2 time{display:block;margin-top:3px}.event-body-v2 p{white-space:normal;line-height:1.5}.event-empty-v2{min-height:210px}
}

/* Personal account settings retain the same calm hierarchy as account administration. */
.personal-settings-overview-v2{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:2px 2px 22px}.personal-settings-overview-v2 h1{margin:4px 0;color:var(--foreground-strong);font-size:32px;line-height:1.2;letter-spacing:-.04em}.personal-settings-overview-v2 p{max-width:670px;margin:0;color:var(--foreground-secondary);font-size:14px}.personal-role-v2{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 11px;border:1px solid rgba(15,107,84,.17);border-radius:var(--radius-pill);background:var(--brand-soft);color:var(--brand);font-size:12px;font-weight:750;white-space:nowrap}
.personal-settings-grid-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start}.personal-setting-card-v2{padding:22px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.personal-setting-card-v2.required{border-color:rgba(193,144,70,.38);box-shadow:0 10px 28px rgba(141,105,51,.08)}.personal-setting-card-v2>header{display:flex;align-items:flex-start;gap:10px;margin-bottom:15px}.personal-setting-card-v2>header>span{display:grid;place-items:center;flex:0 0 27px;width:27px;height:27px;border-radius:var(--radius-pill);background:var(--brand-soft);color:var(--brand);font-size:12px;font-weight:800}.personal-setting-card-v2.required>header>span{background:#f7ead1;color:#8a6430}.personal-setting-card-v2 h2{margin:0;color:var(--foreground-strong);font-size:19px}.personal-setting-card-v2>header p{margin:2px 0 0;color:var(--foreground-secondary);font-size:12px;line-height:1.55}.personal-setting-card-v2 label{display:block;margin-top:13px;color:var(--foreground-secondary);font-size:12px;font-weight:700}.personal-setting-card-v2 label>input{display:block;width:100%;margin-top:5px;background:var(--surface);font-size:14px}.personal-field-grid-v2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.personal-field-grid-v2 label{min-width:0}.personal-setting-hint-v2{min-height:39px;margin:15px 0 0;padding:10px 11px;border-radius:var(--radius-sm);background:var(--surface-subtle);color:var(--foreground-secondary);font-size:12px;line-height:1.55}.personal-setting-card-v2 .primary{height:45px;margin-top:14px}

@media(max-width:767px){
  .personal-settings-overview-v2{display:block;padding:2px 1px 16px}.personal-settings-overview-v2 h1{font-size:28px}.personal-settings-overview-v2 p{font-size:13px}.personal-role-v2{margin-top:12px}.personal-settings-grid-v2{grid-template-columns:1fr;gap:11px}.personal-setting-card-v2{padding:18px 16px;border-radius:var(--radius-md)}.personal-field-grid-v2{grid-template-columns:1fr}.personal-setting-hint-v2{min-height:0}.personal-setting-card-v2 .primary{height:46px}
}

.mobile-migration-settings{margin-top:14px}

/* Error states stay actionable and do not look like an application crash. */
.error-state-v2{display:flex;align-items:flex-start;gap:17px;max-width:680px;margin:42px auto;padding:34px;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-sm)}.error-state-v2__mark{width:42px;height:42px;display:grid;flex:0 0 42px;place-items:center;border-radius:50%;background:#fbedea;color:#a13e35;font-size:23px;font-weight:850}.error-state-v2 h1{margin:5px 0;color:var(--foreground-strong);font-size:32px;letter-spacing:-.04em}.error-state-v2 p{margin:0;color:var(--foreground-secondary);font-size:14px;line-height:1.7}.error-state-v2 .primary{margin-top:20px}
@media(max-width:767px){.error-state-v2{margin:18px 0;padding:24px 19px;border-radius:var(--radius-md)}.error-state-v2 h1{font-size:27px}.error-state-v2 p{font-size:13px}.error-state-v2 .primary{width:100%;height:46px;text-align:center}}
/* Explicit migration gate: operational writes remain closed until legacy
   canteens are assigned to a school. */
.setup-migration-alert{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:16px 18px;border:1px solid #e7c77f;border-radius:14px;background:#fff9eb;color:#624914}.setup-migration-alert b{display:block;font-size:16px}.setup-migration-alert p{margin:5px 0 0;line-height:1.65;color:#765d2b}.setup-migration-alert>span{flex:0 0 auto;padding:6px 10px;border-radius:999px;background:#f3e2bb;font-size:13px;font-weight:700}@media(max-width:640px){.setup-migration-alert{align-items:flex-start;flex-direction:column;gap:8px}}

/* V11.3.1 shared batch-entry workbench. */
dialog.batch-workbench-dialog,dialog.school-init-dialog{width:min(1180px,calc(100vw - 44px));max-width:1180px;max-height:min(860px,calc(100vh - 48px));border:1px solid #dbe5df;border-radius:24px;padding:0;overflow:hidden;box-shadow:0 28px 82px rgba(13,54,43,.26);background:#fff}dialog.school-init-dialog{max-width:920px}dialog.batch-workbench-dialog::backdrop,dialog.school-init-dialog::backdrop{background:rgba(10,44,36,.5);backdrop-filter:blur(2px)}.batch-workbench-form,.school-init-form{display:flex;flex-direction:column;max-height:inherit;overflow:hidden}.batch-workbench-head{display:flex;align-items:flex-start;justify-content:space-between;gap:28px;padding:28px 32px 20px;background:linear-gradient(125deg,#f7fbf9,#edf7f3);border-bottom:1px solid #e4eee9}.batch-workbench-head h2{margin:6px 0 8px;color:#123c31;font-size:26px;line-height:1.2}.batch-workbench-head p{margin:0;color:#6d8179;line-height:1.6}.batch-workbench-head .eyebrow{color:#b17725}.icon-close{display:grid;place-items:center;flex:0 0 auto;width:34px;height:34px;padding:0;border:1px solid #dbe7e1;border-radius:11px;background:#fff;color:#557168;font-size:24px;line-height:1;cursor:pointer}.icon-close:hover{background:#edf6f2;color:#0f6b54}.batch-workbench-tools{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 32px;border-bottom:1px solid #edf1ee}.batch-workbench-tools p{margin:0;color:#5d746b;font-size:14px;line-height:1.55}.batch-workbench-tools>div{display:flex;align-items:center;gap:14px;white-space:nowrap}.batch-workbench-tools .text-btn{padding:8px 4px;color:#0f6b54}.batch-workbench-message{margin:14px 32px 0;padding:11px 14px;border-radius:12px;font-size:14px;font-weight:700}.batch-workbench-message.error{background:#fff0ef;color:#a53d32}.batch-workbench-message.info{background:#eef7f2;color:#126b55}.batch-grid-wrap{margin:18px 32px 0;overflow:auto;border:1px solid #e2ebe6;border-radius:16px;background:#fff}.batch-grid-table{min-width:760px;width:100%;border-collapse:separate;border-spacing:0;font-size:14px}.batch-grid-table--accounts,.batch-grid-table--stalls{min-width:1120px}.batch-grid-table th{position:sticky;top:0;z-index:1;padding:12px 11px;text-align:left;color:#60756d;font-size:12px;letter-spacing:.02em;background:#f3f7f5;border-bottom:1px solid #dde8e2;white-space:nowrap}.batch-grid-table td{padding:8px 9px;border-bottom:1px solid #edf2ef;vertical-align:middle;background:#fff}.batch-grid-table tr:last-child td{border-bottom:0}.batch-grid-table input,.batch-grid-table select{width:100%;min-width:110px;height:38px;border:1px solid #cfddd6;border-radius:10px;padding:0 10px;background:#fff;color:#173c32;font:inherit}.batch-grid-table input:focus,.batch-grid-table select:focus{outline:0;border-color:#0f6b54;box-shadow:0 0 0 3px rgba(15,107,84,.12)}.batch-grid-table .batch-row-remove{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:9px;background:#f5f7f6;color:#6e7e78;font-size:20px;cursor:pointer}.batch-grid-table .batch-row-remove:hover{color:#ab4038;background:#fff0ee}.batch-cell-muted{background:#fafbfa!important;opacity:.48}.batch-cell-muted input,.batch-cell-muted select{background:#f4f6f5!important}.batch-row-invalid td{background:#fff7f5!important}.batch-row-invalid input,.batch-row-invalid select{border-color:#d86b59!important}.batch-workbench-foot,.school-init-foot{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 32px 28px}.batch-workbench-foot span,.school-init-foot span{color:#71827b;font-size:13px;line-height:1.5}.batch-workbench-foot .primary,.school-init-foot .primary{min-width:176px}.school-init-grid{display:grid;grid-template-columns:1fr 1.15fr;gap:0;padding:28px 32px 4px}.school-init-grid section{min-width:0;padding:0 24px 22px}.school-init-grid section:first-child{padding-left:0;border-right:1px solid #e8efeb}.school-init-grid section:last-child{padding-right:0}.school-init-grid h3{margin:0 0 16px;color:#174136;font-size:16px}.school-init-grid label{display:grid;gap:7px;margin:0 0 14px;color:#49655b;font-size:13px;font-weight:700}.school-init-grid input{height:42px;border:1px solid #cfddd6;border-radius:11px;padding:0 12px;font:inherit}.school-init-switch{display:flex!important;grid-template-columns:20px 1fr;align-items:flex-start;gap:10px!important;padding:13px 14px;margin-bottom:18px!important;border:1px solid #cce1d7;border-radius:13px;background:#f2f9f5;cursor:pointer}.school-init-switch input{width:18px;height:18px;margin:2px 0 0;accent-color:#0f6b54}.school-init-switch b{display:block;color:#164237;font-size:14px}.school-init-switch small{display:block;margin-top:4px;color:#6a8077;font-weight:500;line-height:1.45}.school-init-grid .form-note{margin:0;color:#73827d;font-size:12px;line-height:1.5}
.school-canteen-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:20px 0 10px}.school-canteen-heading b,.school-canteen-heading small{display:block}.school-canteen-heading b{color:#174136;font-size:14px}.school-canteen-heading small{margin-top:3px;color:#73827d;font-size:12px;font-weight:500;line-height:1.45}.school-canteen-heading .button{flex:0 0 auto;height:36px;padding:7px 10px}.school-canteen-rows{display:grid;gap:9px}.school-canteen-row{display:grid;grid-template-columns:34px minmax(0,1fr) 34px;align-items:center;gap:8px;padding:6px;border:1px solid #dbe7e1;border-radius:13px;background:#f8fbf9}.school-canteen-row>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#e4f2ec;color:#0f6b54;font-size:11px;font-weight:800}.school-canteen-row input{height:38px;border:0;background:transparent;padding:0 5px}.school-canteen-row input:focus{outline:0}.school-canteen-row button{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:9px;background:#fff;color:#74847e;font-size:19px;cursor:pointer}.school-canteen-row button:hover{background:#fff0ee;color:#a44138}.first-login-phone-note{display:grid;gap:4px;padding:13px 14px;border:1px solid #e5ddc7;border-radius:13px;background:#fbf7ed}.first-login-phone-note b{color:#755929;font-size:13px}.first-login-phone-note span{color:#7d7564;font-size:12px;line-height:1.55}
@media(max-width:760px){dialog.batch-workbench-dialog,dialog.school-init-dialog{width:calc(100vw - 20px);max-height:calc(100vh - 20px);border-radius:20px}.batch-workbench-head{padding:22px 20px 16px;gap:12px}.batch-workbench-head h2{font-size:22px}.batch-workbench-head p{font-size:13px}.batch-workbench-tools{align-items:flex-start;flex-direction:column;padding:14px 20px;gap:12px}.batch-workbench-tools>div{width:100%;justify-content:space-between}.batch-workbench-message{margin:12px 20px 0}.batch-grid-wrap{margin:14px 20px 0;border-radius:13px}.batch-workbench-foot,.school-init-foot{align-items:stretch;flex-direction:column;padding:16px 20px 22px;gap:12px}.batch-workbench-foot .primary,.school-init-foot .primary{width:100%}.school-init-grid{grid-template-columns:1fr;padding:20px}.school-init-grid section{padding:0 0 18px!important;border:0!important}.school-init-grid section+section{padding-top:18px!important;border-top:1px solid #e8efeb!important}.school-canteen-heading{align-items:flex-start}.school-canteen-heading small{max-width:190px}}
/* V11.9 report visibility and legacy migration controls */
.settings-wide-v2{margin-top:16px}.canteen-visibility-list-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.settings-card-v2 .canteen-visibility-row-v2{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:11px;margin:0;padding:13px 14px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-subtle);cursor:pointer}.settings-card-v2 .canteen-visibility-row-v2>input{width:18px;height:18px;margin:0;accent-color:var(--brand)}.canteen-visibility-row-v2 span b,.canteen-visibility-row-v2 span small{display:block}.canteen-visibility-row-v2 span b{color:var(--foreground);font-size:14px}.canteen-visibility-row-v2 span small{margin-top:2px;color:var(--foreground-secondary);font-weight:500}.canteen-visibility-row-v2 em{color:var(--brand);font-size:12px;font-style:normal}.settings-actions-v2{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
@media(max-width:700px){.canteen-visibility-list-v2{grid-template-columns:1fr}.settings-card-v2 .canteen-visibility-row-v2{grid-template-columns:auto 1fr}.canteen-visibility-row-v2 em{grid-column:2}.settings-actions-v2 .button{width:100%;text-align:center}}

/* V11.10 quick bundles and weekly issue planner */
.canteen-bundles-v2{margin-top:16px;padding:16px 18px;border:1px solid #dbe8e2;border-radius:16px;background:#f7fbf9}.canteen-bundles-v2__head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.canteen-bundles-v2__head b{display:block;color:#164237;font-size:15px}.canteen-bundles-v2__head small{display:block;margin-top:3px;color:#6e837a;font-size:12px}.canteen-bundles-v2__head>span{padding:5px 9px;border-radius:999px;background:#e4f2ec;color:#0f6b54;font-size:11px;font-weight:750;white-space:nowrap}.bundle-config-row-v2{display:grid;grid-template-columns:100px minmax(0,1fr);gap:14px;padding:12px 0;border-top:1px solid #e3ece7}.bundle-config-row-v2__title{display:flex;align-items:center;justify-content:space-between;gap:6px;color:#174136}.bundle-config-row-v2__title small{color:#71867d;font-size:11px}.bundle-config-row-v2__body{min-width:0}.bundle-config-pills-v2{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:8px;color:#7b8b85;font-size:12px}.bundle-pill-v2{display:inline-flex;align-items:center;gap:7px;min-height:29px;padding:4px 7px 4px 10px;border:1px solid #cce1d7;border-radius:999px;background:#eaf6f0;color:#126b55;font-weight:700}.bundle-pill-v2 form{display:inline-flex;margin:0}.bundle-pill-v2 button{display:grid;place-items:center;width:20px;height:20px;padding:0;border:0;border-radius:50%;background:transparent;color:#6f817a;font-size:16px;line-height:1;cursor:pointer}.bundle-pill-v2 button:hover{background:#fff0ee;color:#a44138}.bundle-create-form-v2{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,2.7fr) auto;align-items:center;gap:8px}.bundle-create-form-v2>input{min-width:0;height:36px}.bundle-item-fields-v2{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.bundle-item-fields-v2>div{display:grid;grid-template-columns:minmax(0,1fr) 52px;gap:5px}.bundle-item-fields-v2 select,.bundle-item-fields-v2 input{min-width:0;width:100%;height:36px;padding:0 8px;border:1px solid #cfddd6;border-radius:9px;background:#fff;color:#173c32;font:inherit;font-size:12px}.bundle-create-form-v2 .button{height:36px;padding:7px 10px;white-space:nowrap}.bundle-limit-note-v2{color:#8a6b34;font-size:12px}.issue-bundles-v2{margin-top:13px;padding:11px;border:1px solid #dbe8e2;border-radius:13px;background:#f7fbf9}.issue-bundles-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.issue-bundles-head b{font-size:13px;color:#174136}.issue-bundles-head small{color:#71827b;font-size:11px}.issue-bundles-grid{display:flex;flex-wrap:wrap;gap:7px}.bundle-chip{min-height:34px;padding:7px 11px;border:1px solid #bcdacd;border-radius:10px;background:#eaf6f0;color:#0f6b54;font:inherit;font-size:12px;font-weight:750;cursor:pointer}.bundle-chip:hover,.bundle-chip:focus-visible{border-color:#0f6b54;background:#0f6b54;color:#fff;outline:0}.issue-week-schedule-v2{margin-top:18px;padding:18px 20px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--surface);box-shadow:var(--shadow-sm)}.issue-week-schedule-v2>header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.issue-week-schedule-v2 h2{margin:4px 0 3px;color:var(--foreground-strong);font-size:20px}.issue-week-schedule-v2 p{margin:0;color:var(--foreground-secondary);font-size:12px}.issue-week-schedule-v2 header>label{display:grid;gap:5px;color:var(--foreground-secondary);font-size:12px;font-weight:700}.issue-week-schedule-v2 header input{height:36px}.week-day-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-top:15px}.week-day-grid button{display:grid;gap:4px;min-height:58px;padding:9px 6px;border:1px solid var(--border);border-radius:11px;background:var(--surface-subtle);color:var(--foreground-secondary);font:inherit;cursor:pointer}.week-day-grid button b{color:var(--foreground-strong);font-size:13px}.week-day-grid button small{font-size:11px}.week-day-grid button.active{border-color:var(--brand);background:var(--brand);color:#fff}.week-day-grid button.active b{color:#fff}.week-day-grid button.past{opacity:.48;cursor:not-allowed}.week-day-grid button:hover:not(:disabled){border-color:var(--brand)}
@media(max-width:850px){.bundle-create-form-v2{grid-template-columns:1fr}.bundle-item-fields-v2{grid-template-columns:1fr}.issue-week-schedule-v2>header{display:block}.issue-week-schedule-v2 header>label{margin-top:12px}.week-day-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:520px){.canteen-bundles-v2{padding:13px}.bundle-config-row-v2{grid-template-columns:1fr;gap:7px}.bundle-item-fields-v2>div{grid-template-columns:minmax(0,1fr) 58px}.week-day-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Per-card downloads and vertical special-voucher print layout */
.card-download-button{display:inline-flex;align-items:center;justify-content:center;margin:0 auto 8px;padding:7px 12px;border:1px solid color-mix(in srgb,var(--brand) 28%,white);border-radius:999px;background:var(--brand-soft);color:var(--brand);font-size:12px;font-weight:750;text-decoration:none}.card-download-button:hover{background:var(--brand);color:#fff}
.idcard-v2--teacher{border-top:4px solid #b08a52!important;background:linear-gradient(180deg,#fffdf9 0%,#fff 42%)}.idcard-v2--teacher header span{background:#f5ecdd;color:#8d6c38}.idcard-v2--teacher .card-download-button{border-color:#d9bd8a;background:#fbf4e8;color:#8d6c38}.idcard-v2--teacher .card-download-button:hover{background:#b08a52;color:#fff}.idcard-v2--teacher .card-select input{accent-color:#b08a52}.idcard-v2--teacher .idcard-person-v2 h2{color:#6f542d}
.special-print-main{grid-template-columns:1fr;justify-items:center;text-align:center;gap:20px}.special-print-main img{width:190px}.special-qr-wrap{display:flex;flex-direction:column;align-items:center;gap:8px}.special-print-main>div:last-child{width:100%}
@media(max-width:700px){.special-print-main dl{grid-template-columns:1fr}}
@media print{.special-print-card{width:105mm;min-height:180mm}.special-print-main{grid-template-columns:1fr}.special-print-main img{width:52mm}.special-print-main dl{grid-template-columns:1fr}.special-print-card .card-download-button{display:none}}
.batch-grid-table--accounts [data-account-stall]{min-width:230px}.batch-grid-table--accounts th:last-child,.batch-grid-table--accounts td:last-child{min-width:58px}
.account-group-toolbar{display:flex;justify-content:flex-end;padding:10px 18px 0}.account-group-add{font-size:12px;padding:7px 11px}
.account-empty-v2--inline{padding:14px 18px;color:var(--foreground-secondary);font-size:13px}
.special-voucher-intro{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:20px;min-height:0;padding:18px 22px}
.special-voucher-intro>div{min-width:0}
.special-voucher-intro>div>p{display:none}
.special-voucher-intro>div::after{content:"每批生成一个二维码，固定面值 ¥10，发放后 7×24 小时有效；同一二维码可按次数核销。";display:block;margin:5px 0 0;color:var(--foreground-secondary);font-size:14px;line-height:1.55}
.special-voucher-intro>.primary{display:inline-flex;align-items:center;justify-content:center;width:auto;min-width:116px;min-height:48px;padding:0 18px;flex:0 0 auto;white-space:nowrap;word-break:keep-all;writing-mode:horizontal-tb}
@media(max-width:700px){.special-voucher-intro{grid-template-columns:1fr;padding:16px}.special-voucher-intro>.primary{width:100%;min-width:0}.special-voucher-intro>div::after{font-size:13px}}
/* Weekly roster selection */
.bundle-chip.selected{background:var(--brand);color:#fff;transform:translateY(-1px)}.week-roster-v2{margin-top:15px;padding-top:13px;border-top:1px solid var(--divider)}.week-roster-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.week-roster-head b{color:var(--foreground-strong);font-size:13px}.week-roster-head small{color:var(--foreground-secondary);font-size:11px}.week-roster-grid{display:flex;flex-wrap:wrap;gap:7px}.week-roster-person{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:6px 10px;border:1px solid var(--border);border-radius:10px;background:var(--surface-subtle);color:var(--foreground-secondary);font:inherit;text-align:left;cursor:pointer}.week-roster-person b{color:var(--foreground-strong);font-size:12px}.week-roster-person small{font-size:11px}.week-roster-person.selected{border-color:var(--brand);background:var(--brand-soft);box-shadow:0 0 0 2px rgba(15,107,84,.08)}.week-roster-empty{color:var(--foreground-secondary);font-size:12px}

/* 发券工作区：日期集中到排班标题，券卡与券包保持清晰的两列/整行布局 */
.issue-week-schedule-v2>header{display:block}
.issue-week-date-control-v2{display:flex;align-items:center;gap:10px;width:max-content;margin-top:13px;color:var(--foreground-secondary);font-size:12px;font-weight:750}
.issue-week-date-control-v2 input{height:40px;min-width:172px;padding:0 11px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);font:inherit;color:var(--foreground-strong)}
.week-day-grid{margin-top:14px}
.week-day-grid button{min-height:70px;padding:11px 7px;border-radius:12px}
.week-day-grid button b{font-size:15px}
.week-day-grid button small{font-size:13px}
.issue-config-panel-v2 .issue-ticket-list{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}
.issue-config-panel-v2 .issue-ticket{min-height:76px;align-items:center}
.issue-config-panel-v2 .issue-ticket span small{display:none}
.issue-config-panel-v2 .issue-ticket span b{font-size:21px;line-height:1.1;letter-spacing:-.02em}
.issue-config-panel-v2 .issue-ticket select{width:70px}
.issue-bundles-v2{width:100%}
.issue-bundles-head{margin-bottom:9px}
.issue-bundles-head small{display:none}
.issue-bundles-grid{display:grid;grid-template-columns:1fr;gap:8px}
.bundle-chip{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:50px;padding:10px 13px;text-align:left}
.bundle-chip-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bundle-chip-summary{flex:none;color:inherit;font-size:13px;font-weight:800;white-space:nowrap}
@media(max-width:850px){.issue-config-panel-v2 .issue-ticket-list{grid-template-columns:repeat(2,minmax(0,1fr))}.issue-week-date-control-v2{width:100%;justify-content:space-between}.issue-week-date-control-v2 input{flex:1}}
@media(max-width:520px){.issue-config-panel-v2 .issue-ticket-list{grid-template-columns:1fr}.issue-week-date-control-v2{display:grid;grid-template-columns:1fr;gap:5px}.issue-week-date-control-v2 input{width:100%}}
.issue-config-panel-v2 .batch-preview[hidden]{display:none}
.issue-bundles-head>div{display:flex;align-items:center;gap:10px;min-width:0}
.bundle-lock-note{color:#d94837;font-size:13px;font-weight:800;white-space:nowrap}
.issue-rule-note-v2{margin:8px 0 0;color:var(--foreground-secondary);font-size:12px;line-height:1.5}
.issue-config-panel-v2 .issue-ticket-list.bundle-active{opacity:.58;filter:grayscale(.72);pointer-events:none}
.issue-config-panel-v2 .issue-ticket-list.bundle-active .issue-ticket{background:#ecefed!important;border-left-color:#aeb8b3!important;color:#77827d!important}
.issue-config-panel-v2 .issue-ticket-list.bundle-active .issue-ticket b{color:#77827d!important}
.issue-config-panel-v2 .issue-ticket-list.bundle-active .issue-ticket select{background:#e1e5e3!important;color:#77827d!important}

/* V11.10 weekly planner polish: the date control belongs to the schedule
   title row; keep the week strip prominent and avoid a second date block. */
.issue-week-heading-v2{min-width:0}
.issue-week-title-line-v2{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:2px}
.issue-week-title-line-v2 h2{margin:0;font-size:24px;line-height:1.25;letter-spacing:-.02em}
.issue-week-date-control-v2{display:inline-flex;align-items:center;gap:10px;width:auto;margin:0;flex:0 0 auto;font-size:13px;font-weight:750;white-space:nowrap}
.issue-week-date-control-v2 input{height:42px;min-width:178px;padding:0 12px;font-size:14px;font-weight:700}
.issue-week-heading-v2>p{margin-top:8px;font-size:13px;line-height:1.55}
.issue-week-schedule-v2{padding:22px 24px 24px}
.week-day-grid{margin-top:18px;gap:10px}
.week-day-grid button{min-height:78px;padding:13px 8px;gap:6px;border-radius:13px}
.week-day-grid button b{font-size:16px;line-height:1.2}
.week-day-grid button small{font-size:13px;font-weight:650}
@media(max-width:850px){.issue-week-title-line-v2{display:block}.issue-week-date-control-v2{margin-top:11px;width:100%;justify-content:space-between}.issue-week-date-control-v2 input{flex:1;min-width:0}.issue-week-schedule-v2{padding:18px}.week-day-grid button{min-height:72px}}
@media(max-width:520px){.issue-week-date-control-v2{display:grid;grid-template-columns:auto 1fr;gap:8px}.issue-week-date-control-v2 input{width:100%}.issue-week-schedule-v2{padding:16px 14px 18px}.week-day-grid{gap:8px}.week-day-grid button{min-height:70px;padding:11px 6px}}

/* 将周日期选择嵌入人员列表上方；日期切换只改变发放日，不重复渲染人员。 */
.issue-week-strip-v2{margin:0 0 14px;padding:12px 14px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--surface-subtle)}
.issue-week-strip-head-v2{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}
.issue-week-strip-head-v2 .eyebrow{font-size:11px}
.issue-week-strip-head-v2 h3{margin:2px 0 0;color:var(--foreground-strong);font-size:17px;line-height:1.2}
.issue-week-days-v2{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}
.issue-week-day-v2{display:grid;gap:4px;min-height:62px;padding:9px 6px;border:1px solid var(--border);border-radius:11px;background:var(--surface);color:var(--foreground-secondary);font:inherit;cursor:pointer}
.issue-week-day-v2 b{color:var(--foreground-strong);font-size:14px}
.issue-week-day-v2 small{font-size:12px}
.issue-week-day-v2.active{border-color:var(--brand);background:var(--brand);color:#fff;box-shadow:0 5px 14px rgba(15,107,84,.15)}
.issue-week-day-v2.active b{color:#fff}
.issue-week-day-v2.past{opacity:.48;cursor:not-allowed}
.issue-week-day-v2:hover:not(:disabled){border-color:var(--brand)}
@media(max-width:850px){.issue-week-strip-head-v2{align-items:flex-start}.issue-week-days-v2{grid-template-columns:repeat(4,minmax(0,1fr))}.issue-week-day-v2{min-height:64px}}
@media(max-width:520px){.issue-week-strip-v2{padding:11px}.issue-week-strip-head-v2{display:grid;grid-template-columns:1fr}.issue-date-control-v2{width:100%;justify-content:space-between;margin-left:0}.issue-date-control-v2 input{flex:1;min-width:0;width:100%}.issue-week-days-v2{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* 发放日期属于“选择人员”区域；切换日期只改变发放日，不再额外渲染周排班区域。 */
.issue-people-head-with-date-v2{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.issue-people-heading-v2{min-width:180px;flex:1 1 220px}
.issue-date-control-v2{display:inline-flex;align-items:center;gap:8px;margin-left:auto;color:var(--foreground-secondary);font-size:12px;font-weight:750;white-space:nowrap}
.issue-date-control-v2 input{height:38px;min-width:158px;padding:0 10px;border:1px solid var(--border);border-radius:var(--radius-sm);background:var(--surface);color:var(--foreground-strong);font:inherit;font-size:13px;font-weight:700}
.issue-date-control-v2 input:focus{outline:2px solid color-mix(in srgb,var(--brand) 22%,transparent);outline-offset:1px;border-color:var(--brand)}
@media(max-width:850px){.issue-people-head-with-date-v2{align-items:flex-start}.issue-date-control-v2{margin-left:auto}.issue-date-control-v2 input{min-width:146px}}
@media(max-width:520px){.issue-people-head-with-date-v2{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px}.issue-people-heading-v2{min-width:0}.issue-date-control-v2{grid-column:1 / -1;width:100%;justify-content:space-between;margin-left:0}.issue-date-control-v2 input{flex:1;min-width:0;width:100%}.issue-select-all-v2{grid-column:2;justify-self:end}}
.issue-config-panel-v2 .bundle-chip.selected{background:var(--brand)!important;border-color:var(--brand)!important;color:#fff!important;transform:none}
.multi-redemption-request-v2{padding:15px!important;background:#fff7e6!important;border:1px solid #e8c47a;color:#5c451b!important}.multi-redemption-request-v2 b,.multi-redemption-request-v2 small{display:block;white-space:normal}.multi-redemption-request-v2 button{display:block;width:100%;min-height:54px;margin:12px 0 7px;background:#b95f25;color:#fff;font-size:17px;font-weight:850}.approval-waiting-v2{display:flex;align-items:center;justify-content:center;gap:9px;min-height:52px;margin-top:12px;border-radius:10px;background:#fff;color:var(--brand);font-size:15px;font-weight:800}.approval-waiting-v2 i{width:10px;height:10px;border-radius:50%;background:var(--brand);animation:approvalPulse 1.2s infinite}.multi-redemption-approved-v2{padding:15px!important;background:var(--brand-soft)!important;border:1px solid rgba(15,107,84,.25);color:var(--brand)!important}.multi-redemption-approved-v2 b,.multi-redemption-approved-v2 small{display:block}.multi-redemption-dialog-v2{width:min(520px,calc(100vw - 28px));border:0;border-radius:20px;padding:0;overflow:hidden}.multi-redemption-dialog-v2::backdrop{background:rgba(8,31,25,.62)}.multi-redemption-dialog-head-v2{display:flex;align-items:center;justify-content:space-between;padding:19px 21px;background:#0f6b54;color:#fff}.multi-redemption-dialog-head-v2 span{font-size:20px;font-weight:850}.multi-redemption-dialog-head-v2 b{padding:5px 9px;border-radius:999px;background:#ffffff22;font-size:12px}.multi-redemption-dialog-body-v2{padding:22px}.multi-redemption-dialog-body-v2>strong{display:block;font-size:28px;color:var(--foreground-strong)}.multi-redemption-dialog-body-v2 p{margin:8px 0 16px;font-size:15px;line-height:1.7}.multi-redemption-dialog-body-v2 dl{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 14px}.multi-redemption-dialog-body-v2 dl div{padding:11px;border-radius:10px;background:var(--surface-subtle)}.multi-redemption-dialog-body-v2 dt{color:var(--foreground-secondary);font-size:12px}.multi-redemption-dialog-body-v2 dd{margin:2px 0 0;font-weight:800}.multi-redemption-dialog-body-v2>small{display:block;color:var(--warning);font-size:13px}.multi-redemption-dialog-actions-v2{display:grid;grid-template-columns:1fr 1.35fr;gap:10px;padding:0 22px 22px}.multi-redemption-dialog-actions-v2 button{min-height:52px;font-size:16px}@keyframes approvalPulse{50%{opacity:.35;transform:scale(.75)}}
.approval-trace-v2{margin:0 0 8px;padding:8px 10px;border-radius:9px;background:var(--brand-soft);color:var(--brand)}.approval-trace-v2 b,.approval-trace-v2 small{display:block}.approval-trace-v2 small{margin-top:2px;font-size:11px;color:var(--foreground-secondary)}
.department-chip-v2{display:inline-flex!important;align-items:center!important;max-width:180px!important;margin-left:7px!important;padding:3px 9px!important;border:1px solid color-mix(in srgb,var(--department-color,#e8ecea) 72%,#64736d)!important;border-radius:999px!important;background:var(--department-color,#e8ecea)!important;color:#31443d!important;font-size:11px!important;font-weight:700!important;line-height:1.25!important;vertical-align:middle!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.issue-person-meta-v2{display:inline-flex!important;align-items:center!important;gap:2px!important;margin-left:0!important;overflow:visible!important;vertical-align:middle!important}.issue-person-meta-v2>span:not(.department-chip-v2){display:inline!important}.issue-person-meta-v2 .department-chip-v2{margin-left:6px!important}.department-tag-row-v2 .department-chip-v2{margin-left:0!important;padding:5px 11px!important;font-size:13px!important}.person-primary-v2 .department-chip-v2{margin-left:6px!important}
/* Issuance workbench: correction action for the selected issue date. */
.issue-revoke-submit-v2{height:42px;margin-top:10px;border-color:#d95a43!important;background:#fff4f1!important;color:#b33f2e!important;font-size:13px;font-weight:800}.issue-revoke-submit-v2:not(:disabled):hover,.issue-revoke-submit-v2:not(:disabled):focus-visible{background:#d94d36!important;border-color:#d94d36!important;color:#fff!important}.issue-revoke-submit-v2:disabled{opacity:.55;cursor:not-allowed}.issue-revoke-note-v2{margin:7px 2px 0;color:var(--foreground-secondary);font-size:11px;line-height:1.45}.issue-revoke-confirm-v2{margin-top:10px;padding:12px 13px;border:1px solid #edb2a4;border-radius:14px;background:#fff8f6;color:#7d3024;box-shadow:0 5px 16px rgba(172,61,40,.08)}.issue-revoke-confirm-v2[hidden]{display:none}.issue-revoke-confirm-v2 strong{display:block;font-size:13px;line-height:1.35}.issue-revoke-confirm-v2 p{margin:5px 0 10px;font-size:12px;line-height:1.55;color:#8f4a3d}.issue-revoke-confirm-actions-v2{display:flex;gap:8px;justify-content:flex-end}.issue-revoke-confirm-actions-v2 button{min-height:34px;padding:0 12px;font-size:12px;font-weight:800}.issue-revoke-confirm-actions-v2 .button.ghost{background:#fff;border-color:#e2b9b0;color:#7d5048}

/* Issuance ledger and shared report pagination. */
.issue-details-summary-v2{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 18px}
.issue-details-summary-v2>div{min-width:0;padding:15px 17px;border:1px solid var(--border);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-sm)}
.issue-details-summary-v2 span,.issue-details-summary-v2 small{display:block;color:var(--foreground-secondary);font-size:12px}.issue-details-summary-v2 b{display:block;margin:4px 0 1px;color:var(--brand);font-size:25px;line-height:1.2}.issue-details-summary-v2 .is-revoked b{color:var(--danger)}
.issue-details-filter-v2{margin-bottom:16px}.issue-details-filter-v2 form{align-items:end}.issue-details-panel-v2{padding:20px}.issue-details-table-v2{margin:0}.issue-details-table-v2 table{min-width:1080px}.issue-details-table-v2 td{vertical-align:top;white-space:normal}.issue-details-table-v2 td small{display:block;margin-top:3px;color:var(--foreground-secondary);font-size:11px}.issue-detail-breakdown-v2{min-width:132px;color:var(--foreground-strong);line-height:1.6}.issue-detail-breakdown-v2 small{color:var(--foreground-muted)!important}.issue-detail-revoked-v2{color:var(--danger)}.issue-detail-status-issued,.issue-detail-status-used,.issue-detail-status-part-used{background:var(--brand-soft);color:var(--brand)}.issue-detail-status-partial,.issue-detail-status-revoked{background:#fff0ec;color:var(--danger)}.issue-details-mobile-list-v2{display:none}.issue-detail-mobile-meta-v2,.issue-detail-mobile-breakdown-v2,.issue-detail-mobile-revoked-v2{margin:7px 0 0;color:var(--foreground-secondary);font-size:12px}.issue-detail-mobile-breakdown-v2{color:var(--foreground-strong)}.issue-detail-mobile-revoked-v2{color:var(--danger);font-weight:700}
.pagination-shell-v2{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:18px;padding-top:14px;border-top:1px solid var(--divider);flex-wrap:wrap}.pagination-controls-v2{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.pagination-controls-v2 .button,.pagination-controls-v2 a{min-height:36px;padding:9px 11px;font-size:12px}.pagination-controls-v2 .is-disabled{opacity:.42;cursor:not-allowed;pointer-events:none}.pagination-near-pages{display:inline-flex;align-items:center;gap:4px;margin:0 2px}.pagination-near-pages a,.pagination-near-pages b{display:grid;place-items:center;min-width:30px;height:32px;padding:0 7px;border-radius:9px;text-decoration:none;color:var(--foreground-secondary);font-size:13px}.pagination-near-pages a:hover{background:var(--brand-soft);color:var(--brand)}.pagination-near-pages b{background:var(--brand);color:#fff}.pagination-jump-v2{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0}.pagination-jump-v2 label{display:inline-flex;align-items:center;gap:4px;margin:0;color:var(--foreground-secondary);font-size:12px;white-space:nowrap}.pagination-jump-v2 input{width:58px;height:36px;padding:0 8px;text-align:center}.pagination-jump-v2 select{width:88px;height:36px;padding:0 8px;font-size:12px}.pagination-jump-v2 button{min-height:36px;padding:9px 11px;font-size:12px}
.issue-people-list-v2{max-height:none!important;overflow:visible!important}.issue-config-panel-v2{align-self:start;position:sticky;top:88px;z-index:2}
@media(max-width:850px){.issue-details-summary-v2{grid-template-columns:repeat(2,minmax(0,1fr))}.pagination-shell-v2{align-items:stretch}.pagination-controls-v2,.pagination-jump-v2{width:100%;justify-content:center}.issue-details-panel-v2{padding:16px}}
@media(max-width:700px){.issue-details-table-v2{display:none}.issue-details-mobile-list-v2{display:grid;gap:9px}.issue-details-summary-v2 b{font-size:22px}.issue-config-panel-v2{position:static;z-index:auto}}
@media(max-width:520px){.issue-details-summary-v2{gap:8px}.issue-details-summary-v2>div{padding:12px}.pagination-controls-v2{gap:4px}.pagination-controls-v2 .button,.pagination-controls-v2 a{padding:8px 8px}.pagination-near-pages a,.pagination-near-pages b{min-width:26px}.pagination-jump-v2{flex-wrap:wrap}.issue-details-filter-v2 form{align-items:stretch}}

/* 发券明细筛选：桌面端压缩为一行，窄屏自动换行，避免不必要的纵向占用。 */
.issue-details-filter-form-v2{display:flex;align-items:flex-end;gap:8px;flex-wrap:nowrap}
.issue-details-filter-form-v2>label{flex:0 1 150px;min-width:108px;margin:0;color:var(--foreground-secondary);font-size:12px;font-weight:650}
.issue-details-filter-form-v2>label.filter-grow{flex:1 1 260px;min-width:180px}
.issue-details-filter-form-v2>label input,.issue-details-filter-form-v2>label select{display:block;width:100%;min-width:0;height:42px;margin-top:5px;padding-top:9px;padding-bottom:9px;font-size:14px}
.issue-details-filter-form-v2 .filter-toolbar-actions{flex:0 0 auto;align-self:flex-end}
@media(max-width:1450px) and (min-width:768px){
  .issue-details-filter-form-v2{flex-wrap:wrap}
  .issue-details-filter-form-v2>label{flex-basis:132px}
  .issue-details-filter-form-v2>label.filter-grow{flex-basis:220px}
  .issue-details-filter-form-v2 .filter-toolbar-actions{margin-left:auto}
}
@media(max-width:767px){
  .issue-details-filter-form-v2{display:block}
  .issue-details-filter-form-v2>label{display:block;width:auto;margin:0 0 11px}
  .issue-details-filter-form-v2>label input,.issue-details-filter-form-v2>label select{height:44px}
}
