:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#25372d;background:#f6f5f0;font-synthesis:none;--green:#29543c;--muted:#7c837c;--border:#e5e7de}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button{transition:background .15s,transform .15s}button:active{transform:translateY(1px)}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:3px solid #a4b38b;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #9bad8d;outline-offset:1px}.topbar{height:94px;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 max(32px,calc((100vw - 1240px)/2))}.brand{font-size:23px;font-weight:700;letter-spacing:-1px;display:flex;align-items:center;gap:11px}.brand-icon{background:var(--green);color:#fff;width:36px;height:36px;display:grid;place-items:center;border-radius:11px;font-size:24px;transform:rotate(-7deg)}.brand-dot{color:#94a66c;margin-left:-9px}.local-label{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted)}.local-label>span{width:6px;height:6px;background:#81a17a;border-radius:50%}main{max-width:1240px;margin:auto;padding:0 0 26px}.intro{display:flex;justify-content:space-between;align-items:center;padding:54px 0 42px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:#7f8977}h1{font-size:clamp(36px,4vw,53px);line-height:1.12;letter-spacing:-2px;margin:19px 0 18px;font-weight:650}h1>span{color:#859477}.intro p{color:#7a8178;line-height:1.8;font-size:14px;margin:0}.intro-art{position:relative;width:340px;padding:20px 24px;display:flex;justify-content:center}.ticket{background:#e6ebd8;width:250px;padding:27px 24px 20px;transform:rotate(9deg);box-shadow:0 10px 30px #424d2910;position:relative;border-radius:12px}.ticket:before,.ticket:after{content:"";width:24px;height:24px;background:#f6f5f0;position:absolute;border-radius:50%;top:135px}.ticket:before{left:-12px}.ticket:after{right:-12px}.ticket>span{font-size:9px;letter-spacing:2px;color:#75815f}.ticket strong{font-size:73px;display:block;line-height:1.5;font-weight:600;letter-spacing:-5px}.ticket-line{border-top:1px dashed #b1bba0;margin:0 -8px 15px}.ticket small{font-size:9px;color:#79876a}.spark{position:absolute;font-size:72px;color:#b7a45d;right:17px;bottom:6px;transform:rotate(9deg)}.stats{display:grid;grid-template-columns:repeat(3,1fr);background:#eeeee6;border:1px solid #e5e7dc;border-radius:14px;padding:23px 0;margin-bottom:43px}.stats>div{display:grid;grid-template-columns:1fr auto;padding:0 27px;gap:7px}.stats>div+div{border-left:1px solid #dcded2}.stat-label{font-size:12px;display:flex;align-items:center;gap:6px}.stats strong{font-size:29px;font-weight:550;grid-row:span 2;align-self:center}.stat-description{font-size:10px;color:#858a7d}.yellow-dot{width:6px;height:6px;border-radius:50%;background:#b69644}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}h2{font-size:23px;letter-spacing:-.7px;margin:0;font-weight:600}h2>span{display:inline-block;font-size:12px;vertical-align:middle;border:1px solid #dce1d6;border-radius:7px;padding:3px 7px;color:#829076;margin-left:7px}.section-heading p{font-size:12px;color:#868b80;margin:8px 0 0}.primary,.secondary,.danger{border:0;border-radius:8px;padding:13px 19px;font-size:12px;font-weight:600;display:inline-flex;gap:9px;align-items:center;justify-content:center}.primary{color:white;background:var(--green)}.primary:hover{background:#1b402d}.primary>span{font-size:19px;line-height:14px;font-weight:400}.secondary{background:#f0f1ea;color:#53604e}.danger{background:#a54037;color:white}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:17px}.tabs{display:flex;background:#eaece3;border-radius:8px;padding:4px;gap:3px}.tabs button{border:0;background:transparent;border-radius:5px;padding:8px 14px;font-size:11px;color:#7c8475}.tabs button.selected{background:#fff;color:#355039;box-shadow:0 1px 4px #24372b0b}.search{display:flex;align-items:center;gap:8px;color:#8c9488}.search>span{font-size:26px;line-height:20px}.search input{border:0;background:transparent;width:250px;padding:8px 0;font-size:12px;color:#3d4b3c}.search input::placeholder{color:#93998d}.collection{background:#fff;border:1px solid var(--border);border-radius:14px;padding:26px 26px 0;overflow:hidden}.table-wrap{overflow:auto;margin:0 -26px}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}thead{background:#f8f9f5;color:#8b9185}th{font-size:10px;font-weight:500;padding:14px 16px;white-space:nowrap;border-top:1px solid #eef0e8;border-bottom:1px solid #eef0e8}th:first-child{padding-left:27px;width:32%}th:last-child{width:78px}td{padding:23px 16px;vertical-align:middle;border-bottom:1px solid #eef0e8}td:first-child{padding-left:27px}th button{border:0;padding:0;background:transparent;font-size:inherit;color:inherit}th button span{margin-left:5px}td .store{font-size:13px;font-weight:600;color:#344333;display:block;overflow-wrap:anywhere}.store-cell{display:flex;gap:12px;align-items:center}.store-avatar{flex-shrink:0;width:35px;height:35px;display:grid;place-items:center;background:#eff1e9;color:#6d7f5e;border:1px solid #e4e8da;border-radius:10px;font-size:14px;font-weight:600}.store-details{min-width:0}.notes{font-size:11px;color:#8a9184;max-width:340px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.promo{font-size:10px;justify-self:start;padding:4px 7px;border:1px dashed #bdc8ad;border-radius:4px;background:#f8faf3;color:#637453;cursor:pointer;max-width:240px;overflow-wrap:anywhere}.amount{font-weight:600;letter-spacing:-.5px;white-space:nowrap}.cap,.date-caption{color:#8f9688;white-space:nowrap}.money,.date{white-space:nowrap}.badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:10px;padding:6px 9px;border-radius:5px;background:#eef4e8;color:#66814f}.badge:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.badge.soon{background:#faf2d9;color:#ac8731}.badge.expired{background:#eeefeb;color:#90958a}tr.expired{background:#fafbf8}tr.expired .store,tr.expired .amount,tr.expired .money,tr.expired .date{color:#8e9689}tr.expired .amount:not(.empty-value){text-decoration:line-through;text-decoration-thickness:1px}.row-actions{display:flex;gap:3px}.icon-button{border:0;background:transparent;padding:7px;color:#83907b;border-radius:6px;width:30px;height:30px;display:grid;place-items:center}.icon-button:hover{background:#edf0e6;color:#355039}.icon-button svg{width:15px;height:15px}.empty{text-align:center;padding:45px 20px 46px}.empty-icon{width:57px;height:57px;background:#f0f3e8;border:1px solid #e6ecdb;border-radius:17px;margin:0 auto 18px;font-size:30px;color:#8d9e73;transform:rotate(-8deg);display:grid;place-items:center}.empty h3{font-size:15px;font-weight:550;margin:0 0 10px}.empty p{color:#959c8d;font-size:12px;line-height:1.7;margin:0}.text-button{color:#4b6b37;font-size:12px;font-weight:600;background:transparent;border:0;padding:15px 8px 0}.text-button span{margin-left:5px}.table-footer{display:flex;justify-content:space-between;padding:15px 0;font-size:10px;color:#9ba192;border-top:1px solid #eef0e8}footer{display:flex;justify-content:space-between;align-items:center;margin-top:25px;font-size:11px;color:#909888}footer>div{display:flex;gap:12px;align-items:center}footer button{background:transparent;border:0;color:#748366;font-size:11px;padding:6px}.privacy{display:flex;gap:7px;align-items:center}.storage-note{font-size:10px;line-height:1.6;color:#9ba192;margin:13px 0 0}dialog{border:1px solid #e4e8dc;border-radius:16px;width:min(570px,calc(100% - 24px));padding:0;color:#344333;box-shadow:0 30px 120px #16251833;max-height:calc(100dvh - 32px)}dialog::backdrop{background:#1a291c55;backdrop-filter:blur(4px)}form{padding:30px}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px}.dialog-heading h2{margin-top:9px}.dialog-heading .icon-button{align-self:flex-start}form label{display:flex;flex-direction:column;gap:8px;font-size:12px;margin-bottom:18px}form input,form select,form textarea{width:100%;border:1px solid #dfe4d7;border-radius:7px;padding:11px 12px;background:#fcfdf9;color:#344333;font-size:13px;min-width:0}form input::placeholder,form textarea::placeholder{color:#a3aa99;font-size:12px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.optional{color:#98a08c;font-size:10px}.form-row .optional{margin-top:-3px;margin-bottom:0}label:has(.optional)>input{margin-top:0}.form-hint{font-size:11px;color:#7e8d70;line-height:1.7;background:#f3f5ec;border-radius:6px;padding:11px}.form-error{color:#a54037;font-size:12px;line-height:1.6}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.delete-content{padding:30px}.delete-content p{line-height:1.7;font-size:13px;color:#7f8976;overflow-wrap:anywhere}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#294932;color:white;box-shadow:0 5px 25px #15261922;border-radius:9px;padding:14px 22px;font-size:13px;max-width:calc(100% - 30px);z-index:10}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}@media(min-width:1600px){main{padding-top:15px}.intro{padding-top:64px;padding-bottom:54px}}@media(max-width:1320px){main{margin:0 32px}.topbar{padding:0 32px}}@media(max-width:800px){.topbar{height:76px;padding:0 20px}.local-label{font-size:10px}.brand{font-size:20px}main{margin:0 20px}.intro{padding:35px 0}.intro-art{width:220px;padding:20px}.ticket{width:190px;padding:20px}.ticket strong{font-size:60px}.ticket:before,.ticket:after{top:112px}.ticket small{font-size:7px}.ticket>span{font-size:7px}.spark{font-size:51px;right:2px;bottom:8px}.stats>div{padding:0 17px}.stats{margin-bottom:28px}.stat-label{font-size:11px}.stat-description{line-height:1.5}.stats strong{font-size:24px}.collection{padding:20px 20px 0}.table-wrap{margin:0 -20px}.search input{width:205px}table{min-width:820px}.section-heading h2{font-size:20px}}@media(max-width:580px){.topbar{padding:0 16px}.local-label{max-width:120px;line-height:1.5}.local-label>span{flex-shrink:0}.brand{font-size:18px}.brand-icon{width:30px;height:30px;font-size:21px}main{margin:0 14px}.intro{padding:32px 4px 27px}.intro-art{display:none}h1{font-size:39px;letter-spacing:-1.7px}.intro p{font-size:12px}.stats{padding:16px 0;margin-bottom:25px}.stats>div{padding:0 11px;display:flex;flex-direction:column;gap:10px}.stats strong{align-self:flex-start;order:1}.stat-description{order:2;font-size:9px}.stat-label{min-height:28px;font-size:10px;align-items:flex-start;line-height:1.4}.yellow-dot{margin-top:4px;flex-shrink:0}.collection{padding:20px 15px 0}.section-heading{align-items:flex-start;gap:8px}.section-heading p{max-width:140px;line-height:1.6;font-size:10px}.section-heading h2{font-size:18px;white-space:nowrap}.section-heading .primary{font-size:10px;padding:11px 10px;gap:4px}.toolbar{align-items:stretch;flex-direction:column;gap:12px}.tabs{align-self:flex-start}.tabs button{font-size:10px;padding:7px 12px}.search{border:1px solid #e6eade;border-radius:7px;padding:1px 10px}.search input{width:100%;font-size:11px}.table-wrap{margin:0 -15px}.table-footer{font-size:9px;gap:14px;line-height:1.5}.table-footer>span:last-child{text-align:right}footer{font-size:10px;gap:8px}.privacy{gap:5px}footer>div{gap:5px}.storage-note{font-size:9px}.empty{padding:32px 0}form{padding:23px 18px}.form-row{gap:11px}form label{font-size:11px}form input,form select{padding:10px 8px;font-size:12px}.optional{font-size:9px}.dialog-heading{margin-bottom:24px}}

