.billing-page{width:100%;min-height:calc(100vh - 140px)}
.billing-page-body{width:100%;padding-bottom:32px}
.billing-page .detail-hero{margin-bottom:24px}
.billing-page .billing-form,.billing-page .billing-settings-form,.billing-page .billing-choose-form{padding:24px;background:var(--panel,var(--card));border:1px solid var(--border);border-radius:16px}
.billing-page .form-grid{gap:20px}
.billing-page .billing-extra{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:end}
.billing-page .billing-extra .full{grid-column:1/-1}
.billing-page .billing-extra .drawer-actions{grid-column:1/-1;margin:0}
.billing-page .detail-section{margin-bottom:24px}
.billing-page [hidden]{display:none!important}
.billing-page .drawer-actions{flex-wrap:wrap;justify-content:flex-start}
.billing-page .page-head{gap:20px;align-items:flex-start}
.billing-page input,.billing-page select,.billing-page textarea{width:100%;min-width:0}
.billing-page .check input{width:auto}
@media(max-width:800px){.billing-page .billing-extra{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-page .billing-form,.billing-page .billing-settings-form,.billing-page .billing-choose-form{padding:16px}.billing-page .page-head{flex-direction:column}}
@media(max-width:480px){.billing-page .billing-extra{grid-template-columns:1fr}.billing-page .drawer-actions>*{width:100%}}
.billing-choice-layout{display:grid;grid-template-columns:minmax(0,760px) minmax(240px,340px);gap:36px;align-items:start;margin-top:36px}
.billing-page .billing-choose-form{padding:32px;border-radius:20px;box-shadow:0 12px 32px rgba(0,0,0,.08)}
.billing-choice-heading{display:flex;gap:18px;align-items:flex-start;margin-bottom:28px}
.billing-choice-icon{display:grid;place-items:center;flex:0 0 48px;height:48px;border-radius:14px;background:rgba(255,145,16,.12);color:#ff9512;font-size:26px}
.billing-choice-heading small,.billing-choice-kicker{font-size:12px;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:var(--muted)}
.billing-choice-heading h2{font-size:24px;line-height:1.25;margin:6px 0 8px}
.billing-choice-heading p{margin:0;color:var(--muted);line-height:1.6}
.billing-choice-label{display:flex;flex-direction:column;gap:10px;font-weight:600;font-size:14px}
.billing-page .billing-choice-label select{appearance:none;-webkit-appearance:none;min-height:54px;padding:14px 44px 14px 16px;border:1px solid var(--border);border-radius:12px;background-color:var(--bg,#071521);color:var(--text);font:inherit;font-size:15px;line-height:1.5;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238d9fae' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;cursor:pointer}
.billing-page .billing-choice-label select:focus{outline:2px solid #ff9512;outline-offset:3px}
.billing-choice-preview{display:flex;flex-direction:column;justify-content:center;gap:7px;padding:20px;margin:20px 0 24px;min-height:120px;border:1px dashed var(--border);border-radius:12px;font-size:14px;line-height:1.5}
.billing-choice-preview.selected{border-style:solid;border-left:3px solid #ff9512;background:rgba(255,145,16,.035)}
.billing-choice-preview small{font-size:12px;color:var(--muted);letter-spacing:.04em}
.billing-choice-preview strong{font-size:20px;line-height:1.3}
.billing-choice-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:22px;border-top:1px solid var(--border)}
.billing-choice-footer .field-help{margin:0;font-size:13px;line-height:1.5}
.billing-choice-footer button{display:flex;align-items:center;justify-content:center;gap:20px;white-space:nowrap;min-height:48px}
.billing-choice-info{padding:28px 4px}
.billing-choice-info ol{padding:0;margin:24px 0 0;list-style:none}
.billing-choice-info li{display:flex;gap:14px;margin:0 0 26px;align-items:flex-start}
.billing-choice-info li>span{display:grid;place-items:center;flex:0 0 30px;height:30px;border:1px solid var(--border);border-radius:50%;font-size:13px;font-weight:700;color:var(--muted)}
.billing-choice-info li:first-child>span{background:rgba(255,145,16,.12);border-color:rgba(255,145,16,.3);color:#ff9512}
.billing-choice-info strong{font-size:14px}
.billing-choice-info p{margin:6px 0 0;font-size:13px;color:var(--muted);line-height:1.6}
@media(max-width:1100px){.billing-choice-layout{grid-template-columns:minmax(0,1fr);max-width:760px}.billing-choice-info{padding:0 8px}.billing-choice-info ol{display:flex;gap:24px}.billing-choice-info li{flex:1}}
@media(max-width:650px){.billing-choice-layout{margin-top:24px;gap:24px}.billing-page .billing-choose-form{padding:22px}.billing-choice-footer{flex-direction:column;align-items:stretch}.billing-choice-info ol{display:block}.billing-choice-info li{margin-bottom:18px}.billing-choice-heading h2{font-size:21px}}
.billing-overview-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 24px;margin:24px 0;background:var(--panel);border:1px solid var(--border);border-radius:16px}
.billing-overview-toolbar p{margin:7px 0 0;color:var(--muted);font-size:14px}
.billing-toolbar-actions{display:flex;gap:12px;flex-wrap:wrap}
.billing-toolbar-actions button{display:flex;align-items:center;gap:12px;min-height:48px}
.billing-toolbar-actions button>span{font-size:20px}
.billing-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0}
.billing-summary button{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:10px;padding:24px;border:1px solid var(--border);border-radius:16px;background:var(--panel);color:var(--text);cursor:pointer}
.billing-summary button:hover,.billing-summary button.active{border-color:#ff9512}
.billing-summary button.active{box-shadow:inset 3px 0 #ff9512}
.billing-summary small{color:var(--muted);font-size:13px;font-weight:600}
.billing-summary strong{font-size:28px;line-height:1.2}
.billing-summary span{font-size:13px;color:var(--muted)}
.billing-filters{display:grid;grid-template-columns:minmax(180px,1.6fr) repeat(3,minmax(120px,1fr)) auto;gap:16px;padding:24px;border-bottom:1px solid var(--border);align-items:end}
.billing-filters label{display:flex;flex-direction:column;gap:9px;font-size:13px;font-weight:600}
.billing-filters input,.billing-filters select{width:100%;min-width:0;min-height:46px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--bg,#071521);color:var(--text);font:inherit;font-size:14px}
.billing-filters input:focus,.billing-filters select:focus{outline:2px solid #ff9512;outline-offset:2px}
.billing-filters button{min-height:46px}
.billing-results{padding:16px 24px;font-size:13px;color:var(--muted)}
.billing-status{display:inline-block;padding:6px 10px;border-radius:8px;font-size:12px;font-weight:700;white-space:nowrap;background:rgba(130,150,170,.15);color:var(--text)}
.billing-status[data-status="Concept"]{color:#eaa843;background:rgba(234,168,67,.13)}
.billing-status[data-status="Betaald"]{color:#51bba0;background:rgba(81,187,160,.13)}
.billing-status[data-status="Definitief"],.billing-status[data-status="Verzonden"]{color:#6eafde;background:rgba(110,175,222,.13)}
.billing-overdue{color:#e8847d;font-size:12px;margin-top:6px}
.billing-empty{text-align:center;padding:40px!important;color:var(--muted)}
@media(max-width:1200px){.billing-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.billing-filters button{justify-self:start}}
@media(max-width:700px){.billing-overview-toolbar{align-items:stretch;flex-direction:column;padding:18px}.billing-summary{grid-template-columns:1fr}.billing-summary button{padding:18px}.billing-filters{grid-template-columns:1fr;padding:18px}.billing-toolbar-actions button{flex:1;justify-content:center}.billing-results{padding:16px 18px}}

.billing-delivery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}
.billing-delivery-card{min-width:0;border:1px solid var(--border);border-radius:16px;background:var(--panel,var(--bg));overflow:hidden}
.billing-delivery-card header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:22px;border-bottom:1px solid var(--border)}
.billing-delivery-title{display:flex;align-items:center;gap:12px;min-width:0}
.billing-delivery-icon{display:grid;place-items:center;width:42px;height:42px;flex-shrink:0;border-radius:12px;background:rgba(255,149,18,.12);color:#ff9512;font-size:23px}
.billing-delivery-card h3{margin:0;font-size:17px;color:var(--text)}
.billing-delivery-title p{margin:5px 0 0;color:var(--muted);font-size:13px}
.billing-delivery-badge{display:inline-flex;align-items:center;padding:7px 10px;border-radius:99px;font-size:12px;font-weight:700;white-space:nowrap;line-height:1.4}
.billing-delivery-badge[data-tone="success"]{background:rgba(65,182,143,.14);color:var(--text)}
.billing-delivery-badge[data-tone="warning"]{background:rgba(234,168,67,.16);color:var(--text)}
.billing-delivery-badge[data-tone="pending"]{background:rgba(110,175,222,.14);color:var(--text)}
.billing-delivery-card dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;padding:22px;margin:0}
.billing-delivery-card dt{font-size:12px;color:var(--muted);margin-bottom:7px}
.billing-delivery-card dd{margin:0;color:var(--text);font-size:14px;overflow-wrap:anywhere;line-height:1.5}
.billing-delivery-card footer{padding:16px 22px;border-top:1px solid var(--border);background:rgba(130,150,170,.04)}
.billing-delivery-card footer p{margin:0;color:var(--muted);font-size:13px;line-height:1.6}
.billing-delivery-card footer button{margin-top:12px}
@media(max-width:1050px){.billing-delivery-grid{grid-template-columns:1fr}}
@media(max-width:550px){.billing-delivery-card header{flex-direction:column}.billing-delivery-card dl{grid-template-columns:1fr}.billing-delivery-card header,.billing-delivery-card dl{padding:18px}}
