@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

:root { --ink:#171717; --muted:#706f69; --line:#e4e2dc; --paper:#faf9f6; --white:#fff; --yellow:#ffd52f; --yellow-soft:#fff6cf; --green:#167a55; --green-soft:#e8f5ee; --red:#a63d35; --red-soft:#fdebea; --radius:10px; }
* { box-sizing:border-box; }
html { -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body { margin:0; background:var(--paper); color:var(--ink); font:15px/1.5 'DM Sans',system-ui,sans-serif; }
button,input,select,textarea { font-family:'DM Sans',system-ui,sans-serif; font-size:16px; line-height:1.35; }
button { cursor:pointer; }
a { color:inherit; text-decoration:none; }
.app { max-width:1240px; margin:auto; padding:0 24px 60px; }
.topbar { height:78px; border-bottom:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; }
.brand,.public-brand,.brand-large { display:flex; align-items:center; gap:10px; }
.brand b,.brand-large b { display:block; font-size:20px; font-weight:700; }
.brand small,.brand-large small { display:block; color:var(--muted); font-size:10px; font-weight:600; text-transform:uppercase; letter-spacing:.12em; }
.brand-mark { display:grid; place-items:center; width:34px; height:34px; background:var(--yellow); border-radius:50%; font-size:17px; font-weight:700; }
.top-actions { display:flex; align-items:center; gap:12px; }
.user-chip { color:var(--muted); font-size:13px; }
.content { padding-top:42px; }
.page-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:28px; }
.eyebrow { color:var(--muted); font-size:11px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; }
.page-heading h1 { margin:8px 0 0; font-size:36px; line-height:1.1; font-weight:700; }
.page-heading h2,.section-head h2 { margin:5px 0 0; font-size:22px; line-height:1.2; font-weight:700; }
.button { min-height:44px; padding:11px 16px; border:1px solid transparent; border-radius:8px; font-weight:700; transition:.2s; }
.button:disabled { opacity:.6; cursor:wait; }
.button.primary { background:var(--yellow); color:var(--ink); }
.button.dark { background:var(--ink); color:#fff; }
.button.danger { background:var(--red); color:#fff; }
.button.ghost { background:transparent; border-color:var(--line); }
.button:hover { transform:translateY(-1px); }
.stats { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:18px; }
.admin-stats { grid-template-columns:repeat(5,minmax(0,1fr)); }
.admin-stats .stat { min-width:0; }
.stat,.surface,.hero-callout,.scan-hero { padding:22px; background:var(--white); border:1px solid var(--line); border-radius:var(--radius); }
.stat span,.stat small { display:block; color:var(--muted); font-size:12px; }
.stat strong { display:block; margin:7px 0; font-size:32px; line-height:1; font-weight:700; }
.location-filter { display:grid; align-content:start; gap:7px; }
.location-filter select { width:100%; min-width:0; padding:7px 28px 7px 0; border:0; border-bottom:1px solid var(--line); outline:none; background:linear-gradient(45deg,transparent 50%,var(--muted) 50%) calc(100% - 8px) 55%/5px 5px no-repeat,linear-gradient(135deg,var(--muted) 50%,transparent 50%) calc(100% - 3px) 55%/5px 5px no-repeat transparent; color:var(--ink); font-size:15px; font-weight:700; appearance:none; -webkit-appearance:none; }
.location-filter select:focus { border-color:var(--ink); }
.split { display:grid; grid-template-columns:1.7fr 1fr; gap:18px; margin-bottom:18px; }
.surface { margin-bottom:18px; }
.section-head { display:flex; justify-content:space-between; gap:16px; align-items:center; margin-bottom:18px; }
.table-wrap { overflow:auto; }
table { width:100%; min-width:620px; border-collapse:collapse; }
th { padding:0 12px 10px; color:var(--muted); font-size:11px; font-weight:700; letter-spacing:.1em; text-align:left; text-transform:uppercase; }
td { padding:14px 12px; border-top:1px solid var(--line); vertical-align:middle; }
td:first-child b,td:first-child small { display:block; }
td small,.account small { display:block; color:var(--muted); font-size:12px; }
.status { display:inline-flex; align-items:center; justify-content:center; white-space:nowrap; width:max-content; padding:5px 10px; border-radius:6px; background:#f1f1ef; color:#666; font-size:11px; line-height:1.3; font-weight:700; }
.status.positive { background:var(--green-soft); color:var(--green); }
.status.warning { background:var(--yellow-soft); color:#8b5b11; }
.status.negative { background:var(--red-soft); color:var(--red); }
.account-list { display:grid; gap:4px; }
.account { display:flex; align-items:center; gap:10px; padding:12px 0; border-bottom:1px solid var(--line); }
.account:last-child { border:0; }
.account>div { flex:1; }
.account-quota { margin-top:3px; color:var(--green)!important; font-weight:600; }
.account>.table-action { flex:0 0 auto; }
.avatar { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; background:var(--yellow); font-weight:700; }
.avatar.dark { background:var(--ink); color:#fff; }
.empty,.muted { color:var(--muted); }
.hero-callout,.scan-hero { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:18px; background:var(--yellow-soft); border-color:#efdb78; }
.hero-callout h2,.scan-hero h2 { margin:7px 0; font-size:25px; line-height:1.2; font-weight:700; }
.hero-callout p,.scan-hero p { margin:0; color:var(--muted); }
.scan-icon { display:grid; place-items:center; width:68px; height:68px; border:2px solid var(--ink); border-radius:10px; font-weight:700; }
.form { display:grid; gap:14px; }
.form label { display:grid; gap:6px; font-size:13px; font-weight:700; }
.form label small,.optional { color:var(--muted); font-size:11px; font-weight:400; }
.form input,.form select { width:100%; min-height:50px; padding:13px 14px; border:1px solid #d8d5cc; border-radius:8px; outline:none; background:#fff; font-size:16px; line-height:1.35; appearance:none; -webkit-appearance:none; }
.form input[readonly] { color:var(--ink); background:#fff; opacity:1; }
.form input:focus,.form select:focus { border-color:var(--ink); box-shadow:0 0 0 3px #0000000d; }
.grid-form { grid-template-columns:repeat(2,1fr); align-items:end; }
.full-width { grid-column:1/-1; }
.hotel-editor-grid { display:grid; grid-template-columns:1fr 1fr; gap:28px; align-items:start; }
.allowance-panel { padding:22px; border-radius:var(--radius); background:var(--yellow-soft); border:1px solid #efdb78; }
.allowance-month-picker { display:grid; grid-template-columns:1fr auto; align-items:center; gap:12px; font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.allowance-month-picker input { min-height:42px; padding:9px 12px; border:1px solid #d8c55f; border-radius:8px; background:#fff; color:var(--ink); font:600 14px/1.2 'DM Sans',system-ui,sans-serif; }
.allowance-month-picker input:focus { outline:none; border-color:var(--ink); box-shadow:0 0 0 3px #0000000d; }
.allowance-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:18px 0 22px; }
.allowance-stats>div { padding:12px; border-radius:8px; background:#fff; border:1px solid #eadf9f; }
.allowance-stats strong,.allowance-stats span { display:block; }
.allowance-stats strong { font-size:26px; line-height:1.1; }
.allowance-stats span { margin-top:4px; color:var(--muted); font-size:11px; }
.allowance-help { margin:16px 0 0; font-size:12px; }
.allowance-divider { height:1px; margin:20px 0; background:#dfcc70; }
.allowance-form .notice { margin-top:2px; }
.allowance-value-row { display:grid; grid-template-columns:minmax(0,1fr) 112px; gap:10px; align-items:start; }
.allowance-value-row label { min-width:0; }
.hotel-stats { grid-template-columns:repeat(3,1fr); }
.hotel-stats-value { grid-template-columns:repeat(4,1fr); }
.modal-backdrop { position:fixed; inset:0; z-index:1000; display:grid; place-items:center; padding:20px; background:#17171799; backdrop-filter:blur(3px); }
.confirm-modal { width:min(100%,460px); padding:28px; border:1px solid var(--line); border-radius:14px; background:#fff; box-shadow:0 24px 80px #0004; }
.confirm-modal h2 { margin:7px 0 10px; font-size:26px; line-height:1.2; }
.confirm-modal p { margin:0; color:var(--muted); }
.modal-actions { display:flex; justify-content:flex-end; gap:10px; margin-top:24px; }
.notice { padding:12px 14px; border-radius:8px; background:#f1f1ef; color:var(--muted); }
.notice.success { background:var(--green-soft); color:var(--green); }
.notice.danger { background:var(--red-soft); color:var(--red); }
.icon-button { border:0; background:none; color:var(--red); font-size:12px; font-weight:700; }
.row-actions { vertical-align:middle; white-space:nowrap; }
.row-action-buttons { display:flex; align-items:center; gap:8px; }
.table-action { padding:6px 9px; border:1px solid var(--line); border-radius:6px; background:#fff; color:var(--ink); font-size:12px; font-weight:700; }
.table-action:hover { border-color:var(--ink); }
.login-page { min-height:100vh; display:grid; grid-template-columns:1.1fr .9fr; }
.login-visual { display:flex; flex-direction:column; justify-content:space-between; padding:48px 7vw; background:var(--yellow); }
.login-copy { max-width:480px; padding-bottom:10vh; }
.login-copy h1 { margin:18px 0; font-size:clamp(42px,5vw,64px); line-height:1.02; font-weight:700; }
.login-copy em,.voucher-top em { font-style:normal; font-weight:400; }
.login-copy p { max-width:330px; font-size:17px; }
.login-form { display:flex; flex-direction:column; justify-content:center; padding:48px 9vw; background:var(--paper); }
.form-intro { margin-bottom:30px; }
.form-intro h2 { margin:7px 0; font-size:32px; font-weight:700; }
.form-intro p { margin:0; }
.login-form .button { margin-top:8px; }
.public-page { display:flex; flex-direction:column; justify-content:center; min-height:100vh; min-height:100dvh; padding:max(28px,env(safe-area-inset-top,0px)) 16px max(28px,env(safe-area-inset-bottom,0px)); background:#20201e; }
.public-brand { flex-shrink:0; width:100%; max-width:600px; margin:0 auto 20px; color:#fff; font-size:20px; font-weight:700; }
.public-brand .brand-logo { mix-blend-mode:screen; }
.public-brand .brand-logo img { filter:invert(1); }
.voucher-pass { flex-shrink:0; width:100%; max-width:600px; margin:0 auto; padding-bottom:20px; overflow:hidden; border-radius:14px; background:#fff; }
.voucher-top { position:relative; padding:34px 32px; background:var(--yellow); }
.voucher-top h1 { margin:22px 0 12px; font-size:44px; line-height:1.04; font-weight:700; }
.value-badge { position:absolute; right:28px; bottom:28px; display:grid; place-items:center; align-content:center; width:82px; height:82px; border:2px solid var(--ink); border-radius:50%; }
.value-badge small { font-size:9px; font-weight:700; }
.value-badge b { font-size:17px; font-weight:700; }
.voucher-body { display:flex; justify-content:space-between; align-items:center; gap:22px; padding:26px 32px; }
.voucher-meta { display:grid; gap:5px; }
.voucher-meta span { color:var(--muted); font-size:12px; }
.voucher-meta b { font-size:21px; letter-spacing:.06em; }
.qr { flex:0 0 auto; width:178px; height:178px; padding:10px; object-fit:contain; background:#fff; border:1px solid #eceae3; border-radius:8px; image-rendering:pixelated; }
.voucher-tags { display:flex; flex-wrap:wrap; gap:7px; padding:0 32px 25px; }
.voucher-tags span { padding:5px 9px; border-radius:999px; background:#f0f0ed; font-size:11px; }
.voucher-pass>.status { margin:0 32px; }
.voucher-note { padding:0 32px; color:var(--muted); font-size:13px; }
.voucher-actions { display:flex; gap:9px; padding:16px 32px 28px; }
.voucher-print-controls { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:10px; width:100%; max-width:600px; margin:20px auto 0; }
.voucher-print-controls .button { display:inline-flex; align-items:center; justify-content:center; text-align:center; }
.voucher-print-controls .button.dark { background:var(--yellow); border-color:var(--yellow); color:var(--ink); }
.voucher-print-controls .button.ghost { background:var(--white); border-color:var(--white); color:var(--ink); }
.voucher-print-controls .button:focus-visible { outline:2px solid #fff; outline-offset:4px; }
.voucher-print-controls small { flex:0 0 100%; text-align:center; color:#fff; }
.voucher-print-controls .button:disabled { opacity:.5; cursor:default; }
.redeem-card { max-width:600px; scroll-margin-bottom:180px; }
.redeem-code { margin:22px 0; font-size:32px; font-weight:700; letter-spacing:.04em; }
.redeem-card dl { display:grid; grid-template-columns:1fr 2fr; margin:0 0 24px; }
.redeem-card dt,.redeem-card dd { margin:0; padding:9px 0; border-bottom:1px solid var(--line); }
.redeem-card dt { color:var(--muted); }
.public-loading { padding:100px; color:#fff; text-align:center; }
.setup-card { max-width:500px; margin:8vh auto; padding:32px; border:1px solid var(--line); border-radius:var(--radius); background:#fff; }
.setup-card h1 { margin:8px 0 10px; font-size:34px; font-weight:700; }
.setup-card .form { margin-top:25px; }
@media(max-width:760px) { .app{padding:0 14px calc(72px + env(safe-area-inset-bottom,0px))}.topbar{height:68px}.content{padding-top:28px}.page-heading{align-items:start;flex-direction:column}.page-heading h1{font-size:32px}.page-heading>.button{width:100%}.stats,.admin-stats{grid-template-columns:repeat(2,1fr)}.hotel-stats,.hotel-stats-value{grid-template-columns:1fr}.stat{padding:16px}.stat strong{font-size:28px}.split{grid-template-columns:1fr}.account{flex-wrap:wrap}.account>div{min-width:150px}.hero-callout,.scan-hero{align-items:start;flex-direction:column}.hero-callout .button{width:100%}.grid-form,.hotel-editor-grid{grid-template-columns:1fr}.full-width{grid-column:auto}.allowance-panel{padding:16px}.confirm-modal{padding:22px}.modal-actions{display:grid;grid-template-columns:1fr}.modal-actions .button{width:100%}.login-page{grid-template-columns:1fr;min-height:100svh}.login-visual{min-height:42svh;padding:28px 24px}.login-copy{padding:30px 0 10px}.login-copy h1{font-size:44px}.login-form{justify-content:start;padding:38px 24px calc(80px + env(safe-area-inset-bottom,0px))}.voucher-top{padding:26px 22px}.voucher-top h1{font-size:38px}.value-badge{right:18px;bottom:20px;width:72px;height:72px}.voucher-body{display:grid;grid-template-columns:1fr;align-items:start;padding:22px}.voucher-tags{padding:0 22px 20px}.voucher-pass>.status{margin:0 22px}.voucher-note{padding:0 22px}.voucher-actions{flex-direction:column;padding:14px 22px 22px}.voucher-actions .button{width:100%}.qr{justify-self:center;width:min(78vw,260px);height:min(78vw,260px);padding:14px} }
@media print { .public-page{display:block;min-height:0;padding:0;background:#fff}.public-brand,.voucher-actions,.voucher-print-controls{display:none}.voucher-pass{max-width:none}.voucher-top{print-color-adjust:exact;-webkit-print-color-adjust:exact} }

.password-setup { max-width: 560px; margin: 0 auto; }

/* Display the original Meron app logo without its surrounding white margin. */
.brand-logo { display:block; flex:none; position:relative; width:36px; height:42px; overflow:hidden; mix-blend-mode:multiply; }
.brand-logo img { position:absolute; width:90px; height:90px; max-width:none; left:50%; top:50%; transform:translate(-50%,-50%); object-fit:contain; }
.brand-large .brand-logo { width:48px; height:56px; }
.brand-large .brand-logo img { width:120px; height:120px; }

@media (max-width:760px) {
  .login-page { grid-template-rows:auto 1fr; }
  .login-visual { min-height:0; justify-content:flex-start; gap:18px; padding:24px; }
  .login-copy { padding:0; max-width:none; }
  .login-copy > .eyebrow { display:none; }
  .login-copy h1 { margin:0 0 12px; font-size:clamp(28px,8.5vw,38px); line-height:1.08; }
  .login-copy p { margin:0; max-width:none; font-size:14px; }
  .brand-large .brand-logo { width:36px; height:42px; }
  .brand-large .brand-logo img { width:90px; height:90px; }
  .login-form { padding:26px 24px calc(32px + env(safe-area-inset-bottom,0px)); }
  .login-form .form-intro { margin-bottom:18px; }
  .login-form .form-intro h2 { font-size:28px; }
}

.account-modal { width:min(760px,calc(100% - 32px)); max-height:calc(100svh - 32px); padding:0; border:1px solid var(--line); border-radius:14px; background:var(--white); color:var(--ink); box-shadow:0 24px 80px #0004; overflow:auto; }
.account-modal::backdrop { background:#17171799; backdrop-filter:blur(3px); }
.account-modal > .surface { margin:0; padding:28px; border:0; }
.account-modal .grid-form { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; }
.account-modal .grid-form > * { min-width:0; }
body:has(.account-modal[open]) { overflow:hidden; }
@media(max-width:760px) {
  .account-modal > .surface { padding:22px; }
  .account-modal .grid-form { grid-template-columns:1fr; }
  .account-modal .section-head { align-items:flex-start; }
}


.hotel-details-summary { align-self:start; }
.hotel-details-summary h3 { margin:6px 0 22px; font-size:22px; }
.hotel-details-summary dl { display:grid; gap:6px; margin:0 0 24px; }
.hotel-details-summary dt { color:var(--muted); font-size:12px; }
.hotel-details-summary dd { margin:0 0 14px; font-weight:600; overflow-wrap:anywhere; }
.hotel-details-summary .notice { margin-top:16px; }

.admin-tabs { display:flex; gap:8px; margin:0 0 24px; padding-bottom:12px; border-bottom:1px solid var(--line); }
.admin-tab { min-height:44px; padding:11px 20px; border:1px solid transparent; border-radius:8px; background:transparent; color:var(--muted); font-weight:700; }
.admin-tab[aria-selected="true"] { background:var(--yellow); color:var(--ink); }
.admin-tab:focus-visible { outline:2px solid var(--ink); outline-offset:3px; }
.admin-tab-panel[hidden] { display:none; }
@media(max-width:760px) {
  .admin-tabs { gap:6px; }
  .admin-tab { flex:1; padding:11px 12px; }
  #admin-hotels-panel > .surface > .section-head { align-items:flex-start; flex-wrap:wrap; }
}

.confirm-modal::backdrop { background:#17171799; backdrop-filter:blur(3px); }
.confirm-modal { max-height:calc(100svh - 32px); overflow:auto; color:var(--ink); }
.account > .hotel-row-actions { display:flex; flex:0 0 auto; gap:8px; }
.hotel-details-actions { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.hotel-details-actions .modal-actions { margin:0; }
.allowance-modal { width:min(650px,calc(100% - 32px)); }
@media(max-width:760px) {
  .account > .hotel-row-actions { flex:0 0 100%; justify-content:flex-end; }
  .hotel-details-actions { align-items:stretch; flex-direction:column; }
  .hotel-details-actions .modal-actions { width:100%; }
}

.modal-close { display:grid; place-items:center; flex:0 0 44px; width:44px; height:44px; padding:0; font-size:28px; font-weight:400; line-height:1; }
.modal-close span { line-height:1; }
.confirm-modal .section-head { align-items:flex-start; margin-bottom:10px; }
.confirm-modal .section-head h2 { margin-bottom:0; }

.allowance-grant-row { grid-template-columns:minmax(0,1fr) minmax(0,1fr) 112px; }
@media(max-width:520px) { .allowance-grant-row { grid-template-columns:1fr; } }

.location-selector { border:1px solid #e8d674; border-radius:8px; padding:12px; min-width:0; margin:0; }
.location-selector legend { font-size:13px; font-weight:700; padding:0 4px; }
.location-selector > small { display:block; margin-top:8px; color:var(--muted); font-size:11px; }
.location-options { max-height:180px; overflow:auto; margin-top:10px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
.form .location-choice { display:flex; align-items:flex-start; gap:10px; padding:10px; background:#fff; border:1px solid var(--line); border-radius:6px; cursor:pointer; }
.location-choice[hidden] { display:none; }
.form .location-choice input[type="checkbox"] { appearance:auto; -webkit-appearance:checkbox; width:22px; min-height:22px; height:22px; padding:0; flex:0 0 22px; margin:1px 0; border-radius:3px; accent-color:var(--ink); cursor:pointer; }
.form .location-choice:has(input:checked) { background:var(--yellow-soft); border-color:#cfb642; }
.location-count { font-size:12px; font-weight:600; margin:8px 0 0; }
.location-choice small { display:block; }
@media(max-width:520px) { .location-options { grid-template-columns:1fr; } }

.saved-locations { padding:12px; border:1px solid #e8d674; border-radius:8px; font-size:13px; }
.saved-locations p { margin:6px 0 0; color:var(--muted); }

.product-editor { display:grid; gap:8px; min-width:0; }
.product-entry { display:flex; gap:8px; }
.product-entry input { flex:1; min-width:0; }
.product-chips { display:flex; flex-wrap:wrap; gap:8px; }
.product-chip { display:inline-flex; align-items:center; gap:8px; padding:4px 6px 4px 12px; background:var(--yellow-soft); border:1px solid #e8d674; border-radius:20px; font-size:13px; overflow-wrap:anywhere; }
.product-chip button { display:grid; place-items:center; flex:0 0 32px; width:32px; height:32px; padding:0; border:0; border-radius:50%; background:transparent; color:var(--ink); font-size:22px; }
.product-chip button:hover { background:#0001; }
.product-editor > small { color:var(--muted); font-size:11px; }

.section-actions { display:flex; flex-wrap:wrap; gap:8px; }
.button.download-action { display:inline-grid; place-items:center; width:44px; height:44px; padding:0; flex:0 0 44px; }
.download-action svg { width:21px; height:21px; }
.download-action:focus-visible { outline:2px solid var(--ink); outline-offset:3px; }
.export-help { margin:0; font-size:12px; }
@media(max-width:520px) { #admin-vouchers-panel .section-head { align-items:flex-start; flex-wrap:wrap; } }

.hotel-export-field { display:grid; gap:6px; }
.field-label { font-size:13px; font-weight:700; }
.hotel-checkbox-dropdown { position:relative; }
.hotel-dropdown-trigger { width:100%; min-height:50px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 14px; border:1px solid #d8d5cc; border-radius:8px; background:#fff; color:var(--ink); text-align:left; font-size:16px; }
.hotel-dropdown-trigger:focus-visible { outline:2px solid var(--ink); outline-offset:2px; }
.hotel-dropdown-panel { position:relative; margin-top:6px; z-index:20; padding:12px; border:1px solid var(--line); border-radius:8px; background:#fff; box-shadow:0 12px 32px #0002; }
.hotel-dropdown-panel[hidden] { display:none; }
.hotel-dropdown-panel .location-options { grid-template-columns:1fr; max-height:180px; }
.hotel-dropdown-panel > small { display:block; font-size:11px; color:var(--muted); margin-top:8px; }

.hotel-dropdown-trigger[aria-expanded="true"] > span:last-child { transform:rotate(180deg); }

.voucher-generate-form{width:320px;max-width:100%;flex-shrink:0;grid-template-columns:90px minmax(0,1fr);align-items:end;gap:10px}.voucher-generate-form>label{grid-column:1;grid-row:1}.voucher-generate-form input{text-align:center}.voucher-generate-form>[data-generate]{grid-column:2;grid-row:1;min-height:50px}.voucher-generate-form>[data-generation-cost]{grid-column:1/-1;grid-row:2;line-height:1.5}.voucher-history{padding:0 32px 16px;font-size:14px}.voucher-history ul{padding-left:20px}.status.warning{background:#fff2bf;color:#6a5100}
@media(max-width:760px){.voucher-generate-form{width:100%}.voucher-history{padding:0 22px 16px}}

@media(max-width:400px){.voucher-generate-form{grid-template-columns:80px minmax(0,1fr);gap:8px}.voucher-generate-form>[data-generate]{padding:12px 8px;font-size:13px}}

.stats.hotel-stats-balance{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.balance-explanation{margin:0 0 18px;font-size:13px;line-height:1.5}
.monthly-allowance{display:flex;flex-direction:column;min-width:0}.monthly-allowance small{flex:1}.monthly-allowance select{display:block;align-self:center;box-sizing:border-box;width:100%;min-width:0;max-width:180px;margin:12px 0 0;padding:9px 4px;border:1px solid var(--line);border-radius:6px;background:var(--paper);font:inherit;font-size:13px;color:var(--ink);appearance:none;-webkit-appearance:none;text-align:center;text-align-last:center}
.history-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:18px}.history-pagination>small{color:var(--muted)}.history-pagination>div{display:flex;align-items:center;gap:12px}.history-pagination span{font-size:13px}.history-pagination .button{padding:9px 12px}.history-pagination .button:disabled{opacity:.45;cursor:default}@media(max-width:480px){.history-pagination>div{width:100%;justify-content:space-between;gap:6px}}
@media(max-width:760px){.stats.hotel-stats-balance{grid-template-columns:repeat(2,minmax(0,1fr))}.hotel-stats-balance>.stat:last-child:nth-child(odd){grid-column:1/-1}}



.voucher-generate-form{width:470px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.voucher-generate-form>label:first-child{grid-column:1;grid-row:1}.voucher-generate-form>label:nth-child(2){grid-column:2;grid-row:1}.voucher-generate-form input{box-sizing:border-box;width:100%;min-width:0;max-width:100%;font-size:14px}.voucher-generate-form>[data-generate]{grid-column:1/-1;grid-row:3}.voucher-generate-form>[data-generation-cost]{grid-column:1/-1;grid-row:2}.voucher-generate-form input::-webkit-date-and-time-value{text-align:center}

.voucher-generate-form>.voucher-generation-note{grid-column:1/-1;grid-row:2}.voucher-generate-form>[data-generation-cost]{grid-row:3}.voucher-generate-form>[data-generate]{grid-row:4}.voucher-internal-note{white-space:pre-wrap;overflow-wrap:anywhere;max-width:260px}.form textarea{box-sizing:border-box;width:100%;padding:12px;border:1px solid var(--line);border-radius:8px;font:inherit;resize:vertical}

.voucher-note-cell{min-width:150px;max-width:280px}.voucher-note-content{display:flex;align-items:center;gap:10px}.voucher-note-content>.voucher-internal-note{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;min-width:0}.note-edit-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:32px;padding:6px}.note-edit-icon svg{width:17px;height:17px}
