:root{--nav:#13233f;--nav2:#192d4e;--text:#16263e;--muted:#728096;--edge:#e8ecf2;--bg:#f5f7fb;--card:#fff;--accent:#268e85;--blue:#426fbc;--green:#1f9a69;--amber:#c38827;--red:#d35359;--shadow:0 6px 22px rgba(19,35,63,.045)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:14px/1.55 Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Tahoma,Arial,sans-serif;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}:focus-visible{outline:3px solid #62c8bf;outline-offset:2px}
.shell{display:flex;min-height:100vh}.sidebar{width:246px;min-width:246px;background:var(--nav);color:#d6e0ec;position:sticky;top:0;height:100vh;padding:27px 17px 20px;display:flex;flex-direction:column}.brand{display:flex;gap:11px;align-items:center;color:#fff;padding:0 11px 38px}.brand:hover{text-decoration:none}.brand-logo{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#22a69c;color:white;font-size:23px;font-weight:bold;box-shadow:0 4px 15px #009c9955}.brand strong{font-size:15px;display:block;letter-spacing:-.35px}.brand small{color:#8eafbe;font-size:9px;letter-spacing:2px;font-weight:700;display:block;margin-top:2px}.nav-label{color:#8095b2;font-size:10px;letter-spacing:2px;font-weight:700;padding:0 14px 10px}.sidebar nav{display:grid;gap:5px}.nav-item{display:flex;align-items:center;gap:13px;border:0;background:transparent;color:#b8c6d9;border-radius:10px;text-align:left;padding:12px 15px;font-weight:550;transition:.15s;min-width:0}.nav-item:hover{background:#ffffff13;color:white}.nav-item.active{background:#22415f;color:#fff;box-shadow:inset 3px 0 #49d1be}.nav-ico{font-size:19px;width:20px;line-height:1;text-align:center;opacity:.9}.side-bottom{margin-top:auto}.side-panel{background:#ffffff0c;border:1px solid #ffffff17;border-radius:13px;display:flex;gap:10px;padding:14px 11px}.side-panel strong{color:white;font-size:12px}.side-panel p{margin:2px 0 0;color:#90a5bd;font-size:11px;line-height:1.4}.side-dot{width:9px;height:9px;background:#3ccda6;flex:none;border-radius:50%;margin-top:6px}.side-version{font-size:11px;color:#7890ad;display:block;margin:15px 6px 0}
.main-wrap{min-width:0;flex:1;display:flex;flex-direction:column}.topbar{height:78px;background:#fff;border-bottom:1px solid var(--edge);display:flex;align-items:center;justify-content:space-between;padding:0 34px;gap:16px}.breadcrumb{color:#8693a5;font-size:12px}.breadcrumb span{padding:0 9px;color:#bec6d2}.breadcrumb strong{color:#35445b}.top-right{display:flex;gap:16px;align-items:center}.sync-pill{font-size:11px;color:#207c68;border:1px solid #d1eee6;background:#f1fbf8;padding:7px 11px;border-radius:99px;white-space:nowrap}.sync-pill.warn{color:#b2762b;background:#fffaf1;border-color:#f0e1c4}.sync-pill.fail{color:#bd4c50;background:#fff6f6;border-color:#f1d3d4}.pulse{display:inline-block;vertical-align:1px;width:7px;height:7px;background:currentColor;border-radius:50%;margin-right:5px}.identity{display:flex;align-items:center;border-left:1px solid var(--edge);padding-left:15px;gap:8px}.identity-avatar{background:#eef4fb;display:grid;place-items:center;border-radius:50%;width:32px;height:32px}.identity select{border:0;background:white;max-width:145px;font-size:12px;color:#30415d;font-weight:600;outline:0}.mobile-brand{display:none}.content{width:100%;max-width:1640px;margin:0 auto;padding:33px 34px 70px;flex:1}.content>.loading{min-height:50vh;display:grid;place-items:center;color:var(--muted)}footer{color:#99a4b4;font-size:11px;padding:0 34px 23px}footer span{padding:0 5px}
.page-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:26px}.eyebrow{font-size:10px;letter-spacing:2px;color:var(--accent);font-weight:800;text-transform:uppercase}.page-heading h1{font-weight:760;font-size:29px;letter-spacing:-1px;margin:4px 0 6px;line-height:1.15}.page-heading p{color:var(--muted);margin:0;font-size:13px}.heading-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.btn{border:1px solid #dfe6ed;border-radius:9px;padding:10px 14px;font-weight:650;font-size:12px;display:inline-flex;justify-content:center;align-items:center;gap:7px;background:white;color:#35445b;white-space:nowrap}.btn:hover{background:#f6fafc;text-decoration:none}.btn.primary{background:var(--nav);border-color:var(--nav);color:white}.btn.primary:hover{background:#284469}.btn.soft{background:#e9f7f3;border-color:#d6eee6;color:#147e72}.btn.danger{border-color:#f5d7da;color:#b6384b}.btn.small{padding:7px 9px;font-size:11px}.btn.ghost{background:#fff}.btn-menu{font-size:15px}
.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:20px}.kpi,.panel,.person-card{background:var(--card);border:1px solid #edf0f5;border-radius:14px;box-shadow:var(--shadow)}.kpi{padding:20px 21px;position:relative;overflow:hidden}.kpi-top{display:flex;align-items:center;justify-content:space-between;gap:7px;color:var(--muted);font-size:12px}.metric-ico{border-radius:10px;width:35px;height:35px;display:grid;place-items:center;background:#ecf5fd;color:#4179b5;font-size:19px}.metric-ico.green{background:#e7f7ee;color:#218c65}.metric-ico.orange{background:#fff5e7;color:#c48a27}.metric-ico.red{background:#fff0f0;color:#c95b60}.metric-value{font-size:32px;line-height:1.05;font-weight:780;letter-spacing:-1.2px;margin-top:14px}.metric-foot{margin-top:7px;color:#8793a4;font-size:11px}.grid-main{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(310px,.85fr);gap:19px}.panel{padding:22px;margin-bottom:19px;min-width:0}.panel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:21px}.panel-header h2{margin:0;font-size:15px;letter-spacing:-.3px}.panel-header p{color:var(--muted);font-size:12px;margin:4px 0 0}.link-button{border:0;background:none;padding:1px 0;color:#238981;font-size:12px;font-weight:650}.link-button:hover{text-decoration:underline}.empty{text-align:center;padding:36px 14px;color:#99a4b4;font-size:13px}.empty-icon{font-size:30px;display:block;margin-bottom:9px;opacity:.6}
.category-list{display:grid;gap:18px}.cat-row{display:grid;grid-template-columns:100px 1fr 30px;gap:14px;align-items:center}.cat-name{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700}.cat-dot{height:9px;width:9px;border-radius:3px;background:var(--cat)}.trackbar{height:9px;border-radius:20px;background:#edf1f6;overflow:hidden}.trackbar>span{height:100%;border-radius:20px;display:block;background:var(--cat);min-width:0}.cat-value{text-align:right;font-weight:700;font-size:12px}.legend{color:#98a3b1;font-size:11px;margin-top:18px}.team-list{display:grid;gap:16px}.person-row{display:flex;align-items:center;gap:11px}.avatar{background:#eaf2f7;border:1px solid #dfe8f1;color:#477180;display:grid;place-items:center;width:39px;height:39px;min-width:39px;border-radius:12px;font-weight:800;font-size:14px}.person-copy{flex:1;min-width:0}.person-line{display:flex;justify-content:space-between;gap:10px}.person-line strong{font-size:12px}.person-line span{font-size:11px;color:#78879a}.person-sub{font-size:11px;color:#9aa5b2;margin:2px 0 6px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mini-bar{height:5px;background:#ecf0f5;border-radius:12px;overflow:hidden}.mini-bar>span{display:block;background:linear-gradient(90deg,#34b9a1,#5bcab1);height:100%;border-radius:12px}.timeline{display:grid;gap:0}.timeline-item{display:flex;gap:11px;border-bottom:1px solid #f0f2f5;padding:12px 0}.timeline-item:last-child{border-bottom:0;padding-bottom:0}.timeline-ico{width:31px;height:31px;min-width:31px;border-radius:50%;display:grid;place-items:center;background:#eaf7f1;color:#29926b;font-size:13px}.timeline-copy{min-width:0;flex:1}.timeline-copy strong{font-size:12px}.timeline-copy p{font-size:12px;color:#626f82;margin:2px 0 0;overflow-wrap:anywhere}.timeline-time{font-size:10px;color:#9ca8b5;white-space:nowrap}.schedule{display:grid;gap:12px}.schedule-item{border:1px solid #edf1f5;border-radius:11px;padding:12px;display:flex;align-items:center;gap:12px}.date-tile{min-width:52px;text-align:center;background:#f1f5fc;border-radius:9px;padding:5px 7px}.date-tile strong{font-size:18px;display:block;line-height:1.25}.date-tile span{font-size:9px;color:#71839b;text-transform:uppercase;letter-spacing:.8px}.schedule-main{min-width:0;flex:1}.schedule-main strong{font-size:12px;display:block}.schedule-main span{font-size:11px;color:var(--muted);display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.toolbar{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:15px}.filters{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.field{border:1px solid #e2e7ee;color:#425169;background:#fff;padding:10px 11px;border-radius:9px;min-height:38px;font-size:12px;min-width:118px}.field.search{min-width:240px}.field:focus{outline:2px solid #b8e8e1;outline-offset:0}.table-wrap{width:100%;overflow:auto;border:1px solid #cfd8e3;border-radius:11px;background:#fff}.data-table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px}.data-table th{color:#7c8a9b;background:#f8fafd;font-size:10px;letter-spacing:.4px;text-align:left;text-transform:uppercase;font-weight:800;white-space:nowrap;padding:13px 13px;border-bottom:1px solid #cfd8e3;border-right:1px solid #d5dde7;position:sticky;top:0;z-index:1}.data-table td{padding:12px 13px;border-bottom:1px solid #d5dde7;border-right:1px solid #d5dde7;vertical-align:middle}.data-table tr>*:last-child{border-right:0}.data-table tr:last-child td{border-bottom:0}.data-table tbody tr:hover{filter:brightness(0.99)}.data-table .sticky-first{position:sticky;left:0;background:inherit;z-index:2;min-width:240px;box-shadow:7px 0 10px -10px #54617c99}.data-table th.sticky-first{background:#f8fafd;z-index:4}.data-table td.sticky-first,.data-table th.sticky-first{border-right:1px solid #c7d1dd}.data-table .center{text-align:center}.data-table .nowrap{white-space:nowrap}.record-title{display:block;font-weight:730;font-size:12px;max-width:350px}.record-sub{font-size:11px;color:#96a1ad}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 9px;border-radius:20px;font-size:10px;font-weight:760;white-space:nowrap;background:#edf1f5;color:#728096}.badge.passed{background:#def6ea;color:#1d9569}.badge.studying{background:#fff4d7;color:#a97c20}.badge.scheduled{background:#e8f0ff;color:#416dc2}.badge.planned{background:#eaf0f5;color:#63768e}.badge.failed{background:#fde6e9;color:#c75563}.badge.expired{background:#e8e8ed;color:#6e6e7e}.badge.soon{background:#fff1d9;color:#a67b2c}.matrix-check{appearance:none;width:19px;height:19px;border:1.5px solid #c9d3e2;border-radius:6px;vertical-align:middle;display:inline-grid;place-items:center;background:white;cursor:pointer}.matrix-check:checked{background:#209a70;border-color:#209a70}.matrix-check:checked:after{content:'✓';color:white;font-size:12px;font-weight:900}.matrix-cell{min-width:110px}.cell-sub{display:block;color:#7e8d9c;font-size:10px;margin-top:3px}.table-actions{display:flex;gap:4px;justify-content:end}.icon-btn{border:0;background:transparent;color:#67798f;font-size:15px;padding:5px 7px;border-radius:7px}.icon-btn:hover{background:#eff3f8;color:#183d5e}.table-note{font-size:11px;color:#8d99a9;margin-top:12px}.table-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:13px;font-size:11px;color:#8997a8}
.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.person-card{padding:22px}.person-top{display:flex;gap:12px;align-items:center}.person-top .avatar{width:48px;height:48px;min-width:48px;font-size:17px;border-radius:13px}.person-top h3{font-size:15px;margin:0}.person-top p{margin:3px 0 0;font-size:11px;color:var(--muted)}.person-card .goal{font-size:12px;color:#5e6d80;min-height:40px;margin:18px 0}.person-stats{display:flex;border-top:1px solid var(--edge);padding-top:15px;gap:25px}.person-stats b{display:block;font-size:21px}.person-stats span{font-size:10px;color:#90a0b0}.person-actions{display:flex;gap:7px;margin-top:16px}.profile-head{display:flex;gap:15px;align-items:center;padding-bottom:20px;border-bottom:1px solid var(--edge);margin-bottom:20px}.profile-head .avatar{width:61px;height:61px;min-width:61px;font-size:23px}.profile-head h2{margin:0}.profile-head p{margin:3px 0 0;color:#778599}.profile-list{display:grid;gap:10px}.profile-row{display:flex;justify-content:space-between;gap:8px;padding:10px 0;border-bottom:1px solid #f0f2f5;align-items:center}.profile-row strong{font-size:12px}.profile-row small{display:block;color:#8d9aac;font-size:11px}.catalog-name{font-weight:730;max-width:400px}.cat-label{font-size:10px;font-weight:760;padding:4px 9px;border-radius:999px;white-space:nowrap;border:1px solid transparent;display:inline-flex;align-items:center}.vendor-chip{font-size:10px;font-weight:760;padding:4px 10px;border-radius:999px;display:inline-flex;align-items:center;white-space:nowrap}.tinted-row td{background:transparent}.tinted-row .sticky-first{background:inherit}
.editor{border:1px solid #e2e7ee;border-radius:16px;padding:0;box-shadow:0 25px 100px #14274735;width:min(720px,calc(100vw - 24px));max-height:90vh;color:var(--text)}.editor::backdrop{background:#0d1e36a8;backdrop-filter:blur(2px)}.modal-head{padding:23px 26px 19px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--edge)}.modal-head h2{margin:4px 0 0;font-size:20px;letter-spacing:-.4px}.modal-body{max-height:60vh;overflow:auto;padding:21px 26px}.edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.edit-field{display:grid;gap:6px}.edit-field.wide{grid-column:1/-1}.edit-field>label{font-size:11px;font-weight:750;color:#4c5a70}.edit-field input,.edit-field select,.edit-field textarea{width:100%;border:1px solid #dfe6ed;padding:10px 11px;outline:0;border-radius:8px;background:#fff;color:var(--text);min-width:0}.edit-field textarea{min-height:72px;resize:vertical}.edit-field input:focus,.edit-field select:focus,.edit-field textarea:focus{border-color:#54b7a7;box-shadow:0 0 0 3px #46b59d20}.edit-field input[readonly]{background:#f4f6f9;color:#8290a2}.modal-actions{padding:17px 26px;border-top:1px solid var(--edge);display:flex;justify-content:flex-end;gap:10px}.modal-error{margin:0 26px;padding:11px;border-radius:8px;color:#ac384a;background:#fff1f2;font-size:12px}.toast{position:fixed;bottom:24px;right:24px;background:#193350;color:white;max-width:350px;box-shadow:0 12px 36px #122c4e33;padding:13px 17px;border-radius:10px;font-size:12px;z-index:10;opacity:0;pointer-events:none;transform:translateY(10px);transition:.2s}.toast.show{opacity:1;transform:translateY(0)}.full-span{grid-column:1/-1}.soft-note{border-radius:10px;background:#f1f7f8;border:1px solid #e1eef0;color:#4c6976;padding:13px;font-size:12px}.mini-separator{height:1px;background:#edf0f4;margin:15px 0}
@media(max-width:1250px){.sidebar{width:216px;min-width:216px}.content{padding:25px 23px 65px}.topbar{padding:0 23px}.kpis{gap:11px}.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:960px){.sidebar{width:72px;min-width:72px;padding:18px 8px}.brand{padding:7px 8px 32px}.brand-logo{width:38px;min-width:38px}.brand strong,.brand small,.nav-label,.nav-item{font-size:0}.brand>span:last-child,.side-bottom{display:none}.sidebar nav{gap:10px}.nav-item{justify-content:center;padding:15px 0}.nav-ico{font-size:21px}.grid-main{grid-template-columns:1fr}.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.shell{display:block}.sidebar{width:100%;min-width:0;height:auto;position:relative;padding:0 14px 8px}.brand{display:none}.sidebar nav{display:flex;overflow:auto;gap:5px;padding:6px 0}.nav-item{min-width:40px;padding:10px}.nav-item.active{box-shadow:inset 0 -3px #49d1be}.nav-ico{font-size:20px}.topbar{height:61px;padding:0 14px}.mobile-brand{display:block;color:#1b746d;font-size:12px}.breadcrumb{display:none}.top-right{gap:8px}.identity{padding-left:7px}.identity select{max-width:92px}.identity-avatar{display:none}.sync-pill{font-size:10px;padding:6px}.content{padding:24px 12px 40px}.page-heading{align-items:flex-start;flex-direction:column;gap:12px}.page-heading h1{font-size:25px}.heading-actions{width:100%}.kpis{gap:10px}.kpi{padding:15px}.metric-value{font-size:27px}.kpi-top{font-size:11px}.panel{padding:16px}.team-grid{grid-template-columns:1fr}.cat-row{grid-template-columns:70px 1fr 20px;gap:8px}.field.search{min-width:100%;width:100%}.filters{width:100%}.filters>.field:not(.search){flex:1;min-width:85px}.edit-grid{grid-template-columns:1fr}.edit-field.wide{grid-column:auto}.modal-body{padding:16px}.modal-head,.modal-actions{padding:16px}.schedule-item{gap:7px}footer{padding:0 12px 20px}}

/* V2.2: team-by-category certification coverage (stacked bars) */
.coverage-chart{display:grid;gap:14px;padding-top:2px}
.coverage-row{display:grid;grid-template-columns:minmax(110px,140px) minmax(0,1fr) 30px;gap:14px;align-items:center;min-height:32px}
.coverage-member{display:flex;align-items:center;gap:9px;min-width:0;max-width:100%;padding:2px 0;border:0;background:none;text-align:left;color:var(--text);font-size:12px;font-weight:740}
.coverage-member:hover span:last-child{color:var(--accent);text-decoration:underline}
.coverage-member .avatar{height:31px;width:31px;min-width:31px;border-radius:10px;font-size:12px}
.coverage-member>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.coverage-track{height:29px;background:#edf1f6;border-radius:7px;display:flex;align-items:center;overflow:hidden;min-width:0}
.coverage-stacked{height:100%;display:flex;min-width:0;overflow:hidden;border-radius:7px}
.coverage-segment{min-width:0;height:100%;display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:800;overflow:hidden}
.coverage-segment>span{overflow:hidden;white-space:nowrap;text-overflow:clip;padding:0 3px}
.coverage-empty{color:#a1adba;font-size:10px;padding-left:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.coverage-count{font-size:13px;text-align:right;color:var(--text)}
.coverage-legend{display:flex;flex-wrap:wrap;gap:8px 17px;border-top:1px solid #eef1f5;padding-top:16px;margin-top:20px}
.coverage-legend-item{display:inline-flex;align-items:center;gap:6px;color:#67768a;font-size:11px;white-space:nowrap}
.coverage-legend-dot{width:9px;height:9px;border-radius:3px;display:inline-block}
.coverage-legend-item b{font-size:10px;color:var(--text);background:#f0f3f7;border-radius:7px;padding:1px 5px}
@media(max-width:640px){
 .coverage-row{grid-template-columns:minmax(72px,92px) minmax(0,1fr) 18px;gap:7px}
 .coverage-member{gap:5px;font-size:11px}
 .coverage-member .avatar{width:25px;min-width:25px;height:25px;border-radius:8px;font-size:10px}
 .coverage-track{height:25px}
 .coverage-segment{font-size:9px}
 .coverage-empty{font-size:9px;padding-left:7px}
 .coverage-count{font-size:11px}
 .coverage-legend{gap:7px 11px}
}


/* V2.3: Original-style vendor breakdown and category totals on Overview */
.summary-intro{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;color:#718096;font-size:12px;margin:0 0 12px}
.summary-hint{font-size:11px;color:#8c98aa}
.summary-table-scroll{max-width:100%;overflow:auto;border:1px solid var(--edge);border-radius:12px;scrollbar-width:thin}
.summary-table-scroll:focus-visible{outline:2px solid #52b6a5;outline-offset:3px}
.summary-table{border-collapse:separate;border-spacing:0;table-layout:auto;min-width:max-content;width:100%;font-size:12px;color:var(--text)}
.summary-table th,.summary-table td{padding:10px 12px;border-right:1px solid #cfd8e3;border-bottom:1px solid #cfd8e3;text-align:center;white-space:nowrap}
.summary-table tr> :last-child{border-right:0}
.summary-table tbody tr:last-child> *{border-bottom:0}
.summary-table thead th{font-size:11px;font-weight:760}
.summary-table thead tr:first-child th{position:sticky;top:0;z-index:3}
.summary-table thead tr:nth-child(2) th{position:sticky;top:36px;z-index:3}
.summary-table .summary-name-heading,.summary-table .summary-dark-heading,.summary-table .summary-aggregate-heading,.summary-table .summary-category-total-heading{background:#203963;color:#fff}
.summary-table .summary-group-heading{min-height:36px;letter-spacing:.2px}
.summary-table .summary-vendor-heading{min-width:100px}
.summary-table .summary-category-total-heading{min-width:83px}
.summary-table .summary-dark-heading{min-width:83px}
.summary-table .summary-name-heading{min-width:110px;text-align:left}
.summary-table tbody .summary-person-name{text-align:left;background:white;position:sticky;left:0;z-index:2;font-size:12px;font-weight:800;box-shadow:5px 0 9px -9px #4a617e;border-right:1px solid #c7d1dd}
.summary-table thead .summary-name-heading{left:0;z-index:5!important}
.summary-avatar-dot{width:9px;height:9px;border-radius:50%;display:inline-block;margin-right:8px}
.summary-table tbody tr:nth-child(even) .summary-person-name{background:#f8fafc}
.summary-table .summary-number{font-variant-numeric:tabular-nums;min-width:62px}
.summary-table .summary-has-cert{font-size:15px;font-weight:850}
.summary-table .summary-has-value{font-weight:740;background:#f3f7fb}
.summary-table .summary-grand-total{background:#eef4fc;font-size:15px;font-weight:900;color:#1c355b}
.summary-table .summary-status-count{color:#394b64;font-weight:600}
.summary-table .summary-vendor-heading{position:sticky}
.summary-table tbody tr:hover .summary-person-name{background:#f1f7fc}
.summary-table tbody tr:hover td:not(.summary-has-cert){box-shadow:inset 0 0 0 999px #47556907}
.summary-footnote{margin:12px 0 0}
@media(max-width:640px){.summary-intro{font-size:11px}.summary-table th,.summary-table td{padding:9px 10px}.summary-table .summary-name-heading{min-width:80px}.summary-table .summary-vendor-heading{min-width:90px}}


/* V2.4: Full-width desktop layout with a horizontal top navigation */
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.shell{display:block;min-height:100vh}
.main-wrap{width:100%;min-height:100vh}
.topbar{position:sticky;top:0;z-index:20;width:100%;height:auto;min-height:70px;padding:10px clamp(16px,2vw,32px);display:flex;align-items:center;justify-content:space-between;gap:clamp(10px,1.2vw,22px);background:#fff;box-shadow:0 2px 9px #13233f0b}
.top-brand{display:flex;align-items:center;gap:9px;flex:0 0 auto;white-space:nowrap;text-decoration:none}
.top-brand:hover{text-decoration:none}
.top-brand .brand-logo{width:33px;height:33px;border-radius:10px;font-size:19px}
.top-brand-copy{display:flex;flex-direction:column;line-height:1.15}
.top-brand-copy strong{font-size:13px;letter-spacing:-.3px;color:#182c47}
.top-brand-copy small{font-size:8px;color:#8a9aaa;letter-spacing:1.45px;font-weight:800;margin-top:3px}
.top-nav{display:flex;align-items:center;justify-content:center;gap:3px;flex:1;min-width:0}
.top-nav .nav-item{color:#65748c;background:none;padding:10px clamp(8px,0.8vw,15px);border:0;border-radius:9px;font-size:12px;font-weight:680;white-space:nowrap;text-align:center;display:inline-flex;justify-content:center;gap:6px;align-items:center;min-width:0}
.top-nav .nav-item:hover{background:#eef8f6;color:#117e76}
.top-nav .nav-item.active{color:#107f74;background:#e5f6f1;box-shadow:inset 0 -2px #29b6a5}
.top-nav .nav-ico{font-size:14px;width:auto}
.topbar .top-right{flex-shrink:0;gap:10px}
.topbar .identity{padding-left:9px;gap:5px}
.topbar .identity select{max-width:118px}
.content{max-width:none;margin:0;width:100%;padding:22px clamp(14px,2vw,34px) 54px}
.content .page-heading{margin-bottom:17px}
.content .page-heading h1{font-size:27px}
.view-overview .kpis{gap:11px;margin-bottom:14px}
.view-overview .kpi{padding:12px 15px;min-height:98px}
.view-overview .kpi-top{font-size:11px}
.view-overview .metric-ico{width:27px;height:27px;border-radius:8px;font-size:14px}
.view-overview .metric-value{font-size:27px;margin-top:3px}
.view-overview .metric-foot{font-size:10px;margin-top:2px}
.view-overview .summary-panel{padding:16px 18px 13px;margin-bottom:16px}
.view-overview .summary-panel .panel-header{margin-bottom:10px}
.view-overview .summary-panel .panel-header h2{font-size:16px}
.view-overview .summary-panel .panel-header p{font-size:11px;margin-top:2px}
.view-overview .summary-intro{margin-bottom:8px;font-size:11px}
.view-overview .summary-footnote{margin-top:8px;font-size:10px}
/* Fit all vendor and category columns at normal desktop widths. */
.summary-table-scroll{overflow:visible;max-width:100%;border:1px solid #cfd8e3;border-radius:10px;background:#fff}
.summary-table{table-layout:fixed;width:100%;min-width:0;font-size:11px}
.summary-table th,.summary-table td{padding:9px 2px;min-width:0!important;border-right:1px solid #e0e6ed;border-bottom:1px solid #e0e6ed;white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.2}
.summary-table thead th{font-size:10px;line-height:1.2}
.summary-table .summary-vendor-heading{font-size:9px;min-width:0!important;padding:7px 1px;hyphens:auto}
.summary-table .summary-category-total-heading{font-size:9px;min-width:0!important;padding:7px 1px}
.summary-table .summary-dark-heading{font-size:9px;min-width:0!important;padding:7px 1px}
.summary-table .summary-name-heading{min-width:0!important;padding-left:8px}
.summary-table .summary-group-heading{height:30px;padding:6px 2px;letter-spacing:0}
.summary-table tbody .summary-person-name{font-size:11px;padding:8px 4px 8px 7px}
.summary-avatar-dot{width:8px;height:8px;margin-right:4px}
.summary-table .summary-number{min-width:0!important;font-size:11px}
.summary-table .summary-has-cert,.summary-table .summary-grand-total{font-size:13px}
.summary-table tbody tr{height:36px}
.summary-mobile{display:none}
/* Responsive top menu and alternate non-scrolling summary on narrower screens. */
@media(max-width:1200px){
 .topbar{flex-wrap:wrap;justify-content:space-between;row-gap:7px}
 .top-brand{order:0}
 .topbar .top-right{order:1}
 .top-nav{order:2;flex-basis:100%;justify-content:flex-start;gap:4px}
 .top-nav .nav-item{flex:1;padding:8px 6px;font-size:12px}
 .content{padding:20px 17px 40px}
 .summary-table .summary-vendor-heading{font-size:8px}
}
@media(max-width:1050px){
 .summary-table-scroll{display:none}
 .summary-mobile{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .summary-mobile-member{border:1px solid #e6ecf2;border-radius:11px;background:#fff;padding:12px;min-width:0}
 .summary-mobile-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;border-bottom:1px solid #edf0f5;padding-bottom:9px;margin-bottom:5px;flex-wrap:wrap}
 .summary-mobile-head>div:first-child{display:flex;align-items:center;gap:5px}
 .summary-mobile-head strong{font-size:13px}
 .summary-mobile-stats{display:flex;gap:8px;flex-wrap:wrap;color:#78869a;font-size:10px}
 .summary-mobile-stats b{font-size:13px;color:#193350}
 .summary-mobile-cat{display:grid;grid-template-columns:72px minmax(0,1fr) 22px;align-items:center;gap:6px;min-height:26px;padding:5px 0;border-bottom:1px solid #f1f3f7;font-size:11px}
 .summary-mobile-cat:last-child{border-bottom:0}
 .summary-mobile-cat-name{display:flex;align-items:center;gap:5px;font-weight:750}
 .summary-mobile-cat-name i{display:inline-block;width:7px;height:7px;border-radius:2px}
 .summary-mobile-vendors{display:flex;gap:4px;flex-wrap:wrap}
 .summary-mobile-vendor{border:1px solid var(--chip);border-radius:6px;color:var(--chip);font-size:10px;padding:1px 4px}
 .summary-mobile-vendor b{font-size:10px}
 .summary-no-certs{color:#a6b0bd}
 .summary-mobile-cat>b{text-align:right}
}
@media(max-width:700px){
 .topbar{padding:9px 12px;gap:9px}
 .top-brand-copy strong{font-size:12px}
 .top-brand .brand-logo{width:30px;height:30px}
 .top-nav{flex-wrap:wrap;justify-content:flex-start;gap:3px}
 .top-nav .nav-item{flex:1 1 30%;font-size:11px;padding:7px 3px}
 .top-nav .nav-ico{font-size:12px}
 .topbar .top-right{gap:5px}
 .topbar .sync-pill{font-size:9px;padding:5px 7px}
 .topbar .identity{padding-left:5px}
 .topbar .identity select{max-width:99px;font-size:10px}
 .topbar .identity-avatar{display:none}
 .content{padding:17px 12px 28px}
 .content .page-heading h1{font-size:24px}
 .view-overview .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .view-overview .kpi{padding:10px 12px;min-height:88px}
 .view-overview .metric-value{font-size:25px}
 .view-overview .summary-panel{padding:13px}
 .summary-mobile{grid-template-columns:1fr}
}

/* V2.4.1: clearer grid lines for easier reading */
.tinted-row td,.tinted-row th{background-clip:padding-box}
.profile-row,.schedule-item{border-color:#d9e1ea}

/* V2.4.3: uploaded COM7 logo in /secerts header only. */
.top-brand .top-logo{display:block;width:96px;height:auto;max-height:38px;object-fit:contain;flex:0 0 96px}
@media(max-width:700px){.top-brand .top-logo{width:78px;max-height:32px;flex-basis:78px}}
@media(max-width:380px){.top-brand-copy small{display:none}.top-brand .top-logo{width:68px;flex-basis:68px}}

/* V2.5 compact, old-style spreadsheet tables: IDs and exam codes get dedicated columns. */
.matrix-table,.catalog-table{table-layout:fixed;border-collapse:separate;border-spacing:0}
.matrix-table{width:100%}
.catalog-table{width:100%;min-width:1170px}
.matrix-table thead th,.catalog-table thead th{padding:9px 7px;font-size:10px;color:#eaf2fd;background:#203963;border-right:1px solid #8ba0bd;border-bottom:1px solid #c0cfdf;line-height:1.25}
.matrix-table tbody td,.catalog-table tbody td{padding:6px 7px;line-height:1.25;height:39px;font-size:12px}
.matrix-table .matrix-cert-name,.catalog-table .catalog-cell-text{display:block;width:100%;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.matrix-table .matrix-cert-name{font-weight:630}
.matrix-table .matrix-code{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.matrix-table .matrix-cell{min-width:0;padding:5px 3px}
.matrix-table .matrix-check{display:inline-grid;margin:0;width:18px;height:18px;border-radius:4px}
.matrix-table .matrix-cell[data-state="studying"] .matrix-check{border-color:#d9a536}
.matrix-table .matrix-cell[data-state="scheduled"] .matrix-check{border-color:#477dc4}
.matrix-table .matrix-cell[data-state="planned"] .matrix-check{border-color:#8097b4}
.matrix-table .matrix-cell[data-state="failed"] .matrix-check{border-color:#cc5264}
.matrix-table .matrix-passed-count{font-weight:790}
.matrix-table .cat-label,.catalog-table .cat-label,.matrix-table .vendor-chip,.catalog-table .vendor-chip{max-width:100%;font-size:10px;line-height:1.15;padding:4px 7px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.catalog-table .table-actions{gap:0;justify-content:center}
.catalog-table .icon-btn{padding:3px 5px}
@media(max-width:700px){
  .matrix-table tbody td,.catalog-table tbody td{height:38px}
}

/* V2.7 editor sign-in */
.auth-control{border:1px solid #d8e1ea;border-radius:11px;background:#f7f9fc;color:#344a66;padding:9px 12px;font-size:12px;font-weight:700;white-space:nowrap;cursor:pointer}
.auth-control.authenticated{background:#e7f6ed;border-color:#bfe9d4;color:#17724d}
.auth-control:hover{filter:brightness(.97)}
.auth-dialog{width:min(490px,calc(100vw - 24px))}
.auth-note{font-size:13px;color:#65748a;margin:0 0 20px;line-height:1.65}
.auth-fields{display:grid;gap:8px}
.auth-fields label{font-size:12px;font-weight:730;margin-top:5px;color:#34445b}
.auth-fields input,.auth-fields select{border:1px solid #cfd9e5;border-radius:9px;width:100%;padding:11px;font:inherit;background:white;color:#172b46}
.auth-fields input:focus,.auth-fields select:focus{outline:2px solid #82c8bb;outline-offset:1px}
.auth-error{margin:15px 0 0;background:#fce9eb;color:#a33242;padding:10px 12px;border-radius:8px;font-size:12px}
@media(max-width:700px){.auth-control{font-size:10px;padding:7px 8px}}

/* V2.8 — Personal profile cards & full engineer profile inspired by the reference. */
.profile-team-grid{gap:20px;align-items:stretch}
.person-card.member-card{--member:#2e8b82;padding:0;border:1px solid #e3e9ef;border-radius:20px;overflow:hidden;box-shadow:0 14px 34px #1b365113;display:flex;flex-direction:column;transition:transform .18s,box-shadow .18s}
.person-card.member-card:hover{transform:translateY(-2px);box-shadow:0 18px 42px #1b36511d}
.member-cover,.profile-cover{position:relative;overflow:hidden;background:radial-gradient(ellipse at 18% 94%,#ffffffaa 0 16%,transparent 43%),radial-gradient(ellipse at 52% 100%,#ffffffe0 0 12%,transparent 40%),radial-gradient(ellipse at 85% 92%,#ffffff9c 0 18%,transparent 46%),linear-gradient(133deg,#a5c5da 0%,#d3e1ee 45%,#bed1e2 100%)}
.member-cover:after,.profile-cover:after{content:"";position:absolute;pointer-events:none;inset:0;background:linear-gradient(118deg,transparent 40%,#ffffff3d 60%,transparent 78%)}
.member-cover{height:116px;flex:none;padding:17px 18px;display:flex;align-items:flex-start;justify-content:space-between}
.member-cover-label,.profile-cover-label{color:#1b4765b8;font-size:10px;font-weight:850;letter-spacing:1.6px;position:relative;z-index:1}
.member-cover-decor,.profile-cover-spark{color:#ffffffb5;font-size:32px;font-weight:300;line-height:1;z-index:1}
.member-card-content{padding:0 23px 22px;display:flex;flex-direction:column;flex:1}
.member-card-portrait{margin-top:-43px;display:flex;align-items:flex-end;justify-content:space-between;min-height:92px;position:relative;z-index:2}
.member-avatar-ring,.profile-avatar-ring{display:grid;place-items:center;border-radius:50%;background:conic-gradient(var(--member) var(--progress),#d9e5ec var(--progress) 100%);padding:5px;border:5px solid #fff;box-shadow:0 3px 15px #0c2c4430;flex-shrink:0}
.member-avatar-ring{width:91px;height:91px}
.member-avatar-ring .avatar,.profile-avatar-ring .avatar{width:100%;height:100%;min-width:0;border-radius:50%;border:0!important;font-size:28px;font-weight:850;background:#fff!important;color:var(--member)!important}
.member-ring-caption{color:var(--member);font-size:11px;font-weight:800;padding-bottom:11px}
.member-card h3{font-size:23px;letter-spacing:-.7px;margin:11px 0 2px;line-height:1.2}
.member-role{font-size:12px;color:#718197;margin:3px 0}
.member-specialty{display:inline-flex;align-self:flex-start;border-radius:99px;background:color-mix(in srgb,var(--member) 10%,white);color:var(--member);padding:3px 10px;font-size:11px;font-weight:760;margin:12px 0 0}
.member-description{font-size:13px;line-height:1.6;color:#50647b;margin:15px 0 19px;min-height:41px;overflow-wrap:anywhere;flex:1}
.member-stat-strip,.profile-summary-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-radius:14px;overflow:hidden;background:#f7f9fc;border:1px solid #e7edf3}
.member-stat-strip>div,.profile-summary-strip>div{padding:13px 4px;text-align:center;border-right:1px solid #e3e9f0}
.member-stat-strip>div:last-child,.profile-summary-strip>div:last-child{border-right:0}
.member-stat-strip strong,.profile-summary-strip strong{display:block;font-size:20px;line-height:1.15;color:#142842}
.member-stat-strip span,.profile-summary-strip span{display:block;color:#738396;font-size:11px;margin-top:5px}
.member-card-actions{display:flex;gap:9px;margin-top:16px}
.member-card-actions .btn:first-child{flex:1}
.member-card-actions .btn{border-radius:10px}
/* Larger, independent scrolling profile with a cover and overlapping portrait. */
.editor.profile-mode{width:min(890px,calc(100vw - 24px));max-height:92vh;overflow:hidden;border:0;border-radius:23px}
.editor.profile-mode #edit-form{position:relative}
.editor.profile-mode .modal-head{position:absolute;right:16px;top:16px;z-index:5;border:0;padding:0}
.editor.profile-mode .modal-head>div{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.editor.profile-mode .modal-head .icon-btn{height:39px;width:39px;border-radius:50%;display:grid;place-items:center;background:#fffffff2;color:#30485f;box-shadow:0 5px 12px #38536b27;font-size:16px}
.editor.profile-mode .modal-head .icon-btn:hover{background:#fff}
.editor.profile-mode .modal-body{padding:0;max-height:92vh;overscroll-behavior:contain}
.editor.profile-mode .modal-actions,.editor.profile-mode .modal-error{display:none}
.profile-showcase{--member:#2e8b82;background:#fff}
.profile-cover{height:185px;padding:25px 28px}
.profile-cover-label{font-size:11px}
.profile-cover-spark{position:absolute;right:82px;top:24px}
.profile-hero-main{display:flex;align-items:flex-end;gap:22px;padding:0 32px 26px;position:relative;flex-wrap:wrap}
.profile-portrait-block{position:relative;margin-top:-72px;z-index:2;flex:none;display:flex;flex-direction:column;align-items:center;gap:3px}
.profile-avatar-ring{width:150px;height:150px;padding:7px;border-width:6px;box-shadow:0 5px 24px #0c294234}
.profile-avatar-ring .avatar{font-size:54px}
.profile-progress-caption{display:flex;gap:5px;align-items:baseline;font-size:11px;color:#8390a0}
.profile-progress-caption strong{color:var(--member);font-size:14px}
.profile-hero-text{flex:1;min-width:180px;padding-bottom:8px}
.profile-kicker{letter-spacing:1.8px;font-weight:850;color:var(--member);font-size:10px}
.profile-hero-text h2{font-size:30px;letter-spacing:-1px;line-height:1.15;margin:4px 0 7px}
.profile-role{font-size:15px;color:#566b80;margin:0 0 4px}
.profile-focus{font-size:12px;color:#8b99aa;margin:0}
.profile-edit-btn{align-self:flex-end;margin-bottom:9px;background:#fff}
.profile-summary-strip{grid-template-columns:repeat(4,minmax(0,1fr));margin:0 28px;border-radius:16px;box-shadow:0 4px 14px #17324b0c}
.profile-summary-strip>div{padding:17px 5px}
.profile-summary-strip strong{font-size:26px}
.profile-summary-strip span{font-size:12px}
.profile-sections{padding:26px 28px 31px;display:grid;grid-template-columns:1fr 1fr;gap:15px}
.profile-info-card{border:1px solid #e5eaf0;background:#fff;border-radius:15px;padding:19px 20px;min-width:0}
.profile-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.profile-section-heading h3{font-size:14px;letter-spacing:-.2px;margin:0}
.profile-section-heading>span{font-size:9px;color:#9ca8b6;font-weight:780;letter-spacing:1.1px}
.profile-info-card>p{margin:0;color:#5a6b7d;font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.profile-skill-row{display:grid;grid-template-columns:84px minmax(0,1fr) 18px;gap:9px;align-items:center;margin:9px 0;font-size:11px}
.profile-skill-name{display:flex;align-items:center;gap:6px;font-weight:730}
.skill-dot{height:8px;width:8px;border-radius:3px;flex:none}
.profile-skill-track{height:7px;background:#edf1f6;border-radius:20px;overflow:hidden}
.profile-skill-track>span{display:block;height:100%;border-radius:20px}
.profile-skill-row>strong{text-align:right;font-size:11px}
.profile-portfolio{grid-column:1/-1}
.profile-certs{display:grid;gap:8px}
.profile-cert-item{display:flex;align-items:center;gap:11px;background:#f9fbfd;border:1px solid #e9eef4;border-radius:11px;padding:11px 12px;min-width:0}
.profile-cert-mark{width:36px;height:36px;flex:none;border-radius:10px;display:grid;place-items:center;font-size:18px}
.profile-cert-copy{min-width:0;flex:1}
.profile-cert-copy strong{font-size:12px;font-weight:730;display:block;overflow-wrap:anywhere;line-height:1.4}
.profile-cert-copy span{font-size:10px;color:#8291a0;display:block;margin-top:3px;overflow-wrap:anywhere}
.profile-empty-copy{color:#8c99a9;font-size:12px;margin:4px 0!important}
@media(max-width:760px){
 .profile-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .profile-cover{height:145px}
 .profile-hero-main{padding:0 20px 20px;gap:12px}
 .profile-avatar-ring{width:112px;height:112px}
 .profile-avatar-ring .avatar{font-size:39px}
 .profile-portrait-block{margin-top:-55px}
 .profile-hero-text h2{font-size:24px}
 .profile-edit-btn{margin-left:auto}
 .profile-sections{padding:17px;grid-template-columns:1fr}
 .profile-portfolio{grid-column:auto}
 .profile-summary-strip{margin:0 16px}
}
@media(max-width:580px){
 .profile-team-grid{grid-template-columns:1fr}
 .member-cover{height:120px}
 .profile-cover{height:132px;padding:19px 17px}
 .profile-cover-label{font-size:9px;max-width:75%}
 .profile-hero-main{align-items:center;gap:9px}
 .profile-portrait-block{margin-top:-47px}
 .profile-avatar-ring{width:103px;height:103px;padding:4px;border-width:5px}
 .profile-avatar-ring .avatar{font-size:35px}
 .profile-hero-text{min-width:140px;padding-bottom:0}
 .profile-hero-text h2{font-size:22px}
 .profile-hero-text .profile-role{font-size:12px}
 .profile-edit-btn{margin:0 0 2px auto;width:100%;justify-content:center}
 .profile-summary-strip strong{font-size:20px}
 .profile-summary-strip span{font-size:10px}
 .profile-summary-strip>div{padding:12px 3px}
 .profile-sections{padding:14px;gap:11px}
 .profile-info-card{padding:15px}
 .profile-cert-item{gap:7px;padding:9px 7px}
 .profile-cert-item .badge{font-size:9px;padding:3px 6px}
}


/* V2.9: centered member profile + selected avatar library + image upload */
.avatar{overflow:hidden}.avatar>img{width:100%;height:100%;object-fit:cover;display:block}
.member-avatar-ring .avatar>img,.profile-avatar-ring .avatar>img{width:100%;height:100%;object-fit:cover}
.member-cover .cover-img,.profile-cover .cover-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.member-cover:has(.cover-img):after,.profile-cover:has(.cover-img):after{background:linear-gradient(180deg,#0d283c30,transparent 90%)}
.member-cover:has(.cover-img) .member-cover-label,.profile-cover:has(.cover-img) .profile-cover-label{color:#fff;text-shadow:0 1px 4px #16334b80}
/* Center aligned visual profile, following the supplied example */
.profile-hero-main{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:3px;padding:0 22px 24px}
.profile-portrait-block{margin-top:-78px;align-self:center}
.profile-hero-text{width:100%;flex:initial;min-width:0;padding:7px 0 4px;text-align:center}
.profile-hero-text h2{font-size:31px;margin:3px 0 9px}
.profile-edit-btn{align-self:center;margin:10px 0 2px}
.member-card-content{text-align:center;align-items:center}
.member-card-content .member-specialty{align-self:center}
.member-card-portrait{width:100%;justify-content:center;align-items:center;flex-direction:column;gap:0}
.member-ring-caption{padding:0;margin-top:1px}
.member-card-actions{width:100%}
.member-stat-strip{width:100%}
.profile-media-edit{border:1px solid #dee7ef;background:#f8fafc;border-radius:12px;padding:15px;min-width:0}
.profile-media-edit h3{font-size:14px;margin:0 0 2px}
.profile-media-edit p{font-size:12px;color:#738195;margin:2px 0 12px}
.media-controls{display:flex;align-items:center;gap:15px;margin:8px 0 12px;flex-wrap:wrap}
.media-controls>div:last-child{display:flex;gap:7px;flex-wrap:wrap}
.media-preview-avatar{width:82px;height:82px;display:grid;place-items:center;border:4px solid white;border-radius:50%;box-shadow:0 2px 12px #22395524;overflow:hidden;background:#e2eaf1;flex:none}
.media-preview-avatar .avatar{width:100%;height:100%;min-width:0;font-size:35px;border:0;border-radius:50%}
.avatar-gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(56px,1fr));gap:7px;padding:9px;background:white;border:1px solid #e0e7ef;border-radius:10px;max-height:226px;overflow-y:auto}
.avatar-option{border:2px solid transparent;border-radius:10px;padding:4px;background:#f5f8fc;display:grid;place-items:center;min-height:53px;transition:.12s}
.avatar-option img{width:46px;height:46px;object-fit:contain}
.avatar-option:hover{background:#ebf5f3}.avatar-option.selected{border-color:#1caa99;background:#dbf7f0;box-shadow:0 0 0 1px #1caa99}
.position-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:13px}
.profile-media-edit .edit-field input[type=range]{padding:2px 0;border:0;accent-color:#199989}
.media-preview-cover{position:relative;height:126px;width:100%;border-radius:12px;overflow:hidden;background:radial-gradient(ellipse at 16% 100%,#ffffffbb 0 13%,transparent 40%),radial-gradient(ellipse at 74% 90%,#ffffffd5 0 18%,transparent 42%),linear-gradient(135deg,#a3c0d8,#d1e2ef)}
.media-preview-cover .cover-img{width:100%;height:100%;object-fit:cover}
.media-buttons{display:flex;gap:9px;flex-wrap:wrap;margin:11px 0}
.upload-label{cursor:pointer}
@media(max-width:580px){.profile-portrait-block{margin-top:-54px}.profile-hero-main{padding:0 14px 18px}.profile-hero-text h2{font-size:25px}.profile-edit-btn{margin:10px 0 0}.avatar-gallery{grid-template-columns:repeat(5,minmax(0,1fr))}.media-controls{gap:9px}.position-controls{grid-template-columns:1fr}}


/* V2.9.1: Overview layout — two equal-height columns with the schedule below.
   Other pages (including Activity Log) are unchanged. */
.view-overview .overview-panel-grid{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  gap:18px;
  align-items:stretch;
}
.view-overview .overview-panel-slot{min-width:0;}
.view-overview .overview-panel-slot>.panel{height:100%;margin-bottom:0;}
.view-overview .overview-panel-wide{grid-column:1/-1;}
.view-overview .overview-panel-wide .empty{padding:24px 16px;}
@media(max-width:1050px){
 .view-overview .overview-panel-grid{grid-template-columns:minmax(0,1fr);gap:14px;}
 .view-overview .overview-panel-wide{grid-column:auto;}
}
@media(max-width:640px){
 .view-overview .overview-panel-grid{gap:12px;}
}

/* V2.9.3 — True circular thumbnails on the Overview only.
   Use the existing dynamic member border colors and don't affect profile editing. */
.view-overview .coverage-member .avatar,
.view-overview .person-row > .avatar {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.view-overview .coverage-member .avatar > img,
.view-overview .person-row > .avatar > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}
