*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--bg-page: hsl(216, 53%, 97%);--surface: hsl(0, 0%, 100%);--surface-2: hsl(216, 40%, 95%);--border: hsl(214, 40%, 88%);--text-primary: hsl(220, 60%, 8%);--text-muted: hsl(217, 18%, 46%);--brand-orange: hsl(25, 91%, 54%);--brand-orange-hover: hsl(25, 88%, 45%);--accent-dim: hsla(25, 91%, 54%, .1);--accent-border: hsla(25, 91%, 54%, .3);--navy: hsl(216, 95%, 17%);--navy-deep: hsl(216, 93%, 15%);--navy-dark: hsl(220, 60%, 8%);--brand-blue: hsl(231, 100%, 28%);font-family:Inter,Segoe UI,system-ui,sans-serif}body{background:var(--bg-page);color:var(--text-primary);min-height:100vh;-webkit-font-smoothing:antialiased}.layout{min-height:100vh;display:flex;flex-direction:column}.header{background:#fff;border-bottom:1px solid hsl(214,40%,90%);box-shadow:0 1px #00138e0f,0 4px 20px #00138e0d;height:104px;display:flex;align-items:center;position:sticky;top:0;z-index:50}.header-inner{display:flex;align-items:center;justify-content:center;gap:26px;max-width:1100px;width:100%;margin:0 auto;padding:0 32px}.db-logo{height:62px;width:auto;object-fit:contain}.header-divider{width:1px;height:36px;background:#d4dfed}.header-meta{display:flex;flex-direction:column;gap:1px}.header-eyebrow{font-size:14px;font-weight:900;text-transform:uppercase;letter-spacing:3px;color:var(--brand-orange)}.header-title{font-size:1.4rem;font-weight:800;letter-spacing:-.01em;color:var(--brand-blue)}.main{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:1100px;margin:20px auto;padding:0 32px;width:100%;align-items:stretch}.card{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:18px 20px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.inputs-card{display:flex;flex-direction:column;gap:14px;justify-content:flex-start}.card-title{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:3px;color:var(--brand-orange)}.field{display:flex;align-items:center;justify-content:space-between;gap:16px}.field .label{flex:1;min-width:0}.field .money-input-wrap{flex:1;max-width:200px}.label{display:flex;justify-content:space-between;align-items:center;font-size:.875rem;color:var(--text-muted)}.label-value{font-weight:700;font-size:1rem;color:var(--text-primary);font-variant-numeric:tabular-nums}.presets{display:flex;gap:8px;flex-wrap:wrap}.preset-btn{padding:8px 16px;border-radius:10px;border:1px solid var(--border);background:var(--surface-2);color:var(--text-muted);font-size:.85rem;font-weight:600;cursor:pointer;transition:border-color .15s ease,color .15s ease,background .15s ease,transform .15s ease}.preset-btn:hover{border-color:var(--brand-orange);color:var(--text-primary);transform:translateY(-1px)}.preset-btn.active{background:var(--brand-orange);border-color:var(--brand-orange);color:#fff}.money-input-wrap{display:flex;align-items:center;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);padding:0 14px;height:38px;transition:border-color .15s ease}.money-input-wrap:focus-within{border-color:var(--brand-orange)}.money-prefix{font-size:1rem;font-weight:700;color:var(--text-muted);margin-right:4px}.money-input{border:none;background:transparent;font-size:1rem;font-weight:700;color:var(--text-primary);outline:none;width:100%;font-variant-numeric:tabular-nums}.slider-box{background:var(--surface-2);border:1px solid var(--border);border-radius:10px;padding:12px 16px 8px;display:flex;flex-direction:column;gap:6px}.slider{width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;height:4px;border-radius:2px;background:var(--surface-2);outline:none;cursor:pointer}.slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:18px;height:18px;border-radius:50%;background:var(--brand-orange);cursor:pointer;border:2px solid var(--bg-page);box-shadow:0 0 0 2px var(--accent-border);transition:box-shadow .15s ease,transform .15s ease}.slider::-webkit-slider-thumb:hover{box-shadow:0 0 0 4px var(--accent-dim);transform:scale(1.1)}.slider-bounds{display:flex;justify-content:space-between;font-size:.75rem;color:var(--text-muted)}.results-col{display:flex;flex-direction:column;gap:16px}.hero-card{text-align:center;padding:24px 20px;flex:1;display:flex;flex-direction:column;justify-content:center;background:linear-gradient(135deg,#0f408a,#1f34ad);border-color:#0026ff33}.hero-label{font-size:1.6rem;font-weight:900;text-transform:uppercase;letter-spacing:3px;color:var(--brand-orange);line-height:1.3;margin-bottom:12px}.hero-value{font-size:3.25rem;font-weight:900;letter-spacing:-.04em;color:#fff;font-variant-numeric:tabular-nums;line-height:1;margin-bottom:8px}.hero-sub{font-size:1.1rem;font-weight:700;color:#c4d5ede6}.stats-wrap{max-width:1100px;margin:0 auto 16px;padding:0 32px;width:100%}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.stat-card{padding:14px 16px}.stat-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin-bottom:6px}.stat-value{font-size:1.4rem;font-weight:800;letter-spacing:-.03em;font-variant-numeric:tabular-nums;line-height:1;margin-bottom:4px}.stat-sub{font-size:.75rem;color:var(--text-muted)}.accent-card{background:var(--accent-dim);border-color:var(--accent-border)}.accent-card .stat-value{color:var(--brand-orange)}.pitch-card{background:linear-gradient(135deg,#0f408a,#1f34ad);border-color:#0026ff33;display:flex;flex-direction:column;gap:14px;justify-content:center;align-items:center;text-align:center;padding:28px 24px}.pitch-title{font-size:1.6rem;font-weight:900;text-transform:uppercase;letter-spacing:3px;color:var(--brand-orange);line-height:1.3;margin-bottom:8px}.pitch-line{display:flex;justify-content:space-between;align-items:center;font-size:.9rem;gap:10px;width:100%}.pitch-line span{color:#c4d5edb3;font-weight:600;white-space:nowrap;font-size:.85rem}.pitch-line strong{font-weight:600;text-align:right;font-variant-numeric:tabular-nums;color:#fff;font-size:.9rem;white-space:nowrap}.pitch-divider{height:1px;background:#ffffff26;margin:6px 0;width:100%}.pitch-total{font-size:1.1rem}.pitch-total span{font-size:1.05rem}.pitch-price{color:var(--brand-orange);font-size:1.4rem;font-weight:900}.pitch-discount strong{color:var(--brand-orange)}.hero-original{text-decoration:line-through;opacity:.6}.section2-wrap{display:grid;grid-template-columns:1fr 320px;gap:16px;max-width:1100px;margin:0 auto 16px;padding:0 32px;width:100%;align-items:start}.pitch-card{position:sticky;top:96px}.breakdown-card{display:flex;flex-direction:column;gap:14px}.breakdown-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.breakdown-controls{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.breakdown-count-field{display:flex;align-items:center;gap:10px}.breakdown-count-label{font-size:.875rem;color:var(--text-muted);white-space:nowrap}.breakdown-count-input{width:80px;height:36px}.split-toggle{display:flex;border:1px solid var(--border);border-radius:10px;overflow:hidden}.split-btn{padding:8px 18px;border:none;background:var(--surface-2);color:var(--text-muted);font-size:.85rem;font-weight:600;cursor:pointer;transition:background .15s ease,color .15s ease}.split-btn:first-child{border-right:1px solid var(--border)}.split-btn.active{background:var(--brand-orange);color:#fff}.profile-table{display:flex;flex-direction:column;border:1px solid var(--border);border-radius:10px;overflow:hidden}.profile-table-head{display:grid;grid-template-columns:48px 1fr 1fr 1fr 1fr;gap:0;padding:8px 12px;border-bottom:1px solid var(--border);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--navy);background:#f1f4f9}.profile-table-head span{padding:0 8px;border-right:1px solid hsl(214,40%,90%)}.profile-table-head span:last-child{border-right:none}.profile-row{display:grid;grid-template-columns:48px 1fr 1fr 1fr 1fr;gap:0;align-items:center;padding:6px 12px;border-bottom:1px solid hsl(214,40%,93%);background:var(--surface)}.profile-row:nth-child(2n){background:#f4f7fa}.profile-row:last-child{border-bottom:none}.profile-row>*{padding:0 8px;border-right:1px solid hsl(214,40%,93%)}.profile-row>*:last-child{border-right:none}.has-discount .profile-table-head,.has-discount .profile-row{grid-template-columns:48px 1fr 1fr 1fr 1fr 1fr}.profile-name{font-size:.875rem;font-weight:700;color:var(--text-primary);white-space:nowrap}.profile-stat,.profile-cost,.profile-discounted{white-space:nowrap}.profile-stat{font-size:.9rem;font-weight:600;font-variant-numeric:tabular-nums;color:var(--text-primary)}.profile-cost{color:var(--text-muted);text-decoration:line-through}.profile-table:not(.has-discount) .profile-cost{color:var(--brand-orange);text-decoration:none}.profile-discounted{color:var(--brand-orange);font-weight:700}.profile-alloc-input{height:36px;max-width:120px;background:#fff}.profile-alloc-input.locked{border-left:3px solid var(--brand-orange)}.unlock-btn{background:none;border:none;color:var(--text-muted);font-size:1.1rem;cursor:pointer;padding:0 4px;line-height:1;transition:color .15s ease;flex-shrink:0}.unlock-btn:hover{color:var(--brand-orange)}.reset-btn{padding:8px 16px;border-radius:10px;border:1px solid var(--border);background:var(--surface-2);color:var(--text-muted);font-size:.85rem;font-weight:600;cursor:pointer;transition:border-color .15s ease,color .15s ease,transform .15s ease}.reset-btn:hover{border-color:var(--brand-orange);color:var(--text-primary);transform:translateY(-1px)}.alloc-bar-wrap{display:flex;flex-direction:column;gap:8px}.alloc-bar-track{height:6px;background:var(--surface-2);border-radius:3px;overflow:hidden;border:1px solid var(--border)}.alloc-bar-fill{height:100%;border-radius:3px;background:var(--brand-orange);transition:width .2s ease,background .2s ease}.alloc-bar-fill.full{background:var(--brand-orange)}.alloc-bar-fill.over{background:#e83030}.alloc-bar-label{font-size:.85rem;font-weight:700;color:var(--text-muted);font-variant-numeric:tabular-nums;text-align:center}.alloc-bar-label.over{color:#e83030}.alloc-warning{font-weight:700}.alloc-remaining{color:var(--text-muted)}.pin-screen{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--bg-page)}.pin-card{background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:48px 40px;width:360px;display:flex;flex-direction:column;align-items:center;gap:8px;box-shadow:0 4px 40px #00138e14}.pin-logo{height:52px;width:auto;margin-bottom:12px}.pin-label{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:3px;color:var(--brand-orange)}.pin-title{font-size:1.1rem;font-weight:800;color:var(--navy);margin-bottom:24px;letter-spacing:-.01em}.pin-form{width:100%;display:flex;flex-direction:column;gap:12px}.pin-input{width:100%;padding:12px 16px;border:1px solid var(--border);border-radius:10px;background:var(--surface-2);font-size:1rem;font-weight:600;color:var(--text-primary);outline:none;text-align:center;letter-spacing:.2em;transition:border-color .15s ease}.pin-input:focus{border-color:var(--brand-orange)}.pin-input.pin-error{border-color:#e83030;background:#fdf1f1}.pin-error-msg{font-size:.8rem;color:#e83030;text-align:center}.pin-btn{padding:12px;border-radius:10px;border:none;background:var(--brand-orange);color:#fff;font-size:.95rem;font-weight:700;cursor:pointer;transition:background .15s ease,transform .15s ease}.pin-btn:hover{background:var(--brand-orange-hover);transform:translateY(-1px)}@keyframes shake{0%,to{transform:translate(0)}20%{transform:translate(-8px)}40%{transform:translate(8px)}60%{transform:translate(-6px)}80%{transform:translate(6px)}}.shake{animation:shake .4s ease}.print-header{display:none}.export-bar{max-width:1100px;margin:0 auto 16px;padding:0 32px;width:100%;display:flex;justify-content:flex-end}.export-btn{padding:10px 24px;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text-primary);font-size:.875rem;font-weight:700;cursor:pointer;transition:border-color .15s ease,background .15s ease,transform .15s ease}.export-btn:hover{border-color:var(--brand-orange);background:var(--accent-dim);transform:translateY(-1px)}.footer{text-align:center;padding:40px 32px 32px;font-size:.8rem;color:#fff9;border-top:1px solid rgba(255,255,255,.1);background:var(--navy-dark);display:flex;flex-direction:column;align-items:center;gap:16px}.footer-logo{height:40px;width:auto;opacity:.85}@media (max-width: 800px){.main{grid-template-columns:1fr;padding:0 16px;margin:24px auto}.hero-value{font-size:2.75rem}.header-inner{padding:0 16px}.inputs-card{grid-template-columns:1fr}.section2-wrap{grid-template-columns:1fr;padding:0 16px}.profile-table-head,.profile-row,.has-discount .profile-table-head,.has-discount .profile-row{grid-template-columns:48px 1fr 1fr}.profile-table-head span:nth-child(n+4),.profile-row span:nth-child(n+4),.profile-row div:nth-child(n+4){display:none}.breakdown-header{flex-direction:column;align-items:flex-start}}@media print{*,*:before,*:after{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.no-print,.footer{display:none!important}.layout{min-height:auto;zoom:.68}.header{position:static}.main{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important}.section2-wrap{display:grid!important;grid-template-columns:1fr 320px!important;gap:16px!important}.pitch-card{position:static!important}.profile-table-head,.profile-row{grid-template-columns:48px 1fr 1fr 1fr 1fr!important}.has-discount .profile-table-head,.has-discount .profile-row{grid-template-columns:48px 1fr 1fr 1fr 1fr 1fr!important}.profile-table-head span,.profile-row span,.profile-row div{display:inline!important}@page{size:landscape;margin:.25in}}
