/* CERTCORE DETAIL ROUND 5 v16 — ACCOUNT / CUSTOMER / LICENSE CORE */
.cc-account-card{overflow:visible;align-self:start}.cc-live-form{margin-top:14px}.cc-form-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.span-two{grid-column:span 2}.span-three{grid-column:span 3}.span-four{grid-column:1/-1}.cc-inline-state{font-size:9px;font-weight:800;color:#64748b}.cc-inline-state.ok{color:#059669}.cc-inline-state.err{color:#dc2626}
.cc-account-summary-grid,.cc-license-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0}.cc-account-summary-grid>div,.cc-license-metrics>div{border:1px solid #e4ebf4;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fbff);padding:13px}.cc-account-summary-grid small,.cc-license-metrics small{display:block;font-size:8px;color:#8191a3;margin-bottom:5px}.cc-account-summary-grid b,.cc-license-metrics b{font-size:11px;color:#22384e;overflow-wrap:anywhere}
.cc-subcard-head,.cc-customer-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.cc-session-list,.cc-customer-list{display:flex;flex-direction:column;gap:7px;margin-top:10px}.cc-session-row,.cc-customer-row{display:grid;align-items:center;gap:10px;border:1px solid #e6edf5;border-radius:13px;background:#fff;padding:10px 12px}.cc-session-row{grid-template-columns:36px minmax(0,1fr) auto}.cc-session-row>span:first-child{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:#eef4ff;color:#2563eb}.cc-session-row b,.cc-customer-row b{font-size:9.5px;color:#23394f}.cc-session-row small,.cc-customer-row small{display:block;font-size:8px;color:#7d8da0;margin-top:2px}.cc-session-row .active{color:#059669}.cc-session-row .inactive{color:#94a3b8}.cc-account-empty{padding:18px;text-align:center;color:#8796a8;font-size:9px;border:1px dashed #d9e3ee;border-radius:13px;background:#fbfdff}
.cc-license-status-pill,.cc-platform-badge,.cc-seat-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border:1px solid #dbe6f1;border-radius:999px;background:#f8fbff;color:#486176;font-size:8px;font-weight:900}.cc-license-status-pill.active{background:#ecfdf5;border-color:#c9f2df;color:#047857}.cc-license-status-pill.trial{background:#eff6ff;border-color:#d9e8ff;color:#1d4ed8}.cc-license-status-pill.expired,.cc-license-status-pill.suspended,.cc-license-status-pill.cancelled{background:#fff1f2;border-color:#ffd9df;color:#be123c}.cc-platform-badge{background:#fff8e9;border-color:#ffe6b2;color:#a16207}.cc-seat-badge{background:#eef4ff;color:#2859a8}
.cc-license-timeline{border:1px solid #e5ecf4;border-radius:14px;padding:12px;margin-bottom:12px;background:#fbfdff}.cc-license-timeline>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:8px;color:#77889b}.cc-license-track{height:7px;border-radius:999px;background:#e9eff6;overflow:hidden;margin-top:9px}.cc-license-track i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#2563eb,#0ea5e9);transition:width .25s}.cc-feature-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.cc-feature-chips span{font-size:8px;font-weight:800;color:#426176;background:#f2f7fb;border:1px solid #e0e9f2;border-radius:999px;padding:5px 7px}
.cc-user-create-box,.cc-customer-create-box{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:12px;border:1px solid #e2eaf3;border-radius:15px;background:linear-gradient(135deg,#fbfdff,#f6f9fd);margin:13px 0}.cc-user-create-box{grid-template-columns:repeat(4,minmax(0,1fr))}.cc-password-field>div{display:flex;gap:6px}.cc-password-field .cc-input{min-width:0}.cc-password-field .btn{white-space:nowrap}.cc-form-actions small{font-size:7.5px;color:#7f8fa0;line-height:1.35}
.cc-customer-toolbar{margin-top:14px;padding:0 2px}.cc-customer-toolbar b{font-size:11px;color:#263c52}.cc-customer-toolbar small{display:block;font-size:8px;color:#8090a3;margin-top:2px}.cc-customer-row{grid-template-columns:minmax(180px,1.2fr) minmax(125px,.72fr) minmax(130px,.76fr) minmax(95px,.55fr) minmax(390px,1.8fr)}.cc-customer-type{display:inline-flex;padding:3px 6px;border-radius:999px;font-size:7px;font-weight:900;background:#eef4ff;color:#2859a8;margin-top:4px}.cc-customer-row .cc-license-edit{display:grid;grid-template-columns:repeat(3,minmax(90px,1fr));gap:5px;align-items:center}.cc-customer-row select,.cc-customer-row input{height:30px;border:1px solid #dce5ee;border-radius:8px;background:#fff;padding:0 7px;font-size:8px;color:#334b61;min-width:0;width:100%}.cc-customer-row button{height:30px}.cc-customer-row .cc-license-edit>button{grid-column:3}.cc-days-ok{color:#047857!important}.cc-days-warn{color:#b45309!important}.cc-days-bad{color:#be123c!important}
.cc-role-empty{grid-column:1/-1}.settings-user-row[data-live-user]{grid-template-columns:38px minmax(0,1fr) 90px 70px auto}.settings-user-row select{height:30px;border:1px solid #dce5ee;border-radius:8px;background:#fff;font-size:8px;padding:0 6px}.settings-user-row .cc-user-save{border:0;background:#eef4ff;color:#2563eb;border-radius:8px;width:30px;height:30px;cursor:pointer}.settings-user-row .cc-user-save:hover{background:#dfeaff}.settings-user-row .cc-user-status-btn{border:0;border-radius:999px;padding:5px 7px;font-size:7.5px;font-weight:900;cursor:pointer;background:#ecfdf5;color:#047857}.settings-user-row .cc-user-status-btn.suspended{background:#fff1f2;color:#be123c}
.cc-api-status{width:34px!important;min-width:34px!important;padding:0!important;justify-content:center!important}.cc-api-status>b{display:none!important}.cc-api-status>span{width:10px!important;height:10px!important;box-shadow:0 0 0 5px rgba(16,185,129,.10)}.cc-api-status.online>span{background:#10b981}.cc-profile-avatar{background:linear-gradient(145deg,#eff6ff,#e8edf7)!important;border:1px solid #dce6f2!important;color:#28445f!important;font-weight:950!important;box-shadow:inset 0 1px 0 #fff,0 5px 18px rgba(32,71,111,.08)}
@media(max-width:1250px){.cc-user-create-box,.cc-customer-create-box{grid-template-columns:repeat(2,minmax(0,1fr))}.span-four{grid-column:1/-1}.cc-customer-row{grid-template-columns:1fr 1fr}.cc-customer-row .cc-license-edit{grid-column:1/-1;grid-template-columns:repeat(3,minmax(100px,1fr))}.cc-account-summary-grid,.cc-license-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.cc-user-create-box,.cc-customer-create-box,.cc-account-summary-grid,.cc-license-metrics{grid-template-columns:1fr}.span-two,.span-three,.span-four{grid-column:auto}.cc-customer-row{grid-template-columns:1fr}.cc-customer-row .cc-license-edit{grid-column:auto;grid-template-columns:1fr 1fr}.cc-customer-row .cc-license-edit>button{grid-column:1/-1}.settings-user-row[data-live-user]{grid-template-columns:38px 1fr}.settings-user-row[data-live-user]>*:nth-child(n+3){grid-column:2}}
/* v16.2 platform-console visibility must fail closed even though app.css gives settings buttons display:grid. */
.settings-nav #ccPlatformCustomersTab[hidden],
#ccPlatformCustomersPanel[hidden]{display:none!important}

