:root{
  --emcg-night:#08181d;
  --emcg-night-2:#102d35;
  --emcg-paper:#fff9ef;
  --emcg-white:#fff;
  --emcg-ink:#10262d;
  --emcg-muted:#68777d;
  --emcg-line:rgba(16,38,45,.11);
  --emcg-lagoon:#23d3c6;
  --emcg-lime:#dcfb5b;
  --emcg-sun:#ffc73e;
  --emcg-coral:#ff6e61;
  --emcg-blue:#93c8ff;
  --emcg-lav:#d6b9ff;
  --emcg-shadow:0 28px 80px rgba(8,24,29,.16);
  --emcg-soft:0 12px 36px rgba(8,24,29,.10);
}
body.emcg-identity-runtime{background:var(--emcg-paper)!important}
.emcg-id-shell{max-width:1450px;margin:0 auto;padding:28px 22px 84px;color:var(--emcg-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.emcg-id-shell *{box-sizing:border-box}
.emcg-id-shell a{text-decoration:none}
.emcg-kicker{display:block;font-size:9px;font-weight:950;letter-spacing:.16em;text-transform:uppercase;color:var(--emcg-lagoon)}

/* identity field */
.emcg-identity-field{min-height:430px;border-radius:38px;background:var(--emcg-night);color:white;position:relative;overflow:hidden;box-shadow:var(--emcg-shadow);display:grid;grid-template-columns:190px minmax(0,1fr) 300px;gap:30px;align-items:center;padding:38px}
.emcg-id-type-person .emcg-identity-field{background:linear-gradient(125deg,#07191e,#113942 72%,#13505a)}
.emcg-id-type-performer .emcg-identity-field{background:linear-gradient(125deg,#141328,#2e2149 70%,#503055)}
.emcg-id-type-venue .emcg-identity-field{background:linear-gradient(125deg,#091a22,#15374c 72%,#205770)}
.emcg-id-type-organiser .emcg-identity-field{background:linear-gradient(125deg,#172011,#344321 70%,#53672a)}
.emcg-id-type-business .emcg-identity-field{background:linear-gradient(125deg,#311411,#5c2520 70%,#81372d)}
.emcg-id-type-place .emcg-identity-field{background:linear-gradient(125deg,#06252b,#0f555f 72%,#117a80)}
.emcg-orbit-lines{position:absolute;inset:0;pointer-events:none;opacity:.55}
.emcg-orbit-lines i{position:absolute;border:1px solid rgba(255,255,255,.095);border-radius:50%}
.emcg-orbit-lines i:nth-child(1){width:560px;height:560px;right:-145px;top:-265px}
.emcg-orbit-lines i:nth-child(2){width:360px;height:360px;right:-35px;top:-160px}
.emcg-orbit-lines i:nth-child(3){width:165px;height:165px;left:32px;bottom:-76px;border-color:rgba(220,251,91,.18)}
.emcg-identity-visual{width:166px;height:166px;border-radius:50%;background:rgba(255,255,255,.08);border:8px solid rgba(255,255,255,.95);box-shadow:0 22px 54px rgba(0,0,0,.24);overflow:hidden;position:relative;z-index:2;display:grid;place-items:center}
.emcg-identity-visual img{width:100%;height:100%;object-fit:cover}
.emcg-initials{font:900 48px/1 Georgia,serif;color:white;letter-spacing:-.05em}
.emcg-identity-dot{position:absolute;right:8px;bottom:9px;width:18px;height:18px;border-radius:50%;background:var(--emcg-lime);border:4px solid white}
.emcg-identity-copy{position:relative;z-index:2;min-width:0}
.emcg-identity-copy h1{font:800 clamp(48px,6vw,86px)/.86 Georgia,serif;letter-spacing:-.055em;margin:8px 0 12px;color:white}
.emcg-role-strip{display:flex;gap:7px;flex-wrap:wrap;margin:2px 0 12px}
.emcg-role-strip span{background:var(--emcg-lime);color:var(--emcg-night);border-radius:999px;padding:7px 9px;font-size:8px;font-weight:950;text-transform:uppercase;letter-spacing:.08em}
.emcg-location{margin:0 0 10px;color:rgba(255,255,255,.72);font-size:11px;font-weight:800}
.emcg-identity-bio{max-width:720px;margin:0;color:rgba(255,255,255,.72);font-size:14px;line-height:1.65}
.emcg-identity-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.emcg-identity-links a{border-bottom:1px solid rgba(255,255,255,.32);color:white;padding-bottom:2px;font-size:9px;font-weight:850}
.emcg-primary-actions{display:flex;gap:8px;align-items:center;margin-top:20px;flex-wrap:wrap}
.emcg-action{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;border:1px solid rgba(255,255,255,.18);padding:11px 15px;background:rgba(255,255,255,.08);color:white;font-size:9px;font-weight:950;letter-spacing:.04em}
.emcg-action-primary{background:var(--emcg-coral);border-color:var(--emcg-coral);color:white}
.emcg-primary-actions .emcg-follow-button{min-height:42px;border:0!important;background:var(--emcg-lagoon)!important;color:var(--emcg-night)!important;border-radius:999px!important;padding:0 18px!important;font-size:9px!important;font-weight:950!important}
.emcg-identity-metrics{position:relative;z-index:2;display:grid;grid-template-columns:1fr 1fr;gap:9px}
.emcg-identity-metrics div{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.10);border-radius:20px;padding:18px;min-height:110px;display:flex;flex-direction:column;justify-content:flex-end}
.emcg-identity-metrics strong{font:800 34px/.9 Georgia,serif;color:white}
.emcg-identity-metrics span{font-size:8px;text-transform:uppercase;letter-spacing:.12em;color:rgba(255,255,255,.48);font-weight:950;margin-top:7px}

/* module navigation */
.emcg-module-nav{position:sticky;top:84px;z-index:40;display:flex;gap:6px;overflow:auto;scrollbar-width:none;margin:13px 0 0;padding:8px;background:rgba(255,249,239,.92);backdrop-filter:blur(18px);border:1px solid var(--emcg-line);border-radius:999px;width:max-content;max-width:100%}
.emcg-module-nav::-webkit-scrollbar{display:none}
.emcg-module-nav a{white-space:nowrap;padding:9px 12px;border-radius:999px;background:white;color:var(--emcg-ink);font-size:8px;font-weight:950}
.emcg-module-nav a:hover{background:var(--emcg-night);color:white}

/* profile modules */
.emcg-module{padding:52px 0 0;scroll-margin-top:150px}
.emcg-module-head{display:flex;justify-content:space-between;gap:25px;align-items:end;margin-bottom:16px}
.emcg-module-head h2{font:800 clamp(34px,4vw,56px)/.93 Georgia,serif;letter-spacing:-.045em;margin:6px 0 0;color:var(--emcg-ink)}
.emcg-module-head p{margin:0;max-width:420px;color:var(--emcg-muted);font-size:11px;line-height:1.55}
.emcg-moment-mosaic{display:grid;grid-template-columns:1.15fr .85fr .85fr;grid-auto-rows:235px;gap:7px}
.emcg-moment-tile{position:relative;border-radius:24px;overflow:hidden;background:var(--emcg-night);box-shadow:var(--emcg-soft);color:white}
.emcg-moment-tile.is-lead{grid-row:span 2}
.emcg-moment-tile img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.emcg-moment-tile:hover img{transform:scale(1.025)}
.emcg-moment-shade{position:absolute;inset:46% 0 0;background:linear-gradient(to top,rgba(5,19,24,.88),transparent)}
.emcg-place-pill{position:absolute;left:11px;top:11px;z-index:3;background:var(--emcg-lime);color:var(--emcg-night);border-radius:999px;padding:6px 8px;font-size:7px;font-weight:950}
.emcg-moment-copy{position:absolute;left:15px;right:15px;bottom:14px;z-index:3}
.emcg-moment-copy h3{font:800 22px/.98 Georgia,serif;color:white;margin:0 0 6px}.emcg-moment-tile.is-lead .emcg-moment-copy h3{font-size:34px}
.emcg-moment-copy span{font-size:8px;color:rgba(255,255,255,.62)}

.emcg-writing-rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.emcg-writing-card{background:white;border:1px solid var(--emcg-line);border-radius:24px;overflow:hidden;box-shadow:var(--emcg-soft);min-width:0}
.emcg-writing-image{height:220px;display:grid;place-items:center;background:var(--emcg-night);overflow:hidden;color:white;font:900 40px/1 Georgia,serif}
.emcg-writing-image img{width:100%;height:100%;object-fit:cover}
.emcg-writing-body{padding:17px}.emcg-writing-body small{font-size:8px;color:var(--emcg-muted);text-transform:uppercase;letter-spacing:.09em;font-weight:900}.emcg-writing-body h3{font:800 24px/.98 Georgia,serif;margin:7px 0;color:var(--emcg-ink)}.emcg-writing-body h3 a{color:inherit}.emcg-writing-body p{font-size:10px;line-height:1.5;color:var(--emcg-muted)}
.emcg-text-link{font-size:9px;font-weight:950;color:#0a918a;border-bottom:1px solid #0a918a}

.emcg-entity-rail{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.emcg-entity-card{display:grid;grid-template-columns:115px 1fr;gap:14px;align-items:center;background:white;border:1px solid var(--emcg-line);border-radius:22px;padding:10px;color:var(--emcg-ink);box-shadow:var(--emcg-soft)}
.emcg-entity-card-image{height:110px;border-radius:16px;background:var(--emcg-night);overflow:hidden;display:grid;place-items:center;color:white;font:900 28px/1 Georgia,serif}.emcg-entity-card-image img{width:100%;height:100%;object-fit:cover}.emcg-entity-card small{font-size:8px;text-transform:uppercase;color:var(--emcg-muted);font-weight:900}.emcg-entity-card h3{font:800 21px/1 Georgia,serif;margin:5px 0}

.emcg-event-list{display:grid;gap:8px}
.emcg-event-row{display:grid;grid-template-columns:72px 120px 1fr auto;gap:14px;align-items:center;background:white;border:1px solid var(--emcg-line);border-radius:22px;padding:9px;color:var(--emcg-ink);box-shadow:var(--emcg-soft)}
.emcg-event-date{height:72px;border-radius:17px;background:var(--emcg-night);color:white;display:flex;flex-direction:column;align-items:center;justify-content:center}.emcg-event-date strong{font:800 27px/.9 Georgia,serif}.emcg-event-date span{font-size:8px;text-transform:uppercase;color:var(--emcg-lagoon);font-weight:950;margin-top:4px}.emcg-event-thumb{height:82px;border-radius:15px;background:#e5ded2;overflow:hidden}.emcg-event-thumb img{width:100%;height:100%;object-fit:cover}.emcg-event-copy small{font-size:8px;text-transform:uppercase;color:var(--emcg-muted);font-weight:850}.emcg-event-copy h3{font:800 24px/1 Georgia,serif;margin:5px 0}.emcg-event-arrow{width:38px;height:38px;border-radius:50%;background:var(--emcg-lime);display:grid;place-items:center;font-weight:950}

/* empty */
.emcg-empty{margin:40px auto 0;max-width:920px;background:white;border:1px dashed rgba(16,38,45,.20);border-radius:30px;padding:48px;text-align:center;box-shadow:var(--emcg-soft)}
.emcg-empty h1,.emcg-empty h2{font:800 44px/.95 Georgia,serif;margin:8px 0;color:var(--emcg-ink)}.emcg-empty p{max-width:620px;margin:0 auto 18px;color:var(--emcg-muted);font-size:12px;line-height:1.6}.emcg-empty .emcg-action{background:var(--emcg-night);border-color:var(--emcg-night)}
.emcg-empty-profile{margin:18px 0 0;max-width:none;text-align:left;padding:28px 32px;border-style:solid;background:linear-gradient(120deg,rgba(255,255,255,.95),rgba(255,255,255,.72));box-shadow:none}
.emcg-empty-profile h2{max-width:900px;font-size:clamp(28px,3vw,42px);margin:7px 0 8px}
.emcg-empty-profile p{margin:0;max-width:820px;font-size:11px}
.emcg-empty-profile--place{background:linear-gradient(120deg,rgba(35,211,198,.10),rgba(255,255,255,.88))}
.emcg-empty-profile--business{background:linear-gradient(120deg,rgba(255,110,97,.10),rgba(255,255,255,.88))}
.emcg-empty-profile--venue{background:linear-gradient(120deg,rgba(147,200,255,.14),rgba(255,255,255,.88))}
.emcg-empty-profile--organiser{background:linear-gradient(120deg,rgba(220,251,91,.12),rgba(255,255,255,.88))}

/* Following */
.emcg-following-shell{padding-top:26px}
.emcg-following-hero{min-height:310px;border-radius:34px;background:linear-gradient(120deg,#07181d,#113941);color:white;position:relative;overflow:hidden;box-shadow:var(--emcg-shadow);padding:32px;display:grid;grid-template-columns:1fr 250px;gap:30px;align-items:end}
.emcg-following-hero:before,.emcg-following-hero:after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.09)}
.emcg-following-hero:before{width:480px;height:480px;right:-100px;top:-250px}.emcg-following-hero:after{width:280px;height:280px;right:20px;top:-140px}
.emcg-following-hero>div,.emcg-following-hero>aside{position:relative;z-index:2}.emcg-following-hero h1{font:800 70px/.84 Georgia,serif;letter-spacing:-.055em;margin:8px 0 12px;color:white}.emcg-following-hero p{max-width:700px;font-size:13px;line-height:1.6;color:rgba(255,255,255,.65);margin:0}.emcg-following-hero aside{background:var(--emcg-lime);color:var(--emcg-night);border-radius:24px;padding:20px}.emcg-following-hero aside strong{display:block;font:900 45px/.9 Georgia,serif}.emcg-following-hero aside span{display:block;font-size:8px;text-transform:uppercase;font-weight:950;letter-spacing:.12em;margin-top:7px}.emcg-following-hero aside a{display:inline-block;margin-top:15px;color:var(--emcg-night);font-size:9px;font-weight:950;border-bottom:1px solid currentColor}
.emcg-follow-filter{display:flex;gap:6px;overflow:auto;scrollbar-width:none;padding:8px;margin:12px 0 0;border:1px solid var(--emcg-line);border-radius:999px;background:rgba(255,249,239,.94);position:sticky;top:84px;z-index:35;width:max-content;max-width:100%}.emcg-follow-filter::-webkit-scrollbar{display:none}.emcg-follow-filter button{border:0;background:white;border-radius:999px;padding:9px 12px;font-size:8px;font-weight:950;white-space:nowrap;color:var(--emcg-ink)}.emcg-follow-filter button.is-active{background:var(--emcg-night);color:white}.emcg-follow-filter span{opacity:.55;margin-left:4px}
.emcg-following-group{padding-top:42px}.emcg-following-group>header h2{font:800 40px/.95 Georgia,serif;margin:6px 0}.emcg-following-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.emcg-following-card{background:white;border:1px solid var(--emcg-line);border-radius:22px;padding:10px;display:grid;grid-template-columns:74px 1fr auto;gap:13px;align-items:center;box-shadow:var(--emcg-soft)}
.emcg-following-avatar{width:74px;height:74px;border-radius:18px;background:var(--emcg-night);overflow:hidden;display:grid;place-items:center;color:white;font:900 22px/1 Georgia,serif}.emcg-following-avatar img{width:100%;height:100%;object-fit:cover}.emcg-following-copy small{font-size:7px;text-transform:uppercase;letter-spacing:.12em;color:#0a938b;font-weight:950}.emcg-following-copy h3{font:800 21px/1 Georgia,serif;margin:5px 0}.emcg-following-copy h3 a{color:var(--emcg-ink)}.emcg-following-copy p{margin:3px 0 0;color:var(--emcg-muted);font-size:8px}.emcg-following-action .emcg-follow-button{border-radius:999px!important;padding:9px 11px!important;font-size:8px!important}

/* Profile editor */
.emcg-edit-shell{display:grid;grid-template-columns:340px 1fr;gap:12px;align-items:start}
.emcg-edit-intro{position:sticky;top:96px;border-radius:32px;background:var(--emcg-coral);padding:28px;min-height:430px;box-shadow:var(--emcg-shadow);overflow:hidden}.emcg-edit-intro:after{content:"YOU";position:absolute;right:-10px;bottom:-40px;font:900 120px/1 Georgia,serif;color:rgba(16,38,45,.07)}.emcg-edit-intro h1{font:800 48px/.91 Georgia,serif;letter-spacing:-.045em;margin:8px 0 12px;color:var(--emcg-ink)}.emcg-edit-intro p{font-size:12px;line-height:1.6;color:#394a50;position:relative;z-index:2}.emcg-edit-rules{display:grid;gap:7px;margin-top:22px;position:relative;z-index:2}.emcg-edit-rules span{background:white;border-radius:999px;padding:9px 11px;font-size:8px;font-weight:900;width:max-content;max-width:100%}
.emcg-edit-studio{background:white;border:1px solid var(--emcg-line);border-radius:32px;padding:24px;box-shadow:var(--emcg-soft)}
.emcg-saved-note{background:#e5fadf;border:1px solid #bce7b4;color:#245b2a;border-radius:14px;padding:11px 13px;font-size:10px;font-weight:850;margin-bottom:14px}
.emcg-edit-preview{background:var(--emcg-night);color:white;border-radius:24px;padding:16px;display:grid;grid-template-columns:82px 1fr;gap:13px;align-items:center;margin-bottom:20px}.emcg-edit-avatar{width:82px;height:82px;border-radius:50%;background:#243c43;overflow:hidden;display:grid;place-items:center}.emcg-edit-avatar img{width:100%;height:100%;object-fit:cover}.emcg-edit-preview small{font-size:8px;color:var(--emcg-lagoon);text-transform:uppercase;letter-spacing:.12em;font-weight:950}.emcg-edit-preview h2{font:800 30px/.95 Georgia,serif;margin:5px 0;color:white}.emcg-edit-preview p{margin:0;color:rgba(255,255,255,.55);font-size:9px}
.emcg-field{margin-bottom:16px}.emcg-field label{display:block;font-size:8px;text-transform:uppercase;letter-spacing:.12em;font-weight:950;margin-bottom:6px}.emcg-field input,.emcg-field textarea,.emcg-field select{width:100%;border:1px solid var(--emcg-line);background:var(--emcg-paper);border-radius:14px;padding:12px 13px;outline:0;color:var(--emcg-ink)}.emcg-field textarea{resize:vertical;min-height:140px}.emcg-field input:focus,.emcg-field textarea:focus,.emcg-field select:focus{border-color:var(--emcg-lagoon);box-shadow:0 0 0 3px rgba(35,211,198,.12)}.emcg-field small{display:block;color:var(--emcg-muted);font-size:8px;margin-top:5px}.emcg-field-row{display:grid;grid-template-columns:.65fr 1.35fr;gap:10px}.emcg-visibility{display:flex;gap:10px;align-items:flex-start;background:#f2ecdf;border-radius:16px;padding:13px}.emcg-visibility strong{display:block;font-size:10px}.emcg-visibility small{display:block;color:var(--emcg-muted);font-size:8px;margin-top:2px}.emcg-edit-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:18px;border-top:1px solid var(--emcg-line);padding-top:16px}.emcg-edit-footer>a{font-size:9px;font-weight:900;color:#0b8f88}.emcg-edit-footer .emcg-action{border-color:var(--emcg-coral)}

@media(max-width:1100px){
  .emcg-identity-field{grid-template-columns:150px 1fr}.emcg-identity-metrics{grid-column:1/-1;grid-template-columns:repeat(4,1fr)}.emcg-identity-visual{width:140px;height:140px}.emcg-writing-rail,.emcg-entity-rail{grid-template-columns:repeat(2,1fr)}.emcg-following-grid{grid-template-columns:1fr}.emcg-edit-shell{grid-template-columns:280px 1fr}
}
@media(max-width:760px){
  .emcg-id-shell{padding:10px 10px 56px}.emcg-identity-field{display:block;min-height:0;border-radius:25px;padding:22px 18px}.emcg-identity-visual{width:94px;height:94px;border-width:5px;margin-bottom:17px}.emcg-initials{font-size:31px}.emcg-identity-copy h1{font-size:49px}.emcg-identity-bio{font-size:12px}.emcg-identity-metrics{grid-template-columns:repeat(4,135px);overflow:auto;margin-top:22px;scrollbar-width:none}.emcg-identity-metrics div{min-height:92px}.emcg-module-nav{top:68px;border-radius:18px;width:100%;margin-top:8px}.emcg-module{padding-top:35px}.emcg-module-head{align-items:flex-start;flex-direction:column;gap:6px}.emcg-module-head h2{font-size:37px}.emcg-moment-mosaic{grid-template-columns:repeat(2,1fr);grid-auto-rows:220px;gap:3px;margin:0 -10px}.emcg-moment-tile,.emcg-moment-tile.is-lead{grid-row:auto;border-radius:0}.emcg-moment-tile.is-lead{grid-column:1/-1;min-height:430px}.emcg-writing-rail{display:flex;overflow:auto;gap:8px;margin:0 -10px;padding:0 10px;scrollbar-width:none}.emcg-writing-card{min-width:84vw}.emcg-writing-image{height:240px}.emcg-entity-rail{grid-template-columns:1fr}.emcg-event-row{grid-template-columns:62px 86px 1fr;gap:8px}.emcg-event-arrow{display:none}.emcg-event-date{height:62px}.emcg-event-thumb{height:68px}.emcg-event-copy h3{font-size:18px}.emcg-following-hero{grid-template-columns:1fr;border-radius:25px;padding:22px}.emcg-following-hero h1{font-size:52px}.emcg-following-hero aside{max-width:240px}.emcg-follow-filter{top:68px;border-radius:18px;width:100%}.emcg-following-group{padding-top:30px}.emcg-following-card{grid-template-columns:64px 1fr;align-items:start}.emcg-following-avatar{width:64px;height:64px}.emcg-following-action{grid-column:2}.emcg-edit-shell{display:block}.emcg-edit-intro{position:static;border-radius:24px;min-height:0;margin-bottom:8px;padding:22px}.emcg-edit-intro h1{font-size:39px}.emcg-edit-studio{border-radius:24px;padding:17px}.emcg-field-row{grid-template-columns:1fr}.emcg-edit-footer{align-items:stretch;flex-direction:column}.emcg-edit-footer .emcg-action{width:100%}.emcg-empty{padding:34px 18px;border-radius:24px}.emcg-empty h1,.emcg-empty h2{font-size:36px}
}

/* Coast Moments product navigation */
.emcg-product-nav{display:flex;align-items:center;gap:6px;padding:7px;margin:0 0 10px;background:rgba(255,249,239,.92);border:1px solid rgba(16,38,45,.1);border-radius:999px;width:max-content;max-width:100%;position:sticky;top:84px;z-index:60;backdrop-filter:blur(18px);overflow:auto;scrollbar-width:none}.emcg-product-nav::-webkit-scrollbar{display:none}.emcg-product-nav a{white-space:nowrap;padding:9px 12px;border-radius:999px;color:#10262d;font-size:8px;font-weight:950}.emcg-product-nav a.is-active{background:#08181d;color:#fff}.emcg-product-nav .emcg-product-nav-make{background:#ff6e61;color:#fff;margin-left:3px}
@media(max-width:760px){.emcg-product-nav{top:68px;width:100%;border-radius:18px}}

@media(max-width:760px){
  .emcg-product-nav{position:static!important;top:auto!important;width:100%;border-radius:18px}
}


/* Coast Moments route boot marker */
html{--emcg-route-css-ready:1}


/* Coast handle: social identity, not an external social-network handle. */
.emcg-coast-handle{
  margin:5px 0 0!important;
  color:#087fa2!important;
  font-size:12px!important;
  line-height:1.2!important;
  font-weight:900!important;
}

.emcg-saved-note-error{
  border-color:rgba(255,111,97,.28)!important;
  background:#fff0e7!important;
  color:#071f2d!important;
}

@media(max-width:760px){
  .emcg-coast-handle{
    font-size:10px!important;
  }
}

/* =========================================================
   v0.25.7 — BRIGHT COAST PALETTE
   Reference-driven: clear ocean, turquoise, aqua, sun yellow.
   No coral. No orange. No dusty pastel teal.
   ========================================================= */

:root{
  --emcg-paper:#FFFDF8;
  --emcg-white:#fff;
  --emcg-ink:#0A2D4D;
  --emcg-muted:#66859A;
  --emcg-line:rgba(0,119,182,.13);
  --emcg-lagoon:#00CFC8;
  --emcg-lime:#FFD84D;
  --emcg-sun:#FFD84D;
  --emcg-coral:#19D3F3;
  --emcg-blue:#19D3F3;
}

/* Shared Coast product navigation */
.emcg-product-nav{
  background:#fff!important;
  border-color:rgba(0,119,182,.13)!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}

.emcg-product-nav a{
  color:#0A2D4D!important;
}

.emcg-product-nav a.is-active{
  background:#0077B6!important;
  color:#fff!important;
}

.emcg-product-nav .emcg-product-nav-make{
  background:#00CFC8!important;
  color:#0A2D4D!important;
}

.emcg-product-nav .emcg-product-nav-activity>b{
  background:#FFD84D!important;
  color:#0A2D4D!important;
}

/* Shared buttons/actions */
.emcg-action-primary{
  background:#0077B6!important;
  border-color:#0077B6!important;
  color:#fff!important;
}

.emcg-action-primary:hover{
  background:#00659B!important;
  border-color:#00659B!important;
}

.emcg-action-secondary{
  border-color:rgba(0,119,182,.22)!important;
  background:#fff!important;
  color:#0077B6!important;
}

/* Profile editor accents */
.emcg-edit-intro{
  background:#19D3F3!important;
}

.emcg-edit-footer .emcg-action{
  border-color:#0077B6!important;
}

.emcg-field input:focus,
.emcg-field textarea:focus,
.emcg-field select:focus{
  border-color:#00CFC8!important;
  box-shadow:0 0 0 3px rgba(0,207,200,.13)!important;
}

.emcg-visibility{
  background:#F7F1E3!important;
}

/* =========================================================
   v0.25.8 — VIVID BEACH
   Reference-driven high-saturation beach colour.
   White canvas + cobalt/ocean + cyan/turquoise + sun yellow.
   No pastel wash. No cream page tint. No orange/coral.
   ========================================================= */

:root{
  --em-vb-ink:#073B5C;
  --em-vb-cobalt:#1062A1;
  --em-vb-ocean:#0078C8;
  --em-vb-cyan:#0EABD5;
  --em-vb-sky:#19C5ED;
  --em-vb-turquoise:#00BDB4;
  --em-vb-yellow:#F2C516;
  --em-vb-white:#FFFFFF;
  --em-vb-line:rgba(16,98,161,.15);
}

:root{
  --emcg-paper:#FFFFFF;
  --emcg-white:#FFFFFF;
  --emcg-ink:#073B5C;
  --emcg-muted:#5C8193;
  --emcg-line:rgba(16,98,161,.15);
  --emcg-lagoon:#00BDB4;
  --emcg-lime:#F2C516;
  --emcg-sun:#F2C516;
  --emcg-coral:#19C5ED;
  --emcg-blue:#0EABD5;
}

.emcg-product-nav{
  background:#fff!important;
  border-color:var(--em-vb-line)!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
.emcg-product-nav a{
  color:var(--em-vb-ink)!important;
}
.emcg-product-nav a.is-active{
  background:var(--em-vb-cobalt)!important;
  color:#fff!important;
}
.emcg-product-nav .emcg-product-nav-make{
  background:var(--em-vb-yellow)!important;
  color:var(--em-vb-ink)!important;
}
.emcg-product-nav .emcg-product-nav-activity>b{
  background:var(--em-vb-yellow)!important;
  color:var(--em-vb-ink)!important;
}

.emcg-action-primary{
  background:var(--em-vb-cobalt)!important;
  border-color:var(--em-vb-cobalt)!important;
  color:#fff!important;
}
.emcg-action-primary:hover{
  background:var(--em-vb-ocean)!important;
  border-color:var(--em-vb-ocean)!important;
}
.emcg-action-secondary{
  background:#fff!important;
  border-color:var(--em-vb-cobalt)!important;
  color:var(--em-vb-cobalt)!important;
}

/* Remove pastel form/visibility fills in favour of clean white + strong focus. */
.emcg-edit-intro{
  background:var(--em-vb-cyan)!important;
  color:#fff!important;
}
.emcg-field input,
.emcg-field textarea,
.emcg-field select{
  background:#fff!important;
}
.emcg-field input:focus,
.emcg-field textarea:focus,
.emcg-field select:focus{
  border-color:var(--em-vb-cyan)!important;
  box-shadow:0 0 0 3px rgba(14,171,213,.16)!important;
}
.emcg-visibility{
  background:#fff!important;
  border:1px solid var(--em-vb-line)!important;
}

/* =========================================================
   v0.25.9 — BEACH POP
   Palette selected from the user's supplied beach references.
   High saturation + white space, not pastel wash.
   ========================================================= */

:root{
  --em-bp-ink:#082B45;
  --em-bp-deep:#2254A9;
  --em-bp-blue:#04A7E3;
  --em-bp-sky:#3A93E5;
  --em-bp-cyan:#22C9DF;
  --em-bp-turquoise:#12AD80;
  --em-bp-seafoam:#4FC4C2;
  --em-bp-sun:#F8D10E;
  --em-bp-pink:#F10972;
  --em-bp-purple:#893BDA;
  --em-bp-white:#FFFFFF;
  --em-bp-sand:#FFF7E8;
  --em-bp-line:rgba(34,84,169,.13);
}

:root{
  --emcg-paper:#FFFFFF;
  --emcg-white:#FFFFFF;
  --emcg-ink:#082B45;
  --emcg-muted:#58798A;
  --emcg-line:rgba(34,84,169,.13);
  --emcg-lagoon:#12AD80;
  --emcg-lime:#F8D10E;
  --emcg-sun:#F8D10E;
  --emcg-coral:#F10972;
  --emcg-blue:#04A7E3;
}

/* Shared Coast nav */
.emcg-product-nav{
  background:#fff!important;
  border-color:var(--em-bp-line)!important;
}
.emcg-product-nav a.is-active{
  background:var(--em-bp-blue)!important;
  color:#fff!important;
}
.emcg-product-nav .emcg-product-nav-make{
  background:var(--em-bp-sun)!important;
  color:var(--em-bp-ink)!important;
}
.emcg-product-nav .emcg-product-nav-activity>b{
  background:var(--em-bp-pink)!important;
  color:#fff!important;
}

/* Shared button hierarchy */
.emcg-action-primary{
  background:var(--em-bp-blue)!important;
  border-color:var(--em-bp-blue)!important;
  color:#fff!important;
}
.emcg-action-primary:hover{
  background:var(--em-bp-deep)!important;
  border-color:var(--em-bp-deep)!important;
}
.emcg-action-secondary{
  background:var(--em-bp-sun)!important;
  border-color:var(--em-bp-sun)!important;
  color:var(--em-bp-ink)!important;
}
.emcg-action-secondary:hover{
  background:#E9BD00!important;
  border-color:#E9BD00!important;
}

/* Inputs */
.emcg-field input:focus,
.emcg-field textarea:focus,
.emcg-field select:focus{
  border-color:var(--em-bp-blue)!important;
  box-shadow:0 0 0 3px rgba(4,167,227,.15)!important;
}

/* =========================================================
   v0.26.0 — COOLORS LOCK
   Exact palette supplied by user.
   ========================================================= */

:root{
  --em-cl-azure:#3A85FE;
  --em-cl-fuchsia:#ED0F81;
  --em-cl-mist:#DFF7FF;
  --em-cl-cinnabar:#FD3034;
  --em-cl-prussian:#000C32;
  --em-cl-azure2:#4E82F7;
  --em-cl-amber:#FAB311;
  --em-cl-white:#FDFDFD;
  --em-cl-neon:#FE006F;
  --em-cl-flame:#F54B18;
  --em-cl-line:rgba(0,12,50,.12);
}

:root{
  --emcg-paper:#FDFDFD;
  --emcg-white:#FDFDFD;
  --emcg-ink:#000C32;
  --emcg-muted:#4A5B78;
  --emcg-line:rgba(0,12,50,.12);
  --emcg-lagoon:#3A85FE;
  --emcg-lime:#FAB311;
  --emcg-sun:#FAB311;
  --emcg-coral:#ED0F81;
  --emcg-blue:#3A85FE;
}

/* Product nav */
.emcg-product-nav{
  background:#FDFDFD!important;
  border-color:var(--em-cl-line)!important;
  box-shadow:none!important;
}
.emcg-product-nav a{
  color:var(--em-cl-prussian)!important;
}
.emcg-product-nav a.is-active{
  background:var(--em-cl-azure)!important;
  color:#fff!important;
}
.emcg-product-nav .emcg-product-nav-make{
  background:var(--em-cl-amber)!important;
  color:var(--em-cl-prussian)!important;
}
.emcg-product-nav .emcg-product-nav-activity>b{
  background:var(--em-cl-neon)!important;
  color:#fff!important;
}

/* Shared actions */
.emcg-action-primary{
  background:var(--em-cl-azure)!important;
  border-color:var(--em-cl-azure)!important;
  color:#fff!important;
}
.emcg-action-primary:hover{
  background:var(--em-cl-prussian)!important;
  border-color:var(--em-cl-prussian)!important;
}
.emcg-action-secondary{
  background:var(--em-cl-amber)!important;
  border-color:var(--em-cl-amber)!important;
  color:var(--em-cl-prussian)!important;
}
.emcg-action-secondary:hover{
  background:#E5A109!important;
  border-color:#E5A109!important;
}

/* Inputs */
.emcg-field input,
.emcg-field textarea,
.emcg-field select{
  background:#FDFDFD!important;
  color:var(--em-cl-prussian)!important;
}
.emcg-field input:focus,
.emcg-field textarea:focus,
.emcg-field select:focus{
  border-color:var(--em-cl-azure)!important;
  box-shadow:0 0 0 3px rgba(58,133,254,.15)!important;
}

/* =========================================================
   v0.26.1 — CLEAN UNREAD + BOLDER BUTTONS
   ========================================================= */

.emcg-product-nav a,
.emcg-action,
.emcg-action-primary,
.emcg-action-secondary,
button.emcg-action,
a.emcg-action{
  font-weight:800!important;
}

.emcg-product-nav a.is-active,
.emcg-product-nav .emcg-product-nav-make{
  font-weight:900!important;
}


/* v0.26.2 — stronger Coast product navigation typography. */
.emcg-product-nav a{
  color:#000C32!important;
  font-weight:900!important;
}

.emcg-product-nav a.is-active{
  color:#fff!important;
}

.emcg-product-nav .emcg-product-nav-make{
  color:#000C32!important;
  font-weight:900!important;
}


/* v0.26.3 — exact Coast nav text from Activity annotation. */
.emcg-product-nav a{
  color:#000C32!important;
  font-weight:900!important;
}

/* =========================================================
   v0.30.0 — UNIVERSAL COAST GRAPH DESIGN LANGUAGE
   ========================================================= */
:root{
  --emcg-ink:#000C32;
  --emcg-blue:#0064F9;
  --emcg-yellow:#FFB300;
  --emcg-white:#FFFFFF;
  --emcg-blue-05:rgba(0,100,249,.05);
  --emcg-blue-10:rgba(0,100,249,.10);
  --emcg-blue-16:rgba(0,100,249,.16);
  --emcg-ink-08:rgba(0,12,50,.08);
  --emcg-ink-12:rgba(0,12,50,.12);
  --emcg-radius-sm:10px;
  --emcg-radius-md:14px;
  --emcg-radius-lg:18px;
  --emcg-pill:999px;
  --emcg-display:Georgia,"Times New Roman",serif;
  --emcg-ui:Arial,Helvetica,sans-serif;
}
.emcg-display-heading{margin:0;color:var(--emcg-ink);font-family:var(--emcg-display);font-weight:800;line-height:.92;letter-spacing:-.045em}
.emcg-icon-disc{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:var(--emcg-blue);color:var(--emcg-white)}
.emcg-sun-signal{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 8px;border-radius:var(--emcg-pill);background:var(--emcg-yellow);color:var(--emcg-ink);font-weight:950}
.emcg-coast-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border:0;border-radius:var(--emcg-pill);background:var(--emcg-blue);color:var(--emcg-white)!important;font-weight:950;text-decoration:none!important}


/* =========================================================
   v0.32.0 — FOLLOWING, REBUILT
   One visual Coast library instead of stacked directory sections.
   Universal Coast Graph palette:
   #000C32 Prussian · #0064F9 Royal Blue · #FFB300 Amber · White
   ========================================================= */

.emcg-following-v2{
  --follow-ink:#000C32;
  --follow-blue:#0064F9;
  --follow-amber:#FFB300;
  --follow-white:#FFFFFF;
  --follow-line:rgba(0,12,50,.11);
  --follow-muted:#66738A;

  max-width:1280px!important;
  padding-top:24px!important;
  color:var(--follow-ink)!important;
  background:#FFFFFF!important;
}

.emcg-following-v2 .emcg-product-nav{
  position:static!important;
  top:auto!important;
  margin:0 0 34px!important;
  padding:6px!important;

  border:1px solid rgba(0,100,249,.14)!important;
  border-radius:999px!important;

  background:#FFFFFF!important;
  backdrop-filter:none!important;
}

.emcg-following-v2 .emcg-product-nav a{
  color:var(--follow-ink)!important;
  font-weight:900!important;
}

.emcg-following-v2 .emcg-product-nav a.is-active{
  background:var(--follow-blue)!important;
  color:#FFFFFF!important;
}

.emcg-following-v2 .emcg-product-nav .emcg-product-nav-make{
  background:var(--follow-amber)!important;
  color:var(--follow-ink)!important;
}

.emcg-following-v2 .emcg-kicker{
  color:var(--follow-blue)!important;
}

/* ---------- PAGE OPENING ---------- */

.emcg-following-v2-head{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 230px!important;
  align-items:end!important;
  gap:52px!important;

  min-height:245px!important;
  padding:12px 0 30px!important;

  border-bottom:1px solid var(--follow-line)!important;

  background:#FFFFFF!important;
  color:var(--follow-ink)!important;
}

.emcg-following-v2-title h1{
  margin:8px 0 12px!important;
  color:var(--follow-ink)!important;

  font:800 clamp(64px,7vw,94px)/.84 Georgia,serif!important;
  letter-spacing:-.06em!important;
}

.emcg-following-v2-title p{
  max-width:680px!important;
  margin:0!important;

  color:var(--follow-muted)!important;
  font-size:13px!important;
  line-height:1.55!important;
  font-weight:650!important;
}

.emcg-following-v2-count{
  position:relative!important;

  display:grid!important;
  justify-items:start!important;
  align-content:end!important;

  min-height:160px!important;
  padding:0 0 3px 18px!important;

  border-left:4px solid var(--follow-amber)!important;

  background:#FFFFFF!important;
  color:var(--follow-ink)!important;
}

.emcg-following-v2-count strong{
  color:var(--follow-blue)!important;
  font:800 58px/.82 Georgia,serif!important;
  letter-spacing:-.05em!important;
}

.emcg-following-v2-count>span{
  max-width:150px!important;
  margin-top:9px!important;

  color:var(--follow-ink)!important;
  font-size:8px!important;
  line-height:1.25!important;
  font-weight:950!important;
  letter-spacing:.05em!important;
  text-transform:uppercase!important;
}

.emcg-following-v2-count a{
  margin-top:17px!important;
  color:var(--follow-blue)!important;
  font-size:9px!important;
  font-weight:950!important;
}

.emcg-following-v2-count a b{
  margin-left:4px!important;
  font-size:12px!important;
}

/* ---------- FIND + FILTER ---------- */

.emcg-following-v2-controls{
  display:grid!important;
  grid-template-columns:minmax(280px,390px) minmax(0,1fr)!important;
  align-items:center!important;
  gap:20px!important;

  padding:20px 0 24px!important;

  border-bottom:1px solid var(--follow-line)!important;
}

.emcg-following-v2-search{
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr)!important;
  align-items:center!important;
  gap:8px!important;

  min-height:46px!important;
  padding:0 14px!important;

  border:1.5px solid rgba(0,100,249,.22)!important;
  border-radius:15px!important;

  background:#FFFFFF!important;
  color:var(--follow-blue)!important;
}

.emcg-following-v2-search:focus-within{
  border-color:var(--follow-blue)!important;
  box-shadow:0 0 0 3px rgba(0,100,249,.07)!important;
}

.emcg-following-v2-search svg{
  width:19px!important;
  height:19px!important;
}

.emcg-following-v2-search input{
  width:100%!important;
  min-width:0!important;

  padding:0!important;
  border:0!important;
  outline:0!important;

  background:transparent!important;
  color:var(--follow-ink)!important;

  font-size:11px!important;
  font-weight:750!important;
}

.emcg-following-v2-search input::placeholder{
  color:#8290A5!important;
  opacity:1!important;
}

.emcg-following-v2 .emcg-follow-filter-v2{
  position:static!important;
  top:auto!important;

  display:flex!important;
  justify-content:flex-end!important;
  gap:6px!important;

  width:100%!important;
  max-width:100%!important;

  margin:0!important;
  padding:0!important;

  overflow-x:auto!important;

  border:0!important;
  border-radius:0!important;

  background:#FFFFFF!important;
  backdrop-filter:none!important;
}

.emcg-following-v2 .emcg-follow-filter-v2 button{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;

  min-height:35px!important;
  padding:7px 10px!important;

  border:1px solid rgba(0,100,249,.15)!important;
  border-radius:999px!important;

  background:#FFFFFF!important;
  color:var(--follow-ink)!important;

  font-size:7.5px!important;
  font-weight:950!important;
}

.emcg-following-v2 .emcg-follow-filter-v2 button span{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;

  min-width:18px!important;
  height:18px!important;
  padding:0 5px!important;

  border-radius:999px!important;

  background:rgba(0,100,249,.07)!important;
  color:var(--follow-blue)!important;

  opacity:1!important;
  font-size:6.5px!important;
  font-weight:950!important;
}

.emcg-following-v2 .emcg-follow-filter-v2 button.is-active{
  border-color:var(--follow-blue)!important;
  background:var(--follow-blue)!important;
  color:#FFFFFF!important;
}

.emcg-following-v2 .emcg-follow-filter-v2 button.is-active span{
  background:#FFFFFF!important;
  color:var(--follow-blue)!important;
}

/* ---------- CONNECTION LIBRARY ---------- */

.emcg-following-v2-library{
  padding:28px 0 10px!important;
}

.emcg-following-v2-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:24px 14px!important;
}

.emcg-following-card-v2{
  min-width:0!important;
  overflow:visible!important;

  border:0!important;
  border-radius:0!important;

  background:#FFFFFF!important;

  box-shadow:none!important;

  opacity:1!important;
  transition:opacity .18s ease,transform .18s ease!important;
}

.emcg-following-card-v2.is-removing{
  opacity:0!important;
  transform:translateY(6px)!important;
}

.emcg-following-card-media{
  position:relative!important;

  aspect-ratio:4/3!important;
  overflow:hidden!important;

  border:1px solid var(--follow-line)!important;
  border-radius:17px!important;

  background:#FFFFFF!important;
}

.emcg-following-card-media>a{
  display:block!important;
  width:100%!important;
  height:100%!important;
}

.emcg-following-card-media img{
  width:100%!important;
  height:100%!important;

  object-fit:cover!important;

  transition:transform .28s ease!important;
}

.emcg-following-card-v2:hover .emcg-following-card-media img{
  transform:scale(1.025)!important;
}

/* Universal fallback — no blue gradient blocks. */
.emcg-following-card-media.is-fallback{
  border:1.5px solid var(--follow-blue)!important;
  background:#FFFFFF!important;
}

.emcg-following-card-media.is-fallback:before{
  content:""!important;

  position:absolute!important;
  left:14px!important;
  top:14px!important;

  width:28px!important;
  height:4px!important;

  border-radius:999px!important;
  background:var(--follow-amber)!important;
}

.emcg-following-card-media.is-fallback:after{
  content:""!important;

  position:absolute!important;
  right:-43px!important;
  bottom:-48px!important;

  width:145px!important;
  height:145px!important;

  border-radius:50%!important;
  background:var(--follow-blue)!important;
}

.emcg-following-card-initials{
  position:relative!important;
  z-index:2!important;

  display:grid!important;
  place-items:center!important;

  width:100%!important;
  height:100%!important;

  color:var(--follow-ink)!important;

  font:800 38px/1 Georgia,serif!important;
  letter-spacing:-.04em!important;
}

.emcg-following-card-type{
  position:absolute!important;
  z-index:5!important;
  left:9px!important;
  top:9px!important;

  display:inline-flex!important;
  align-items:center!important;

  min-height:23px!important;
  padding:4px 7px!important;

  border-radius:999px!important;

  background:#FFFFFF!important;
  color:var(--follow-blue)!important;

  box-shadow:0 2px 8px rgba(0,12,50,.08)!important;

  font-size:6.5px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
}

.emcg-following-card-follow{
  position:absolute!important;
  z-index:6!important;
  right:9px!important;
  top:9px!important;
}

/*
 * Following is a relationship state, not 31 primary CTAs.
 * Keep the accessible label in the button, but visually turn it
 * into one quiet check control.
 */
.emcg-following-v2 .emcg-following-card-follow .emcg-follow-button{
  position:relative!important;

  display:grid!important;
  place-items:center!important;

  width:33px!important;
  height:33px!important;
  min-width:33px!important;
  min-height:33px!important;

  padding:0!important;

  border:2px solid #FFFFFF!important;
  border-radius:50%!important;

  background:var(--follow-blue)!important;
  color:#FFFFFF!important;

  box-shadow:0 3px 10px rgba(0,12,50,.16)!important;

  transform:none!important;
}

.emcg-following-v2 .emcg-following-card-follow .emcg-follow-button:before{
  content:"✓"!important;

  color:#FFFFFF!important;
  font-size:13px!important;
  line-height:1!important;
  font-weight:950!important;
}

.emcg-following-v2 .emcg-following-card-follow .emcg-follow-button__label{
  position:absolute!important;

  width:1px!important;
  height:1px!important;
  margin:-1px!important;
  padding:0!important;

  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;

  white-space:nowrap!important;
}

.emcg-following-v2 .emcg-following-card-follow .emcg-follow-button:hover{
  border-color:#FFFFFF!important;
  background:var(--follow-amber)!important;
  color:var(--follow-ink)!important;
}

.emcg-following-v2 .emcg-following-card-follow .emcg-follow-button:hover:before{
  color:var(--follow-ink)!important;
}

.emcg-following-card-body{
  position:relative!important;

  min-height:98px!important;
  padding:11px 2px 0!important;
}

.emcg-following-card-body h3{
  margin:0!important;

  color:var(--follow-ink)!important;

  font:800 20px/1.02 Georgia,serif!important;
  letter-spacing:-.025em!important;
}

.emcg-following-card-body h3 a{
  color:inherit!important;
}

.emcg-following-card-body p{
  min-height:14px!important;
  margin:6px 0 0!important;

  color:var(--follow-muted)!important;

  font-size:7.5px!important;
  line-height:1.25!important;
  font-weight:700!important;
}

.emcg-following-card-open{
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;

  margin-top:9px!important;

  color:var(--follow-blue)!important;

  font-size:7px!important;
  line-height:1!important;
  font-weight:950!important;
}

.emcg-following-card-open span{
  font-size:10px!important;
}

.emcg-following-v2-no-results{
  max-width:700px!important;
  margin:30px auto!important;
  padding:36px 20px!important;

  text-align:center!important;

  border-top:1px solid var(--follow-line)!important;
}

.emcg-following-v2-no-results h2{
  margin:7px 0!important;
  color:var(--follow-ink)!important;
  font:800 34px/.95 Georgia,serif!important;
}

.emcg-following-v2-no-results p{
  color:var(--follow-muted)!important;
  font-size:10px!important;
}

/* ---------- MID-SIZE ---------- */

@media(max-width:1100px){
  .emcg-following-v2-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }

  .emcg-following-v2-controls{
    grid-template-columns:1fr!important;
  }

  .emcg-following-v2 .emcg-follow-filter-v2{
    justify-content:flex-start!important;
  }
}

/* ---------- MOBILE ---------- */

@media(max-width:760px){
  .emcg-following-v2{
    padding:10px 10px 50px!important;
  }

  .emcg-following-v2 .emcg-product-nav{
    margin-bottom:22px!important;
    border-radius:18px!important;
  }

  .emcg-following-v2-head{
    grid-template-columns:1fr auto!important;
    align-items:end!important;
    gap:12px!important;

    min-height:0!important;
    padding:5px 0 17px!important;
  }

  .emcg-following-v2-title h1{
    margin:6px 0 7px!important;
    font-size:47px!important;
  }

  .emcg-following-v2-title p{
    max-width:280px!important;
    font-size:9px!important;
    line-height:1.45!important;
  }

  .emcg-following-v2-count{
    min-height:0!important;
    padding:0 0 2px 10px!important;

    border-left-width:3px!important;
  }

  .emcg-following-v2-count strong{
    font-size:34px!important;
  }

  .emcg-following-v2-count>span{
    display:none!important;
  }

  .emcg-following-v2-count a{
    margin-top:7px!important;
    font-size:6px!important;
    white-space:nowrap!important;
  }

  .emcg-following-v2-controls{
    gap:10px!important;
    padding:14px 0 15px!important;
  }

  .emcg-following-v2-search{
    min-height:44px!important;
    border-radius:13px!important;
  }

  .emcg-following-v2-search input{
    font-size:9px!important;
  }

  .emcg-following-v2 .emcg-follow-filter-v2{
    margin:0 -10px!important;
    padding:0 10px 3px!important;
    scrollbar-width:none!important;
  }

  .emcg-following-v2 .emcg-follow-filter-v2::-webkit-scrollbar{
    display:none!important;
  }

  .emcg-following-v2 .emcg-follow-filter-v2 button{
    min-height:34px!important;
    padding:6px 9px!important;
    font-size:7px!important;
  }

  .emcg-following-v2-library{
    padding-top:18px!important;
  }

  .emcg-following-v2-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:20px 7px!important;
  }

  .emcg-following-card-media{
    border-radius:12px!important;
  }

  .emcg-following-card-media.is-fallback:before{
    left:10px!important;
    top:10px!important;
    width:22px!important;
    height:3px!important;
  }

  .emcg-following-card-media.is-fallback:after{
    right:-34px!important;
    bottom:-39px!important;
    width:105px!important;
    height:105px!important;
  }

  .emcg-following-card-initials{
    font-size:28px!important;
  }

  .emcg-following-card-type{
    left:6px!important;
    top:6px!important;
    min-height:20px!important;
    padding:3px 5px!important;
    font-size:5.5px!important;
  }

  .emcg-following-card-follow{
    right:6px!important;
    top:6px!important;
  }

  .emcg-following-v2 .emcg-following-card-follow .emcg-follow-button{
    width:29px!important;
    height:29px!important;
    min-width:29px!important;
    min-height:29px!important;
  }

  .emcg-following-v2 .emcg-following-card-follow .emcg-follow-button:before{
    font-size:11px!important;
  }

  .emcg-following-card-body{
    min-height:82px!important;
    padding-top:8px!important;
  }

  .emcg-following-card-body h3{
    font-size:16px!important;
    line-height:1!important;
  }

  .emcg-following-card-body p{
    margin-top:4px!important;
    font-size:6.5px!important;
  }

  .emcg-following-card-open{
    margin-top:7px!important;
    font-size:6.3px!important;
  }
}

@media(max-width:350px){
  .emcg-following-v2-title h1{
    font-size:43px!important;
  }

  .emcg-following-card-body h3{
    font-size:15px!important;
  }
}


/* =========================================================
   v0.32.1 — FOLLOWING CARD RENDER COLLISION FIX
   The legacy .emcg-following-card selector was still forcing
   v2 cards into the old 74px row layout.
   ========================================================= */

.emcg-following-v2 .emcg-following-card.emcg-following-card-v2{
  display:block!important;

  grid-template-columns:none!important;
  grid-template-rows:none!important;

  gap:0!important;
  align-items:initial!important;

  width:auto!important;
  min-width:0!important;
  max-width:none!important;

  padding:0!important;
  margin:0!important;

  overflow:visible!important;

  border:0!important;
  border-radius:0!important;

  background:#FFFFFF!important;

  box-shadow:none!important;
}

/* Make the visual tile the dominant element. */
.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-media{
  display:block!important;

  width:100%!important;
  min-width:0!important;
  max-width:none!important;

  aspect-ratio:4/3!important;
  height:auto!important;

  margin:0!important;
}

/* The media link must fill the complete visual tile. */
.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-media>a{
  display:block!important;
  width:100%!important;
  height:100%!important;
}

/* Prevent legacy image dimensions from shrinking entity imagery. */
.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-media img{
  display:block!important;

  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  max-width:none!important;

  object-fit:cover!important;
}

/* Card copy sits beneath the image, never beside it. */
.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body{
  display:block!important;

  width:100%!important;
  min-width:0!important;

  padding:10px 2px 0!important;
  margin:0!important;
}

/* Reset any inherited row/grid placement from the old component. */
.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body,
.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-media,
.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-follow{
  grid-column:auto!important;
  grid-row:auto!important;
}

/* Keep titles useful without letting long entity names dominate the page. */
.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body h3{
  display:-webkit-box!important;
  overflow:hidden!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;

  min-height:2.04em!important;
  max-height:2.04em!important;

  font-size:18px!important;
  line-height:1.02!important;
}

.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body p{
  min-height:1.25em!important;
  max-height:1.25em!important;

  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

/* Following should stay a small relationship signal. */
.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-follow{
  position:absolute!important;
  top:9px!important;
  right:9px!important;

  width:auto!important;
  margin:0!important;
  padding:0!important;
}

/* Medium screens: real visual cards, 3 across. */
@media(min-width:761px) and (max-width:1100px){
  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body h3{
    font-size:16px!important;
  }
}

/* Mobile: preserve visual density without oversized typography. */
@media(max-width:760px){
  .emcg-following-v2 .emcg-following-card.emcg-following-card-v2{
    display:block!important;
    padding:0!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-media{
    aspect-ratio:1/1!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body{
    padding:7px 1px 0!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body h3{
    min-height:2em!important;
    max-height:2em!important;

    font-size:14px!important;
    line-height:1!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body p{
    font-size:6.5px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-open{
    margin-top:6px!important;
  }
}

/* Extra-small phones still keep two columns, but reduce label noise. */
@media(max-width:360px){
  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-type{
    max-width:72%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body h3{
    font-size:13px!important;
  }
}


/* =========================================================
   v0.32.2 — FOLLOWING TYPOGRAPHY + CONTROL HIERARCHY
   ========================================================= */

/*
 * New Following cards no longer carry the legacy
 * .emcg-following-card class, so old 74px row CSS cannot leak in.
 */
.emcg-following-v2 .emcg-following-card-v2{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  background:#FFFFFF!important;
  box-shadow:none!important;
}

/* ---------- PRIMARY COAST GRAPH NAV ---------- */

.emcg-following-v2 .emcg-product-nav{
  gap:7px!important;
  padding:7px!important;
}

.emcg-following-v2 .emcg-product-nav a{
  min-height:40px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;

  padding:9px 15px!important;

  font-size:10.5px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:-.01em!important;
}

.emcg-following-v2 .emcg-product-nav .emcg-product-nav-activity>b{
  min-width:21px!important;
  height:21px!important;
  padding:0 5px!important;
  font-size:8px!important;
}

/* ---------- TYPE FILTERS ---------- */

.emcg-following-v2 .emcg-follow-filter-v2{
  gap:7px!important;
}

.emcg-following-v2 .emcg-follow-filter-v2 button{
  min-height:40px!important;
  padding:8px 12px!important;

  font-size:9.5px!important;
  line-height:1!important;
  font-weight:950!important;
}

.emcg-following-v2 .emcg-follow-filter-v2 button span{
  min-width:20px!important;
  height:20px!important;
  padding:0 6px!important;

  font-size:7.5px!important;
}

/* ---------- CARD TYPOGRAPHY ---------- */

.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body{
  min-height:0!important;
  padding:10px 2px 0!important;
}

.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body h3{
  min-height:2.08em!important;
  max-height:2.08em!important;

  font:800 16px/1.04 Georgia,serif!important;
  letter-spacing:-.02em!important;
}

.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body p{
  min-height:1.3em!important;
  max-height:1.3em!important;

  margin:5px 0 0!important;

  color:#66738A!important;
  font-size:8px!important;
  line-height:1.3!important;
  font-weight:750!important;
}

/* ---------- CARD FOOTER ---------- */

.emcg-following-card-footer{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;

  min-height:36px!important;
  margin-top:8px!important;
  padding-top:7px!important;

  border-top:1px solid rgba(0,12,50,.08)!important;
}

.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-open{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;

  margin:0!important;

  color:#0064F9!important;

  font-size:10px!important;
  line-height:1!important;
  font-weight:950!important;
}

.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-open span{
  font-size:13px!important;
  line-height:1!important;
}

/*
 * Relationship control moves off the image.
 * This keeps imagery/type clean and makes "Following" a quiet state.
 */
.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-follow{
  position:static!important;

  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;

  width:auto!important;
  margin:0!important;
  padding:0!important;
}

.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-follow .emcg-follow-button{
  position:relative!important;

  display:grid!important;
  place-items:center!important;

  width:28px!important;
  height:28px!important;
  min-width:28px!important;
  min-height:28px!important;

  padding:0!important;

  border:1.5px solid rgba(0,100,249,.28)!important;
  border-radius:50%!important;

  background:#FFFFFF!important;
  color:#0064F9!important;

  box-shadow:none!important;
}

.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-follow .emcg-follow-button:before{
  content:"✓"!important;

  color:#0064F9!important;

  font-size:11px!important;
  line-height:1!important;
  font-weight:950!important;
}

.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-follow .emcg-follow-button:hover{
  border-color:#FFB300!important;
  background:#FFB300!important;
}

.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-follow .emcg-follow-button:hover:before{
  color:#000C32!important;
}

/* ---------- MOBILE ---------- */

@media(max-width:760px){
  .emcg-following-v2 .emcg-product-nav a{
    min-height:37px!important;
    padding:8px 11px!important;
    font-size:8.5px!important;
  }

  .emcg-following-v2 .emcg-follow-filter-v2 button{
    min-height:36px!important;
    padding:7px 10px!important;
    font-size:8px!important;
  }

  .emcg-following-v2 .emcg-follow-filter-v2 button span{
    min-width:18px!important;
    height:18px!important;
    font-size:7px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body h3{
    min-height:2.04em!important;
    max-height:2.04em!important;

    font-size:13.5px!important;
    line-height:1.02!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body p{
    font-size:7px!important;
  }

  .emcg-following-card-footer{
    min-height:31px!important;
    margin-top:6px!important;
    padding-top:6px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-open{
    font-size:8.5px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-open span{
    font-size:11px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-follow .emcg-follow-button{
    width:25px!important;
    height:25px!important;
    min-width:25px!important;
    min-height:25px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-follow .emcg-follow-button:before{
    font-size:10px!important;
  }
}


/* =========================================================
   v0.33.0 — FOLLOWING DENSITY + PROGRESSIVE LIBRARY
   ========================================================= */

.emcg-following-v2{
  --follow-pink:#ED0F81;
}

/* ---------- PRODUCT NAV: NEVER CLIP LABELS ---------- */

.emcg-following-v2 .emcg-product-nav{
  display:flex!important;
  align-items:center!important;
  flex-wrap:wrap!important;
  gap:7px!important;

  width:max-content!important;
  max-width:100%!important;
  overflow:visible!important;
}

.emcg-following-v2 .emcg-product-nav a{
  flex:0 0 auto!important;

  width:auto!important;
  min-width:max-content!important;
  max-width:none!important;

  overflow:visible!important;
  white-space:nowrap!important;
  text-overflow:clip!important;

  font-size:11px!important;
}

/* ---------- FILTER MENU: WRAPS ON DESKTOP, SCROLLS ON SMALL ---------- */

.emcg-following-v2 .emcg-follow-filter-v2{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-end!important;
  gap:7px!important;

  overflow:visible!important;
}

.emcg-following-v2 .emcg-follow-filter-v2 button{
  flex:0 0 auto!important;

  width:auto!important;
  min-width:max-content!important;
  max-width:none!important;

  overflow:visible!important;
  white-space:nowrap!important;
  text-overflow:clip!important;

  font-size:9.5px!important;
}

/* ---------- MORE COMPACT CARDS ---------- */

.emcg-following-v2-grid{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:22px 10px!important;
}

.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-media{
  aspect-ratio:1.45/1!important;
  border-radius:13px!important;
}

.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body{
  padding:7px 1px 0!important;
}

.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body h3{
  min-height:2.04em!important;
  max-height:2.04em!important;

  font:800 14px/1.02 Georgia,serif!important;
  letter-spacing:-.018em!important;
}

.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body p{
  margin-top:4px!important;
  font-size:7px!important;
}

.emcg-following-card-footer{
  min-height:28px!important;
  margin-top:5px!important;
  padding-top:4px!important;
}

.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-open{
  font-size:9px!important;
}

.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-open span{
  font-size:11px!important;
}

/* ---------- FOLLOWING STATE BACK INSIDE MEDIA ---------- */

.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-follow{
  position:absolute!important;
  z-index:8!important;

  top:8px!important;
  right:8px!important;

  display:block!important;

  width:auto!important;
  margin:0!important;
  padding:0!important;
}

.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-follow .emcg-follow-button{
  display:grid!important;
  place-items:center!important;

  width:29px!important;
  height:29px!important;
  min-width:29px!important;
  min-height:29px!important;

  padding:0!important;

  border:2px solid #FFFFFF!important;
  border-radius:50%!important;

  background:var(--follow-pink)!important;
  color:#FFFFFF!important;

  box-shadow:0 3px 9px rgba(0,12,50,.16)!important;
}

.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-follow .emcg-follow-button:before{
  content:"✓"!important;

  color:#FFFFFF!important;

  font-size:11px!important;
  line-height:1!important;
  font-weight:950!important;
}

.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-follow .emcg-follow-button:hover{
  background:#FE006F!important;
  border-color:#FFFFFF!important;
}

.emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-follow .emcg-follow-button:hover:before{
  color:#FFFFFF!important;
}

/* ---------- PROGRESSIVE LOAD MORE ---------- */

.emcg-following-v2-more{
  display:flex!important;
  justify-content:center!important;

  padding:28px 0 16px!important;
}

.emcg-following-v2-more[hidden]{
  display:none!important;
}

.emcg-following-v2-more-button{
  min-width:150px!important;
  min-height:43px!important;

  padding:10px 20px!important;

  border:2px solid #0064F9!important;
  border-radius:999px!important;

  background:#FFFFFF!important;
  color:#0064F9!important;

  font-size:10px!important;
  line-height:1!important;
  font-weight:950!important;

  cursor:pointer!important;
}

.emcg-following-v2-more-button:hover{
  background:#0064F9!important;
  color:#FFFFFF!important;
}

/* ---------- RESPONSIVE DENSITY ---------- */

@media(max-width:1250px){
  .emcg-following-v2-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}

@media(max-width:900px){
  .emcg-following-v2-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }

  .emcg-following-v2 .emcg-follow-filter-v2{
    justify-content:flex-start!important;
  }
}

@media(max-width:760px){
  .emcg-following-v2 .emcg-product-nav{
    width:calc(100% + 20px)!important;
    max-width:none!important;

    margin-left:-10px!important;
    margin-right:-10px!important;
    padding-left:10px!important;
    padding-right:10px!important;

    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;

    scrollbar-width:none!important;
  }

  .emcg-following-v2 .emcg-product-nav::-webkit-scrollbar{
    display:none!important;
  }

  .emcg-following-v2 .emcg-product-nav a{
    font-size:8.5px!important;
  }

  .emcg-following-v2 .emcg-follow-filter-v2{
    flex-wrap:nowrap!important;

    margin-left:-10px!important;
    margin-right:-10px!important;
    padding-left:10px!important;
    padding-right:10px!important;

    overflow-x:auto!important;
    overflow-y:hidden!important;

    scrollbar-width:none!important;
  }

  .emcg-following-v2 .emcg-follow-filter-v2::-webkit-scrollbar{
    display:none!important;
  }

  .emcg-following-v2 .emcg-follow-filter-v2 button{
    font-size:8px!important;
  }

  .emcg-following-v2-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:18px 7px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-media{
    aspect-ratio:1.18/1!important;
    border-radius:11px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body h3{
    font-size:12.5px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-follow{
    top:6px!important;
    right:6px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-follow .emcg-follow-button{
    width:26px!important;
    height:26px!important;
    min-width:26px!important;
    min-height:26px!important;
  }

  .emcg-following-v2-more{
    padding-top:22px!important;
  }

  .emcg-following-v2-more-button{
    min-height:41px!important;
    font-size:9px!important;
  }
}

@media(max-width:360px){
  .emcg-following-v2 .emcg-product-nav a{
    font-size:8px!important;
    padding-left:10px!important;
    padding-right:10px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body h3{
    font-size:12px!important;
  }
}


/* =========================================================
   v0.33.1 — FOLLOWING SIX-COLUMN WIDE-DESKTOP DENSITY
   The Following page is a scan library, not a showcase.
   ========================================================= */

/* Very wide desktop: six across. */
@media(min-width:1401px){
  .emcg-following-v2-grid{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:20px 9px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body h3{
    font-size:13px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body p{
    font-size:6.7px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-open{
    font-size:8.5px!important;
  }
}

/* Regular desktop: five across. */
@media(min-width:1181px) and (max-width:1400px){
  .emcg-following-v2-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
  }
}

/* Compact desktop / landscape tablet: four across. */
@media(min-width:901px) and (max-width:1180px){
  .emcg-following-v2-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}

/* Tablet: three across. */
@media(min-width:761px) and (max-width:900px){
  .emcg-following-v2-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

/* Phone remains two across. */
@media(max-width:760px){
  .emcg-following-v2-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}


/* =========================================================
   v0.33.2 — FINAL FOLLOWING DENSITY
   User-approved responsive rhythm:
   6 wide desktop / 5 desktop / 4 tablet / 3 mobile.
   ========================================================= */

/* Wide desktop */
@media(min-width:1401px){
  .emcg-following-v2-grid{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:20px 9px!important;
  }
}

/* Normal desktop */
@media(min-width:1101px) and (max-width:1400px){
  .emcg-following-v2-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:20px 9px!important;
  }
}

/* Tablet */
@media(min-width:761px) and (max-width:1100px){
  .emcg-following-v2-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:18px 8px!important;
  }
}

/* Mobile */
@media(max-width:760px){
  .emcg-following-v2-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:16px 6px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-media{
    aspect-ratio:1/1!important;
    border-radius:9px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body{
    padding-top:6px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body h3{
    min-height:2.02em!important;
    max-height:2.02em!important;

    font-size:11px!important;
    line-height:1.01!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body p{
    font-size:6px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-open{
    font-size:7.5px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-open span{
    font-size:9px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-type{
    max-width:70%!important;
    min-height:18px!important;
    padding:3px 5px!important;

    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;

    font-size:5px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-follow .emcg-follow-button{
    width:23px!important;
    height:23px!important;
    min-width:23px!important;
    min-height:23px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-follow .emcg-follow-button:before{
    font-size:9px!important;
  }
}


/* =========================================================
   v0.33.3 — FINAL FOLLOWING BREAKPOINT CORRECTION
   7 wide desktop / 6 normal desktop / 4 tablet / 3 mobile.
   Tablet begins at 600px so 600–760px devices do not fall into
   the 3-column phone treatment.
   ========================================================= */

/* Wide desktop */
@media(min-width:1401px){
  .emcg-following-v2 .emcg-following-v2-grid{
    grid-template-columns:repeat(7,minmax(0,1fr))!important;
    gap:18px 8px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body h3{
    font-size:12px!important;
  }
}

/* Normal desktop */
@media(min-width:1101px) and (max-width:1400px){
  .emcg-following-v2 .emcg-following-v2-grid{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:19px 8px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body h3{
    font-size:12.5px!important;
  }
}

/* Tablet — deliberately starts at 600px */
@media(min-width:600px) and (max-width:1100px){
  .emcg-following-v2 .emcg-following-v2-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:18px 8px!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-media{
    aspect-ratio:1.25/1!important;
  }

  .emcg-following-v2 .emcg-following-card-v2 .emcg-following-card-body h3{
    font-size:12px!important;
  }
}

/* Mobile phones */
@media(max-width:599px){
  .emcg-following-v2 .emcg-following-v2-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:16px 6px!important;
  }
}


/* =========================================================
   v0.33.5 — FOLLOWING FILTER MENU RESPONSIVE FIX
   No clipped chips. No hidden horizontal tail.
   ========================================================= */

.emcg-following-v2 .emcg-following-v2-controls{
  min-width:0!important;
}

.emcg-following-v2 .emcg-follow-filter-v2{
  display:flex!important;
  flex-direction:row!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;

  gap:7px 6px!important;

  width:100%!important;
  min-width:0!important;
  max-width:100%!important;

  margin:0!important;
  padding:0!important;

  overflow:visible!important;
  overflow-x:visible!important;
  overflow-y:visible!important;

  scrollbar-width:auto!important;
}

.emcg-following-v2 .emcg-follow-filter-v2 button{
  flex:0 0 auto!important;

  width:auto!important;
  min-width:max-content!important;
  max-width:100%!important;

  margin:0!important;
  padding:8px 12px!important;

  overflow:visible!important;

  white-space:nowrap!important;
  text-overflow:clip!important;

  font-size:9.5px!important;
}

/* Medium / tablet: allow natural two-row wrapping. */
@media(max-width:1100px){
  .emcg-following-v2 .emcg-follow-filter-v2{
    gap:6px!important;
  }

  .emcg-following-v2 .emcg-follow-filter-v2 button{
    min-height:36px!important;
    padding:7px 10px!important;
    font-size:8.5px!important;
  }
}

/* Phone: still wraps — never returns to the old clipped scroll strip. */
@media(max-width:599px){
  .emcg-following-v2 .emcg-follow-filter-v2{
    width:100%!important;
    max-width:100%!important;

    margin:0!important;
    padding:0!important;

    flex-wrap:wrap!important;

    overflow:visible!important;
    overflow-x:visible!important;
    overflow-y:visible!important;

    scrollbar-width:auto!important;
  }

  .emcg-following-v2 .emcg-follow-filter-v2 button{
    min-height:34px!important;
    padding:7px 9px!important;

    font-size:8px!important;
  }

  .emcg-following-v2 .emcg-follow-filter-v2 button span{
    min-width:18px!important;
    height:18px!important;
    padding:0 5px!important;

    font-size:6.8px!important;
  }
}


/* =========================================================
   v0.33.6 — FOLLOWING FILTERS FUNCTION + ONE-ROW SCROLLER
   ========================================================= */

/*
 * Explicit filtering state.
 * This deliberately beats the card's display:block!important rule.
 */
.emcg-following-v2 .emcg-following-card-v2.is-follow-filtered-out,
.emcg-following-v2 .emcg-following-card-v2[hidden]{
  display:none!important;
}

/* Wide desktop: natural one-line row when space allows. */
@media(min-width:1101px){
  .emcg-following-v2 .emcg-follow-filter-v2{
    display:flex!important;
    flex-wrap:nowrap!important;
    justify-content:flex-end!important;

    width:100%!important;
    max-width:100%!important;

    overflow:visible!important;
  }

  .emcg-following-v2 .emcg-follow-filter-v2 button{
    flex:0 0 auto!important;
    white-space:nowrap!important;
  }
}

/*
 * Tablet + mobile:
 * one deliberate horizontal interaction row.
 */
@media(max-width:1100px){
  .emcg-following-v2 .emcg-follow-filter-v2{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:flex-start!important;

    width:calc(100% + 20px)!important;
    max-width:none!important;

    margin-left:-10px!important;
    margin-right:-10px!important;
    padding-left:10px!important;
    padding-right:30px!important;
    padding-bottom:3px!important;

    overflow-x:auto!important;
    overflow-y:hidden!important;

    overscroll-behavior-x:contain!important;
    -webkit-overflow-scrolling:touch!important;
    scroll-snap-type:x proximity!important;
    scrollbar-width:none!important;
  }

  .emcg-following-v2 .emcg-follow-filter-v2::-webkit-scrollbar{
    display:none!important;
  }

  .emcg-following-v2 .emcg-follow-filter-v2 button{
    flex:0 0 auto!important;
    scroll-snap-align:start!important;

    width:auto!important;
    min-width:max-content!important;
    max-width:none!important;

    white-space:nowrap!important;
  }

  /*
   * A little breathing room after the last chip.
   * Together with the right padding this prevents the last chip
   * from feeling jammed against the viewport edge.
   */
  .emcg-following-v2 .emcg-follow-filter-v2 button:last-child{
    margin-right:10px!important;
  }
}

/* Phone keeps the same single-row interaction, only slightly tighter. */
@media(max-width:599px){
  .emcg-following-v2 .emcg-follow-filter-v2{
    width:calc(100% + 20px)!important;
    max-width:none!important;

    margin-left:-10px!important;
    margin-right:-10px!important;

    flex-wrap:nowrap!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
  }

  .emcg-following-v2 .emcg-follow-filter-v2 button{
    min-height:34px!important;
    padding:7px 9px!important;
    font-size:8px!important;
  }
}


/* =========================================================
   v0.38.0 — PROFILE PAGE REDESIGN
   ========================================================= */
.emcg-id-shell{
  max-width:1440px!important;
  padding:18px 12px 88px!important;
}

.emcg-profile-hero-v2{
  position:relative!important;
  display:grid!important;
  grid-template-columns:140px minmax(0,1fr) 360px!important;
  align-items:start!important;
  gap:28px!important;
  padding:34px!important;
  margin:0 0 18px!important;
  border-radius:34px!important;
  overflow:hidden!important;
  background:
    radial-gradient(circle at 14% 18%, rgba(32,155,172,.22), transparent 28%),
    radial-gradient(circle at 84% 78%, rgba(255,193,7,.12), transparent 24%),
    linear-gradient(135deg,#001825 0%,#03364C 52%,#11505B 100%)!important;
  box-shadow:0 22px 60px rgba(0,18,44,.18)!important;
}

.emcg-profile-hero-topline{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  margin-bottom:8px!important;
}

.emcg-profile-self-chip{
  display:inline-flex!important;
  align-items:center!important;
  min-height:28px!important;
  padding:0 12px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.12)!important;
  color:#E8F3F6!important;
  font-size:10px!important;
  font-weight:900!important;
  text-transform:uppercase!important;
  letter-spacing:.14em!important;
}

.emcg-profile-hero-v2 .emcg-identity-visual{
  position:relative!important;
  width:140px!important;
  height:140px!important;
  margin:18px 0 0!important;
  align-self:center!important;
}

.emcg-profile-hero-v2 .emcg-identity-visual img,
.emcg-profile-hero-v2 .emcg-identity-visual .emcg-initials{
  width:140px!important;
  height:140px!important;
  border:4px solid rgba(255,255,255,.92)!important;
  box-shadow:0 16px 34px rgba(0,0,0,.16)!important;
}

.emcg-profile-hero-v2 .emcg-identity-copy{
  max-width:780px!important;
  padding-right:8px!important;
}

.emcg-profile-hero-v2 .emcg-kicker{
  color:#8EB9FF!important;
}

.emcg-profile-hero-v2 h1{
  margin:0 0 10px!important;
  color:#FFFFFF!important;
  font-size:clamp(44px,6vw,82px)!important;
  line-height:.96!important;
  letter-spacing:-.04em!important;
}

.emcg-profile-meta-line{
  margin:0 0 12px!important;
  color:#B8D0D7!important;
  font-size:13px!important;
  font-weight:700!important;
}

.emcg-profile-hero-v2 .emcg-role-strip{
  gap:8px!important;
  margin:0 0 16px!important;
}

.emcg-profile-hero-v2 .emcg-role-strip span{
  background:#FFBF1F!important;
  color:#1A1200!important;
  border:0!important;
  box-shadow:0 10px 18px rgba(255,191,31,.2)!important;
}

.emcg-profile-hero-v2 .emcg-identity-bio{
  max-width:62ch!important;
  margin:0 0 16px!important;
  color:#D6E5EA!important;
  font-size:16px!important;
  line-height:1.75!important;
}

.emcg-profile-hero-v2 .emcg-identity-links{
  display:flex!important;
  gap:14px!important;
  flex-wrap:wrap!important;
  margin:0 0 20px!important;
}

.emcg-profile-hero-v2 .emcg-identity-links a{
  color:#FFFFFF!important;
  text-decoration:none!important;
  font-size:12px!important;
  font-weight:900!important;
  border-bottom:2px solid rgba(255,255,255,.32)!important;
}

.emcg-profile-hero-v2 .emcg-primary-actions{
  display:flex!important;
  gap:12px!important;
  flex-wrap:wrap!important;
}

.emcg-profile-hero-v2 .emcg-action,
.emcg-profile-hero-v2 .emcg-follow-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:44px!important;
  padding:0 18px!important;
  border-radius:999px!important;
  border:1px solid rgba(255,255,255,.16)!important;
  background:rgba(255,255,255,.08)!important;
  color:#FFFFFF!important;
  font-size:12px!important;
  font-weight:900!important;
  text-decoration:none!important;
  box-shadow:none!important;
}

.emcg-profile-hero-v2 .emcg-action-primary{
  background:#2E7BFF!important;
  border-color:#2E7BFF!important;
}

.emcg-profile-hero-v2 .emcg-identity-metrics{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  width:100%!important;
  margin:0!important;
}

.emcg-profile-hero-v2 .emcg-identity-metrics > div{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  min-height:132px!important;
  padding:18px 18px 16px!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.09)!important;
  backdrop-filter:blur(10px)!important;
}

.emcg-profile-hero-v2 .emcg-identity-metrics strong{
  color:#FFFFFF!important;
  font-size:44px!important;
  line-height:1!important;
  letter-spacing:-.04em!important;
}

.emcg-profile-hero-v2 .emcg-identity-metrics span{
  margin-top:10px!important;
  color:#B8D0D7!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
}

.emcg-profile-section-nav{
  display:flex!important;
  gap:10px!important;
  align-items:center!important;
  margin:0 0 14px!important;
  padding:10px!important;
  background:#FFFFFF!important;
  border:1px solid rgba(0,18,44,.08)!important;
  border-radius:24px!important;
  box-shadow:0 16px 32px rgba(0,18,44,.06)!important;
  overflow:auto!important;
  scrollbar-width:none!important;
}
.emcg-profile-section-nav::-webkit-scrollbar{display:none!important;}

.emcg-profile-section-nav a{
  display:inline-flex!important;
  align-items:center!important;
  gap:10px!important;
  min-height:44px!important;
  padding:0 16px!important;
  border-radius:999px!important;
  background:#F5F7FA!important;
  color:#082046!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  font-size:12px!important;
  font-weight:900!important;
}

.emcg-profile-section-nav a b{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:24px!important;
  height:24px!important;
  padding:0 7px!important;
  border-radius:999px!important;
  background:#082046!important;
  color:#FFFFFF!important;
  font-size:11px!important;
}

.emcg-profile-overview-bar{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
  margin:0 0 32px!important;
}

.emcg-profile-overview-bar > div{
  padding:16px 18px!important;
  border-radius:22px!important;
  background:#F8FAFC!important;
  border:1px solid rgba(0,18,44,.08)!important;
}

.emcg-profile-overview-bar small{
  display:block!important;
  margin-bottom:6px!important;
  color:#7A879A!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.16em!important;
  text-transform:uppercase!important;
}

.emcg-profile-overview-bar strong{
  display:block!important;
  color:#082046!important;
  font-size:18px!important;
  font-weight:900!important;
}

.emcg-profile-module{
  margin:0 0 42px!important;
}

.emcg-module-head{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:8px!important;
  margin:0 0 22px!important;
}

.emcg-module-head h2{
  margin:0!important;
  color:#071F46!important;
  font-size:clamp(34px,4vw,60px)!important;
  line-height:.98!important;
  letter-spacing:-.045em!important;
}

.emcg-module-head p{
  margin:0!important;
  max-width:64ch!important;
  color:#6D7A8A!important;
  font-size:14px!important;
  line-height:1.6!important;
}

.emcg-moment-mosaic-v2{
  display:grid!important;
  grid-template-columns:repeat(12,minmax(0,1fr))!important;
  gap:18px!important;
}

.emcg-moment-mosaic-v2 .emcg-moment-tile{
  grid-column:span 4!important;
  min-height:280px!important;
  border-radius:28px!important;
  overflow:hidden!important;
  box-shadow:0 18px 40px rgba(0,18,44,.1)!important;
}

.emcg-moment-mosaic-v2 .emcg-moment-tile.is-lead{
  grid-column:span 7!important;
  grid-row:span 2!important;
  min-height:560px!important;
}

.emcg-moment-mosaic-v2.is-single .emcg-moment-tile.is-lead{
  grid-column:1 / -1!important;
  grid-row:auto!important;
  min-height:620px!important;
}

.emcg-moment-mosaic-v2.is-count-2 .emcg-moment-tile.is-lead{
  grid-column:span 8!important;
  min-height:500px!important;
}

.emcg-moment-mosaic-v2.is-count-2 .emcg-moment-tile:not(.is-lead){
  grid-column:span 4!important;
  min-height:500px!important;
}

.emcg-moment-mosaic-v2 .emcg-moment-copy{
  gap:10px!important;
}

.emcg-moment-mosaic-v2 .emcg-moment-tile.is-lead .emcg-moment-copy h3{
  font-size:clamp(36px,4vw,60px)!important;
  line-height:.96!important;
}

.emcg-moment-mosaic-v2 .emcg-moment-tile:not(.is-lead) .emcg-moment-copy h3{
  font-size:24px!important;
  line-height:1.04!important;
}

.emcg-moment-mosaic-v2 .emcg-place-pill{
  top:18px!important;
  left:18px!important;
}

.emcg-writing-grid-v2,
.emcg-entity-rail,
.emcg-event-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
}

.emcg-writing-card,
.emcg-entity-card,
.emcg-event-card{
  height:100%!important;
  border-radius:26px!important;
  overflow:hidden!important;
  box-shadow:0 18px 36px rgba(0,18,44,.08)!important;
}

.emcg-writing-card{
  background:#FFFFFF!important;
  border:1px solid rgba(0,18,44,.08)!important;
}

.emcg-writing-image,
.emcg-entity-card-media,
.emcg-event-card-media{
  display:block!important;
  overflow:hidden!important;
}

.emcg-writing-image img,
.emcg-entity-card-media img,
.emcg-event-card-media img,
.emcg-event-card > img{
  width:100%!important;
  aspect-ratio:16/10!important;
  object-fit:cover!important;
}

.emcg-writing-image span,
.emcg-entity-card-media span{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  aspect-ratio:16/10!important;
  background:linear-gradient(135deg,#0B2A53,#1564D8)!important;
  color:#FFFFFF!important;
  font-size:44px!important;
  font-weight:900!important;
}

.emcg-writing-body,
.emcg-entity-card-copy,
.emcg-event-card-copy{
  display:flex!important;
  flex-direction:column!important;
  gap:10px!important;
  padding:18px 18px 20px!important;
}

.emcg-writing-body small,
.emcg-entity-card-copy small,
.emcg-event-card-copy small{
  color:#677587!important;
  font-size:10px!important;
  font-weight:900!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}

.emcg-writing-body h3,
.emcg-entity-card-copy h3,
.emcg-event-card-copy h3{
  margin:0!important;
  color:#071F46!important;
  font-size:30px!important;
  line-height:1.03!important;
  letter-spacing:-.03em!important;
}

.emcg-writing-body h3 a,
.emcg-entity-card-copy h3 a,
.emcg-event-card-copy h3 a{
  color:inherit!important;
  text-decoration:none!important;
}

.emcg-writing-body p,
.emcg-entity-card-copy p,
.emcg-event-card-copy p{
  margin:0!important;
  color:#59677A!important;
  font-size:14px!important;
  line-height:1.65!important;
}

.emcg-text-link{
  margin-top:auto!important;
  color:#10806A!important;
  font-size:12px!important;
  font-weight:900!important;
  text-decoration:none!important;
}

@media (max-width: 1180px){
  .emcg-profile-hero-v2{
    grid-template-columns:124px minmax(0,1fr)!important;
  }
  .emcg-profile-hero-v2 .emcg-identity-metrics{
    grid-column:1 / -1!important;
  }
  .emcg-writing-grid-v2,
  .emcg-entity-rail,
  .emcg-event-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media (max-width: 860px){
  .emcg-id-shell{
    padding:10px 8px 72px!important;
  }
  .emcg-profile-hero-v2{
    grid-template-columns:1fr!important;
    gap:18px!important;
    padding:24px 18px 18px!important;
    border-radius:26px!important;
  }
  .emcg-profile-hero-v2 .emcg-identity-visual{
    width:108px!important;
    height:108px!important;
    margin:0!important;
  }
  .emcg-profile-hero-v2 .emcg-identity-visual img,
  .emcg-profile-hero-v2 .emcg-identity-visual .emcg-initials{
    width:108px!important;
    height:108px!important;
  }
  .emcg-profile-hero-v2 h1{
    font-size:62px!important;
  }
  .emcg-profile-overview-bar{
    grid-template-columns:1fr!important;
  }
  .emcg-writing-grid-v2,
  .emcg-entity-rail,
  .emcg-event-grid,
  .emcg-moment-mosaic-v2{
    grid-template-columns:1fr!important;
  }
  .emcg-moment-mosaic-v2 .emcg-moment-tile,
  .emcg-moment-mosaic-v2 .emcg-moment-tile.is-lead,
  .emcg-moment-mosaic-v2.is-count-2 .emcg-moment-tile.is-lead,
  .emcg-moment-mosaic-v2.is-count-2 .emcg-moment-tile:not(.is-lead),
  .emcg-moment-mosaic-v2.is-single .emcg-moment-tile.is-lead{
    grid-column:auto!important;
    grid-row:auto!important;
    min-height:440px!important;
  }
  .emcg-moment-mosaic-v2 .emcg-moment-tile:not(.is-lead){
    min-height:320px!important;
  }
  .emcg-module-head h2{
    font-size:clamp(28px,10vw,48px)!important;
  }
  .emcg-writing-body h3,
  .emcg-entity-card-copy h3,
  .emcg-event-card-copy h3{
    font-size:24px!important;
  }
}

@media (max-width: 640px){
  .emcg-profile-section-nav a{
    min-height:40px!important;
    padding:0 14px!important;
  }
  .emcg-profile-section-nav a b{
    min-width:22px!important;
    height:22px!important;
    font-size:10px!important;
  }
  .emcg-profile-hero-v2 .emcg-identity-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .emcg-profile-hero-v2 .emcg-identity-metrics > div{
    min-height:112px!important;
    padding:14px!important;
  }
  .emcg-profile-hero-v2 .emcg-identity-metrics strong{
    font-size:36px!important;
  }
  .emcg-profile-hero-v2 .emcg-identity-bio{
    font-size:15px!important;
  }
}


/* =========================================================
   v0.38.2 — PROFILE DENSITY + EDITORIAL HIERARCHY
   ========================================================= */

/* The section nav now visually belongs to the hero. */
.emcg-profile-section-nav{
  position:relative!important;
  z-index:8!important;
  width:max-content!important;
  max-width:calc(100% - 36px)!important;
  margin:-34px 0 34px 18px!important;
  padding:7px!important;
  border-radius:999px!important;
  box-shadow:0 18px 38px rgba(0,18,44,.12)!important;
}

.emcg-profile-section-nav a{
  min-height:38px!important;
  padding:0 14px!important;
  background:#FFFFFF!important;
}

.emcg-profile-section-nav a b{
  min-width:20px!important;
  height:20px!important;
  padding:0 6px!important;
  font-size:9px!important;
}

/* The old profile metadata summary is retired completely. */
.emcg-profile-overview-bar{
  display:none!important;
}

/* Hero stats support the identity instead of competing with it. */
.emcg-profile-hero-v2{
  grid-template-columns:128px minmax(0,1fr) 286px!important;
  gap:24px!important;
  padding:30px 30px 42px!important;
}

.emcg-profile-hero-v2 .emcg-identity-visual{
  width:128px!important;
  height:128px!important;
  margin-top:12px!important;
}

.emcg-profile-hero-v2 .emcg-identity-visual img,
.emcg-profile-hero-v2 .emcg-identity-visual .emcg-initials{
  width:128px!important;
  height:128px!important;
}

.emcg-profile-hero-v2 .emcg-identity-bio{
  font-size:15px!important;
  line-height:1.6!important;
}

.emcg-profile-hero-v2 .emcg-identity-metrics{
  gap:10px!important;
  align-self:center!important;
}

.emcg-profile-hero-v2 .emcg-identity-metrics > div{
  min-height:94px!important;
  padding:14px!important;
  border-radius:18px!important;
}

.emcg-profile-hero-v2 .emcg-identity-metrics strong{
  font-size:34px!important;
}

.emcg-profile-hero-v2 .emcg-identity-metrics span{
  margin-top:7px!important;
  font-size:8px!important;
}

/* Modules are tighter now that redundant summary UI is gone. */
.emcg-profile-module{
  margin-bottom:52px!important;
}

.emcg-module-head{
  margin-bottom:16px!important;
}

/* A single Coast Moment should be featured, not become another page hero. */
.emcg-moment-mosaic-v2.is-single{
  max-width:100%!important;
}

.emcg-moment-mosaic-v2.is-single .emcg-moment-tile.is-lead{
  grid-column:1 / -1!important;
  min-height:0!important;
  height:auto!important;
  aspect-ratio:2.25 / 1!important;
  border-radius:26px!important;
}

.emcg-moment-mosaic-v2.is-single .emcg-moment-tile.is-lead .emcg-moment-copy{
  max-width:760px!important;
  padding:32px!important;
}

.emcg-moment-mosaic-v2.is-single .emcg-moment-tile.is-lead .emcg-moment-copy h3{
  max-width:15ch!important;
  font-size:clamp(34px,4vw,54px)!important;
}

/* Writing becomes a portfolio: one lead piece, then a compact archive. */
.emcg-writing-feature{
  display:grid!important;
  grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr)!important;
  min-height:410px!important;
  margin-bottom:20px!important;
  border:1px solid rgba(0,18,44,.08)!important;
  border-radius:28px!important;
  overflow:hidden!important;
  background:#FFFFFF!important;
  box-shadow:0 18px 42px rgba(0,18,44,.08)!important;
}

.emcg-writing-feature-image{
  display:block!important;
  min-height:410px!important;
  overflow:hidden!important;
  background:#0B2A53!important;
}

.emcg-writing-feature-image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  min-height:410px!important;
  object-fit:cover!important;
}

.emcg-writing-feature-image span{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  height:100%!important;
  min-height:410px!important;
  color:#FFFFFF!important;
  font-size:72px!important;
  font-weight:900!important;
}

.emcg-writing-feature-copy{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:flex-start!important;
  padding:34px!important;
}

.emcg-writing-feature-copy small,
.emcg-writing-compact-copy small{
  color:#677587!important;
  font-size:9px!important;
  font-weight:900!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}

.emcg-writing-feature-copy h3{
  margin:10px 0 14px!important;
  color:#071F46!important;
  font-size:clamp(34px,3.4vw,54px)!important;
  line-height:.98!important;
  letter-spacing:-.04em!important;
}

.emcg-writing-feature-copy h3 a,
.emcg-writing-compact-copy h3 a{
  color:inherit!important;
  text-decoration:none!important;
}

.emcg-writing-feature-copy p{
  margin:0 0 18px!important;
  color:#59677A!important;
  font-size:14px!important;
  line-height:1.65!important;
}

.emcg-writing-archive{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
}

.emcg-writing-compact{
  display:grid!important;
  grid-template-rows:auto 1fr!important;
  min-width:0!important;
  border:1px solid rgba(0,18,44,.08)!important;
  border-radius:20px!important;
  overflow:hidden!important;
  background:#FFFFFF!important;
  box-shadow:0 10px 24px rgba(0,18,44,.055)!important;
}

.emcg-writing-compact-image{
  display:block!important;
  overflow:hidden!important;
  background:#0B2A53!important;
}

.emcg-writing-compact-image img{
  display:block!important;
  width:100%!important;
  aspect-ratio:16 / 9!important;
  object-fit:cover!important;
}

.emcg-writing-compact-image span{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  aspect-ratio:16 / 9!important;
  color:#FFFFFF!important;
  font-size:34px!important;
  font-weight:900!important;
}

.emcg-writing-compact-copy{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  min-width:0!important;
  padding:14px 14px 16px!important;
}

.emcg-writing-compact-copy h3{
  margin:7px 0 12px!important;
  color:#071F46!important;
  font-size:20px!important;
  line-height:1.04!important;
  letter-spacing:-.025em!important;
}

.emcg-writing-compact-copy .emcg-text-link{
  margin-top:auto!important;
}

@media (max-width:1180px){
  .emcg-profile-hero-v2{
    grid-template-columns:116px minmax(0,1fr) 240px!important;
  }
  .emcg-profile-hero-v2 .emcg-identity-metrics{
    grid-column:auto!important;
  }
  .emcg-writing-archive{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

@media (max-width:960px){
  .emcg-profile-hero-v2{
    grid-template-columns:108px minmax(0,1fr)!important;
    padding-bottom:38px!important;
  }
  .emcg-profile-hero-v2 .emcg-identity-metrics{
    grid-column:1 / -1!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
  .emcg-profile-hero-v2 .emcg-identity-metrics > div{
    min-height:76px!important;
  }
  .emcg-profile-section-nav{
    margin-top:-30px!important;
  }
  .emcg-writing-feature{
    grid-template-columns:1.1fr .9fr!important;
    min-height:340px!important;
  }
  .emcg-writing-feature-image,
  .emcg-writing-feature-image img,
  .emcg-writing-feature-image span{
    min-height:340px!important;
  }
  .emcg-writing-feature-copy{
    padding:26px!important;
  }
  .emcg-writing-archive{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media (max-width:760px){
  .emcg-profile-hero-v2{
    grid-template-columns:1fr!important;
    gap:14px!important;
    padding:18px 16px 34px!important;
  }
  .emcg-profile-hero-v2 .emcg-identity-visual{
    width:92px!important;
    height:92px!important;
  }
  .emcg-profile-hero-v2 .emcg-identity-visual img,
  .emcg-profile-hero-v2 .emcg-identity-visual .emcg-initials{
    width:92px!important;
    height:92px!important;
  }
  .emcg-profile-hero-v2 h1{
    font-size:54px!important;
  }
  .emcg-profile-hero-v2 .emcg-identity-bio{
    font-size:14px!important;
    line-height:1.55!important;
  }
  .emcg-profile-hero-v2 .emcg-identity-links{
    margin-bottom:14px!important;
  }
  .emcg-profile-hero-v2 .emcg-identity-metrics{
    grid-column:auto!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
  }
  .emcg-profile-hero-v2 .emcg-identity-metrics > div{
    min-height:66px!important;
    padding:9px!important;
    border-radius:14px!important;
  }
  .emcg-profile-hero-v2 .emcg-identity-metrics strong{
    font-size:26px!important;
  }
  .emcg-profile-hero-v2 .emcg-identity-metrics span{
    margin-top:4px!important;
    font-size:6px!important;
    letter-spacing:.1em!important;
  }
  .emcg-profile-section-nav{
    width:calc(100% - 16px)!important;
    max-width:none!important;
    margin:-25px 8px 28px!important;
    overflow-x:auto!important;
  }
  .emcg-profile-section-nav a{
    flex:0 0 auto!important;
  }
  .emcg-moment-mosaic-v2.is-single .emcg-moment-tile.is-lead{
    min-height:0!important;
    aspect-ratio:4 / 3!important;
  }
  .emcg-moment-mosaic-v2.is-single .emcg-moment-tile.is-lead .emcg-moment-copy{
    padding:22px!important;
  }
  .emcg-moment-mosaic-v2.is-single .emcg-moment-tile.is-lead .emcg-moment-copy h3{
    font-size:34px!important;
  }
  .emcg-writing-feature{
    grid-template-columns:1fr!important;
    min-height:0!important;
  }
  .emcg-writing-feature-image,
  .emcg-writing-feature-image img,
  .emcg-writing-feature-image span{
    min-height:0!important;
    height:auto!important;
    aspect-ratio:16 / 10!important;
  }
  .emcg-writing-feature-copy{
    padding:20px!important;
  }
  .emcg-writing-feature-copy h3{
    font-size:32px!important;
  }
  .emcg-writing-feature-copy p{
    font-size:13px!important;
  }
  .emcg-writing-archive{
    grid-template-columns:1fr!important;
    gap:10px!important;
  }
  .emcg-writing-compact{
    grid-template-columns:104px minmax(0,1fr)!important;
    grid-template-rows:1fr!important;
    min-height:112px!important;
    border-radius:16px!important;
  }
  .emcg-writing-compact-image,
  .emcg-writing-compact-image img,
  .emcg-writing-compact-image span{
    width:104px!important;
    height:100%!important;
    min-height:112px!important;
    aspect-ratio:auto!important;
  }
  .emcg-writing-compact-copy{
    padding:12px 12px 11px!important;
  }
  .emcg-writing-compact-copy h3{
    margin:5px 0 7px!important;
    font-size:18px!important;
  }
  .emcg-writing-compact-copy small{
    font-size:7px!important;
  }
  .emcg-writing-compact-copy .emcg-text-link{
    font-size:10px!important;
  }
}

@media (max-width:430px){
  .emcg-profile-hero-v2 .emcg-identity-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .emcg-profile-hero-v2 .emcg-identity-metrics > div{
    min-height:58px!important;
  }
  .emcg-profile-hero-v2 .emcg-identity-metrics span{
    font-size:7px!important;
  }
}

/* =========================================================
   v0.50.0 — MY TIDE / COAST IDENTITY EDITOR
   Complete page redesign. Scoped to .emcg-edit-page-v2 so
   no other Coast Graph surface inherits these rules.
   ========================================================= */

.emcg-edit-page-v2{
  --edit-ink:#000C32;
  --edit-blue:#0064F9;
  --edit-blue-deep:#0064F9;
  --edit-yellow:#FFB300;
  --edit-paper:#FFFFFF;
  --edit-soft:#F6F9FC;
  --edit-muted:#66758A;
  --edit-line:rgba(0,12,50,.12);
  --edit-line-strong:rgba(0,12,50,.22);
  max-width:1320px!important;
  padding:18px 24px 76px!important;
  background:#fff!important;
  color:var(--edit-ink)!important;
}

body.emcg-identity-runtime:has(.emcg-edit-page-v2){
  background:#fff!important;
}

.emcg-edit-page-v2 .emcg-product-nav{
  margin-bottom:24px!important;
}

.emcg-edit-heading-v2{
  position:relative;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:36px;
  padding:22px 2px 25px;
  border-bottom:1px solid var(--edit-line);
}

.emcg-edit-heading-v2:after{
  content:"";
  position:absolute;
  left:2px;
  bottom:-2px;
  width:112px;
  height:4px;
  background:linear-gradient(90deg,var(--edit-blue) 0 62%,var(--edit-yellow) 62% 100%);
}

.emcg-edit-heading-copy-v2{
  max-width:760px;
}

.emcg-edit-eyebrow-v2{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 9px;
  color:var(--edit-blue)!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:.15em!important;
  text-transform:uppercase!important;
}

.emcg-edit-eyebrow-v2 i{
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--edit-yellow);
  flex:0 0 auto;
}

.emcg-edit-heading-v2 h1{
  margin:0!important;
  color:var(--edit-ink)!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(44px,5vw,70px)!important;
  line-height:.93!important;
  font-weight:800!important;
  letter-spacing:-.05em!important;
}

.emcg-edit-heading-v2 p{
  max-width:680px;
  margin:12px 0 0!important;
  color:var(--edit-muted)!important;
  font-size:13px!important;
  line-height:1.6!important;
}

.emcg-edit-heading-actions-v2{
  display:flex;
  align-items:center;
  gap:9px;
  flex:0 0 auto;
  padding-bottom:2px;
}

.emcg-edit-heading-actions-v2 a,
.emcg-edit-heading-actions-v2 button,
.emcg-edit-footer-actions-v2 a,
.emcg-edit-footer-actions-v2 button{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  padding:0 16px;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:9px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:.03em!important;
  text-decoration:none!important;
  cursor:pointer;
}

.emcg-edit-view-v2{
  border:1px solid var(--edit-line-strong)!important;
  background:#fff!important;
  color:var(--edit-ink)!important;
}

.emcg-edit-save-top-v2,
.emcg-edit-save-v2{
  border:1px solid var(--edit-blue)!important;
  background:var(--edit-blue)!important;
  color:#fff!important;
  box-shadow:none!important;
}

.emcg-edit-save-top-v2:hover,
.emcg-edit-save-v2:hover{
  background:var(--edit-blue-deep)!important;
  border-color:var(--edit-blue-deep)!important;
}

.emcg-edit-notice-v2{
  margin:18px 0 0!important;
  border:0!important;
  border-left:4px solid var(--edit-blue)!important;
  border-radius:0!important;
  padding:12px 14px!important;
  background:#FFFFFF!important;
  color:var(--edit-ink)!important;
  box-shadow:none!important;
  font-size:11px!important;
  font-weight:800!important;
}

.emcg-edit-notice-v2.emcg-saved-note-error{
  border-left-color:#E9485B!important;
  background:#FFF5F6!important;
}

.emcg-edit-layout-v2{
  display:grid;
  grid-template-columns:318px minmax(0,1fr);
  gap:34px;
  align-items:start;
  margin-top:30px;
}

/* Live preview */
.emcg-edit-preview-column-v2{
  position:sticky;
  top:112px;
  min-width:0;
}

.emcg-edit-preview-label-v2{
  display:flex;
  align-items:center;
  gap:7px;
  margin:0 0 9px 2px;
  color:var(--edit-muted);
  font-size:8px;
  font-weight:950;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.emcg-edit-preview-label-v2 span{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--edit-yellow);
  box-shadow:0 0 0 4px rgba(237,15,129,.10);
}

.emcg-edit-preview-card-v2{
  position:relative;
  overflow:hidden;
  min-height:390px;
  padding:22px 22px 20px;
  border-radius:24px;
  background:var(--edit-ink);
  color:#fff;
  box-shadow:0 18px 48px rgba(0,12,50,.14);
}

.emcg-edit-preview-card-v2:before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:7px;
  background:linear-gradient(90deg,var(--edit-blue) 0 54%,var(--edit-yellow) 54% 76%,var(--edit-blue) 76% 100%);
}

.emcg-edit-preview-card-v2:after{
  content:"COAST";
  position:absolute;
  right:-18px;
  bottom:-31px;
  color:rgba(255,255,255,.045);
  font:900 86px/1 Georgia,"Times New Roman",serif;
  letter-spacing:-.06em;
  pointer-events:none;
}

.emcg-edit-preview-top-v2{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:4px;
}

.emcg-edit-avatar-v2{
  width:86px;
  height:86px;
  flex:0 0 86px;
  overflow:hidden;
  display:grid;
  place-items:center;
  border:4px solid #fff;
  border-radius:50%;
  background:#000C32;
  box-shadow:0 0 0 3px var(--edit-yellow);
}

.emcg-edit-avatar-v2 img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.emcg-edit-preview-role-v2{
  max-width:155px;
  padding:7px 9px;
  border-radius:999px;
  background:var(--edit-yellow);
  color:var(--edit-ink);
  font-size:7px;
  line-height:1.1;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-align:center;
}

.emcg-edit-preview-card-v2 h2{
  position:relative;
  z-index:1;
  margin:19px 0 5px!important;
  color:#fff!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:40px!important;
  line-height:.95!important;
  font-weight:800!important;
  letter-spacing:-.045em!important;
}

.emcg-edit-preview-meta-v2{
  position:relative;
  z-index:1;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
  color:#AFC3E1;
  font-size:9px;
  font-weight:800;
}

.emcg-edit-preview-meta-v2 > span:first-child{
  color:#0064F9;
}

.emcg-edit-meta-dot-v2{
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--edit-blue);
}

.emcg-edit-preview-card-v2 > p{
  position:relative;
  z-index:1;
  margin:18px 0 20px!important;
  color:#D8E1EF!important;
  font-size:12px!important;
  line-height:1.62!important;
}

.emcg-edit-preview-links-v2{
  position:relative;
  z-index:1;
  display:grid;
  gap:8px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.14);
}

.emcg-edit-preview-links-v2 span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#fff;
  font-size:9px;
  font-weight:850;
}

.emcg-edit-preview-links-v2 span:before{
  content:"";
  display:inline-block;
  width:6px;
  height:6px;
  margin-right:8px;
  border-radius:50%;
  background:var(--edit-blue);
  vertical-align:1px;
}

.emcg-edit-preview-links-v2 span + span:before{
  background:var(--edit-yellow);
}

.emcg-edit-preview-note-v2{
  margin:16px 3px 0;
  padding:0 0 0 13px;
  border-left:3px solid var(--edit-blue);
}

.emcg-edit-preview-note-v2 strong{
  display:block;
  color:var(--edit-ink);
  font-family:Georgia,"Times New Roman",serif;
  font-size:18px;
  line-height:1.05;
  letter-spacing:-.025em;
}

.emcg-edit-preview-note-v2 p{
  margin:6px 0 0!important;
  color:var(--edit-muted)!important;
  font-size:10px!important;
  line-height:1.55!important;
}

/* Form composition */
.emcg-edit-fields-v2{
  min-width:0;
}

.emcg-edit-section-v2{
  display:grid;
  grid-template-columns:230px minmax(0,1fr);
  gap:28px;
  padding:0 0 34px;
  margin:0 0 34px;
  border-bottom:1px solid var(--edit-line);
}

.emcg-edit-section-head-v2{
  display:grid;
  grid-template-columns:34px 1fr;
  gap:10px;
  align-content:start;
  min-width:0;
}

.emcg-edit-section-head-v2 > span{
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:50%;
  background:var(--edit-yellow);
  color:var(--edit-ink);
  font-size:8px;
  font-weight:950;
}

.emcg-edit-section-head-v2 h2{
  margin:1px 0 6px!important;
  color:var(--edit-ink)!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:27px!important;
  line-height:1!important;
  font-weight:800!important;
  letter-spacing:-.035em!important;
}

.emcg-edit-section-head-v2 p{
  margin:0!important;
  color:var(--edit-muted)!important;
  font-size:10px!important;
  line-height:1.55!important;
}

.emcg-edit-section-body-v2{
  min-width:0;
}

.emcg-edit-page-v2 .emcg-field{
  margin:0 0 18px!important;
}

.emcg-edit-page-v2 .emcg-field:last-child{
  margin-bottom:0!important;
}

.emcg-edit-page-v2 .emcg-field label,
.emcg-field-label-row-v2 label{
  display:block!important;
  margin:0 0 7px!important;
  color:var(--edit-ink)!important;
  font-size:8px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}

.emcg-edit-page-v2 .emcg-field input[type="text"],
.emcg-edit-page-v2 .emcg-field input[type="url"],
.emcg-edit-page-v2 .emcg-field textarea,
.emcg-edit-page-v2 .emcg-field select{
  width:100%!important;
  min-height:47px!important;
  margin:0!important;
  border:1px solid var(--edit-line)!important;
  border-radius:12px!important;
  padding:12px 13px!important;
  background:#fff!important;
  color:var(--edit-ink)!important;
  outline:0!important;
  box-shadow:none!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:12px!important;
  line-height:1.35!important;
}

.emcg-edit-page-v2 .emcg-field textarea{
  min-height:132px!important;
  resize:vertical!important;
  line-height:1.55!important;
}

.emcg-edit-page-v2 .emcg-field input[type="text"]:focus,
.emcg-edit-page-v2 .emcg-field input[type="url"]:focus,
.emcg-edit-page-v2 .emcg-field textarea:focus,
.emcg-edit-page-v2 .emcg-field select:focus{
  border-color:var(--edit-blue)!important;
  box-shadow:0 0 0 3px rgba(0,100,249,.09)!important;
}

.emcg-edit-page-v2 .emcg-field small{
  display:block!important;
  margin:6px 0 0!important;
  color:var(--edit-muted)!important;
  font-size:8px!important;
  line-height:1.45!important;
}

.emcg-field-label-row-v2{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.emcg-field-label-row-v2 > span{
  color:var(--edit-muted);
  font-size:8px;
  font-weight:800;
}

.emcg-field-label-row-v2 > span b{
  color:var(--edit-blue);
}

.emcg-photo-field-v2 input[type="file"]{
  width:100%!important;
  min-height:54px!important;
  margin:0!important;
  border:1px dashed rgba(0,100,249,.35)!important;
  border-radius:12px!important;
  padding:8px!important;
  background:#F8FBFF!important;
  color:var(--edit-muted)!important;
  font-size:10px!important;
}

.emcg-photo-field-v2 input[type="file"]::file-selector-button{
  height:36px;
  margin:0 10px 0 0;
  border:0;
  border-radius:9px;
  padding:0 13px;
  background:var(--edit-blue);
  color:#fff;
  font-size:9px;
  font-weight:900;
  cursor:pointer;
}

.emcg-edit-two-col-v2,
.emcg-edit-social-row-v2{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.emcg-handle-input-v2{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  align-items:center;
  min-height:47px;
  border:1px solid var(--edit-line);
  border-radius:12px;
  background:#fff;
  overflow:hidden;
}

.emcg-handle-input-v2:focus-within{
  border-color:var(--edit-blue);
  box-shadow:0 0 0 3px rgba(0,100,249,.09);
}

.emcg-handle-input-v2 > span{
  height:100%;
  display:grid;
  place-items:center;
  border-right:1px solid var(--edit-line);
  background:#F8FBFF;
  color:var(--edit-blue);
  font-size:13px;
  font-weight:950;
}

.emcg-edit-page-v2 .emcg-handle-input-v2 input{
  min-height:45px!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}

/* Privacy controls */
.emcg-edit-privacy-section-v2{
  padding-bottom:30px;
}

.emcg-edit-privacy-grid-v2{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
}

.emcg-privacy-option-v2{
  position:relative;
  min-height:122px;
  display:flex!important;
  flex-direction:column;
  align-items:flex-start;
  justify-content:space-between;
  gap:15px;
  margin:0!important;
  padding:14px!important;
  border:1px solid var(--edit-line)!important;
  border-radius:15px!important;
  background:#fff!important;
  cursor:pointer;
  transition:border-color .18s ease,transform .18s ease,background .18s ease;
}

.emcg-privacy-option-v2:hover{
  border-color:rgba(0,100,249,.35)!important;
  transform:translateY(-1px);
}

.emcg-privacy-option-v2 > input{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
}

.emcg-privacy-switch-v2{
  position:relative;
  display:block;
  width:39px;
  height:22px;
  flex:0 0 auto;
  border-radius:999px;
  background:#DCE4ED;
  transition:background .18s ease;
}

.emcg-privacy-switch-v2:after{
  content:"";
  position:absolute;
  width:16px;
  height:16px;
  left:3px;
  top:3px;
  border-radius:50%;
  background:#fff;
  box-shadow:0 2px 5px rgba(0,12,50,.2);
  transition:transform .18s ease;
}

.emcg-privacy-option-v2 > input:checked + .emcg-privacy-switch-v2{
  background:var(--edit-blue);
}

.emcg-privacy-option-v2 > input:checked + .emcg-privacy-switch-v2:after{
  transform:translateX(17px);
}

.emcg-privacy-option-v2:has(> input:checked){
  border-color:rgba(0,100,249,.30)!important;
  background:#FFFFFF!important;
}

.emcg-privacy-option-v2:has(> input:focus-visible){
  outline:3px solid rgba(0,100,249,.18)!important;
  outline-offset:2px!important;
}

.emcg-privacy-copy-v2{
  display:block;
}

.emcg-privacy-copy-v2 strong{
  display:block;
  margin:0 0 5px;
  color:var(--edit-ink);
  font-size:10px;
  line-height:1.2;
  font-weight:950;
}

.emcg-privacy-copy-v2 small{
  display:block;
  color:var(--edit-muted);
  font-size:8px;
  line-height:1.45;
}

/* Footer action rail */
.emcg-edit-footer-v2{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-top:-4px;
  padding:18px 20px;
  border-radius:18px;
  background:var(--edit-ink);
  color:#fff;
}

.emcg-edit-footer-v2 > div:first-child{
  min-width:0;
}

.emcg-edit-footer-v2 strong{
  display:block;
  color:#fff;
  font-family:Georgia,"Times New Roman",serif;
  font-size:19px;
  line-height:1.05;
  letter-spacing:-.02em;
}

.emcg-edit-footer-v2 > div:first-child span{
  display:block;
  margin-top:5px;
  color:#B7C6DB;
  font-size:8px;
  line-height:1.4;
}

.emcg-edit-footer-actions-v2{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}

.emcg-edit-footer-actions-v2 a{
  border:1px solid rgba(255,255,255,.22)!important;
  color:#fff!important;
  background:transparent!important;
}

.emcg-edit-footer-actions-v2 .emcg-edit-save-v2{
  background:var(--edit-yellow)!important;
  border-color:var(--edit-yellow)!important;
  color:var(--edit-ink)!important;
}

.emcg-edit-footer-actions-v2 .emcg-edit-save-v2:hover{
  background:#FFB300!important;
  border-color:#FFB300!important;
}

@media(max-width:1100px){
  .emcg-edit-layout-v2{
    grid-template-columns:270px minmax(0,1fr);
    gap:25px;
  }
  .emcg-edit-section-v2{
    grid-template-columns:190px minmax(0,1fr);
    gap:22px;
  }
  .emcg-edit-preview-card-v2{
    padding:19px;
  }
  .emcg-edit-avatar-v2{
    width:74px;
    height:74px;
    flex-basis:74px;
  }
  .emcg-edit-preview-card-v2 h2{
    font-size:35px!important;
  }
}

@media(max-width:900px){
  .emcg-edit-heading-v2{
    align-items:flex-start;
  }
  .emcg-edit-heading-actions-v2{
    padding-top:23px;
  }
  .emcg-edit-layout-v2{
    grid-template-columns:230px minmax(0,1fr);
    gap:20px;
  }
  .emcg-edit-section-v2{
    grid-template-columns:1fr;
    gap:16px;
  }
  .emcg-edit-section-head-v2{
    grid-template-columns:34px minmax(0,1fr);
  }
  .emcg-edit-section-head-v2 p{
    max-width:520px;
  }
  .emcg-edit-privacy-grid-v2{
    grid-template-columns:1fr;
  }
  .emcg-privacy-option-v2{
    min-height:0;
    display:grid!important;
    grid-template-columns:39px minmax(0,1fr);
    align-items:center;
    justify-content:start;
    gap:12px;
  }
}

@media(max-width:760px){
  .emcg-edit-page-v2{
    padding:10px 14px 52px!important;
  }

  .emcg-edit-page-v2 .emcg-product-nav{
    margin-bottom:13px!important;
  }

  .emcg-edit-heading-v2{
    display:block;
    padding:13px 1px 20px;
  }

  .emcg-edit-heading-v2:after{
    left:1px;
    width:82px;
    height:3px;
  }

  .emcg-edit-eyebrow-v2{
    margin-bottom:8px;
    font-size:8px!important;
  }

  .emcg-edit-heading-v2 h1{
    font-size:41px!important;
  }

  .emcg-edit-heading-v2 p{
    margin-top:9px!important;
    max-width:520px;
    font-size:11px!important;
    line-height:1.55!important;
  }

  .emcg-edit-heading-actions-v2{
    margin-top:14px;
    padding:0;
  }

  .emcg-edit-heading-actions-v2 .emcg-edit-save-top-v2{
    display:none;
  }

  .emcg-edit-heading-actions-v2 .emcg-edit-view-v2{
    min-height:36px;
    padding:0;
    border:0!important;
    border-bottom:1px solid var(--edit-blue)!important;
    border-radius:0!important;
    color:var(--edit-blue)!important;
    font-size:8px!important;
  }

  .emcg-edit-notice-v2{
    margin-top:14px!important;
  }

  .emcg-edit-layout-v2{
    display:block;
    margin-top:22px;
  }

  .emcg-edit-preview-column-v2{
    position:static;
    margin-bottom:31px;
  }

  .emcg-edit-preview-label-v2{
    margin-left:0;
  }

  .emcg-edit-preview-card-v2{
    min-height:0;
    padding:17px 17px 16px;
    border-radius:18px;
  }

  .emcg-edit-preview-card-v2:before{
    height:5px;
  }

  .emcg-edit-preview-card-v2:after{
    right:-8px;
    bottom:-22px;
    font-size:64px;
  }

  .emcg-edit-preview-top-v2{
    align-items:flex-start;
  }

  .emcg-edit-avatar-v2{
    width:68px;
    height:68px;
    flex-basis:68px;
    border-width:3px;
    box-shadow:0 0 0 2px var(--edit-yellow);
  }

  .emcg-edit-preview-role-v2{
    max-width:150px;
    padding:6px 8px;
    font-size:6px;
  }

  .emcg-edit-preview-card-v2 h2{
    margin-top:14px!important;
    font-size:33px!important;
  }

  .emcg-edit-preview-meta-v2{
    font-size:8px;
  }

  .emcg-edit-preview-card-v2 > p{
    margin:13px 0 14px!important;
    font-size:10px!important;
    line-height:1.52!important;
  }

  .emcg-edit-preview-links-v2{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    padding-top:11px;
  }

  .emcg-edit-preview-links-v2 span{
    font-size:8px;
  }

  .emcg-edit-preview-note-v2{
    display:none;
  }

  .emcg-edit-section-v2{
    display:block;
    padding:0 0 27px;
    margin:0 0 27px;
  }

  .emcg-edit-section-head-v2{
    grid-template-columns:31px minmax(0,1fr);
    gap:9px;
    margin-bottom:17px;
  }

  .emcg-edit-section-head-v2 > span{
    width:27px;
    height:27px;
    font-size:7px;
  }

  .emcg-edit-section-head-v2 h2{
    font-size:24px!important;
  }

  .emcg-edit-section-head-v2 p{
    font-size:9px!important;
  }

  .emcg-edit-page-v2 .emcg-field{
    margin-bottom:15px!important;
  }

  .emcg-edit-page-v2 .emcg-field input[type="text"],
  .emcg-edit-page-v2 .emcg-field input[type="url"],
  .emcg-edit-page-v2 .emcg-field textarea,
  .emcg-edit-page-v2 .emcg-field select{
    min-height:45px!important;
    border-radius:11px!important;
    padding:11px 12px!important;
    font-size:11px!important;
  }

  .emcg-edit-page-v2 .emcg-field textarea{
    min-height:124px!important;
  }

  .emcg-edit-page-v2 .emcg-field label,
  .emcg-field-label-row-v2 label{
    font-size:7px!important;
  }

  .emcg-edit-page-v2 .emcg-field small,
  .emcg-field-label-row-v2 > span{
    font-size:7px!important;
  }

  .emcg-photo-field-v2 input[type="file"]{
    min-height:51px!important;
    font-size:9px!important;
  }

  .emcg-edit-two-col-v2,
  .emcg-edit-social-row-v2{
    grid-template-columns:1fr;
    gap:0;
  }

  .emcg-handle-input-v2{
    grid-template-columns:39px minmax(0,1fr);
    min-height:45px;
    border-radius:11px;
  }

  .emcg-edit-page-v2 .emcg-handle-input-v2 input{
    min-height:43px!important;
  }

  .emcg-edit-privacy-grid-v2{
    gap:7px;
  }

  .emcg-privacy-option-v2{
    grid-template-columns:38px minmax(0,1fr);
    min-height:0;
    padding:12px!important;
    border-radius:13px!important;
  }

  .emcg-privacy-copy-v2 strong{
    font-size:9px;
  }

  .emcg-privacy-copy-v2 small{
    font-size:7px;
  }

  .emcg-edit-footer-v2{
    display:block;
    margin-top:-4px;
    padding:16px;
    border-radius:16px;
  }

  .emcg-edit-footer-v2 strong{
    font-size:18px;
  }

  .emcg-edit-footer-v2 > div:first-child span{
    font-size:7px;
  }

  .emcg-edit-footer-actions-v2{
    display:grid;
    grid-template-columns:auto 1fr;
    margin-top:14px;
  }

  .emcg-edit-footer-actions-v2 a,
  .emcg-edit-footer-actions-v2 button{
    min-height:40px;
    padding:0 13px;
    font-size:8px!important;
  }
}

@media(max-width:390px){
  .emcg-edit-page-v2{
    padding-left:12px!important;
    padding-right:12px!important;
  }
  .emcg-edit-heading-v2 h1{
    font-size:38px!important;
  }
  .emcg-edit-preview-role-v2{
    max-width:125px;
  }
  .emcg-edit-preview-links-v2{
    grid-template-columns:1fr;
    gap:6px;
  }
  .emcg-edit-footer-actions-v2{
    grid-template-columns:1fr;
  }
}

/* =========================================================
   v0.50.1 — COAST IDENTITY PRODUCT POLISH
   Photo control, live handle feedback and intelligent saving.
   Scoped to the v2 identity editor only.
   ========================================================= */

.emcg-edit-page-v2 .emcg-edit-feedback-v2{
  margin:16px 0 0;
  padding:12px 14px;
  border-left:4px solid var(--edit-blue);
  background:#FFFFFF;
  color:var(--edit-ink);
  font-size:10px;
  line-height:1.45;
  font-weight:850;
}
.emcg-edit-page-v2 .emcg-edit-feedback-v2[hidden]{display:none!important}
.emcg-edit-page-v2 .emcg-edit-feedback-v2.is-warning{
  border-left-color:var(--edit-yellow);
  background:#FFF9E8;
}
.emcg-edit-page-v2 .emcg-edit-feedback-v2.is-error{
  border-left-color:#E9485B;
  background:#FFF5F6;
}

/* Save buttons are intentionally quiet until something changes. */
.emcg-edit-page-v2 [data-emcg-save-button]:disabled{
  opacity:.38!important;
  cursor:default!important;
  filter:saturate(.35);
  box-shadow:none!important;
  transform:none!important;
}
.emcg-edit-page-v2 form.is-dirty [data-emcg-save-button]:not(:disabled){
  opacity:1!important;
  filter:none!important;
}
.emcg-edit-page-v2 form.is-saving [data-emcg-save-button]{
  cursor:wait!important;
}

/* Portrait picker — replaces the native browser file-control UI. */
.emcg-edit-page-v2 .emcg-photo-field-v2 input.emcg-photo-input-v3[type="file"]{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  clip-path:inset(50%)!important;
  white-space:nowrap!important;
  border:0!important;
  padding:0!important;
  margin:-1px!important;
}
.emcg-edit-page-v2 .emcg-photo-picker-v3{
  display:grid;
  grid-template-columns:86px minmax(0,1fr);
  gap:15px;
  align-items:center;
  min-height:112px;
  padding:13px;
  border:1px solid var(--edit-line);
  border-radius:15px;
  background:#fff;
}
.emcg-edit-page-v2 .emcg-photo-current-v3{
  width:86px;
  height:86px;
  overflow:hidden;
  display:grid;
  place-items:center;
  border:3px solid #fff;
  border-radius:50%;
  background:#EAF0F7;
  box-shadow:0 0 0 2px var(--edit-yellow);
}
.emcg-edit-page-v2 .emcg-photo-current-v3 img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.emcg-edit-page-v2 .emcg-photo-picker-copy-v3{
  min-width:0;
}
.emcg-edit-page-v2 .emcg-photo-picker-copy-v3>strong{
  display:block;
  margin:0 0 4px;
  color:var(--edit-ink);
  font-family:Georgia,"Times New Roman",serif;
  font-size:18px;
  line-height:1.05;
  letter-spacing:-.025em;
}
.emcg-edit-page-v2 .emcg-photo-picker-copy-v3>span{
  display:block;
  max-width:480px;
  color:var(--edit-muted);
  font-size:8px;
  line-height:1.45;
}
.emcg-edit-page-v2 .emcg-photo-actions-v3{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  margin-top:11px;
}
.emcg-edit-page-v2 .emcg-photo-change-v3,
.emcg-edit-page-v2 .emcg-photo-remove-v3{
  min-height:34px;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  margin:0!important;
  border-radius:999px!important;
  padding:0 12px!important;
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  font-size:8px!important;
  line-height:1!important;
  font-weight:950!important;
  letter-spacing:.02em!important;
  text-transform:none!important;
  cursor:pointer;
}
.emcg-edit-page-v2 .emcg-photo-change-v3{
  border:1px solid var(--edit-blue)!important;
  background:var(--edit-blue)!important;
  color:#fff!important;
}
.emcg-edit-page-v2 .emcg-photo-remove-v3{
  border:1px solid var(--edit-line-strong)!important;
  background:#fff!important;
  color:var(--edit-ink)!important;
}
.emcg-edit-page-v2 .emcg-photo-remove-v3[hidden]{display:none!important}
.emcg-edit-page-v2 .emcg-photo-error-v3{
  margin-top:7px;
  color:#C63548;
  font-size:8px;
  line-height:1.4;
  font-weight:850;
}
.emcg-edit-page-v2 .emcg-photo-error-v3[hidden]{display:none!important}

/* Coast handle: live availability and an honest link to the public profile. */
.emcg-edit-page-v2 .emcg-handle-feedback-v3{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:5px 12px;
  margin-top:7px;
  min-height:18px;
}
.emcg-edit-page-v2 .emcg-handle-feedback-v3 [data-handle-status]{
  position:relative;
  padding-left:13px;
  color:var(--edit-muted);
  font-size:8px;
  line-height:1.35;
  font-weight:850;
}
.emcg-edit-page-v2 .emcg-handle-feedback-v3 [data-handle-status]:before{
  content:"";
  position:absolute;
  left:0;
  top:.34em;
  width:6px;
  height:6px;
  border-radius:50%;
  background:#9AA8B8;
}
.emcg-edit-page-v2 .emcg-handle-feedback-v3.is-current [data-handle-status]:before,
.emcg-edit-page-v2 .emcg-handle-feedback-v3.is-available [data-handle-status]:before,
.emcg-edit-page-v2 .emcg-handle-feedback-v3.is-fallback [data-handle-status]:before{
  background:var(--edit-blue);
}
.emcg-edit-page-v2 .emcg-handle-feedback-v3.is-checking [data-handle-status]:before{
  background:var(--edit-blue);
  animation:emcg-handle-pulse-v3 .8s ease-in-out infinite alternate;
}
.emcg-edit-page-v2 .emcg-handle-feedback-v3.is-taken [data-handle-status],
.emcg-edit-page-v2 .emcg-handle-feedback-v3.is-invalid [data-handle-status]{
  color:#C63548;
}
.emcg-edit-page-v2 .emcg-handle-feedback-v3.is-taken [data-handle-status]:before,
.emcg-edit-page-v2 .emcg-handle-feedback-v3.is-invalid [data-handle-status]:before{
  background:#E9485B;
}
.emcg-edit-page-v2 .emcg-handle-feedback-v3 [data-handle-public-url]{
  min-width:0;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:var(--edit-blue)!important;
  font-size:8px!important;
  line-height:1.35!important;
  font-weight:850!important;
  text-decoration:none!important;
  border-bottom:1px solid rgba(0,100,249,.22);
}
.emcg-edit-page-v2 .emcg-handle-input-v2:has(input[aria-invalid="true"]){
  border-color:#E9485B!important;
  box-shadow:0 0 0 3px rgba(233,72,91,.08)!important;
}
@keyframes emcg-handle-pulse-v3{from{opacity:.35}to{opacity:1}}

/* Mobile-only dirty-state save rail. */
.emcg-edit-mobile-save-v3{
  display:none;
}
.emcg-edit-mobile-save-v3[hidden]{display:none!important}

@media(max-width:760px){
  .emcg-edit-page-v2{
    padding-bottom:68px!important;
  }
  .emcg-edit-page-v2 .emcg-photo-picker-v3{
    grid-template-columns:68px minmax(0,1fr);
    gap:12px;
    min-height:94px;
    padding:11px;
    border-radius:13px;
  }
  .emcg-edit-page-v2 .emcg-photo-current-v3{
    width:68px;
    height:68px;
  }
  .emcg-edit-page-v2 .emcg-photo-picker-copy-v3>strong{
    font-size:16px;
  }
  .emcg-edit-page-v2 .emcg-photo-picker-copy-v3>span,
  .emcg-edit-page-v2 .emcg-photo-error-v3,
  .emcg-edit-page-v2 .emcg-handle-feedback-v3 [data-handle-status],
  .emcg-edit-page-v2 .emcg-handle-feedback-v3 [data-handle-public-url]{
    font-size:7px!important;
  }
  .emcg-edit-page-v2 .emcg-photo-actions-v3{
    gap:6px;
    margin-top:9px;
  }
  .emcg-edit-page-v2 .emcg-photo-change-v3,
  .emcg-edit-page-v2 .emcg-photo-remove-v3{
    min-height:31px;
    padding:0 10px!important;
    font-size:7px!important;
  }
  .emcg-edit-page-v2 .emcg-handle-feedback-v3{
    display:grid;
    grid-template-columns:1fr;
    gap:4px;
  }
  .emcg-edit-mobile-save-v3{
    position:fixed;
    z-index:9998;
    left:10px;
    right:10px;
    bottom:max(10px, env(safe-area-inset-bottom));
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:12px;
    min-height:54px;
    padding:7px 7px 7px 14px;
    border:1px solid rgba(255,255,255,.12);
    border-radius:17px;
    background:rgba(0,12,50,.96);
    box-shadow:0 14px 36px rgba(0,12,50,.28);
    backdrop-filter:blur(14px);
  }
  .emcg-edit-mobile-save-v3>span{
    min-width:0;
    color:#fff;
    font-size:8px;
    line-height:1.25;
    font-weight:900;
  }
  .emcg-edit-mobile-save-v3>button{
    min-height:40px;
    border:0;
    border-radius:999px;
    padding:0 14px;
    background:var(--edit-yellow);
    color:var(--edit-ink);
    font-size:8px;
    line-height:1;
    font-weight:950;
  }
  .emcg-edit-mobile-save-v3.is-blocked>button:disabled{
    opacity:.42!important;
  }
  .emcg-edit-mobile-save-v3.is-saved{
    background:#000C32;
  }
  .emcg-edit-mobile-save-v3.is-saved>button{
    display:none;
  }
}

@media(max-width:390px){
  .emcg-edit-page-v2 .emcg-photo-picker-v3{
    grid-template-columns:60px minmax(0,1fr);
  }
  .emcg-edit-page-v2 .emcg-photo-current-v3{
    width:60px;
    height:60px;
  }
  .emcg-edit-page-v2 .emcg-photo-actions-v3{
    align-items:stretch;
  }
}

/* ================================================================
   Coast Identity v0.50.2 — privacy, portrait framing and white cards
   ================================================================ */

/* Public identity should read as part of the editorial page, not a dark card. */
.emcg-edit-page-v2 .emcg-edit-preview-card-v2{
  background:#fff!important;
  color:var(--edit-ink)!important;
  border:1px solid var(--edit-line)!important;
  box-shadow:0 14px 36px rgba(0,12,50,.07)!important;
}
.emcg-edit-page-v2 .emcg-edit-preview-card-v2:after{
  color:rgba(0,12,50,.028)!important;
}
.emcg-edit-page-v2 .emcg-edit-preview-card-v2 h2{
  color:var(--edit-ink)!important;
}
.emcg-edit-page-v2 .emcg-edit-preview-meta-v2{
  color:var(--edit-muted)!important;
}
.emcg-edit-page-v2 .emcg-edit-preview-meta-v2 > span:first-child{
  color:var(--edit-blue)!important;
}
.emcg-edit-page-v2 .emcg-edit-preview-card-v2 > p{
  color:#33445A!important;
}
.emcg-edit-page-v2 .emcg-edit-preview-links-v2{
  border-top-color:var(--edit-line)!important;
}
.emcg-edit-page-v2 .emcg-edit-preview-links-v2 span{
  color:var(--edit-ink)!important;
}

/* The bottom action area uses the normal page surface too. */
.emcg-edit-page-v2 .emcg-edit-footer-v2{
  background:#fff!important;
  color:var(--edit-ink)!important;
  border:1px solid var(--edit-line)!important;
  box-shadow:0 10px 28px rgba(0,12,50,.045)!important;
}
.emcg-edit-page-v2 .emcg-edit-footer-v2 strong{
  color:var(--edit-ink)!important;
}
.emcg-edit-page-v2 .emcg-edit-footer-v2 > div:first-child span{
  color:var(--edit-muted)!important;
}
.emcg-edit-page-v2 .emcg-edit-footer-actions-v2 a{
  border-color:var(--edit-line-strong)!important;
  color:var(--edit-ink)!important;
  background:#fff!important;
}

/* Every action label sits optically and mathematically in the middle. */
.emcg-edit-page-v2 .emcg-edit-heading-actions-v2 button,
.emcg-edit-page-v2 .emcg-edit-heading-actions-v2 a,
.emcg-edit-page-v2 .emcg-edit-footer-actions-v2 button,
.emcg-edit-page-v2 .emcg-edit-footer-actions-v2 a,
.emcg-edit-page-v2 .emcg-photo-change-v3,
.emcg-edit-page-v2 .emcg-photo-remove-v3,
.emcg-edit-page-v2 .emcg-edit-mobile-save-v3 button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  text-align:center!important;
  line-height:1!important;
}

/* Public display name is deliberately separate from WordPress account identity. */
.emcg-edit-page-v2 .emcg-display-name-field-v4 input{
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:19px!important;
  font-weight:700!important;
  letter-spacing:-.015em!important;
}

/* Portrait framing controls. */
.emcg-edit-page-v2 .emcg-photo-crop-v4{
  display:grid;
  grid-template-columns:132px minmax(0,1fr);
  gap:18px;
  align-items:center;
  margin-top:12px;
  padding:14px;
  border:1px solid var(--edit-line);
  border-radius:15px;
  background:#FAFCFE;
}
.emcg-edit-page-v2 .emcg-photo-crop-preview-v4{
  width:132px;
  height:132px;
  overflow:hidden;
  border-radius:50%;
  background:#EAF0F7;
  border:3px solid #fff;
  box-shadow:0 0 0 2px var(--edit-yellow);
}
.emcg-edit-page-v2 .emcg-photo-crop-preview-v4 img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transform-origin:center center;
  will-change:transform,object-position;
}
.emcg-edit-page-v2 .emcg-photo-current-v3 img,
.emcg-edit-page-v2 .emcg-edit-avatar-v2 img{
  transform-origin:center center;
  will-change:transform,object-position;
}
.emcg-edit-page-v2 .emcg-photo-crop-controls-v4{
  min-width:0;
  display:grid;
  gap:9px;
}
.emcg-edit-page-v2 .emcg-photo-crop-heading-v4{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.emcg-edit-page-v2 .emcg-photo-crop-heading-v4 strong{
  color:var(--edit-ink);
  font-size:10px;
  font-weight:950;
}
.emcg-edit-page-v2 .emcg-photo-crop-heading-v4 button{
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:var(--edit-blue)!important;
  font-size:8px!important;
  font-weight:900!important;
  cursor:pointer;
}
.emcg-edit-page-v2 .emcg-photo-crop-controls-v4 label{
  display:grid;
  grid-template-columns:88px minmax(0,1fr);
  gap:10px;
  align-items:center;
  margin:0!important;
}
.emcg-edit-page-v2 .emcg-photo-crop-controls-v4 label > span{
  display:flex;
  justify-content:space-between;
  gap:6px;
  color:var(--edit-muted);
  font-size:8px;
  line-height:1.2;
  font-weight:800;
}
.emcg-edit-page-v2 .emcg-photo-crop-controls-v4 label > span b{
  color:var(--edit-ink);
}
.emcg-edit-page-v2 .emcg-photo-crop-controls-v4 input[type="range"]{
  width:100%!important;
  height:4px!important;
  min-height:4px!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:999px!important;
  background:#DCE5EF!important;
  box-shadow:none!important;
  accent-color:var(--edit-blue);
}

@media(max-width:760px){
  .emcg-edit-page-v2 .emcg-display-name-field-v4 input{
    font-size:17px!important;
  }
  .emcg-edit-page-v2 .emcg-photo-crop-v4{
    grid-template-columns:94px minmax(0,1fr);
    gap:12px;
    padding:11px;
  }
  .emcg-edit-page-v2 .emcg-photo-crop-preview-v4{
    width:94px;
    height:94px;
  }
  .emcg-edit-page-v2 .emcg-photo-crop-controls-v4{
    gap:7px;
  }
  .emcg-edit-page-v2 .emcg-photo-crop-controls-v4 label{
    grid-template-columns:1fr;
    gap:4px;
  }
}

@media(max-width:430px){
  .emcg-edit-page-v2 .emcg-photo-crop-v4{
    grid-template-columns:82px minmax(0,1fr);
  }
  .emcg-edit-page-v2 .emcg-photo-crop-preview-v4{
    width:82px;
    height:82px;
  }
}

/* ================================================================
   Coast Identity v0.50.3 — portrait controls + quiet text actions
   ================================================================ */

/* Top actions are editorial text controls, not pills. */
.emcg-edit-page-v2 .emcg-edit-heading-actions-v2{
  gap:18px!important;
}
.emcg-edit-page-v2 .emcg-edit-heading-actions-v2 .emcg-edit-view-v2,
.emcg-edit-page-v2 .emcg-edit-heading-actions-v2 .emcg-edit-save-top-v2{
  min-height:0!important;
  height:auto!important;
  padding:0!important;
  border:0!important;
  border-bottom:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--edit-ink)!important;
  text-decoration:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}
.emcg-edit-page-v2 .emcg-edit-heading-actions-v2 .emcg-edit-view-v2:hover,
.emcg-edit-page-v2 .emcg-edit-heading-actions-v2 .emcg-edit-view-v2:focus-visible,
.emcg-edit-page-v2 .emcg-edit-heading-actions-v2 .emcg-edit-save-top-v2:hover,
.emcg-edit-page-v2 .emcg-edit-heading-actions-v2 .emcg-edit-save-top-v2:focus-visible{
  background:transparent!important;
  border:0!important;
  color:var(--edit-blue)!important;
  text-decoration:none!important;
  outline:none!important;
}

/* Photo actions read as lightweight text links while retaining native controls. */
.emcg-edit-page-v2 .emcg-photo-actions-v3{
  gap:16px!important;
  margin-top:10px!important;
}
.emcg-edit-page-v2 .emcg-photo-change-v3,
.emcg-edit-page-v2 .emcg-photo-remove-v3{
  min-height:0!important;
  height:auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--edit-ink)!important;
  text-decoration:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}
.emcg-edit-page-v2 .emcg-photo-change-v3:hover,
.emcg-edit-page-v2 .emcg-photo-change-v3:focus-visible,
.emcg-edit-page-v2 .emcg-photo-remove-v3:hover,
.emcg-edit-page-v2 .emcg-photo-remove-v3:focus-visible{
  background:transparent!important;
  color:var(--edit-blue)!important;
  text-decoration:underline!important;
  text-underline-offset:3px;
  outline:none!important;
}

/* Centre the Website field beneath the two Around-the-web columns. */
.emcg-edit-page-v2 .emcg-website-field-v5{
  width:calc(50% - 6px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

@media(max-width:760px){
  .emcg-edit-page-v2 .emcg-edit-heading-actions-v2{
    gap:16px!important;
  }
  .emcg-edit-page-v2 .emcg-photo-change-v3,
  .emcg-edit-page-v2 .emcg-photo-remove-v3{
    min-height:0!important;
    padding:0!important;
  }
  .emcg-edit-page-v2 .emcg-website-field-v5{
    width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
  }
}



/* ================================================================
   Coast Identity v0.50.4 — remove duplicate mobile save rail
   ================================================================ */

/* The page already has save actions at the top and at the end of the form.
   Do not reserve mobile viewport space for a third floating save control. */
@media(max-width:760px){
  .emcg-edit-page-v2{
    padding-bottom:0!important;
  }
}

/* Top save stays a quiet editorial text action. It becomes Royal Blue only when
   there is actually something available to save. */
.emcg-edit-page-v2 .emcg-edit-heading-actions-v2 .emcg-edit-save-top-v2{
  min-height:0!important;
  height:auto!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  text-decoration:none!important;
  appearance:none!important;
  -webkit-appearance:none!important;
}
.emcg-edit-page-v2 .emcg-edit-heading-actions-v2 .emcg-edit-save-top-v2:disabled{
  color:var(--edit-muted)!important;
  opacity:.62!important;
  cursor:default!important;
}
.emcg-edit-page-v2 .emcg-edit-heading-actions-v2 .emcg-edit-save-top-v2:not(:disabled){
  color:var(--edit-blue)!important;
  opacity:1!important;
  font-weight:950!important;
  cursor:pointer!important;
}
.emcg-edit-page-v2 .emcg-edit-heading-actions-v2 .emcg-edit-save-top-v2:not(:disabled):hover,
.emcg-edit-page-v2 .emcg-edit-heading-actions-v2 .emcg-edit-save-top-v2:not(:disabled):focus-visible{
  color:var(--edit-ink)!important;
  background:transparent!important;
  border:0!important;
  outline:none!important;
}

/* ================================================================
   Coast Identity v0.50.5 — canonical palette + compact mobile save
   Canonical identity palette:
   #000C32 Navy ink · #0064F9 Royal Blue · #FFB300 Amber · #FFFFFF
   Fuchsia is reserved for Following relationship signals elsewhere.
   ================================================================ */

/* Keep this editor on the current Exploring Mombasa product palette. */
.emcg-edit-page-v2{
  --edit-ink:#000C32!important;
  --edit-blue:#0064F9!important;
  --edit-blue-deep:#0064F9!important;
  --edit-yellow:#FFB300!important;
  --edit-paper:#FFFFFF!important;
}

/* The preview accent uses only Royal Blue + Amber. */
.emcg-edit-page-v2 .emcg-edit-preview-card-v2:before{
  background:linear-gradient(90deg,#0064F9 0 72%,#FFB300 72% 100%)!important;
}
.emcg-edit-page-v2 .emcg-edit-preview-label-v2 span{
  background:#FFB300!important;
  box-shadow:0 0 0 4px rgba(255,179,0,.12)!important;
}
.emcg-edit-page-v2 .emcg-edit-meta-dot-v2{
  background:#0064F9!important;
}

/* Interactive controls use Royal Blue rather than the retired Royal Blue. */
.emcg-edit-page-v2 .emcg-privacy-option-v2 > input:checked + .emcg-privacy-switch-v2{
  background:#0064F9!important;
}
.emcg-edit-page-v2 .emcg-privacy-option-v2:has(> input:checked){
  border-color:rgba(0,100,249,.30)!important;
  background:#FFFFFF!important;
}
.emcg-edit-page-v2 .emcg-photo-crop-controls-v4 input[type="range"]{
  accent-color:#0064F9!important;
}
.emcg-edit-page-v2 .emcg-edit-feedback-v2,
.emcg-edit-page-v2 .emcg-edit-notice-v2{
  border-left-color:#0064F9!important;
  background:#FFFFFF!important;
}
.emcg-edit-page-v2 .emcg-handle-feedback-v3.is-current [data-handle-status]:before,
.emcg-edit-page-v2 .emcg-handle-feedback-v3.is-available [data-handle-status]:before,
.emcg-edit-page-v2 .emcg-handle-feedback-v3.is-fallback [data-handle-status]:before{
  background:#0064F9!important;
}

/* Text actions: Royal Blue when actionable, Amber on hover. */
.emcg-edit-page-v2 .emcg-edit-heading-actions-v2 .emcg-edit-save-top-v2:not(:disabled){
  color:#0064F9!important;
}
.emcg-edit-page-v2 .emcg-edit-heading-actions-v2 .emcg-edit-save-top-v2:not(:disabled):hover,
.emcg-edit-page-v2 .emcg-edit-heading-actions-v2 .emcg-edit-save-top-v2:not(:disabled):focus-visible,
.emcg-edit-page-v2 .emcg-edit-heading-actions-v2 .emcg-edit-view-v2:hover,
.emcg-edit-page-v2 .emcg-edit-heading-actions-v2 .emcg-edit-view-v2:focus-visible,
.emcg-edit-page-v2 .emcg-photo-change-v3:hover,
.emcg-edit-page-v2 .emcg-photo-change-v3:focus-visible,
.emcg-edit-page-v2 .emcg-photo-remove-v3:hover,
.emcg-edit-page-v2 .emcg-photo-remove-v3:focus-visible{
  color:#FFB300!important;
  background:transparent!important;
  border-color:transparent!important;
}

/* Primary save action: Royal Blue, Amber on hover. */
.emcg-edit-page-v2 .emcg-edit-footer-actions-v2 .emcg-edit-save-v2{
  width:auto!important;
  min-width:0!important;
  flex:0 0 auto!important;
  background:#0064F9!important;
  border-color:#0064F9!important;
  color:#FFFFFF!important;
}
.emcg-edit-page-v2 .emcg-edit-footer-actions-v2 .emcg-edit-save-v2:not(:disabled):hover,
.emcg-edit-page-v2 .emcg-edit-footer-actions-v2 .emcg-edit-save-v2:not(:disabled):focus-visible{
  background:#FFB300!important;
  border-color:#FFB300!important;
  color:#000C32!important;
}
.emcg-edit-page-v2 .emcg-edit-footer-actions-v2 .emcg-edit-save-v2:disabled{
  background:#0064F9!important;
  border-color:#0064F9!important;
  color:#FFFFFF!important;
  opacity:.46!important;
}

/* Mobile: do not stretch the save action across the remaining row. */
@media(max-width:760px){
  .emcg-edit-page-v2 .emcg-edit-footer-actions-v2{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-wrap:wrap!important;
    gap:10px!important;
    margin-top:14px!important;
  }
  .emcg-edit-page-v2 .emcg-edit-footer-actions-v2 a,
  .emcg-edit-page-v2 .emcg-edit-footer-actions-v2 button{
    width:auto!important;
    min-width:0!important;
    flex:0 0 auto!important;
    min-height:38px!important;
    padding:0 14px!important;
  }
}

/* ================================================================
   Coast Identity v0.50.6 — save states + mobile Website rhythm
   ================================================================ */

/* Disabled is intentionally quiet, not a washed-out version of Royal Blue. */
.emcg-edit-page-v2 .emcg-edit-footer-actions-v2 .emcg-edit-save-v2:disabled{
  background:#FFFFFF!important;
  border:1px solid rgba(0,12,50,.18)!important;
  color:rgba(0,12,50,.46)!important;
  opacity:1!important;
  cursor:default!important;
  box-shadow:none!important;
}

/* As soon as there is something to save, use the canonical primary action. */
.emcg-edit-page-v2 .emcg-edit-footer-actions-v2 .emcg-edit-save-v2:not(:disabled){
  background:#0064F9!important;
  border-color:#0064F9!important;
  color:#FFFFFF!important;
  opacity:1!important;
}
.emcg-edit-page-v2 .emcg-edit-footer-actions-v2 .emcg-edit-save-v2:not(:disabled):hover,
.emcg-edit-page-v2 .emcg-edit-footer-actions-v2 .emcg-edit-save-v2:not(:disabled):focus-visible{
  background:#FFB300!important;
  border-color:#FFB300!important;
  color:#000C32!important;
}

/* Desktop keeps Website centred below the two web fields. Mobile returns it
   to the same left edge as the other fields and gives it its own breathing room. */
@media(max-width:760px){
  .emcg-edit-page-v2 .emcg-website-field-v5{
    width:100%!important;
    margin:12px 0 0!important;
  }
  .emcg-edit-page-v2 .emcg-website-field-v5 > label{
    display:block!important;
    width:100%!important;
    margin:0 0 7px!important;
    text-align:left!important;
  }
}


/* ================================================================
   Coast Identity v0.53.0 — self-service account controls + action colour
   ================================================================ */

/* Give the final actions a deliberate Coast palette rather than two pale pills. */
.emcg-edit-page-v2 .emcg-edit-footer-actions-v2 > a{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:40px!important;
  padding:0 17px!important;
  border:1.5px solid #0064F9!important;
  border-radius:999px!important;
  background:#FFFFFF!important;
  color:#000C32!important;
  font-weight:900!important;
  text-decoration:none!important;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease!important;
}
.emcg-edit-page-v2 .emcg-edit-footer-actions-v2 > a:hover,
.emcg-edit-page-v2 .emcg-edit-footer-actions-v2 > a:focus-visible{
  background:#FFB300!important;
  border-color:#FFB300!important;
  color:#000C32!important;
  text-decoration:none!important;
  outline:none!important;
}
.emcg-edit-page-v2 .emcg-edit-footer-actions-v2 .emcg-edit-save-v2:not(:disabled){
  background:#0064F9!important;
  border-color:#0064F9!important;
  color:#FFFFFF!important;
}
.emcg-edit-page-v2 .emcg-edit-footer-actions-v2 .emcg-edit-save-v2:not(:disabled):hover,
.emcg-edit-page-v2 .emcg-edit-footer-actions-v2 .emcg-edit-save-v2:not(:disabled):focus-visible{
  background:#FFB300!important;
  border-color:#FFB300!important;
  color:#000C32!important;
}
.emcg-edit-page-v2 .emcg-edit-footer-actions-v2 .emcg-edit-save-v2:disabled{
  background:#FFFFFF!important;
  border:1.5px solid rgba(0,100,249,.34)!important;
  color:rgba(0,12,50,.46)!important;
  opacity:1!important;
}

.emcg-account-privacy-v6{
  max-width:1100px;
  margin:30px auto 0;
  padding:26px 0 4px;
  border-top:1px solid rgba(0,12,50,.14);
  color:#000C32;
}
.emcg-account-privacy-head-v6{max-width:760px}
.emcg-account-privacy-head-v6>span{
  display:block;
  margin-bottom:7px;
  color:#0064F9;
  font-size:10px;
  font-weight:950;
  letter-spacing:.16em;
  text-transform:uppercase;
}
.emcg-account-privacy-head-v6 h2{
  margin:0;
  color:#000C32;
  font-family:Georgia,'Times New Roman',serif;
  font-size:30px;
  line-height:1;
}
.emcg-account-privacy-head-v6 p{
  margin:9px 0 0;
  color:rgba(0,12,50,.68);
  font-size:13px;
  line-height:1.55;
}
.emcg-account-action-v6{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-top:22px;
  padding:17px 0;
  border-top:1px solid rgba(0,12,50,.10);
}
.emcg-account-action-v6>div{display:grid;gap:4px}
.emcg-account-action-v6 strong{font-size:14px;color:#000C32}
.emcg-account-action-v6 span{font-size:12px;line-height:1.45;color:rgba(0,12,50,.62)}
.emcg-account-action-v6 form{margin:0;flex:0 0 auto}
.emcg-account-action-button-v6{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  padding:0 15px;
  border:1.5px solid #0064F9;
  border-radius:999px;
  background:#FFFFFF;
  color:#000C32;
  font:inherit;
  font-size:11px;
  font-weight:950;
  cursor:pointer;
  transition:background .18s ease,border-color .18s ease,color .18s ease;
}
.emcg-account-action-button-v6.is-primary{background:#0064F9;color:#FFFFFF}
.emcg-account-action-button-v6:hover,
.emcg-account-action-button-v6:focus-visible{
  background:#FFB300;
  border-color:#FFB300;
  color:#000C32;
  outline:none;
}
.emcg-account-delete-v6{
  margin-top:2px;
  padding:17px 0;
  border-top:1px solid rgba(0,12,50,.10);
}
.emcg-account-delete-v6 summary{
  width:max-content;
  color:#000C32;
  font-size:12px;
  font-weight:950;
  cursor:pointer;
  list-style-position:outside;
}
.emcg-account-delete-v6 summary:hover{color:#0064F9}
.emcg-account-delete-body-v6{
  max-width:760px;
  padding-top:13px;
}
.emcg-account-delete-body-v6 p{
  margin:0 0 12px;
  color:rgba(0,12,50,.70);
  font-size:12px;
  line-height:1.55;
}
.emcg-account-delete-body-v6 label{
  display:block;
  margin-bottom:6px;
  color:#000C32;
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.emcg-account-delete-confirm-v6{
  display:flex;
  align-items:center;
  gap:8px;
}
.emcg-account-delete-confirm-v6 input{
  width:180px;
  height:40px;
  padding:0 12px;
  border:1px solid rgba(0,12,50,.18);
  border-radius:10px;
  background:#FFFFFF;
  color:#000C32;
  font:inherit;
  font-size:13px;
  text-transform:uppercase;
}
.emcg-account-action-button-v6.is-delete:not(:disabled){
  border-color:#000C32;
  background:#000C32;
  color:#FFFFFF;
}
.emcg-account-action-button-v6.is-delete:not(:disabled):hover,
.emcg-account-action-button-v6.is-delete:not(:disabled):focus-visible{
  border-color:#FFB300;
  background:#FFB300;
  color:#000C32;
}
.emcg-account-action-button-v6:disabled{
  border-color:rgba(0,12,50,.14);
  background:#FFFFFF;
  color:rgba(0,12,50,.34);
  cursor:default;
}

@media(max-width:760px){
  .emcg-account-privacy-v6{
    margin-top:22px;
    padding-top:21px;
  }
  .emcg-account-privacy-head-v6 h2{font-size:27px}
  .emcg-account-action-v6{
    display:grid;
    gap:12px;
  }
  .emcg-account-action-v6 form{justify-self:start}
  .emcg-account-delete-confirm-v6{
    align-items:stretch;
    flex-direction:column;
  }
  .emcg-account-delete-confirm-v6 input{width:100%}
  .emcg-account-delete-confirm-v6 .emcg-account-action-button-v6{width:max-content}
}


/* ================================================================
   Coast Identity v0.53.1 — flatter save rail + clearer helper copy
   ================================================================ */

/* The final save area is a conclusion, not another card/module. */
.emcg-edit-page-v2 .emcg-edit-footer-v2{
  margin-top:0!important;
  padding:22px 0 0!important;
  border:0!important;
  border-top:1px solid rgba(0,12,50,.14)!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.emcg-edit-page-v2 .emcg-edit-footer-v2 strong{
  font-size:21px!important;
}
.emcg-edit-page-v2 .emcg-edit-footer-v2 > div:first-child span{
  margin-top:6px!important;
  color:#53647A!important;
  font-size:10px!important;
  line-height:1.55!important;
}

/* Helper text must remain readable, especially on a phone. */
.emcg-edit-page-v2 .emcg-edit-section-head-v2 p{
  color:#53647A!important;
  font-size:11px!important;
  line-height:1.55!important;
}
.emcg-edit-page-v2 .emcg-field small,
.emcg-edit-page-v2 .emcg-field-label-row-v2 > span{
  color:#53647A!important;
  font-size:10px!important;
  line-height:1.55!important;
}
.emcg-edit-page-v2 .emcg-privacy-copy-v2 small{
  color:#53647A!important;
  font-size:10px!important;
  line-height:1.5!important;
}
.emcg-edit-page-v2 .emcg-edit-preview-note-v2 p{
  color:#53647A!important;
  font-size:10px!important;
  line-height:1.55!important;
}

@media(max-width:760px){
  .emcg-edit-page-v2 .emcg-edit-footer-v2{
    padding:20px 0 0!important;
  }
  .emcg-edit-page-v2 .emcg-edit-footer-v2 strong{
    font-size:20px!important;
  }
  .emcg-edit-page-v2 .emcg-edit-footer-v2 > div:first-child span,
  .emcg-edit-page-v2 .emcg-edit-section-head-v2 p,
  .emcg-edit-page-v2 .emcg-field small,
  .emcg-edit-page-v2 .emcg-field-label-row-v2 > span,
  .emcg-edit-page-v2 .emcg-privacy-copy-v2 small{
    font-size:9px!important;
    line-height:1.55!important;
  }
}


/* ================================================================
   Coast Identity v0.53.2 — canonical brand lock
   #000C32 Navy · #0064F9 Royal Blue · #FFB300 Amber · #FFFFFF White
   Fuchsia #ED0F81 remains reserved for Following relationship ticks.
   ================================================================ */
.emcg-edit-page-v2{
  --edit-ink:#000C32!important;
  --edit-blue:#0064F9!important;
  --edit-blue-deep:#0064F9!important;
  --edit-yellow:#FFB300!important;
  --edit-paper:#FFFFFF!important;
}
.emcg-edit-page-v2 .emcg-privacy-option-v2 > input:checked + .emcg-privacy-switch-v2,
.emcg-edit-page-v2 .emcg-edit-meta-dot-v2,
.emcg-edit-page-v2 .emcg-handle-feedback-v3.is-current [data-handle-status]:before,
.emcg-edit-page-v2 .emcg-handle-feedback-v3.is-available [data-handle-status]:before,
.emcg-edit-page-v2 .emcg-handle-feedback-v3.is-fallback [data-handle-status]:before{
  background:#0064F9!important;
}
.emcg-edit-page-v2 .emcg-privacy-option-v2:has(> input:checked){
  border-color:rgba(0,100,249,.30)!important;
  background:#FFFFFF!important;
}
.emcg-edit-page-v2 .emcg-photo-crop-controls-v4 input[type="range"]{accent-color:#0064F9!important;}
.emcg-edit-page-v2 .emcg-edit-notice-v2,
.emcg-edit-page-v2 .emcg-edit-feedback-v2{
  border-left-color:#0064F9!important;
  background:#FFFFFF!important;
}
.emcg-edit-page-v2 .emcg-edit-preview-card-v2:before{
  background:linear-gradient(90deg,#0064F9 0 72%,#FFB300 72% 100%)!important;
}
.emcg-edit-page-v2 .emcg-edit-preview-label-v2 span{
  background:#FFB300!important;
  box-shadow:0 0 0 4px rgba(255,179,0,.12)!important;
}

/* ================================================================
   Coast Graph v0.53.7 — Activity notification badge
   Fuchsia is reserved for relationship / notification attention.
   ================================================================ */
.emcg-product-nav .emcg-product-nav-activity{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
}
.emcg-product-nav .emcg-product-nav-activity > b[data-emcg-activity-badge]{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:0 0 auto!important;
  min-width:20px!important;
  height:20px!important;
  padding:0 5px!important;
  margin:0!important;
  border:0!important;
  border-radius:999px!important;
  background:#ED0F81!important;
  color:#FFFFFF!important;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1!important;
  font-variant-numeric:tabular-nums!important;
  letter-spacing:0!important;
  -webkit-font-smoothing:antialiased!important;
  text-align:center!important;
  vertical-align:middle!important;
}

