.billing-page{overflow:auto;min-height:0}.billing-contract{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:24px 0}.billing-contract h2{margin:6px 0}.billing-contract>div{max-width:42rem}.billing-contract strong{font-size:28px}.billing-totals{display:flex;gap:28px;flex-wrap:wrap;padding:18px 0}.billing-totals span{display:grid;gap:6px}.billing-totals strong{font-size:25px}.billing-filters{align-items:end;margin:18px 0;gap:14px}.billing-filters label{display:grid;gap:6px}.billing-filters input{width:170px}.billing-filters select{width:240px}.owner-shell{height:100dvh;overflow:hidden;background:#f5f7fb;color:#14243c}.owner-frame{height:100dvh;display:grid;grid-template-rows:auto auto minmax(0,1fr)}.owner-header{display:flex;align-items:center;gap:20px;padding:16px 28px;background:white;border-bottom:1px solid #dce2eb}.owner-header h1{font-size:22px;margin:0}.owner-header .owner-identity{margin-left:auto}.owner-nav{display:flex;gap:8px;padding:12px 28px;overflow:auto;background:white}.owner-content{padding:22px 28px;overflow:auto;min-height:0}.owner-login{height:100dvh;display:grid;place-items:center;padding:20px}.owner-login form{width:min(420px,100%);background:white;border:1px solid #dce2eb;border-radius:16px;padding:30px;display:grid;gap:18px}.owner-login input{width:100%}.owner-field{display:grid;gap:6px;width:max-content;max-width:100%}.owner-field input,.owner-field select{width:240px;max-width:100%}.owner-field input[type=number]{width:125px}.owner-field input[type=datetime-local]{width:240px}.owner-field textarea{width:min(550px,100%);height:90px}.owner-form-row{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin:18px 0}.owner-section-title{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.owner-error{background:#fff0ed;color:#9e2817;padding:12px;border-radius:8px}.owner-rate-table input{width:120px!important}.owner-rate-table th,.owner-rate-table td{padding:9px 14px}.owner-shell dialog{width:min(850px,calc(100vw - 32px));max-height:90dvh;padding:24px;border:1px solid #dce2eb;border-radius:14px;overflow:auto;background:white;color:#14243c}.owner-shell dialog::backdrop{background:#14243c88}.owner-shell button:disabled{opacity:.55}.owner-empty{padding:30px 0}.owner-counts{display:flex;gap:30px;margin:16px 0 24px}.owner-counts strong{font-size:28px;display:block}.owner-row-actions{display:flex;gap:6px;flex-wrap:wrap}.owner-terms{padding:14px;background:#eef4fa;margin:14px 0;line-height:1.7}@media(max-width:640px){.owner-header,.owner-nav,.owner-content{padding:14px}.owner-header{flex-wrap:wrap}.owner-header .owner-identity{margin-left:0}.owner-field input,.owner-field select{max-width:calc(100vw - 84px)}.billing-filters select{width:200px}}
.owner-section-title>div{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.owner-field select[name=currency]{width:110px}.owner-field input[type=date]{width:170px}
.owner-detail-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.owner-detail-facts{max-width:760px}.owner-detail-facts>div{display:grid;grid-template-columns:160px minmax(0,1fr);gap:20px;border-bottom:1px solid #dce2eb;padding:14px 0}.owner-detail-facts dt{font-weight:600}.owner-detail-facts dd{margin:0;overflow-wrap:anywhere;white-space:pre-wrap}.owner-counts{flex-wrap:wrap}@media(max-width:640px){.owner-detail-facts>div{grid-template-columns:1fr;gap:6px}}
.table td.owner-row-actions{display:table-cell;white-space:normal}.table td.owner-row-actions>.btn{margin:3px 4px 3px 0}
.owner-profit-grid{display:grid;grid-template-columns:minmax(280px,1fr) minmax(280px,1fr);gap:32px;margin:20px 0}.owner-cost-bar{display:grid;grid-template-columns:140px minmax(80px,1fr) 100px;gap:10px;align-items:center;margin:14px 0}.owner-cost-bar>div{height:12px;border-radius:6px;background:#e3eaf3;overflow:hidden}.owner-cost-bar i{display:block;height:100%;background:#087f88;border-radius:6px}.owner-cost-bar strong{text-align:right}.owner-source{border-bottom:1px solid #dce2eb;max-width:880px;padding:12px 0}.owner-source a{overflow-wrap:anywhere}.owner-counts strong{font-size:25px}.owner-shell #cost-assumptions input{width:135px}.owner-shell details .owner-form-row{padding:12px 0}@media(max-width:850px){.owner-profit-grid{grid-template-columns:1fr}.owner-cost-bar{grid-template-columns:120px minmax(50px,1fr) 95px}}
.owner-field input[type=search]{min-height:36px;padding:8px 12px}
.owner-charge-row{border:1px solid #dce2eb;border-radius:8px;padding:14px 18px;margin:16px 0}.owner-charge-row legend{font-weight:600}.owner-charge-row input[type=number]{width:110px}.owner-charge-row select{width:280px;max-width:100%}.owner-charge-row .owner-form-row{margin:8px 0}.owner-shell input[name=chargeUnitsPerCost],.owner-shell input[name=sellingRate]{width:140px}
.charge-editor [hidden]{display:none!important}
.owner-charge-row{position:relative}.charge-help{position:absolute;right:14px;top:8px;z-index:2}.charge-help[open]{z-index:10}.charge-help summary{cursor:pointer;list-style:none;color:#245980;font-size:20px;padding:2px 6px;border-radius:5px}.charge-help summary::-webkit-details-marker{display:none}.charge-help summary:focus-visible{outline:2px solid #245980;outline-offset:2px}.charge-help-body{position:absolute;right:0;top:32px;width:min(430px,calc(100vw - 100px));max-height:320px;overflow:auto;white-space:pre-line;background:#14243c;color:white;padding:16px;border-radius:10px;box-shadow:0 8px 28px #14243c44;font-size:13px;line-height:1.65;font-weight:400}
.owner-shell #cost-licenses fieldset{border:1px solid #dce2eb;border-radius:10px;padding:18px;display:grid;gap:12px;min-width:0;max-width:100%}.owner-shell #cost-licenses legend{font-weight:600}.owner-shell #cost-licenses p{max-width:34rem}.charge-help[data-above=true] .charge-help-body{top:auto;bottom:32px}
.owner-cost-table{table-layout:fixed;min-width:1080px;width:100%}.owner-cost-table th:first-child{width:190px}.owner-cost-table th:nth-child(2){width:180px}.owner-cost-table th:nth-child(3){width:130px}.owner-cost-table th:nth-child(7){width:180px}.owner-cost-table td{white-space:normal;overflow-wrap:anywhere}.owner-cost-table .customer-cost-cell,.owner-cost-table th:nth-child(2){background:#eef6f7}.owner-cost-table .customer-cost-cell strong{color:#14545d}.owner-cost-table .customer-cost-cell small{display:inline-block;margin-top:5px;line-height:1.5}
.proposal-summary{position:sticky;top:-24px;z-index:12;margin:-4px -4px 18px;padding:12px;background:#f1f7fa;border:1px solid #cddfe8;border-radius:9px;box-shadow:0 3px 9px #14243c0c}.proposal-summary h3{font-size:14px;margin:0 0 8px}.proposal-price-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.proposal-price-grid>div{display:grid;gap:4px;align-content:start}.proposal-price-grid strong{font-size:20px;color:#17485d}.proposal-price-grid small{font-size:11px;font-weight:600}.proposal-price-grid span,.proposal-price-note{font-size:11px;line-height:1.45}.proposal-price-note{margin:8px 0 0}.proposal-calculation{margin-top:6px;font-size:12px}.proposal-calculation summary{cursor:pointer;color:#245980}.proposal-calculation-body{max-height:190px;overflow:auto;margin-top:8px}.proposal-calculation .table{min-width:620px}.proposal-calculation .table td,.proposal-calculation .table th{padding:6px 9px;font-size:11px}@media(max-width:640px){.proposal-summary{position:relative;top:auto;padding:10px}.proposal-price-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.proposal-price-grid strong{font-size:17px}}
.owner-shell dialog.proposal-dialog{height:min(94dvh,1000px);max-height:94dvh;overflow:hidden;padding:20px}.proposal-form{height:100%;min-height:0;display:flex;flex-direction:column;gap:8px}.proposal-form>.owner-section-title,.proposal-form>.dialog-error,.proposal-form>.owner-form-row{flex:none}.proposal-form>.owner-section-title h2{margin:0}.proposal-form>.dialog-error:empty{display:none}.proposal-form>.proposal-summary{position:relative;top:auto;flex:none;margin:0;max-height:45%;overflow:auto}.proposal-editor-fields{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 4px}.proposal-form>.owner-form-row{margin:0;padding-top:4px}
.proposal-seat-inputs{display:flex;gap:18px;flex-wrap:wrap;margin:0 0 10px}.proposal-seat-inputs label{font-size:12px}.proposal-seat-inputs input[type=number]{width:115px;padding:6px 10px;min-height:32px}
.proposal-platform-field{margin-bottom:10px}.proposal-platform-field input[type=number]{width:165px}.proposal-activity-usage{margin:16px 0 20px;padding:14px;background:#f5f9fb;border:1px solid #dce7ed;border-radius:9px}.proposal-activity-usage h3{margin:0 0 6px;font-size:15px}.proposal-activity-usage .table-wrap{max-height:290px;overflow:auto}.proposal-activity-usage .table{min-width:610px}.proposal-activity-usage input[type=number]{width:115px;min-height:34px;padding:6px 9px}.proposal-activity-usage th,.proposal-activity-usage td{padding:8px 10px}.proposal-form>.proposal-summary{max-height:49%}
.proposal-planning-inputs{display:flex;gap:18px;align-items:flex-start;flex-wrap:wrap}.proposal-planning-inputs .proposal-platform-field{font-size:12px}.proposal-planning-inputs .proposal-platform-field input{min-height:32px;padding:6px 10px}.proposal-planning-inputs .proposal-seat-inputs{margin-bottom:10px}
