:root{--navy:#0a2b5e;--blue:#1559a7;--ink:#0f2545;--muted:#66748a;--bg:#eef3f9;--card:#fff;--line:#dbe5f1;--gold:#e5a316;--rose:#d94b63;--teal:#168e84;--violet:#7255b8;--green:#168a5b;--red:#cf3c48;--shadow:0 14px 34px rgba(15,37,69,.09)}*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial;color:var(--ink);background:var(--bg)}button,input,select,textarea{font:inherit}.app-shell{min-height:100vh;display:flex}.sidebar{width:244px;background:linear-gradient(180deg,#08244c,#0a356b);color:white;padding:20px 14px;display:flex;flex-direction:column;position:fixed;left:0;top:0;bottom:0;z-index:20}.brand{display:flex;align-items:center;gap:11px;padding:5px 8px 24px}.brand .mark{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,#fff,#dcecff);color:#0a356b;font-weight:900;display:grid;place-items:center;letter-spacing:-2px}.brand b{display:block;font-size:18px}.brand span{display:block;font-size:11px;color:#b9cee8;margin-top:2px}.sidebar nav{display:grid;gap:6px}.sidebar nav button{border:0;background:transparent;color:#d9e6f5;text-align:left;padding:12px 13px;border-radius:12px;display:flex;gap:10px;align-items:center;cursor:pointer;font-weight:750}.sidebar nav button:hover,.sidebar nav button.active{background:rgba(255,255,255,.12);color:#fff}.side-footer{margin-top:auto;padding:14px;border-top:1px solid rgba(255,255,255,.13);font-size:12px}.side-footer .mini{color:#a9c3e3}.main-shell{margin-left:244px;width:calc(100% - 244px);min-height:100vh}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);padding:0 28px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:12}.top-left{display:flex;gap:12px;align-items:center}.topbar h2{margin:0;font-size:20px}.topbar p{margin:3px 0 0;color:var(--muted);font-size:12px}.top-actions{display:flex;gap:9px;align-items:center}.search{width:250px}.top-actions input,.top-actions select,.toolbar select,.toolbar input{border:1px solid var(--line);background:#fff;border-radius:11px;padding:10px 12px;color:var(--ink)}.icon-btn{border:1px solid var(--line);background:#f7f9fc;border-radius:11px;padding:10px 12px;cursor:pointer;position:relative}.dot{position:absolute;top:-6px;right:-5px;background:#dc4056;color:#fff;border-radius:50%;font-size:10px;width:18px;height:18px;display:grid;place-items:center}.mobile-menu{display:none}.page-root{padding:24px 28px 50px}.hero{background:linear-gradient(120deg,#0c3269,#1559a7 58%,#3b76c1);color:white;border-radius:22px;padding:24px 27px;display:flex;justify-content:space-between;align-items:center;box-shadow:var(--shadow);overflow:hidden;position:relative}.hero:after{content:"";position:absolute;width:270px;height:270px;border:50px solid rgba(255,255,255,.06);border-radius:50%;right:-70px;top:-110px}.hero h1{margin:0 0 6px;font-size:28px}.hero p{margin:0;color:#dcecff}.quick-actions{display:flex;gap:9px;position:relative;z-index:2}.btn{border:0;border-radius:11px;padding:10px 14px;font-weight:800;cursor:pointer}.btn.primary{background:#0a2b5e;color:white}.btn.light{background:white;color:#0a2b5e}.btn.soft{background:#eaf2fb;color:#0f4f97}.btn.green{background:#e7f7ef;color:#08784a}.btn.red{background:#fdebed;color:#b72834}.btn.gold{background:#fff2cb;color:#805600}.btn.outline{background:white;border:1px solid var(--line);color:var(--ink)}.kpis{display:grid;grid-template-columns:repeat(6,1fr);gap:13px;margin:18px 0}.kpi{background:white;border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:0 7px 22px rgba(15,37,69,.05);cursor:pointer;transition:.2s}.kpi:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.kpi .label{font-size:12px;color:var(--muted);font-weight:700}.kpi strong{display:block;font-size:27px;margin:7px 0 2px}.kpi small{font-size:11px;color:#7e8ca0}.kpi.blue{border-top:4px solid #2a67b8}.kpi.gold{border-top:4px solid var(--gold)}.kpi.rose{border-top:4px solid var(--rose)}.kpi.green{border-top:4px solid var(--green)}.kpi.violet{border-top:4px solid var(--violet)}.kpi.teal{border-top:4px solid var(--teal)}.grid-2{display:grid;grid-template-columns:1.15fr .85fr;gap:18px;margin-top:18px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.card{background:white;border:1px solid var(--line);border-radius:18px;box-shadow:0 9px 24px rgba(15,37,69,.05)}.card-head{padding:16px 18px 10px;display:flex;align-items:center;justify-content:space-between}.card-head h3{margin:0;font-size:16px}.card-head p{margin:4px 0 0;font-size:11px;color:var(--muted)}.card-body{padding:8px 18px 18px}.section-title{display:flex;align-items:end;justify-content:space-between;margin:22px 0 12px}.section-title h3{margin:0}.section-title p{margin:4px 0 0;color:var(--muted);font-size:12px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:14px}table{border-collapse:collapse;width:100%;min-width:760px}th{background:#f5f8fc;color:#5c6b81;font-size:11px;letter-spacing:.03em;text-align:left;padding:11px 12px}td{padding:12px;border-top:1px solid var(--line);font-size:13px;vertical-align:middle}.person{display:flex;align-items:center;gap:10px}.avatar{width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#dce9f8,#bfd5ef);display:grid;place-items:center;font-weight:900;color:#0a4b8e}.badge{display:inline-flex;align-items:center;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:800}.badge.green{background:#e7f7ef;color:#08784a}.badge.gold{background:#fff3d7;color:#8a5c00}.badge.rose{background:#fdebed;color:#b72834}.meeting-row{display:flex;gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}.meeting-row:first-child{border-top:0}.datebox{width:52px;border-radius:12px;background:#edf4fc;text-align:center;padding:6px;color:#0b4e95}.datebox b{display:block;font-size:18px}.datebox span{font-size:10px;text-transform:uppercase}.meeting-row .meta{flex:1}.meeting-row .meta b{display:block}.meeting-row .meta span{font-size:11px;color:var(--muted)}.chapter-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.chapter-card{background:#fff;border:1px solid var(--line);border-radius:15px;padding:15px;position:relative;overflow:hidden}.chapter-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--accent,#2a67b8)}.chapter-card b{font-size:15px}.chapter-card p{font-size:11px;color:var(--muted);margin:5px 0 12px}.mini-stat{display:flex;justify-content:space-between;font-size:11px;color:#66748a}.toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:14px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}.tabs button{border:1px solid var(--line);background:#fff;padding:10px 13px;border-radius:10px;font-weight:800;cursor:pointer}.tabs button.active{background:var(--navy);color:#fff;border-color:var(--navy)}.template-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.template-card{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden;cursor:pointer;transition:.2s}.template-card:hover,.template-card.selected{transform:translateY(-2px);box-shadow:var(--shadow);border-color:#4d82c3}.template-card img{width:100%;height:210px;object-fit:cover;background:#eef3f9}.template-card .tc{padding:12px}.template-card .tc b{display:block}.template-card .tc span{font-size:11px;color:var(--muted)}.renewal-strip{background:linear-gradient(90deg,#fff7dc,#fff);border:1px solid #f4dda4;border-radius:14px;padding:13px;display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.progress{height:8px;background:#edf2f8;border-radius:999px;overflow:hidden}.progress span{display:block;height:100%;background:linear-gradient(90deg,#2a67b8,#5f8fd0)}.modal-backdrop{position:fixed;inset:0;background:rgba(4,18,39,.62);z-index:60;display:grid;place-items:center;padding:25px}.modal{position:relative;background:#fff;width:min(1050px,95vw);max-height:90vh;overflow:auto;border-radius:20px;box-shadow:0 30px 80px rgba(0,0,0,.25)}.modal-close{position:sticky;float:right;top:14px;right:14px;z-index:2;border:0;background:#f0f4f9;width:40px;height:40px;border-radius:11px;cursor:pointer;font-size:22px}.modal-content{padding:24px}.modal-content h2{margin-top:0}.hidden{display:none!important}.detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.detail{border:1px solid var(--line);border-radius:12px;padding:11px}.detail label{display:block;font-size:10px;color:var(--muted);font-weight:800;text-transform:uppercase;margin-bottom:3px}.photo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.photo-placeholder{aspect-ratio:1;border-radius:12px;background:linear-gradient(135deg,#dbe8f7,#f6f9fd);display:grid;place-items:center;color:#5a6e86;font-weight:800}.editor-overlay{position:fixed;inset:0;background:#eaf0f7;z-index:100;display:flex;flex-direction:column}.editor-bar{height:52px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 16px}.editor-bar span{display:block;font-size:10px;color:var(--muted)}.editor-bar button{border:0;background:#eaf2fb;color:#0d4b8e;border-radius:9px;padding:8px 12px;font-weight:800;cursor:pointer}#editorFrame{border:0;width:100%;height:calc(100vh - 52px)}.creative-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.creative-card{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}.creative-card img{width:100%;height:260px;object-fit:contain;background:#f2f5f9}.creative-card .cc{padding:10px}.creative-card .actions{display:flex;gap:7px;margin-top:9px}.role-pill{display:flex;gap:7px;flex-wrap:wrap}.role-pill span{padding:6px 8px;border-radius:999px;background:#edf4fc;color:#0b4e95;font-size:10px;font-weight:800}.toast-stack{position:fixed;right:18px;bottom:18px;z-index:200;display:grid;gap:8px}.toast{background:#102f5d;color:#fff;padding:12px 15px;border-radius:11px;box-shadow:var(--shadow);font-size:12px;animation:fade .25s}.notice{border-left:4px solid #4a80c1;background:#f2f7fd;padding:11px 13px;border-radius:10px;color:#39516e;font-size:12px}.empty{padding:35px;text-align:center;color:var(--muted)}@keyframes fade{from{transform:translateY(8px);opacity:0}}
@media(max-width:1100px){.kpis{grid-template-columns:repeat(3,1fr)}.chapter-grid{grid-template-columns:repeat(3,1fr)}.template-grid{grid-template-columns:repeat(2,1fr)}.grid-2{grid-template-columns:1fr}.search{display:none}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:.2s}.sidebar.open{transform:none}.main-shell{margin-left:0;width:100%}.mobile-menu{display:block}.topbar{padding:0 13px}.top-actions select:nth-of-type(1){display:none}.page-root{padding:16px}.hero{align-items:flex-start;gap:15px;flex-direction:column}.quick-actions{flex-wrap:wrap}.kpis{grid-template-columns:repeat(2,1fr)}.chapter-grid,.grid-3,.creative-grid,.template-grid{grid-template-columns:1fr}.detail-grid{grid-template-columns:1fr}.photo-grid{grid-template-columns:repeat(2,1fr)}}
/* V1.19.2 UX patch */
.hero{min-height:138px}.hero:after{right:-40px}.kpis.five{grid-template-columns:repeat(5,1fr)}.chapter-button{appearance:none;width:100%;text-align:left;cursor:pointer;color:inherit;font:inherit}.chapter-button:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.open-arrow{font-weight:800;color:#14599f}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.page-heading h2{margin:0}.page-heading p,.muted-text,.subline{font-size:11px;color:var(--muted)}.download-wrap{position:relative;display:inline-block}.download-menu{display:none;position:absolute;z-index:30;top:42px;left:0;min-width:190px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 30px rgba(15,37,69,.16);padding:6px}.download-menu.show{display:grid}.download-menu button{border:0;background:#fff;text-align:left;padding:9px;border-radius:8px;cursor:pointer;font-weight:700;color:var(--ink)}.download-menu button:hover{background:#eef5fd}.creative-card.variant-2 img{filter:saturate(.8) brightness(1.04)}.creative-card.variant-3 img{filter:hue-rotate(14deg) saturate(.9)}.creative-card .actions{flex-wrap:wrap}.mini-upload{display:inline-block;position:relative;overflow:hidden}.mini-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}.clickable{cursor:pointer}.calendar-head{display:grid;grid-template-columns:repeat(7,1fr);gap:7px;margin-bottom:7px}.calendar-head b{text-align:center;color:#60718a;font-size:11px}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:7px}.cal-cell{min-height:110px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:8px;display:flex;flex-direction:column;gap:5px}.cal-cell>b{font-size:12px}.muted-cell{background:#f5f7fa}.cal-item{border:0;background:#e9f2fc;color:#0d4d90;border-radius:7px;padding:5px;font-size:9px;font-weight:800;text-align:left;cursor:pointer}.cal-item.event{background:#fff2d3;color:#795300}.invitation-controls{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.invitation-controls label{font-size:11px;color:var(--muted);font-weight:800}.invitation-controls select{width:100%;margin-top:5px;border:1px solid var(--line);border-radius:10px;padding:10px}.invitation-summary{margin:14px 0;display:flex;justify-content:space-between;align-items:center;padding:14px;background:#f4f8fd;border:1px solid var(--line);border-radius:13px}.invitation-summary span,.invitation-summary small{display:block;color:var(--muted);font-size:11px}.invitation-summary b{display:block;margin:3px 0}.variation-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.variation-card{padding:6px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;color:var(--ink);font-weight:800}.variation-card.selected{border-color:#275fae;box-shadow:0 0 0 2px #dbeaff}.variation-card img{width:100%;height:130px;object-fit:contain;background:#f3f6fa;border-radius:8px}.variation-card span{display:block;padding:7px 3px;font-size:10px}.registration-box{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:16px;padding:12px;border:1px dashed #9eb9da;border-radius:12px;background:#f8fbff}.registration-box>div{flex:1;min-width:220px}.registration-box b,.registration-box span{display:block}.registration-box span{font-size:10px;color:var(--muted);margin-top:3px}.slot-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px}.asset-slot{border:1px solid var(--line);border-radius:12px;padding:9px;background:#fbfcfe;display:flex;flex-direction:column;gap:5px}.asset-slot b{font-size:11px}.asset-slot span{font-size:9px;color:var(--muted)}.asset-slot input{font-size:9px;width:100%}.slot-preview{height:90px;border-radius:8px;background:#eef3f8;display:grid;place-items:center;color:#8190a4;font-size:10px;overflow:hidden}.slot-preview img{width:100%;height:100%;object-fit:contain}.brand-explainer{padding:14px;border:1px solid #d8e6f6;border-radius:13px;background:#f5f9ff;margin-bottom:16px}.brand-explainer p{margin:6px 0 0;color:#53667e;line-height:1.5}.message-editor{margin-bottom:14px}.message-editor label{display:block;font-size:11px;font-weight:800;margin-bottom:5px}.message-editor textarea{width:100%;height:72px;border:1px solid var(--line);border-radius:10px;padding:9px}.master-tabs{margin-bottom:18px}
@media(max-width:1100px){.variation-grid{grid-template-columns:repeat(3,1fr)}.slot-grid{grid-template-columns:repeat(3,1fr)}.invitation-controls{grid-template-columns:1fr}.kpis.five{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.variation-grid,.slot-grid{grid-template-columns:1fr 1fr}.calendar-grid{overflow:auto}.cal-cell{min-width:120px}.page-heading{align-items:flex-start;gap:10px;flex-direction:column}.kpis.five{grid-template-columns:repeat(2,1fr)}}
/* V1.19.3 full workflow patch */
.kpi{appearance:none;text-align:left;color:inherit;width:100%}.chapter-card-top{display:flex;gap:10px;align-items:center}.chapter-logo-thumb{width:42px;height:42px;border-radius:10px;background:#edf4fb;display:grid;place-items:center;overflow:hidden;flex:0 0 auto;color:#0a4b8e;font-weight:900}.chapter-logo-thumb img{width:100%;height:100%;object-fit:contain;padding:3px}.compact-btn{padding:7px 10px;font-size:11px}.calendar-card{margin-top:8px}.clickable-day{cursor:pointer}.clickable-day:hover{box-shadow:inset 0 0 0 2px #b9d3f0}.cal-item.birthday{background:#fdeaf0;color:#a92a51}.media-avatar{overflow:hidden}.media-avatar img,.media-preview img{width:100%;height:100%;object-fit:contain}.media-preview{overflow:hidden;background:#f6f9fd}.floating-download-menu{position:fixed;z-index:500;width:250px;max-height:420px;overflow:auto;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 22px 55px rgba(15,37,69,.25);padding:8px}.floating-download-menu .fd-title{padding:9px 10px 7px;font-size:11px;color:#66748a;font-weight:800;border-bottom:1px solid var(--line);margin-bottom:5px}.floating-download-menu button{display:block;width:100%;border:0;background:#fff;text-align:left;padding:10px;border-radius:9px;font-weight:800;color:var(--ink);cursor:pointer}.floating-download-menu button:hover{background:#eef5fd}.actions-right{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.big-actions{grid-template-columns:repeat(3,1fr)}.flash{animation:flashrow 1.6s ease}@keyframes flashrow{0%,100%{background:transparent}40%{background:#fff0bd}}.asset-library-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.asset-library-card{border:1px solid var(--line);border-radius:12px;padding:9px;background:#fff}.asset-library-card b,.asset-library-card span{display:block}.asset-library-card span{font-size:10px;color:var(--muted)}.asset-preview{height:90px;background:#eef3f8;border-radius:8px;display:grid;place-items:center;overflow:hidden;margin-bottom:7px;font-size:11px;color:#66748a}.asset-preview img{width:100%;height:100%;object-fit:contain}.template-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.template-category-card{border:1px solid var(--line);background:#fff;border-radius:12px;padding:14px;text-align:left;cursor:pointer}.template-category-card:hover{border-color:#4c80bf;box-shadow:0 8px 20px rgba(15,37,69,.07)}.template-category-card b,.template-category-card span{display:block}.template-category-card span{font-size:10px;color:var(--muted);margin-top:5px}.photo-placeholder img{width:100%;height:100%;object-fit:contain}.creative-card img{object-fit:contain}.variation-card img{object-fit:contain}.asset-slot .slot-preview img{object-fit:contain;padding:5px}.detail input,.detail select{width:100%;border:0;background:transparent;color:var(--ink);outline:none}.card .chapter-logo-thumb{border:1px solid var(--line)}
@media(max-width:1100px){.asset-library-grid{grid-template-columns:repeat(3,1fr)}.template-category-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.asset-library-grid,.template-category-grid{grid-template-columns:1fr 1fr}.floating-download-menu{width:min(280px,90vw)}}

/* V1.19.4 fixes */
.master-city-chapter-grid{display:grid;grid-template-columns:.78fr 1.22fr;gap:18px;align-items:start}.status-toggle{border:0;border-radius:999px;padding:6px 10px;font-weight:800;cursor:pointer;font-size:10px}.status-toggle.on{background:#e7f7ef;color:#08784a}.status-toggle.off{background:#fdebed;color:#b72834}.inactive-row{opacity:.62;background:#fafbfc}.template-chapter-filter{font-size:11px;color:var(--muted);font-weight:800}.template-chapter-filter select{margin-left:6px;border:1px solid var(--line);border-radius:10px;padding:9px 11px;background:#fff;color:var(--ink)}.flexible-slots{grid-template-columns:repeat(auto-fit,minmax(165px,1fr))}.slot-preview{height:118px;padding:8px;overflow:hidden}.slot-preview img,.asset-slot .slot-preview img{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;padding:0!important;display:block}.chapter-logo-thumb img{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;padding:4px!important}.creative-live-preview{height:260px;position:relative;overflow:hidden;background:#f2f5f9}.creative-live-preview .creative-base{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;background:#f2f5f9}.creative-live-preview .creative-member-photo,.creative-live-preview .creative-business-logo,.creative-live-preview .creative-product-photo{position:absolute;object-fit:contain;z-index:2}.creative-live-preview.standard .creative-member-photo{left:32%;top:18%;width:36%;height:38%;border-radius:8px}.creative-live-preview.ppt .creative-member-photo{left:5%;top:18%;width:28%;height:48%}.creative-live-preview.ppt .creative-business-logo{left:7%;top:72%;width:18%;height:12%}.creative-live-preview.ppt .creative-product-photo{left:28%;top:68%;width:22%;height:20%}.creative-member-name,.creative-company-name{position:absolute;left:10%;right:10%;z-index:3;text-align:center;color:#fff;text-shadow:0 2px 5px rgba(0,0,0,.75);font-weight:900}.creative-member-name{top:60%;font-size:18px}.creative-company-name{top:68%;font-size:11px}.variation-card.broken-template{outline:2px solid #cf3c48}.variation-card.broken-template:after{content:'Template preview failed';display:block;font-size:9px;color:#b72834;padding:4px}.detail select{width:100%;border:0;background:transparent;color:var(--ink);outline:none}.creative-card>img{display:none}.city-logo-full-preview{object-fit:contain!important}
@media(max-width:1100px){.master-city-chapter-grid{grid-template-columns:1fr}.template-category-grid{grid-template-columns:repeat(2,1fr)}}

/* V1.19.6 smart creative slot previews */
.creative-live-preview.birthday .creative-base,.creative-live-preview.ppt-smart .creative-base{object-fit:contain!important;background:#f2f5f9}.birthday-photo-slot{position:absolute;left:32%;top:19%;width:36%;height:36%;border-radius:50%;overflow:hidden;border:3px solid #fff;z-index:4;background:#dbe5f2}.birthday-photo-slot img,.ppt-photo-slot img,.ppt-product-slot img,.ppt-logo-slot img,.generic-photo-slot img{width:100%;height:100%;object-fit:cover;display:block}.birthday-photo-slot.empty,.ppt-photo-slot.empty,.ppt-product-slot.empty,.ppt-logo-slot.empty{display:flex;align-items:center;justify-content:center;color:#6c7d91;font-size:10px}.birthday-name-slot{position:absolute;left:12%;right:12%;top:59%;z-index:5;text-align:center;color:#ffdf2b;font-weight:900;font-size:20px;text-shadow:0 2px 4px #000}.ppt-smart{font-family:Arial,sans-serif}.ppt-photo-slot{position:absolute;left:6.2%;top:24.2%;width:21.1%;height:34.9%;border-radius:50%;overflow:hidden;border:3px solid #fff;z-index:5;background:#dbe5f2}.ppt-product-slot{position:absolute;left:38.7%;top:23.3%;width:58.8%;height:43.4%;overflow:hidden;border-radius:4px;z-index:4;background:#f7f8fa}.ppt-product-slot img{object-fit:cover}.ppt-logo-slot{position:absolute;left:9.3%;top:67.6%;width:17%;height:17.5%;overflow:hidden;border-radius:5px;z-index:5;background:#fff}.ppt-logo-slot img{object-fit:contain}.ppt-category-slot,.ppt-name-slot,.ppt-company-slot,.ppt-phone-slot,.ppt-email-slot,.ppt-chapter-slot{position:absolute;z-index:6;font-weight:800}.ppt-category-slot{left:40%;right:4%;top:11%;text-align:center;color:#17243a;font-size:17px}.ppt-name-slot{left:5%;width:25%;top:60.5%;text-align:center;color:#fff;font-size:16px}.ppt-company-slot{left:5%;width:25%;top:85%;text-align:center;color:#fff;font-size:11px}.ppt-chapter-slot{left:5%;width:25%;top:92%;text-align:center;color:#fff;font-size:10px}.ppt-phone-slot{left:43%;top:71%;color:#fff;font-size:12px}.ppt-email-slot{left:43%;top:79%;color:#fff;font-size:11px}.generic-photo-slot{position:absolute;left:35%;top:22%;width:30%;height:30%;border-radius:50%;overflow:hidden;border:3px solid #fff;z-index:4}.generic-name-slot,.generic-company-slot{position:absolute;left:10%;right:10%;text-align:center;color:#fff;text-shadow:0 2px 5px rgba(0,0,0,.7);z-index:5;font-weight:900}.generic-name-slot{top:59%;font-size:18px}.generic-company-slot{top:67%;font-size:12px}
/* V1.20 hosting/download-only additions */
.login-body,.registration-body{margin:0;min-height:100vh;background:linear-gradient(135deg,#edf4ff,#f8fbff);font-family:Inter,Arial,sans-serif;color:#0c2345}
.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(440px,92vw);background:#fff;border-radius:28px;box-shadow:0 24px 70px rgba(17,43,82,.18);padding:36px}.login-logo{width:72px;height:72px;border-radius:22px;display:grid;place-items:center;background:#0b3269;color:white;font-weight:900;font-size:22px}.login-card h1{font-size:34px;margin:18px 0 4px}.login-card p{color:#6b7890;margin:0 0 24px}.login-card form{display:grid;gap:16px}.login-card label{display:grid;gap:8px;font-weight:700}.login-card input{padding:14px 16px;border:1px solid #d7e0ee;border-radius:12px;font-size:16px}.login-card button{border:0;border-radius:13px;background:#0b3269;color:white;padding:15px;font-weight:800;font-size:16px;cursor:pointer}.login-error{background:#fff0f0;color:#b42318;padding:12px;border-radius:12px;margin:12px 0}.login-meta{display:flex;justify-content:space-between;gap:14px;margin-top:18px;font-size:13px;color:#708097}.login-meta a{color:#0b5bc5;font-weight:700}.auth-chip{display:flex;flex-direction:column;background:#eef4fb;border-radius:12px;padding:9px 12px;line-height:1.05}.auth-chip span{font-size:11px;color:#64748b;margin-top:4px}.logout-link{text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.registration-shell{width:min(1000px,94vw);margin:28px auto;background:#fff;border-radius:26px;padding:30px;box-shadow:0 22px 60px rgba(20,45,80,.14)}.reg-head h1{margin:0}.reg-head p{color:#69778d}.reg-form{margin-top:20px}.upload-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:14px 0 22px}.upload-grid label{background:#f4f8fd;border:1px dashed #b9c9dc;padding:14px;border-radius:14px;font-weight:700}.upload-grid input{width:100%;margin-top:8px}.reg-submit{width:100%;font-size:17px}.success-box{padding:18px;border-radius:14px;background:#e9f8ef;color:#126a35;font-weight:700;margin-top:20px}
.venue-link{border:0;background:#eef5ff;color:#0b57b2;padding:7px 10px;border-radius:9px;font-weight:700;cursor:pointer}.invitation-controls.three{grid-template-columns:repeat(3,minmax(0,1fr))}.inv-download-preview{position:relative;max-width:760px;margin:16px auto;background:#eef3fa;padding:12px;border-radius:20px;overflow:hidden}.inv-download-preview>img{width:100%;display:block;object-fit:contain;max-height:70vh}.inv-auto-strip{position:absolute;left:12px;right:12px;bottom:12px;background:rgba(4,35,74,.93);color:white;padding:12px 16px;display:flex;gap:18px;align-items:center;flex-wrap:wrap;border-radius:0 0 16px 16px}.inv-auto-strip b{font-size:18px}.inv-auto-strip span{font-size:14px}
.new-member-smart{position:relative;overflow:hidden;background:#fff}.nm-photo-slot{position:absolute;display:grid;place-items:center;overflow:hidden;background:#fff;color:#8190a5;font-weight:700}.nm-photo-slot.circle{border-radius:50%}.nm-photo-slot img{width:100%;height:100%;object-fit:cover;object-position:center;background:white;display:block}.nm-text-slot{position:absolute;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:800;padding:4px 8px;border-radius:10px;overflow:hidden;line-height:1.05}.birthday-photo-slot img,.ppt-photo-slot img,.generic-photo-slot img{object-fit:contain!important;object-position:center top!important;background:#fff}.creative-card .actions{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:900px){.upload-grid{grid-template-columns:1fr 1fr}.invitation-controls.three{grid-template-columns:1fr}.auth-chip{display:none}}

/* V1.21 dashboard-reference / archive / meeting-date / template-preview fixes */
.sidebar{width:225px;padding:18px 12px}.main-shell{margin-left:225px;width:calc(100% - 225px)}
.brand{padding:4px 8px 20px}.brand .mark{width:42px;height:42px;border-radius:12px}.brand b{font-size:17px}
.sidebar nav button{padding:11px 12px;border-radius:10px}.topbar{height:70px;padding:0 26px}.topbar h2{font-size:19px}.topbar p{font-size:11px}
.page-root{padding:18px 26px 44px}.hero{border-radius:18px;padding:20px 24px;min-height:86px}.hero:after{width:235px;height:235px;border-width:44px;right:-58px;top:-98px}.hero h1{font-size:26px;margin-bottom:5px}.hero p{font-size:14px}
.kpis{gap:11px;margin:14px 0 16px}.kpi{border-radius:14px;padding:13px 14px}.kpi .label{font-size:11px}.kpi strong{font-size:24px;margin:6px 0 2px}.kpi small{font-size:10px}
.section-title{margin:15px 0 9px}.section-title h3{font-size:18px}.section-title p{font-size:11px}.chapter-grid{gap:10px}.chapter-card{border-radius:13px;padding:12px}.chapter-card p{margin:4px 0 9px}.compact-btn{padding:7px 10px;font-size:10px}
.calendar-card .card-head{padding:12px 16px 8px}.calendar-card .card-body{padding:6px 16px 16px}
.badge.gray{background:#edf1f5;color:#526176}.row-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.member-detail-head{padding:0 0 6px}.member-status-actions{padding-top:6px;border-top:1px solid var(--line)}
.meeting-date-link{border:0;background:#edf4fc;color:#0b57b2;padding:7px 10px;border-radius:9px;font-weight:800;cursor:pointer;white-space:nowrap}.meeting-date-link:hover,.venue-link:hover{background:#dfeeff}.regen-note{display:block!important;color:#b35b00!important;font-size:9px!important;font-weight:800;margin-top:4px}.regen-banner{border-left-color:#e7a31a;background:#fff8e7;color:#7a5200;margin:12px 0}.date-change-notice{margin-top:12px}.datebox-button{border:0;cursor:pointer}.datebox-button:disabled{cursor:default}
.deactive-chapter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.deactive-chapter-card{border:1px solid var(--line);border-radius:15px;padding:14px;background:#fbfdff}.deactive-chapter-head{display:flex;align-items:center;gap:10px;padding-bottom:10px;border-bottom:1px solid var(--line)}.deactive-chapter-head b{display:block;font-size:15px}.deactive-chapter-head span{display:block;color:var(--muted);font-size:11px;margin-top:3px}.deactive-member-list{min-height:58px}.compact-archive-row{padding:10px 0}.archive-empty{padding:18px 4px;color:var(--muted);font-size:11px}
/* Critical preview fix: the overlay stage now follows the actual image aspect ratio instead of a fixed 260px box. */
.creative-live-preview.new-member-smart{height:auto!important;position:relative;overflow:hidden;background:#f2f5f9;line-height:1}.creative-live-preview.new-member-smart .creative-base{position:relative!important;inset:auto!important;display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;background:#f2f5f9}.new-member-smart .nm-photo-slot{z-index:4}.new-member-smart .nm-text-slot{z-index:5;box-sizing:border-box;white-space:normal;word-break:normal;overflow:hidden;line-height:1.03;padding:2px 5px;border-radius:5px;font-family:Arial,sans-serif;letter-spacing:-.01em}
.creative-card .new-member-smart img.creative-base{height:auto!important}.creative-card .new-member-smart .nm-photo-slot img{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:inherit;display:block!important}.creative-card .cc{border-top:1px solid var(--line)}
@media(max-width:1100px){.deactive-chapter-grid{grid-template-columns:1fr}.sidebar{width:225px}.main-shell{margin-left:225px;width:calc(100% - 225px)}}
@media(max-width:760px){.sidebar{width:244px}.main-shell{margin-left:0;width:100%}.page-root{padding:14px}.hero{min-height:auto;padding:18px}.deactive-chapter-grid{grid-template-columns:1fr}}

/* V1.22 supplied Renewal + PPT template mapping */
.creative-live-preview.mapped-smart{height:auto!important;position:relative;overflow:hidden;background:#f2f5f9;line-height:1}
.creative-live-preview.mapped-smart .creative-base{position:relative!important;inset:auto!important;display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;background:#f2f5f9}
.mapped-media-slot{position:absolute;z-index:5;overflow:hidden;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
.creative-card .mapped-smart .mapped-media-slot img,.mapped-smart .mapped-media-slot img{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:center!important;background:transparent!important}
.mapped-slot-clear{position:absolute;z-index:4;box-sizing:border-box;overflow:hidden}.mapped-text-slot{position:absolute;z-index:6;display:flex;align-items:center;justify-content:flex-start;text-align:left;padding:2px 5px;overflow:hidden;box-sizing:border-box;font-family:Arial,sans-serif;font-weight:800;line-height:1.02;white-space:normal;overflow-wrap:anywhere;word-break:break-word;text-overflow:clip}
.creative-card .mapped-smart img.creative-base{height:auto!important}

/* V1.23 mobile, compact templates, birthday board, brand assets, name plates */
.dashboard-kpis{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:11px;margin:14px 0 16px}.dashboard-kpis .kpi{padding:13px 14px;border-radius:13px}.dashboard-kpis .kpi strong{font-size:24px;margin:5px 0 1px}
.upcoming-birthday-card{margin:2px 0 14px}.rose-soft{background:#fff0f4;color:#b82f55}.birthday-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.birthday-person{display:flex;align-items:stretch;min-width:0;padding:0;border:0;border-radius:9px;overflow:hidden;cursor:pointer;text-align:left;box-shadow:0 4px 10px rgba(20,39,70,.16);background:#d39a37;color:#fff}.birthday-avatar{width:74px;min-height:72px;flex:0 0 74px;background:#e9edf2;display:grid;place-items:center;overflow:hidden;color:#15355c;font-weight:900}.birthday-avatar img{width:100%;height:100%;object-fit:cover;object-position:center top}.birthday-avatar.initials{font-size:18px}.birthday-copy{display:flex;min-width:0;flex-direction:column;justify-content:center;padding:10px 13px}.birthday-copy b{font-size:14px;line-height:1.2;white-space:normal}.birthday-copy b em{font-style:normal;font-weight:750;opacity:.96}.birthday-copy small{font-size:11px;font-weight:800;margin-top:5px;color:#fff}.birthday-person.chapter-neptune{background:#4d70dc}.birthday-person.chapter-jupiter{background:#d39835}.birthday-person.chapter-pluto{background:#a4927b}.birthday-person.chapter-mercury{background:#ad3039}.birthday-person.chapter-orbit{background:#268b78}.birthday-empty{padding:16px;border:1px dashed var(--line);border-radius:11px;color:var(--muted);font-size:12px;text-align:center}

/* Compact, separated creative/template choices */
.creative-grid{grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:18px;padding:6px}.creative-card{border-radius:14px;padding:6px;background:#fff;box-shadow:0 5px 15px rgba(15,37,69,.06);overflow:hidden}.creative-card .creative-live-preview{height:auto;aspect-ratio:1/1;border-radius:10px;background:#f4f7fb}.creative-card .creative-live-preview.ppt-mapped,.creative-card .creative-live-preview.nameplate-mapped{aspect-ratio:1.91/1}.creative-card .cc{padding:9px 5px 4px;border-top:1px solid #eef2f7;margin-top:5px}.creative-card .cc b{display:block;font-size:12px;line-height:1.25}.creative-card .actions{gap:7px;margin-top:7px}.creative-card .actions .btn{padding:8px 11px;font-size:11px}.template-category-grid{gap:12px}.template-category-card{padding:12px 13px;min-height:62px}.compact-template-slots{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px}.compact-template-slots .asset-slot{padding:8px;gap:4px}.compact-template-slots .slot-preview{height:96px}.template-inherited{margin:12px 0 18px}.template-inherited h4{margin:0 0 9px;font-size:12px;color:#334a67}.readonly-slot{background:#f7f9fc}.readonly-slot .slot-preview{background:#eef3f8}

/* Name plate dynamic overlays */
.nameplate-mapped{position:relative;overflow:hidden}.nameplate-text-slot,.nameplate-logo-slot{position:absolute;z-index:7;background:rgba(255,255,255,.97);display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden;box-sizing:border-box;color:#0b356f;font-family:Arial,sans-serif;font-weight:900;line-height:1.05;padding:2px 4px;white-space:nowrap}.nameplate-text-slot{font-size:clamp(7px,1.05vw,15px)}.nameplate-logo-slot{font-size:8px;color:#73839a}.nameplate-logo-slot img{width:100%;height:100%;object-fit:contain;padding:3px}.nameplate-text-slot.flipped,.nameplate-logo-slot.flipped{transform:rotate(180deg)}

/* City / chapter logo master */
.brand-group{margin-bottom:20px}.brand-group h4{margin:0 0 9px;font-size:13px;color:#243c5b}.brand-asset-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:10px}.brand-asset-tile{border:1px solid var(--line);background:#fbfcfe;border-radius:12px;padding:8px}.brand-logo-preview{height:86px;border-radius:8px;background:#fff;display:grid;place-items:center;overflow:hidden}.brand-logo-preview.dark-preview{background:#0a315f}.brand-logo-preview img{width:100%;height:100%;object-fit:contain;padding:8px}.brand-asset-tile span{display:block;font-size:9px;color:var(--muted);margin-top:6px;text-align:center}

/* Better mobile/tablet usability */
@media(max-width:1100px){.birthday-board{grid-template-columns:repeat(2,minmax(0,1fr))}.creative-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.topbar{height:auto;min-height:66px;padding:9px 12px;gap:8px}.topbar h2{font-size:17px}.topbar p{font-size:10px}.top-actions{gap:6px;flex-wrap:wrap;justify-content:flex-end}.top-actions #citySelect{display:block!important;max-width:112px;padding:8px 7px;font-size:11px}.top-actions .icon-btn,.logout-link{padding:8px 9px;font-size:12px}.page-root{padding:12px}.hero{padding:17px 18px;border-radius:15px}.hero h1{font-size:22px}.hero p{font-size:12px}.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.birthday-board{grid-template-columns:1fr}.chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.creative-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:2px}.modal{max-height:92vh;overflow:auto;border-radius:16px}.modal-content{padding-bottom:12px}.tabs{overflow-x:auto;white-space:nowrap;display:flex}.tabs button{flex:0 0 auto}.card-head{gap:9px;align-items:flex-start;flex-wrap:wrap}.template-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compact-template-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.brand-asset-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar.open{box-shadow:12px 0 35px rgba(4,24,54,.32)}.sidebar nav button{min-height:46px}.table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}}
@media(max-width:560px){.top-actions .auth-chip{display:none}.top-actions #citySelect{max-width:98px}.logout-link{font-size:0}.logout-link:after{content:'↪';font-size:16px}.page-root{padding:10px}.hero{min-height:0}.dashboard-kpis{grid-template-columns:1fr 1fr}.dashboard-kpis .kpi{padding:11px}.dashboard-kpis .kpi .label{font-size:10px}.dashboard-kpis .kpi strong{font-size:22px}.dashboard-kpis .kpi small{font-size:9px}.chapter-grid{grid-template-columns:1fr}.creative-grid{grid-template-columns:1fr}.creative-card{padding:5px}.creative-card .creative-live-preview{max-height:none}.template-category-grid,.compact-template-slots,.brand-asset-grid{grid-template-columns:1fr}.birthday-avatar{width:66px;flex-basis:66px;min-height:66px}.birthday-copy{padding:8px 10px}.birthday-copy b{font-size:13px}.card-body{padding-left:10px;padding-right:10px}.card-head{padding-left:11px;padding-right:11px}.modal{width:96vw!important}.modal-close{top:8px;right:8px}.photo-grid{grid-template-columns:1fr}.detail-grid{grid-template-columns:1fr}.actions-right{flex-wrap:wrap}.actions-right .btn{flex:1;min-width:120px}}
.template-brand-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;margin-bottom:14px;border:1px solid #d8e5f4;border-radius:12px;background:#f7fbff}.template-brand-strip b,.template-brand-strip span{display:block}.template-brand-strip b{font-size:12px}.template-brand-strip span{font-size:9px;color:var(--muted);margin-top:3px}.template-brand-logos{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.template-brand-logos>div{width:64px;height:42px;border:1px solid var(--line);border-radius:8px;background:#fff;display:grid;place-items:center;overflow:hidden}.template-brand-logos>div.dark-preview{background:#0a315f}.template-brand-logos img{width:100%;height:100%;object-fit:contain;padding:5px}
@media(max-width:560px){.registration-shell{width:96vw;margin:10px auto;padding:16px;border-radius:16px}.reg-head h1{font-size:24px}.reg-head p{font-size:12px}.upload-grid{grid-template-columns:1fr!important}.template-brand-strip{align-items:flex-start;flex-direction:column}.template-brand-logos{justify-content:flex-start}}

/* V1.24 full member details, 7 birthday templates and roster chapter logos */
.member-profile-modal{padding-bottom:4px}.member-profile-header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:2px 0 14px}.member-profile-header h2{margin:0;color:#071f3f;font-size:22px}.member-profile-header p{margin:7px 0 0;color:#64748b;font-size:10px}.member-profile-sheet{background:#eef0f2;border:1px solid #d8dde5;border-radius:10px;padding:18px}.member-reference-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 16px}.profile-field{min-width:0;background:#fff;border:1px solid #d5dbe3;border-radius:6px;padding:10px 12px;min-height:58px;display:flex;flex-direction:column;justify-content:center;box-sizing:border-box}.profile-field span{display:block;color:#526176;font-size:10px;font-weight:700;margin-bottom:7px}.profile-field b{display:block;color:#17304f;font-size:13px;font-weight:600;line-height:1.28;overflow-wrap:anywhere}.profile-field.wide-4{grid-column:span 4}.profile-field.span-2{grid-column:span 2}.profile-section-title{margin:18px 0 10px;color:#24364d;font-size:15px}.profile-media-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.profile-media-card{background:#fff;border:1px solid #d5dbe3;border-radius:7px;overflow:hidden;min-width:0}.profile-media-card>span{display:block;padding:10px 12px;color:#536176;font-size:10px;font-weight:700;border-bottom:1px solid #e4e8ee}.profile-media-preview{height:150px;background:#f7f9fb;display:grid;place-items:center;overflow:hidden}.profile-media-preview img{width:100%;height:100%;object-fit:contain}.media-empty{color:#9aa5b3;font-size:10px;text-align:center;padding:10px}.member-status-actions{margin-top:14px}

.reference-registration-form{margin-top:10px}.registration-fields-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 16px;background:#eef0f2;border-radius:10px;padding:18px;margin-bottom:18px}.reg-field{min-width:0;display:flex;flex-direction:column;gap:6px;color:#526176;font-size:11px}.reg-field span{font-weight:700}.reg-field input,.reg-field select,.reg-field textarea{width:100%;box-sizing:border-box;border:1px solid #d5dbe3;border-radius:6px;background:#fff;color:#26374d;padding:12px 12px;outline:none;font:inherit;min-height:45px}.reg-field textarea{resize:vertical;min-height:72px}.reg-field.wide-4{grid-column:span 4}.reg-field.span-2{grid-column:span 2}.reg-field input:focus,.reg-field select:focus,.reg-field textarea:focus{border-color:#4b80bd;box-shadow:0 0 0 3px rgba(75,128,189,.10)}

.creative-live-preview.birthday-mapped{aspect-ratio:1/1}.birthday-mapped .mapped-media-slot.member{z-index:7}.birthday-mapped .mapped-text-slot{z-index:8;font-weight:900;border-radius:3px;letter-spacing:-.01em}.birthday-mapped .mapped-text-slot.company{font-weight:700}.roster-mapped{position:relative}.roster-chapter-logo-slot{position:absolute;left:4.5%;top:4.5%;width:32%;height:10.5%;z-index:8;display:flex;align-items:center;justify-content:flex-start;overflow:hidden}.roster-chapter-logo-slot img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:left center!important;background:transparent!important}

@media(max-width:1000px){.member-reference-grid,.registration-fields-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-field.wide-4,.reg-field.wide-4{grid-column:span 2}.profile-media-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.member-profile-header h2{font-size:18px}.member-profile-sheet{padding:12px}.member-reference-grid,.registration-fields-grid{grid-template-columns:1fr;gap:10px}.profile-field.wide-4,.profile-field.span-2,.reg-field.wide-4,.reg-field.span-2{grid-column:span 1}.profile-field{min-height:54px;padding:9px 10px}.profile-media-grid{grid-template-columns:1fr 1fr;gap:10px}.profile-media-preview{height:120px}.registration-fields-grid{padding:12px}.reg-field input,.reg-field select,.reg-field textarea{padding:11px}.roster-chapter-logo-slot{width:42%;height:12%}}
.roster-logo-notice{display:flex;align-items:center;gap:12px}.roster-logo-notice img{width:170px;max-height:50px;object-fit:contain;background:#0b315c;border-radius:7px;padding:5px}.roster-logo-notice span{font-size:11px;color:#455a73}.no-template-notice{grid-column:1/-1;text-align:center;padding:20px}
@media(max-width:560px){.roster-logo-notice{align-items:flex-start;flex-direction:column}.roster-logo-notice img{width:150px}}

/* V1.25 compact birthdays + clean creative previews */
.upcoming-birthday-card{margin:4px 0 16px}.upcoming-birthday-card .birthday-head{padding:12px 15px 7px}.upcoming-birthday-card .birthday-body{padding:5px 15px 13px}.birthday-board{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.birthday-person{min-height:56px;border-radius:9px;box-shadow:0 3px 9px rgba(20,39,70,.12)}.birthday-avatar{width:56px;flex:0 0 56px;min-height:56px}.birthday-avatar img{width:100%;height:100%;object-fit:cover;object-position:center top}.member-photo-placeholder{font-size:22px;opacity:.55}.birthday-copy{padding:7px 10px}.birthday-copy b{font-size:12px;line-height:1.12}.birthday-copy small{font-size:10px;margin-top:3px}.birthday-copy b em{font-size:10px}.landscape-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.creative-grid{gap:18px}.creative-card{margin:0;min-width:0}.creative-card .creative-live-preview.roster-mapped{aspect-ratio:2048/682}.creative-card .mapped-text-slot{white-space:normal!important;word-break:normal;overflow:hidden!important;line-height:1.02;padding:1px 3px}.creative-card .mapped-media-slot.member img{object-fit:cover!important;object-position:center top!important}.creative-card .mapped-media-slot.logo img,.creative-card .mapped-media-slot.chapter-logo img,.creative-card .mapped-media-slot.product img{object-fit:contain!important}.creative-card .cc{min-height:66px;display:flex;flex-direction:column;justify-content:space-between}.creative-card .cc b{font-size:12px}.nameplate-text-slot{white-space:normal!important;line-height:1.02}.registration-success{padding:22px!important}.registration-success h2{margin:0 0 7px;font-size:22px;color:#08784a}.registration-success p{margin:5px 0 14px}.credential-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}.credential-grid>div{background:#fff;border:1px solid #cfe5d9;border-radius:12px;padding:13px}.credential-grid span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:#66748a;font-weight:800;margin-bottom:4px}.credential-grid strong{font-size:19px;color:#0a2b5e;word-break:break-word}.credential-note{font-size:12px;color:#526277;margin-bottom:0!important}
@media(max-width:1200px){.birthday-board{grid-template-columns:repeat(3,minmax(0,1fr))}.landscape-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.birthday-board{grid-template-columns:repeat(2,minmax(0,1fr))}.landscape-grid{grid-template-columns:1fr}.credential-grid{grid-template-columns:1fr}}
@media(max-width:560px){.birthday-board{grid-template-columns:1fr}.birthday-person{min-height:54px}.birthday-avatar{width:54px;flex-basis:54px;min-height:54px}}

/* V1.26 meeting flow + compact dashboard birthdays */
.meeting-table-wrap{overflow:auto;max-width:100%;-webkit-overflow-scrolling:touch}
.meeting-detail-table{min-width:1760px}
.meeting-detail-table th{white-space:nowrap;font-size:10px;padding:9px 8px}
.meeting-detail-table td{padding:9px 8px;font-size:12px;vertical-align:middle;max-width:190px}
.meeting-data-link,.meeting-pop-link{border:0;background:#eef5ff;color:#0b57b2;border-radius:8px;padding:7px 9px;font-weight:750;cursor:pointer;max-width:180px;text-align:left;line-height:1.15}
.meeting-data-link.wrap,.meeting-pop-link{white-space:normal;overflow-wrap:anywhere}
.meeting-pop-link{background:#f6f8fb;color:#4a5d75;border:1px solid #dce6f2}
.meeting-pop-link.filled{background:#eaf7f0;color:#08784a;border-color:#c9ead8}
.investment-link{white-space:nowrap;background:#fff4d8;color:#865a00}
.meeting-actions{display:flex;gap:6px;align-items:center;white-space:nowrap}
.btn.compact{padding:7px 9px;border-radius:8px;font-size:11px}
.meeting-editor-modal input,.meeting-person-modal input,.meeting-person-modal select{width:100%;border:1px solid var(--line);border-radius:10px;padding:10px;background:#fff;color:var(--ink)}
.meeting-person-grid{display:grid;grid-template-columns:220px 1fr;gap:16px;align-items:start}
.meeting-photo-upload{display:block;border:1px solid var(--line);border-radius:14px;padding:10px;background:#f8fbff;cursor:pointer}
.meeting-photo-upload>span{font-size:10px;color:var(--muted);font-weight:800;text-transform:uppercase;display:block;margin-bottom:7px}
.meeting-person-photo{aspect-ratio:1;border-radius:12px;background:#edf3f8;display:grid;place-items:center;overflow:hidden;font-size:46px;color:#7f90a4}
.meeting-person-photo img{width:100%;height:100%;object-fit:cover;object-position:center top}
.meeting-photo-upload input{font-size:10px;margin-top:8px;padding:6px}
.meeting-person-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.presentation-member-preview{margin:12px 0;display:grid;grid-template-columns:82px 1fr 110px;gap:12px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:14px;background:#f8fbff}
.presentation-photo{width:82px;height:82px;border-radius:50%;object-fit:cover;object-position:center top;background:#e9eef4}
.presentation-logo{width:110px;height:74px;object-fit:contain;background:#fff;border:1px solid #e0e7ef;border-radius:10px;padding:6px}
.presentation-photo.placeholder,.presentation-logo.placeholder{display:grid;place-items:center;color:#718197;font-size:12px}
.presentation-member-meta b,.presentation-member-meta span{display:block}.presentation-member-meta span{font-size:12px;color:var(--muted);margin-top:4px}
.meeting-creative-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:12px 0 18px}.meeting-creative-summary span{padding:10px;border:1px solid var(--line);border-radius:10px;background:#f8fbff;font-size:12px}.meeting-creative-summary b{display:block;font-size:9px;color:var(--muted);text-transform:uppercase;margin-bottom:4px}
.meeting-creative-section{margin:18px 0 24px}.meeting-creative-section h3{margin:0 0 10px}
.meeting-invitation-data{display:grid;grid-template-columns:120px 1fr 130px;gap:14px;align-items:center;border:1px solid var(--line);background:#f7faff;border-radius:14px;padding:10px;margin:12px 0 15px}.meeting-group-thumb{width:120px;height:76px;border-radius:10px;object-fit:cover;background:#eaf0f7}.meeting-group-thumb.placeholder{display:grid;place-items:center;font-size:10px;color:#758499;border:1px dashed #aebed1}.meeting-chapter-logo-thumb{width:130px;height:70px;object-fit:contain}.meeting-invitation-copy b,.meeting-invitation-copy span{display:block}.meeting-invitation-copy span{font-size:11px;color:var(--muted);margin-top:4px}.meeting-invitation-data.compact-preview{margin-top:12px}
.chapter-master-list{display:grid;gap:10px}.chapter-master-row{display:grid;grid-template-columns:minmax(160px,1fr) minmax(260px,1.4fr);gap:14px;align-items:center;padding:10px;border:1px solid var(--line);border-radius:13px;background:#fbfcfe}.chapter-master-main{display:flex;gap:10px;align-items:center}.chapter-master-main .meta b,.chapter-master-main .meta span{display:block}.chapter-master-main .meta span{font-size:11px;color:var(--muted)}.chapter-group-photo-control{display:grid;grid-template-columns:80px 1fr 160px;gap:9px;align-items:center;font-size:10px;font-weight:800;color:var(--muted)}.chapter-group-photo-preview{height:68px;border-radius:9px;background:#eef3f8;overflow:hidden}.chapter-group-photo-preview img{width:100%;height:100%;object-fit:cover}.group-photo-empty{height:100%;display:grid;place-items:center;color:#8190a4;font-weight:600}.chapter-group-photo-control input{font-size:9px;width:100%}
.upcoming-birthday-card .birthday-board{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.upcoming-birthday-card .birthday-person{min-height:50px}.upcoming-birthday-card .birthday-avatar{width:50px;flex:0 0 50px;min-height:50px}.upcoming-birthday-card .birthday-copy{padding:6px 8px}.upcoming-birthday-card .birthday-copy b{font-size:11px}.upcoming-birthday-card .birthday-copy small{font-size:9px}.upcoming-birthday-card .birthday-copy b em{font-size:9px}

@media(max-width:1200px){.upcoming-birthday-card .birthday-board{grid-template-columns:repeat(3,minmax(0,1fr))}.meeting-invitation-data{grid-template-columns:100px 1fr 110px}.meeting-group-thumb{width:100px;height:68px}.meeting-chapter-logo-thumb{width:110px}}
@media(max-width:820px){.meeting-person-grid{grid-template-columns:1fr}.meeting-photo-upload{max-width:220px}.meeting-person-fields{grid-template-columns:1fr}.presentation-member-preview{grid-template-columns:68px 1fr 85px}.presentation-photo{width:68px;height:68px}.presentation-logo{width:85px;height:62px}.meeting-creative-summary{grid-template-columns:1fr}.meeting-invitation-data{grid-template-columns:86px 1fr}.meeting-chapter-logo-thumb{grid-column:1/-1;width:120px;height:55px;justify-self:end}.meeting-group-thumb{width:86px;height:62px}.chapter-master-row{grid-template-columns:1fr}.chapter-group-photo-control{grid-template-columns:70px 1fr}.chapter-group-photo-control input{grid-column:1/-1}.upcoming-birthday-card .birthday-board{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.upcoming-birthday-card .birthday-board{grid-template-columns:1fr}.upcoming-birthday-card .birthday-person{min-height:48px}.upcoming-birthday-card .birthday-avatar{width:48px;flex-basis:48px;min-height:48px}.meeting-invitation-data{grid-template-columns:1fr}.meeting-group-thumb{width:100%;height:120px}.meeting-chapter-logo-thumb{justify-self:start}.presentation-member-preview{grid-template-columns:60px 1fr}.presentation-logo{grid-column:1/-1;width:100px}.meeting-person-modal .actions-right .btn{min-width:100px}}
/* Exact creative preview ratios — prevents PPT/member data from being visually cropped in the option grid. */
.creative-card .creative-live-preview.ppt-mapped{aspect-ratio:1672/941!important}
.creative-card .creative-live-preview.nameplate-mapped{aspect-ratio:1734/907!important}
.creative-card .creative-live-preview.roster-mapped{aspect-ratio:2048/682!important}

/* V1.27 — member-scoped dashboard, mandatory registration, PNG preview workflow */
.required-note{font-size:11px;color:#b72834;font-weight:700;margin-left:6px}.upload-grid label:has(input[required]){border-color:#cbd9e8}.upload-grid input[required]{background:#fff}
.preview-btn{background:#f5f8fc!important;color:#0d4b8e!important;border-color:#cddced!important}.creative-full-preview-modal{max-width:1180px;margin:auto}.creative-full-preview{background:#1c2530;border-radius:14px;padding:12px;display:grid;place-items:center;max-height:72vh;overflow:auto;border:1px solid #283849}.creative-full-preview img{display:block;max-width:100%;height:auto;max-height:68vh;object-fit:contain;background:#fff;box-shadow:0 7px 22px rgba(0,0,0,.22)}
/* Upcoming birthday cards remain compact even when only one or two birthdays exist. */
.upcoming-birthday-card .birthday-board{grid-template-columns:repeat(auto-fill,minmax(210px,250px));justify-content:start;align-items:stretch;gap:8px}.upcoming-birthday-card .birthday-person{width:100%;max-width:250px}.upcoming-birthday-card .birthday-avatar{width:48px;flex-basis:48px;min-height:48px}.upcoming-birthday-card .birthday-copy b{font-size:10.5px}.upcoming-birthday-card .birthday-copy small{font-size:9px}
.member-self-card{margin:16px 0}.member-self-body{display:grid;grid-template-columns:92px 1fr auto;gap:16px;align-items:center}.member-self-photo{width:92px;height:92px;border-radius:50%;overflow:hidden;background:#eaf0f7;display:grid;place-items:center;font-size:34px}.member-self-photo img{width:100%;height:100%;object-fit:cover;object-position:center top}.member-self-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 14px}.member-self-fields>div{min-width:0;border-left:3px solid #dce7f4;padding:5px 8px}.member-self-fields span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-weight:800}.member-self-fields b{display:block;margin-top:3px;font-size:12px;overflow-wrap:anywhere}.member-chapter-kpi{display:grid;grid-template-columns:minmax(220px,320px);margin:14px 0}.member-overview-grid{display:grid;grid-template-columns:minmax(320px,.82fr) minmax(0,1.18fr);gap:16px;align-items:start}.member-overview-grid .upcoming-birthday-card{margin:0}.member-overview-grid .birthday-board{grid-template-columns:1fr}.member-overview-grid .birthday-person{max-width:none}.member-calendar-wrap{min-width:0}.member-calendar-wrap .calendar-card{margin:0}
/* Keep meeting table inside the Meetings card; member view is intentionally narrower/read-only. */
.meeting-table-wrap{width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;contain:inline-size}.member-meeting-body{min-width:0;overflow:hidden}.member-meeting-wrap{display:block}.member-meeting-table{min-width:1180px!important;table-layout:auto}.member-meeting-table th{font-size:9px;padding:8px 7px}.member-meeting-table td{font-size:11px;padding:8px 7px;max-width:160px;overflow-wrap:anywhere}.member-meeting-table .meeting-pop-link{max-width:150px;padding:6px 7px;font-size:10px}.readonly-invitation-control{border:1px solid var(--line);background:#f7f9fc;border-radius:10px;padding:10px 12px;font-weight:800;min-height:42px;display:flex;align-items:center}
@media(max-width:980px){.member-self-body{grid-template-columns:76px 1fr}.member-self-photo{width:76px;height:76px}.member-self-body>.btn{grid-column:1/-1;justify-self:start}.member-self-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.member-overview-grid{grid-template-columns:1fr}.member-overview-grid .birthday-board{grid-template-columns:repeat(auto-fill,minmax(210px,250px))}}
@media(max-width:620px){.member-self-body{grid-template-columns:64px 1fr;gap:10px}.member-self-photo{width:64px;height:64px}.member-self-fields{grid-template-columns:1fr}.member-self-body>.btn{width:100%}.member-chapter-kpi{grid-template-columns:1fr}.upcoming-birthday-card .birthday-board,.member-overview-grid .birthday-board{grid-template-columns:1fr}.upcoming-birthday-card .birthday-person{max-width:none}.creative-full-preview{padding:6px;border-radius:9px}.creative-full-preview img{max-height:62vh}}
/* V1.27 member-to-member privacy: chapter directory exposes business/contact only. */
.member-public-profile-body{display:grid;grid-template-columns:150px minmax(0,1fr) 150px;gap:18px;align-items:start}
.member-public-photo,.member-public-logo{border:1px solid #dbe5f0;border-radius:18px;background:#f8fbff;padding:10px;text-align:center;min-width:0}
.member-public-photo{aspect-ratio:1/1;display:grid;place-items:center;overflow:hidden;font-size:44px}
.member-public-photo img{width:100%;height:100%;object-fit:cover;border-radius:12px}
.member-public-logo span{display:block;font-size:11px;color:#64748b;margin-bottom:8px;text-transform:uppercase;font-weight:700;letter-spacing:.04em}
.member-public-logo img{width:100%;height:105px;object-fit:contain}
.public-member-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){.member-public-profile-body{grid-template-columns:90px minmax(0,1fr)}.member-public-logo{grid-column:1/-1}.member-public-logo img{height:80px}.public-member-fields{grid-template-columns:1fr}}

/* V1.29 invitation auto-fill + no-horizontal-scroll meeting table */
.meeting-table-wrap{overflow-x:hidden!important;overflow-y:visible!important;width:100%;max-width:100%}
.meeting-detail-table{min-width:0!important;width:100%!important;table-layout:fixed!important}
.meeting-detail-table th{font-size:8px!important;padding:7px 4px!important;white-space:normal!important;line-height:1.05;overflow-wrap:anywhere}
.meeting-detail-table td{font-size:10px!important;padding:7px 4px!important;max-width:none!important;white-space:normal!important;overflow-wrap:anywhere;line-height:1.15}
.meeting-detail-table th:nth-child(1){width:8%}.meeting-detail-table th:nth-child(2){width:7%}.meeting-detail-table th:nth-child(3){width:6%}.meeting-detail-table th:nth-child(4){width:10%}.meeting-detail-table th:nth-child(5){width:9%}.meeting-detail-table th:nth-child(6){width:12%}.meeting-detail-table th:nth-child(7){width:7%}.meeting-detail-table th:nth-child(8){width:10%}.meeting-detail-table th:nth-child(9),.meeting-detail-table th:nth-child(10){width:10%}.meeting-detail-table th:nth-child(11){width:7%}
.meeting-data-link,.meeting-pop-link{max-width:100%!important;width:100%;padding:5px 5px!important;font-size:9px!important;text-align:center!important;white-space:normal!important;overflow-wrap:anywhere}
.meeting-actions{white-space:normal!important;display:block!important}.meeting-actions .btn{width:100%;padding:6px 5px!important;font-size:9px!important}
.inv-download-preview.rendered img{width:min(720px,100%);height:auto;object-fit:contain;display:block;margin:auto}
@media(max-width:1100px){.meeting-detail-table th{font-size:7px!important;padding:6px 3px!important}.meeting-detail-table td{font-size:9px!important;padding:6px 3px!important}.meeting-data-link,.meeting-pop-link{font-size:8px!important;padding:4px 3px!important}}


/* V1.30 final overrides */

.meeting-table-wrap{width:100%;max-width:100%;overflow-x:hidden!important;overflow-y:visible!important}
.meeting-detail-table{width:100%!important;min-width:0!important;table-layout:fixed!important}
.meeting-detail-table th,.meeting-detail-table td{white-space:normal!important;overflow-wrap:anywhere;word-break:break-word;line-height:1.15;vertical-align:middle}
.meeting-detail-table th{font-size:8px!important;padding:7px 5px!important}
.meeting-detail-table td{font-size:10px!important;padding:7px 5px!important;max-width:none!important}
.meeting-detail-table th:nth-child(1){width:9%}.meeting-detail-table th:nth-child(2){width:8%}.meeting-detail-table th:nth-child(3){width:7%}.meeting-detail-table th:nth-child(4){width:11%}.meeting-detail-table th:nth-child(5){width:10%}.meeting-detail-table th:nth-child(6){width:13%}.meeting-detail-table th:nth-child(7){width:8%}.meeting-detail-table th:nth-child(8){width:11%}.meeting-detail-table th:nth-child(9),.meeting-detail-table th:nth-child(10){width:11%}.meeting-detail-table th:nth-child(11){width:12%}
.meeting-data-link,.meeting-pop-link{display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:30px;padding:6px 6px!important;text-align:center;font-size:10px!important;line-height:1.15}
.meeting-data-link.wrap,.meeting-pop-link{white-space:normal!important}
.meeting-actions .btn{width:100%;padding:7px 6px!important;font-size:10px!important}
@media(max-width:1100px){.meeting-table-wrap{overflow-x:auto!important}.meeting-detail-table{min-width:1120px!important;table-layout:auto!important}}
/* V1.35 FINAL — invitation renderer corrections + verified canvas previews */
.page-heading-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.manual-member-modal{max-width:1180px;margin:auto}.manual-member-grid{margin-top:14px}.manual-media-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:10px 0 18px}.manual-media-input{display:block;border:1px solid var(--line);border-radius:10px;background:#fff;overflow:hidden;cursor:pointer}.manual-media-input>span{display:block;padding:9px 10px;font-size:10px;font-weight:800;color:#526176;border-bottom:1px solid var(--line)}.manual-media-preview{height:125px;background:#f5f8fb;color:#8a96a6;display:grid;place-items:center;font-size:10px;overflow:hidden}.manual-media-preview img{width:100%;height:100%;object-fit:contain}.manual-media-input input{display:block;width:100%;padding:8px;font-size:10px}.rendered-creative-card-preview{width:100%;height:260px;background:#f2f5f9;display:grid;place-items:center;overflow:hidden;color:#718096;font-size:11px}.rendered-creative-card-preview img{width:100%!important;height:100%!important;object-fit:contain!important;background:#f2f5f9!important}.rendered-creative-card-preview.roster-thumb{aspect-ratio:2048/682;height:auto;min-height:125px}.rendered-creative-card-preview.ppt-thumb{aspect-ratio:1672/941;height:auto}.rendered-creative-card-preview.nameplate-thumb{aspect-ratio:1734/907;height:auto}.card-head .actions{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:900px){.manual-media-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.page-heading-actions{width:100%}.page-heading-actions .btn{flex:1}.manual-media-grid{grid-template-columns:1fr 1fr}}

/* V1.56 Users & Roles + dashboard add member */
.dashboard-add-member{display:inline-flex;align-items:center;gap:8px;position:relative;z-index:3;box-shadow:0 8px 20px rgba(0,0,0,.12)}
.dashboard-add-member .plus-mark{font-size:20px;line-height:1;font-weight:900}
.roles-management-card .role-summary{margin-bottom:14px}
.roles-table-wrap table{min-width:920px}
.role-select{min-width:120px;border:1px solid var(--line);border-radius:9px;padding:8px 10px;background:#fff;color:var(--ink);font-weight:800}
.role-permission-text{display:block;max-width:380px;color:var(--muted);font-size:11px;line-height:1.4}
.badge.blue-soft{background:#eaf2fb;color:#0f4f97}
@media(max-width:760px){.dashboard-add-member{width:100%;justify-content:center}.roles-table-wrap{overflow-x:auto}}

/* V1.67 PPT refinement: business-logo frame fit, category vertical centering, Option 4/5 logo separation, Option 6 maximum no-crop product fit. */

/* V1.69: business-logo normalization is canvas-driven; keep all logo surfaces centered/contained. */
.mapped-media-slot.logo img,.ppt-logo-slot img,.member-public-logo img{object-fit:contain!important;object-position:center!important;}

/* V1.88 induction media frame fix: Canva-style fill, no contain-induced white crescent */
.new-member-smart .nm-photo-slot>img{object-fit:cover!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;display:block!important;background:#fff;}

/* V1.122 GLOBAL MEMBER PHOTO HEAD-SAFE FRAME FILL: frame full, face/head/hair protected. */
.creative-card .mapped-media-slot.member img,.new-member-smart .nm-photo-slot>img,.generic-photo-slot img,.birthday-photo-slot img,.ppt-photo-slot img{object-fit:cover!important;object-position:center 8%!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;}

/* V1.171 — restore complete meeting columns incl. Presentation 1 & 2 */
.meeting-table-wrap{overflow-x:auto!important;}
.meeting-detail-table:not(.member-meeting-table){min-width:2140px!important;width:2140px!important;table-layout:auto!important;}
.meeting-detail-table:not(.member-meeting-table) th,.meeting-detail-table:not(.member-meeting-table) td{white-space:normal!important;}
.meeting-detail-table:not(.member-meeting-table) th:nth-child(12),.meeting-detail-table:not(.member-meeting-table) th:nth-child(13){min-width:138px!important;}
.meeting-detail-table:not(.member-meeting-table) td:nth-child(12),.meeting-detail-table:not(.member-meeting-table) td:nth-child(13){min-width:138px!important;}
.member-meeting-table{min-width:1280px!important;table-layout:auto!important;}

/* V1.173 meeting table + calendar creation */
.admin-meeting-table{min-width:2240px!important;width:2240px!important;table-layout:auto!important}
.admin-meeting-table th,.admin-meeting-table td{white-space:normal!important;overflow-wrap:anywhere}
.admin-meeting-table .presentation-col,.admin-meeting-table .presentation-cell{min-width:155px!important;background:#f8fbff}
.admin-meeting-table .presentation-link{min-width:138px;font-weight:800}
.meeting-table-wrap{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
.presentation-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.cal-cell-actionable{cursor:pointer;transition:.15s}
.cal-cell-actionable:hover{background:#f3f8ff;box-shadow:inset 0 0 0 1px #b7d3f4}
.calendar-create-actions{display:flex;gap:12px;margin-top:18px}
@media(max-width:760px){.presentation-detail-grid{grid-template-columns:1fr}.admin-meeting-table{min-width:2240px!important}}
