:root{--ink:#171717;--yellow:#f5c400;--paper:#f6f6f3;--line:#e5e5e5}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.5 system-ui,-apple-system,sans-serif}header{display:flex;justify-content:space-between;align-items:center;padding:18px max(5vw,20px);background:#fff;border-bottom:3px solid var(--yellow);font-weight:800;letter-spacing:.03em}header small{display:block;font-size:11px;letter-spacing:.18em}header span{font-size:13px;color:#666}main{max-width:1180px;margin:34px auto;padding:0 20px}h1{font-size:clamp(28px,4vw,44px);line-height:1.1;margin:8px 0 16px}h2{font-size:22px;margin:0 0 18px}h1 em{font-style:normal;color:#8b7000}.welcome{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.welcome small{font-weight:700;letter-spacing:.14em;color:#777}.tabs{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0 24px}.tabs a{padding:10px 14px;background:#fff;border:1px solid var(--line);border-radius:8px;color:var(--ink);text-decoration:none;font-weight:650}.tabs a:hover{background:var(--yellow)}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:18px}.panel{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;margin:0 0 18px;box-shadow:0 3px 12px #00000005}.stats .panel small{display:block;color:#666}.stats strong{display:block;font-size:28px;margin-top:8px}.narrow{max-width:520px;margin:6vh auto}.notice{background:#fff8d9;border-left:4px solid var(--yellow);padding:12px}form{display:grid;gap:14px;max-width:720px}form.inline{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;max-width:none}.compact{display:flex;gap:6px;min-width:180px}label{display:grid;gap:6px;font-size:13px;font-weight:650}input,select,textarea{width:100%;font:inherit;padding:11px 12px;border:1px solid #d5d5d5;border-radius:7px;background:#fff;min-width:0}textarea{min-height:90px}button{border:0;border-radius:7px;background:var(--yellow);color:#171717;font-weight:750;padding:12px 18px;cursor:pointer}button:hover{filter:brightness(.96)}button.secondary{background:#222;color:#fff}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:11px 10px;border-bottom:1px solid var(--line)}th{background:#fafafa;font-size:12px;text-transform:uppercase;letter-spacing:.04em}footer{text-align:center;padding:30px;color:#777;font-size:12px}@media(max-width:760px){.stats{grid-template-columns:1fr}.welcome{align-items:flex-start}form.inline{grid-template-columns:1fr}table{display:block;overflow-x:auto;white-space:nowrap}.panel{padding:16px}.tabs a{font-size:13px;padding:9px 10px}}
.receipt{max-width:720px;margin:24px auto}.receipt-head{text-align:center}.receipt-head h1{font-size:25px}.thanks{text-align:center;font-weight:800;margin:28px 0}@media print{body{background:#fff}header,footer,.tabs,.welcome form,.receipt button,.receipt>a{display:none!important}main{margin:0;padding:0;max-width:none}.panel{border:0;box-shadow:none;padding:0}.receipt{max-width:none}.receipt button{display:none}a{color:#000;text-decoration:none}}
.brand{display:flex;align-items:center;gap:12px}.brand img{width:54px;height:54px;object-fit:contain}.receipt-logo{width:100px;height:100px;object-fit:contain;display:block;margin:0 auto 8px}@media print{.receipt-logo{width:78px;height:78px}.receipt-head p{margin:3px 0}}

/* DALBAGAY refined UI */
:root{--ink:#171717;--yellow:#f4b800;--paper:#f5f6f8;--line:#e7e9ee;--muted:#687080;--surface:#fff;--radius:16px}body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--paper);color:var(--ink);letter-spacing:0}header{position:sticky;top:0;z-index:20;padding:14px clamp(18px,4vw,56px);border-bottom:1px solid #e9e9e9;box-shadow:0 4px 18px #15151508}header .brand b{font-size:15px;letter-spacing:.02em}header .brand small{font-size:10px;color:#6b6b6b;letter-spacing:.15em}header .brand img{width:48px;height:48px}main{max-width:1320px;margin:30px auto;padding:0 clamp(16px,3vw,36px)}.welcome{padding:4px 0 18px;border-bottom:1px solid #e4e6eb}.welcome h1{font-size:clamp(26px,3vw,36px);letter-spacing:-.035em}.welcome p{color:var(--muted);margin:0}.welcome small{font-size:11px;color:#8a6a00}.tabs{gap:7px;padding:7px;background:#eceef2;border-radius:12px;margin:20px 0 26px}.tabs a{border:0;border-radius:9px;background:transparent;padding:10px 15px;font-size:13px;transition:background .15s,box-shadow .15s}.tabs a:hover{background:#fff;box-shadow:0 2px 8px #0000000a}.panel{border:1px solid #e8eaf0;border-radius:var(--radius);padding:clamp(18px,2.2vw,28px);box-shadow:0 5px 22px #18202d06}.panel h2{font-size:18px;letter-spacing:-.02em}.stats{gap:16px}.stats .panel{position:relative;overflow:hidden}.stats .panel small{font-size:12px;color:var(--muted);font-weight:650}.stats strong{font-size:clamp(24px,2.5vw,32px);letter-spacing:-.04em}.stats .panel:after{content:"";position:absolute;right:-22px;top:-28px;width:86px;height:86px;border-radius:50%;background:#f4b80018}label{font-size:12px;color:#414754;font-weight:700;gap:7px}input,select,textarea{border-color:#dfe2e8;border-radius:9px;padding:12px 13px;background:#fff;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{outline:0;border-color:#d9a500;box-shadow:0 0 0 3px #f4b80024}button{border-radius:9px;padding:12px 18px;box-shadow:0 2px 4px #0000000a;transition:transform .12s,filter .12s}button:active{transform:translateY(1px)}button.secondary{background:#242424}.notice{border-radius:8px;background:#fff8df;color:#6d5200;border-left-color:var(--yellow)}table{font-size:13px}th{background:#f7f8fa;color:#6b7280;font-size:10px;letter-spacing:.08em}td{color:#343a46}tr:hover td{background:#fcfcfd}.compact{align-items:center}.compact select{padding:8px;font-size:12px}.compact button{padding:8px 11px;font-size:12px}footer{color:#9298a3;padding:24px 16px}.receipt{box-shadow:none}.receipt-head p{color:#555}@media(max-width:760px){header{padding:10px 16px}header .brand img{width:42px;height:42px}header .brand b{font-size:13px}main{margin:20px auto}.tabs{overflow-x:auto;flex-wrap:nowrap}.tabs a{white-space:nowrap}.welcome{flex-direction:column}.welcome form{width:100%}.stats{grid-template-columns:1fr}.panel{border-radius:13px}form.inline{grid-template-columns:1fr}table{font-size:12px}}

/* Subtle motion: polished, accessible, lightweight */
@media(prefers-reduced-motion:no-preference){.panel,.stats .panel,.tabs a,button{animation:dalb-fade-up .42s ease both}.stats .panel:nth-child(2){animation-delay:.06s}.stats .panel:nth-child(3){animation-delay:.12s}.tabs a{transition:background .18s ease,transform .18s ease,box-shadow .18s ease}.tabs a:hover{transform:translateY(-1px)}button:hover{transform:translateY(-1px)}@keyframes dalb-fade-up{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}}

/* DALBAGAY premium print-broker interface */
:root{--ink:#171717;--yellow:#f6c400;--paper:#f3f4f6;--line:#e2e5e9;--muted:#737985;--surface:#fff;--radius:18px}
body{background:#f2f3f5;color:#17191d;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
header{background:#111214;color:#fff;border-bottom:3px solid var(--yellow);box-shadow:0 8px 28px #00000018;padding:14px clamp(18px,4vw,56px)}
header span{color:#c3c5ca}
header .brand b{color:#fff;font-size:15px;letter-spacing:.035em}
header .brand small{color:#b8bbc2}
main{max-width:1360px;margin:34px auto;padding:0 clamp(16px,3vw,42px)}
.welcome{background:linear-gradient(120deg,#171819,#252629);color:#fff;border:1px solid #303236;border-radius:22px;padding:clamp(24px,4vw,42px);margin-bottom:24px;box-shadow:0 16px 36px #11111112;position:relative;overflow:hidden}
.welcome:after{content:"";position:absolute;width:240px;height:240px;border:38px solid #f6c40018;border-radius:50%;right:-80px;top:-120px;pointer-events:none}
.welcome small{color:#f6c400;font-size:11px;letter-spacing:.18em}
.welcome h1{font-size:clamp(29px,4vw,44px);letter-spacing:-.045em;margin:10px 0 12px;color:#fff}
.welcome h1 em{color:#f6c400}
.welcome p{color:#c4c6ca;max-width:650px}
.welcome form{position:relative;z-index:1}
.tabs{background:#e6e8eb;padding:7px;border-radius:14px;gap:8px;margin:22px 0 26px}
.tabs a{background:transparent;border:1px solid transparent;border-radius:10px;padding:11px 16px;font-size:13px;color:#454951}
.tabs a:hover{background:#fff;border-color:#e1e3e7;box-shadow:0 4px 14px #1111110a}
.panel{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:clamp(20px,2.5vw,30px);box-shadow:0 8px 28px #17191d07}
.panel h2{font-size:19px;letter-spacing:-.025em;color:#1b1c1f}
.stats{gap:18px;margin-bottom:22px}
.stats .panel{min-height:130px;border-radius:18px;position:relative;overflow:hidden}
.stats .panel small{color:#707680;font-size:12px;font-weight:700}
.stats strong{font-size:clamp(26px,3vw,36px);letter-spacing:-.045em;color:#17191d}
.stats .panel:after{content:"";position:absolute;width:88px;height:88px;border-radius:50%;right:-28px;top:-30px;background:#f6c40024}
label{font-size:12px;color:#454a53;font-weight:700}
input,select,textarea{border:1px solid #dfe2e7;border-radius:10px;padding:13px 14px;background:#fbfbfc;color:#17191d}
input:focus,select:focus,textarea:focus{outline:0;border-color:#d6aa00;box-shadow:0 0 0 4px #f6c40025;background:#fff}
button{background:#f6c400;color:#171717;border-radius:10px;padding:13px 20px;font-weight:800;box-shadow:0 5px 12px #c49c001c}
button:hover{filter:brightness(.97);transform:translateY(-1px)}
button.secondary{background:#fff;color:#222;border:1px solid #45474b;box-shadow:none}
.notice{background:#fff8d9;color:#6a5200;border-left:4px solid #f6c400;border-radius:10px}
table{font-size:13px}
th{background:#f5f6f7;color:#6d737d;font-size:10px;letter-spacing:.09em;padding:13px 12px}
td{padding:13px 12px;color:#343840}
tr:hover td{background:#fffdf4}
.compact select{padding:9px}
footer{color:#8a8e96}
.narrow{max-width:560px;margin:7vh auto;background:#fff;border-radius:24px;padding:clamp(24px,4vw,42px);box-shadow:0 20px 60px #10111412}
.narrow h1{letter-spacing:-.045em}
.receipt{box-shadow:none}
@media(max-width:760px){
 header{padding:11px 16px}
 main{margin:20px auto}
 .welcome{border-radius:17px;padding:24px}
 .welcome form{width:100%}
 .tabs{overflow-x:auto;flex-wrap:nowrap}
 .tabs a{white-space:nowrap}
 .stats{grid-template-columns:1fr}
 .panel{border-radius:15px}
 table{font-size:12px}
}
@media(prefers-reduced-motion:no-preference){
 .panel,.stats .panel,.tabs a,button{transition:transform .18s ease,box-shadow .18s ease,background .18s ease}
 .panel:hover{box-shadow:0 12px 32px #17191d0a}
 .stats .panel:hover{transform:translateY(-2px)}
}
