html[data-site-theme]{--ap-bg:#081e29;--ap-card:#102c39;--ap-text:#e3eef4;--ap-muted:#9db4c3;--ap-line:#294653;--ap-accent:#43d7cc;--ap-soft:#173c43;--ap-button:#009b96}
html[data-site-theme=light]{--ap-bg:#f3f6fa;--ap-card:#fff;--ap-text:#173444;--ap-muted:#738597;--ap-line:#e2eaf0;--ap-accent:#008b87;--ap-soft:#e7f8f6;--ap-button:#009d98}
html[data-site-theme] body.ap-page{margin:0;background:var(--ap-bg)!important;color:var(--ap-text)!important;font:15px/1.65 system-ui,-apple-system,'Segoe UI',sans-serif}
.ap-page *{box-sizing:border-box}.ap-page [hidden]{display:none!important}.ap-page a{text-decoration:none}.ap-header{height:72px;padding:0 max(24px,calc((100vw - 1200px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--ap-line);background:var(--ap-card)}
html[data-site-theme] body .ap-brand{font-size:20px;font-weight:800;color:var(--ap-text)!important;letter-spacing:-.6px}.ap-brand b{color:var(--ap-accent);font-size:27px;margin-right:8px}.ap-header nav{display:flex;gap:22px;align-items:center}.ap-header nav a{font-size:13px;color:var(--ap-muted)}
.ap-page main{max-width:1200px;margin:34px auto 70px;padding:0 24px}.ap-crumb{font-size:12px;color:var(--ap-muted);margin-bottom:20px}.ap-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.ap-heading h1{font-size:30px;line-height:1.3;letter-spacing:-1px;margin:0 0 9px}.ap-heading p{margin:0;color:var(--ap-muted);font-size:14px}.ap-eyebrow{font-size:11px;font-weight:800;letter-spacing:1.6px;color:var(--ap-accent);margin-bottom:10px}.ap-page h2{font-size:18px;letter-spacing:-.5px;margin:0 0 8px}.ap-page h3{font-size:16px}.ap-page p{line-height:1.75}.ap-page a{color:var(--ap-accent)}
html[data-site-theme] body.ap-page section,html[data-site-theme] body.ap-page .ap-card,html[data-site-theme] body.ap-page .stats article{background:var(--ap-card)!important;border:1px solid var(--ap-line)!important;border-radius:16px;padding:24px;margin:0 0 20px;box-shadow:0 4px 18px #102a3903}
html[data-site-theme] body.ap-page button,html[data-site-theme] body.ap-page .ap-button{font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;min-height:44px;padding:11px 18px;border:1px solid var(--ap-line)!important;border-radius:10px;background:var(--ap-card)!important;color:var(--ap-text)!important;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}
html[data-site-theme] body.ap-page .ap-primary,html[data-site-theme] body.ap-page #submit,html[data-site-theme] body.ap-page #attendance{background:var(--ap-button)!important;color:#fff!important;border-color:var(--ap-button)!important}
.ap-page button:disabled{opacity:.48;cursor:not-allowed}.ap-page :focus-visible{outline:3px solid var(--ap-accent);outline-offset:3px}.ap-page .ap-status{font-size:13px;color:var(--ap-muted);padding:12px 16px;background:var(--ap-soft);border-radius:10px;margin:0 0 24px;overflow-wrap:anywhere}.ap-tabs{display:flex;gap:24px;border-bottom:1px solid var(--ap-line);margin:24px 0}
html[data-site-theme] body.ap-page .ap-tabs button{border:0!important;border-bottom:3px solid transparent!important;border-radius:0;background:transparent!important;padding:14px 2px;color:var(--ap-muted)!important}.ap-page .ap-tabs button[aria-selected=true]{border-bottom-color:var(--ap-accent)!important;color:var(--ap-accent)!important}
.ap-wallet{display:grid;grid-template-columns:1fr auto;align-items:center;gap:24px}.ap-wallet .ap-wallet-label{font-size:13px;color:var(--ap-muted)}.ap-page #balance{display:block;font-size:38px;font-weight:800;letter-spacing:-1px;color:var(--ap-accent)}.ap-wallet p{font-size:12px;color:var(--ap-muted);margin:5px 0}.ap-wallet-icon{font-size:26px;border:1px solid var(--ap-line);background:var(--ap-soft);border-radius:50%;width:64px;height:64px;display:grid;place-items:center;color:var(--ap-accent);font-weight:800}
.ap-section-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 22px}.ap-section-top p{margin:0;font-size:13px;color:var(--ap-muted)}.ap-page #products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.ap-product{min-width:0;overflow:hidden;border:1px solid var(--ap-line);border-radius:14px;padding:16px;display:flex;flex-direction:column;gap:8px;background:var(--ap-card)}.ap-product-media{height:155px;display:grid;place-items:center;background:#fff;border-radius:10px;overflow:hidden;margin-bottom:8px}.ap-product-media img{height:100%;width:100%;object-fit:contain}.ap-product-media span{font-size:42px;color:#009d98}.ap-product small{color:var(--ap-muted);font-size:11px}.ap-product h3{font-size:14px;line-height:1.6;margin:0;min-height:44px}.ap-product strong{font-size:20px;color:var(--ap-accent)}.ap-product button{width:100%;margin-top:auto}.ap-empty{color:var(--ap-muted);padding:38px 16px;text-align:center;grid-column:1/-1;font-size:14px}
.ap-page dialog{width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:26px;border:1px solid var(--ap-line);border-radius:20px;background:var(--ap-card);color:var(--ap-text);box-shadow:0 24px 100px #0005;overflow:auto}.ap-page dialog::backdrop{background:#04162099;backdrop-filter:blur(4px)}.ap-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.ap-dialog-head h2{margin:0}.ap-dialog-head button{font-size:22px;padding:5px 12px}.ap-page .coupon-order{display:flex;justify-content:space-between;flex-wrap:wrap;gap:14px;padding:20px 0;border-bottom:1px solid var(--ap-line)}.coupon-order h3{margin:0;font-size:15px}.coupon-order p{margin:5px 0;font-size:13px;color:var(--ap-muted)}.order-status{display:inline-block;background:var(--ap-soft);color:var(--ap-accent);padding:4px 10px;font-size:12px;font-weight:700;border-radius:7px}.order-note{flex-basis:100%}.coupon-missions{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}.coupon-missions h3{flex-basis:100%}.ap-page #ledger article{padding:16px 0;border-bottom:1px solid var(--ap-line);font-size:14px}.ap-page .stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.ap-page .stats article{margin:0!important;font-size:12px;color:var(--ap-muted)}.ap-page .stats strong{display:block;margin-top:12px;color:var(--ap-text);font-size:27px;letter-spacing:-.5px}.ap-page .stats article:last-child strong{color:var(--ap-accent)}.ap-page .notice{padding:14px 18px;border-radius:10px;background:var(--ap-soft);font-size:12px;color:var(--ap-muted)}.ap-page #states{display:flex;flex-wrap:wrap;gap:10px}.ap-page #states p{padding:9px 14px;background:var(--ap-soft);border-radius:9px;font-size:13px;margin:5px 0}.ap-page #states p:last-child{flex-basis:100%;background:transparent;padding:6px 0;color:var(--ap-muted)}.ap-page .table-wrap{overflow:auto}.ap-page table{width:100%;border-collapse:collapse;font-size:13px}.ap-page th{color:var(--ap-muted);font-weight:500;white-space:nowrap;background:var(--ap-bg)}.ap-page th,.ap-page td{padding:15px 12px;text-align:left;border-bottom:1px solid var(--ap-line)}.ap-page td{overflow-wrap:anywhere}.ap-page td small{display:block;color:var(--ap-muted);font-size:10px}.ap-page .ap-admin-links{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:26px}.ap-page .ap-admin-links a{border:1px solid var(--ap-line);padding:8px 14px;border-radius:8px;color:var(--ap-muted);font-size:13px}.ap-page .ap-admin-links a[aria-current=page]{background:var(--ap-soft);color:var(--ap-accent);border-color:var(--ap-accent)}
.ap-editorial-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:20px}.ap-page label{display:block;font-size:14px;font-weight:600}.ap-page input:not([type=checkbox]){width:100%;min-height:48px;padding:12px 14px;margin-top:8px;border:1px solid var(--ap-line);border-radius:9px;background:var(--ap-bg);color:var(--ap-text);font:inherit}.ap-page .ap-check{display:flex;align-items:flex-start;gap:10px;font-weight:400;font-size:13px;margin:22px 0;padding:16px;background:var(--ap-bg);border-radius:10px}.ap-check input{flex-shrink:0;margin-top:5px;accent-color:var(--ap-button)}.ap-editorial-grid aside p{font-size:13px;color:var(--ap-muted)}.ap-editorial-grid aside b{font-size:26px;color:var(--ap-accent)}.ap-page #reviews p{padding:16px 0;border-bottom:1px solid var(--ap-line);font-size:13px;overflow-wrap:anywhere}.ap-footer{text-align:center;color:var(--ap-muted);font-size:12px;padding:20px;border-top:1px solid var(--ap-line)}
@media(max-width:900px){.ap-page #products{grid-template-columns:repeat(3,minmax(0,1fr))}.ap-page .stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ap-header{height:60px;padding:0 18px}.ap-header nav{gap:12px}.ap-header nav a:first-child{display:none}.ap-page main{margin:24px auto 50px;padding:0 16px}.ap-heading{align-items:flex-start}.ap-heading h1{font-size:25px}.ap-heading p{font-size:13px}.ap-page #products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ap-product{padding:10px}.ap-product-media{height:120px}.ap-product h3{font-size:13px}.ap-page section,.ap-page .ap-card{padding:18px!important}.ap-page .stats{gap:10px}.ap-page .stats article{padding:16px!important}.ap-page .stats strong{font-size:22px}.ap-editorial-grid{grid-template-columns:1fr}.ap-tabs{gap:22px}.ap-page .table-wrap table{min-width:620px}.ap-page dialog{padding:20px}.ap-wallet-icon{width:52px;height:52px}.ap-page #balance{font-size:32px}}

html[data-site-theme] body.ap-page .ap-tabs button[aria-selected=true]{border-bottom-color:var(--ap-accent)!important;color:var(--ap-accent)!important}.ap-page .ap-wallet{padding:18px 24px!important}.ap-page .ap-crumb{margin-bottom:16px}.ap-page .ap-tabs{margin:18px 0}.ap-page .ap-heading{margin-bottom:20px}
@media(max-width:600px){.ap-page .ap-heading{display:block}.ap-page .ap-heading>.ap-button{display:none}.ap-page .ap-heading h1{font-size:24px;word-break:keep-all}.ap-header nav a:first-child{display:block}.ap-page .ap-wallet{padding:18px!important;gap:12px}.ap-wallet p{font-size:11px}.ap-page .ap-eyebrow{font-size:10px}.ap-page .ap-status{font-size:12px}.ap-product button{padding:10px 6px!important;font-size:12px!important}}

@media(max-width:600px){html[data-site-theme] body.ap-page .ap-heading>.ap-button{display:none}}
.ed-lookup{display:flex;align-items:center;gap:10px}.ed-lookup input{flex:1;min-width:0}.ed-lookup button{flex:none}.ed-help{font-size:12px;color:var(--ap-muted)}.ed-preview{padding:18px;background:var(--ap-soft);border-radius:12px;margin:20px 0}.ed-preview h3{margin:8px 0}.ed-preview small{color:var(--ap-accent)}.ed-preview p{margin:8px 0}.ap-page #amount-options{margin:24px 0 8px;padding:0;border:0}.ap-page #amount-options legend{font-size:14px;font-weight:700;margin-bottom:12px}.ed-amounts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.ap-page .ed-amounts label{position:relative;cursor:pointer}.ed-amounts input{position:absolute;opacity:0;width:1px!important;height:1px;min-height:0!important}.ed-amounts span{display:block;text-align:center;border:1px solid var(--ap-line);border-radius:10px;padding:16px 8px;font-size:18px}.ed-amounts small{font-size:12px}.ed-amounts input:checked+span{border-color:var(--ap-accent);background:var(--ap-soft);color:var(--ap-accent)}.ed-amounts input:focus-visible+span{outline:3px solid var(--ap-accent);outline-offset:3px}.ed-list-row{display:flex;align-items:center;gap:18px;padding:18px 0;border-bottom:1px solid var(--ap-line);font-size:14px}.ed-list-row>div{flex:1;min-width:0}.ed-list-row small{display:block;color:var(--ap-muted);font-size:12px;margin-top:5px}.ed-list-row strong{white-space:normal}.ed-list-row>strong{white-space:nowrap;color:var(--ap-accent)}@media(max-width:600px){.ed-list-row{flex-wrap:wrap;gap:10px}.ed-list-row>div{flex-basis:70%}.ed-amounts{gap:7px}.ed-amounts span{font-size:16px}}
.ap-editorial-grid{align-items:start}
