/* Shared Core/CRM palette; keep the existing License layout and workflows. */
.security-user-agent{white-space:normal;overflow-wrap:anywhere;word-break:break-word}.security-event .security-success{background:#145e49;color:#e5fff4}.security-event .security-neutral{background:#58451b;color:#fff4d2}
.tenant-table th,.tenant-table td{vertical-align:middle}.tenant-table th:last-child{width:1%}.table-actions{margin:0;flex-wrap:nowrap;justify-content:flex-end}.table-actions .btn{white-space:nowrap;min-height:44px}.tenant-table{min-width:800px}input[readonly]{color:var(--muted);cursor:default}
.protocol-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--border);margin-bottom:24px;padding-bottom:12px}.protocol-tabs [aria-current=page]{border:1px solid var(--cyan);background:rgba(0,205,183,.16);color:var(--text)}.error-details{display:grid;grid-template-columns:180px minmax(0,1fr);gap:10px 20px;margin:0}.error-details dt{font-weight:650}.error-details dd{margin:0}.error-header{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:20px}.error-header h2{margin:0;font-size:1.05rem}.error-trace{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px}.pagination-bar{display:flex;gap:16px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin-top:20px}.error-help{margin-top:24px;padding-top:20px;border-top:1px solid var(--border)}@media(max-width:600px){.error-details{grid-template-columns:1fr;gap:4px}.error-details dd{margin-bottom:12px}}
:root{--navy:#062b4b;--deep:#031d34;--panel:#082944;--cyan:#00cdb7;--text:#f7fbff;--muted:#b5cad9;--border:rgba(199,219,234,.20)}
body{background:var(--deep);font-family:"Segoe UI",system-ui,-apple-system,sans-serif;color:var(--text)}
.topbar,.sidebar{background:var(--navy)}
.topbar{box-shadow:0 8px 24px rgba(1,16,29,.24)}
.card{background:var(--panel);border-color:var(--border);box-shadow:0 14px 36px rgba(1,16,29,.26)}
input,select,textarea{background:#041f37;border-color:rgba(199,219,234,.28);color:var(--text)}
input:focus,select:focus,textarea:focus{border-color:var(--cyan);box-shadow:0 0 0 3px rgba(0,205,183,.18)}
.btn,button,.nav-link.active{background:var(--cyan);color:var(--deep)}
.btn:hover,button:hover{background:#18dac6;color:var(--deep)}
.btn.secondary,button.secondary,.topbar-logout button{background:#294f69;color:var(--text)}
.btn.danger,button.danger{background:#d32f43;color:#fff}
.choice-card,.product-choice,.wizard-step-indicator{background:#0b3555}
.badge{background:#24516d}.system-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,315px),1fr))}
.system-card{display:flex;flex-direction:column;min-width:0}.system-card h2{font-size:1.15rem;margin:14px 0 0}
.system-card .btn{margin-top:auto;align-self:flex-start}.system-logo{display:block;width:min(100%,300px);height:64px;object-fit:contain;object-position:left center}
.system-price{font-size:1.3rem;font-weight:700}.system-price .muted{font-size:.9rem;font-weight:400}
.system-limits{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;margin:6px 0 18px;font-size:.9rem}.system-limits dd{margin:0;font-weight:700;text-align:right}
.table-scroll{overflow:auto;max-width:100%;border-radius:10px}.table-scroll input[type=number]{min-width:100px}
.check-label{display:flex;align-items:center;gap:10px;font-weight:600;margin:12px 0}.check-label input{flex:0 0 auto;margin:0}
.module-tags{display:flex;flex-wrap:wrap;gap:8px}.section-actions{margin-top:24px}
.actions>.btn{flex:0 0 auto;align-self:center}.row>button{flex:0 0 auto;align-self:end}
.actions{margin-bottom:20px}.section-actions{margin-bottom:0}.row{align-items:flex-start}
.card,.code,td,dd{overflow-wrap:anywhere}
@media(max-width:860px){.topbar{padding:0 12px;gap:8px}.topbar .brand{min-width:0;flex:1}.topbar .brand-logo{width:100%;max-width:280px}.topbar-logout{flex:0 0 auto;margin-left:0}.menu-toggle{flex:0 0 auto;margin-left:0}.topbar-logout button,.menu-toggle{font-size:12px;padding:9px 10px}.row>button{align-self:stretch}}
/* Match Core Demo's wordmark, shell spacing and outlined active sidebar. */
.installation-item{padding:24px}.installation-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.installation-main{min-width:0}.installation-tenant{display:block;font-size:1.1rem;margin-bottom:4px}.installation-domain{display:block;overflow-wrap:anywhere}.installation-meta{display:flex;flex-direction:column;gap:4px;font-size:.9rem;text-align:right}.installation-meta strong{white-space:nowrap}.installation-footer{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:end;margin-top:22px;padding-top:20px;border-top:1px solid var(--border)}.installation-identity{min-width:0}.installation-field-label,.installation-status-field label{display:block;font-size:.85rem;font-weight:600;color:var(--muted);margin:0 0 8px}.installation-key-row{display:flex;gap:10px;align-items:center;max-width:440px}.installation-key{min-width:0;font-size:.8rem;line-height:1.5;overflow-wrap:anywhere;background:#041f37;border:1px solid var(--border);padding:11px 12px;border-radius:8px;min-height:44px}.copy-key{flex:0 0 auto;height:44px;white-space:nowrap}.installation-actions{display:flex;gap:16px;align-items:flex-end}.installation-actions form{margin:0}.installation-status-form{display:flex;gap:10px;align-items:flex-end}.installation-status-field{width:150px;flex:0 0 150px}.installation-status-field select,.installation-actions button{height:44px;min-height:44px}.installation-actions button{flex:0 0 auto;white-space:nowrap;word-break:normal;overflow-wrap:normal}.installation-delete-form{padding-left:16px;border-left:1px solid var(--border)}.installation-actions .danger-outline{background:transparent;color:#ff9aa8;border:1px solid #a63b4b}.installation-actions .danger-outline:hover{background:#4a1820}
@media(max-width:1100px){.installation-footer{grid-template-columns:minmax(0,1fr);gap:20px}.installation-actions{justify-content:flex-start}}
@media(max-width:600px){.installation-item{padding:20px}.installation-heading{flex-direction:column;gap:16px}.installation-meta{text-align:left}.installation-actions{flex-wrap:wrap;gap:16px}.installation-status-form{flex:1 1 100%}.installation-status-field{width:auto;flex:1 1 auto}.installation-delete-form{border-left:0;padding:0}.installation-key-row{align-items:flex-start}.installation-meta strong{white-space:normal}}
.actions.table-actions{margin:0}
:root{--sidebar:235px}
body{line-height:1.5}
.topbar{height:83px;padding-inline:12px}
.shell{min-height:calc(100vh - 83px)}
.topbar .brand-logo{width:250px;max-width:250px;height:48px;object-fit:contain;object-position:left center}
.sidebar{background:#082944;box-shadow:8px 0 24px rgba(1,16,29,.16);padding:20px .85rem}
.sidebar nav{gap:.4rem}
.nav-link{gap:.75rem;min-height:44px;padding:.7rem .85rem;border:1px solid transparent;border-radius:.65rem;color:#dcecf5}
.nav-icon{width:1.25rem;color:#55dfd2}
.nav-link:hover,.nav-link:focus-visible{background:#0b385b;color:#fff}
.nav-link.active{background:rgba(0,205,183,.16);border-color:#00cdb7;color:#fff}
.content{padding:24px clamp(1rem,2.2vw,2.25rem) 48px}
.content>.wrap{max-width:none;margin:0}
.content h1{font-size:1.75rem;line-height:1.2;font-weight:760;margin:0 0 24px}
.topbar-logout button{background:#dc3545;color:#fff}
.topbar-logout button:hover{background:#bb2d3b;color:#fff}
@media(max-width:860px){.topbar{height:72px}.shell{min-height:calc(100vh - 72px)}.topbar .brand{flex:0 1 250px}.topbar-logout{margin-left:auto}}
@media(max-width:575.98px){.topbar .brand{flex-basis:160px}.topbar .brand-logo{width:160px;max-width:100%;height:auto}}
