
.tenant-integrations{margin:32px 0;padding:28px;border:1px solid #dbe5ee;border-radius:18px;background:#f8fafc;color:#183047}
.integration-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px}.integration-heading h2{margin:8px 0;font-size:26px}.integration-heading p{margin:0;color:#61758a}.integration-heading>label{min-width:260px;margin:0}.integration-heading select{width:100%}
.integration-notice{display:flex;flex-wrap:wrap;gap:8px 16px;padding:14px 18px;background:#fff6df;border:1px solid #f0dfa9;border-radius:10px;color:#72551b;margin-bottom:22px}
.integration-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.integration-card{background:white;padding:24px;border:1px solid #dbe5ee;border-radius:14px;min-width:0}.integration-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}.integration-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#e0f2fe;color:#0369a1;font-weight:800}.integration-icon.wa{background:#dcfce7;color:#15803d}.integration-icon.payment{background:#ede9fe;color:#6d28d9}.integration-badge{font-size:11px;background:#f1f5f9;color:#64748b;border-radius:20px;padding:6px 10px}.integration-card h3{font-size:20px;margin:20px 0 10px}.integration-card p{color:#61758a;line-height:1.6;min-height:50px}.integration-card label{display:block;margin:18px 0 12px}.integration-card input{display:block;width:100%;margin-top:8px}.integration-card small{color:#75879a;line-height:1.6}.integration-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:22px;margin-top:22px;border-top:1px solid #dbe5ee}.integration-footer p{margin:0;color:#61758a}.integration-footer button{white-space:nowrap}
@media(max-width:1100px){.integration-grid{grid-template-columns:1fr}.integration-card p{min-height:0}}@media(max-width:650px){.tenant-integrations{padding:18px}.integration-heading,.integration-footer{flex-direction:column;align-items:stretch}.integration-heading>label{min-width:0}}

.integration-audit{margin-top:22px;padding:16px;background:#fff;border:1px solid #dbe5ee;border-radius:12px}.integration-audit summary{cursor:pointer;font-weight:600}#integration-audit{max-height:240px;overflow:auto;color:#61758a}

.integration-routing{margin-top:22px;padding:20px;background:white;border:1px solid #dbe5ee;border-radius:12px}.integration-routing input{max-width:180px}.integration-routing p{color:#61758a}

.integration-preview{margin-top:20px;padding:20px;background:white;border:1px solid #dbe5ee;border-radius:12px}.integration-preview select{max-width:400px}.integration-preview button{margin:12px 0}.integration-preview blockquote{margin:12px 0;padding:16px;border-left:4px solid #0e776b;background:#f0fdfa}.integration-preview p{color:#61758a}

.tenant-general{background:white;padding:22px;border:1px solid #dbe5ee;border-radius:14px;margin:22px 0}.general-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}.general-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 24px}.general-fields input,.general-fields select{width:100%;display:block}.general-fields input[type=checkbox]{display:inline;width:auto}.general-fields input[type=color]{height:42px}.tenant-general form>button{margin-top:16px}@media(max-width:650px){.general-fields{grid-template-columns:1fr}}

#tenant-brand{display:flex;align-items:center;gap:12px}.tenant-brand-logo{max-width:120px;max-height:48px;object-fit:contain}.tenant-integrations{--tenant-accent:#0e776b}.tenant-integrations button{background:var(--tenant-accent)}.tenant-integrations .eyebrow{color:var(--tenant-accent)}

.tenant-subscription{padding:22px;background:#eef7ff;border:1px solid #cddfed;border-radius:14px;margin-top:22px}.subscription-modules{display:flex;gap:10px;flex-wrap:wrap}.subscription-modules span{background:white;padding:8px 12px;border-radius:20px;color:#28536c}.tenant-subscription p{color:#61758a}

.dashboard-navigation{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.dashboard-navigation button{background:#e7edf4;color:#28536c;border:1px solid #cbd8e5}.dashboard-navigation button[aria-pressed=true]{background:#0e776b;color:white}.tenant-integrations[hidden],#admin-panel[hidden],#module-workspace[hidden],.dashboard-navigation button[hidden]{display:none!important}.integration-footer{flex-wrap:wrap;justify-content:flex-start}.integration-footer p{flex-basis:100%}
.rental-prices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:24px 0}.rental-prices form,.rental-invoice{padding:20px;border:1px solid #334155;border-radius:12px;margin-bottom:16px}.rental-invoice p{display:flex;justify-content:space-between;gap:16px}.rental-prices button{margin-top:12px}@media(max-width:700px){.rental-prices{grid-template-columns:1fr}}
#capacity-admin{margin:28px 0;padding:24px;border:1px solid #dbe4ee;border-radius:14px;background:#f8fafc}#capacity-admin h3{margin:24px 0 12px}#capacity-admin form{display:grid;gap:16px;margin:20px 0}#capacity-admin form button{justify-self:start}#capacity-admin form p{margin:0}#capacity-admin label{display:grid;gap:8px}
.rental-quote{padding:20px;margin:20px 0;border:1px solid #cbd5e1;border-radius:12px;background:#f0fdfa}.rental-quote p{display:flex;justify-content:space-between;gap:16px}.rental-quote h3{margin-top:0}#rental-admin>#refresh-rental,#rental-admin>#issue-rental{margin:8px 12px 12px 0}
.quota-history-dialog{width:min(680px,90vw);max-height:80vh;overflow:auto}.quota-history-dialog article{padding:18px 0;border-bottom:1px solid #e2e8f0}.quota-history-dialog>button{margin-top:20px}#capacity-admin [data-edit-tier]{margin-left:12px}
.rental-invoice-dialog{width:min(900px,94vw);max-height:88vh;overflow:auto;border:1px solid #cbd5e1;border-radius:16px;padding:28px}.rental-print-header{display:flex;justify-content:space-between;gap:16px;padding-bottom:20px;border-bottom:2px solid #0f766e}.rental-print-sheet dl{display:grid;grid-template-columns:140px 1fr;gap:12px;margin:24px 0}.rental-print-sheet dd{margin:0;overflow-wrap:anywhere}.rental-print-sheet dt{color:#64748b}.rental-print-total{display:flex;justify-content:space-between;padding:20px;background:#f0fdfa;border-radius:8px;font-size:20px}.rental-print-actions{display:flex;gap:16px;margin-top:28px}.rental-print-sheet th,.rental-print-sheet td{padding:14px;text-align:left}@media print{@page{size:A4;margin:18mm}body.printing-rental-invoice{background:white!important}body.printing-rental-invoice>*:not(.printing-active){display:none!important}body.printing-rental-invoice .printing-active{display:block!important;position:static!important;width:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;border:none!important;box-shadow:none!important;overflow:visible!important;color:black!important;background:white!important}body.printing-rental-invoice .rental-print-actions{display:none!important}body.printing-rental-invoice .table-wrap{overflow:visible!important}body.printing-rental-invoice .rental-print-sheet{color:black!important}body.printing-rental-invoice tr{break-inside:avoid}}
.rental-overview-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}.rental-overview-cards article{display:grid;gap:12px;padding:20px;background:#f0fdfa;border:1px solid #cbd5e1;border-radius:12px}.rental-overview-cards strong{font-size:23px}#rental-overview>button{margin-top:20px}@media(max-width:900px){.rental-overview-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.rental-overview-cards{grid-template-columns:1fr}}

#rental-overview .actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:20px}#rental-overview td{vertical-align:top}#rental-overview td small{display:block;margin-top:6px;color:#61758a}

/* Shared typography: sentence case labels, consistent UI font and weights. */
:root{font-family:"Segoe UI",system-ui,-apple-system,sans-serif}
body,button,input,select,textarea,h1,h2,h3,.brand,.logo{font-family:"Segoe UI",system-ui,-apple-system,sans-serif}
button,input,select,textarea{font-size:13px}
h1{font-weight:700;line-height:1.25;letter-spacing:-.4px}
h2,h3{font-weight:650;line-height:1.4;letter-spacing:normal}
aside nav button,aside nav summary{font-size:13px;line-height:1.45}
.eyebrow,aside nav p,.nav-caption,.subtitle{letter-spacing:.5px;text-transform:none}
th{font-weight:600;letter-spacing:normal;text-transform:none}

/* Consistent control spacing and readable form typography. */
label{font-weight:500;line-height:1.5}
input,select,textarea{font-weight:400;line-height:1.5}
button{font-weight:500;line-height:1.45}
.actions,.toolbar,.dialog-title,.integration-footer{gap:10px;row-gap:10px}
.actions,.toolbar,.integration-footer{flex-wrap:wrap}
form>button+button,.traffic-alerts>button+button{margin-left:8px}
dialog{max-height:90vh;overflow:auto}
dialog h2{margin-top:0}
button:focus-visible,a:focus-visible{outline:2px solid #36bfa6;outline-offset:3px}
@media(max-width:650px){.toolbar{align-items:flex-start}.actions button{min-height:38px}}