/* Compact workspace: keep the collection at the top of the page. */
.topbar { height: 64px; }
main { padding-top: 22px; }
.stats { display: flex; flex-wrap: wrap; gap: 10px; background: none; border: 0; padding: 0; margin-bottom: 16px; border-radius: 0; }
.stats > div { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #eeeee6; border: 1px solid #e1e5d8; border-radius: 7px; }
.stats > div + div { border-left: 1px solid #e1e5d8; }
.stat-label { min-height: 0; font-size: 12px; line-height: 1.3; align-items: center; }
.stats strong { font-size: 16px; align-self: center; line-height: 1.2; }
.section-heading { align-items: center; margin-bottom: 16px; }
.collection { padding-top: 20px; }
td { padding-top: 16px; padding-bottom: 16px; }
.amount, .minimum, .date { font-size: 13px; line-height: 20px; }
.cap, .date-caption, .maximum-purchase { font-size: 11px; line-height: 16px; }
.amount.empty-value { font-weight: normal; letter-spacing: normal; }
.cell-details { display: grid; row-gap: 5px; }
.cell-details:has(> :nth-child(2):last-child) { grid-template-rows: 1fr 1fr; }
.cell-details > :first-child { align-self: end; }
.cell-details > :nth-child(2) { align-self: start; }
td > .badge { display: flex; width: max-content; }
.yellow-dot { margin-top: 0; }
@media (max-width: 580px) {
  .topbar { height: 60px; }
  main { padding-top: 14px; }
  .stats { gap: 6px; margin-bottom: 12px; }
  .stats > div { padding: 7px 9px; gap: 7px; }
  .stat-label { font-size: 10px; }
  .stats strong { font-size: 14px; }
  .collection { padding-top: 16px; }
}
.maximum-purchase { max-width: 210px; color: #617c4c; white-space: normal; }
tr.expired .maximum-purchase { color: #8e9689; }
.badge.deleted { background: #f4e8e5; color: #86534b; }
tr.deleted { background: #fcf8f7; }
tr.deleted :is(.store, .amount, .money, .date, .maximum-purchase) { color: #756e66; }
