/* =========================================================================
   EE STANDALONE  -- full component system for the branded template pages
   (EE Standalone Page, EE Login, EE Live). Enqueued ONLY on those pages,
   so the generic class names below never touch the FluentCommunity portal.
   ========================================================================= */

body.ee-standalone, body.ee-standalone *{margin:0;padding:0;box-sizing:border-box;}
body.ee-standalone{
  background:var(--ink); color:var(--t-body); font-family:var(--sans); line-height:1.6;
  -webkit-font-smoothing:antialiased; letter-spacing:0.01em; overflow-x:hidden;
}
/* :not(.ee-landing) mirrors style.css so this rule keeps identical specificity
   and wins by source order (this file never loads on the landing template). */
body.ee-standalone:not(.ee-landing) h1,body.ee-standalone:not(.ee-landing) h2,body.ee-standalone:not(.ee-landing) h3,body.ee-standalone h4{
  font-family:var(--serif); color:#fff; font-weight:500; line-height:1.05;
  letter-spacing:0.005em; text-wrap:balance;
}
body.ee-standalone a{color:var(--copper); text-decoration:none; transition:color .2s var(--ease);}
body.ee-standalone a:hover{color:var(--copper-soft);}
body.ee-standalone button{font-family:inherit;}
body.ee-standalone :focus-visible{outline:2px solid var(--copper); outline-offset:3px; border-radius:3px;}
.tnum{font-variant-numeric:tabular-nums;}

/* ambient ground */
.ee-standalone .bg-atmos{position:fixed; inset:0; z-index:0; pointer-events:none;
  background:var(--ink);}
.ee-standalone .bg-grain{position:fixed; inset:0; z-index:0; pointer-events:none; opacity:.04; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");}
.ee-standalone .shell{position:relative; z-index:1;}

/* ============ NAV ============ */
.ee-standalone .nav{position:sticky; top:0; z-index:60; display:flex; align-items:center; gap:28px;
  padding:16px clamp(18px,4vw,40px); background:rgba(13,13,13,0.82);
  backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); border-bottom:1px solid var(--b);}
.ee-standalone .brand{display:flex; flex-direction:column; line-height:1; gap:4px; margin-right:auto; text-decoration:none;}
.ee-standalone .brand .word{font-family:var(--serif); font-weight:500; font-size:22px; color:#fff; letter-spacing:.06em;}
.ee-standalone .brand .word b{color:var(--copper); font-weight:500;}
.ee-standalone .brand .sub{font-size:9.5px; letter-spacing:.42em; text-transform:uppercase; color:#fff; font-weight:600; padding-left:2px;}
.ee-standalone .navlinks{display:flex; gap:26px; align-items:center;}
.ee-standalone .navlinks a{color:var(--t-sec); font-size:13.5px; font-weight:600; letter-spacing:.02em;}
.ee-standalone .navlinks a:hover,.ee-standalone .navlinks a.on{color:#fff;}
.ee-standalone .nav-right{display:flex; align-items:center; gap:16px;}
.ee-standalone .iconbtn{width:38px; height:38px; border-radius:50%; border:1px solid var(--b); background:rgba(255,255,255,0.02);
  display:grid; place-items:center; color:var(--t-sec); cursor:pointer; position:relative; transition:.2s var(--ease);}
.ee-standalone .iconbtn:hover{border-color:var(--b-copper); color:#fff;}
.ee-standalone .iconbtn .dot{position:absolute; top:8px; right:9px; width:7px; height:7px; border-radius:50%; background:var(--copper); border:2px solid var(--ink);}
.ee-standalone .chip{display:flex; align-items:center; gap:10px; padding:5px 14px 5px 5px; border-radius:40px;
  border:1px solid var(--b); background:rgba(255,255,255,0.02); cursor:pointer; transition:.2s var(--ease);}
.ee-standalone .chip:hover{border-color:var(--b-copper);}
.ee-standalone .chip .who{display:flex; flex-direction:column; line-height:1.15;}
.ee-standalone .chip .who .n{font-size:12.5px; font-weight:600; color:#fff;}
.ee-standalone .chip .who .t{font-size:10px; color:var(--copper); letter-spacing:.08em; text-transform:uppercase;}
.ee-standalone .avatar{width:32px; height:32px; border-radius:50%; display:grid; place-items:center; font-family:var(--serif);
  font-weight:500; color:#fff; background:var(--copper); font-size:15px; flex:none;}
.ee-standalone .avatar.lg{width:64px; height:64px; font-size:26px; border:2px solid var(--b-copper);}

/* ============ LAYOUT ============ */
.ee-standalone .wrap{max-width:var(--ee-maxw); margin:0 auto; padding:clamp(28px,5vw,60px) clamp(18px,4vw,40px);}
.ee-standalone .eyebrow{font-size:.72rem; letter-spacing:.32em; text-transform:uppercase; color:#fff; font-weight:600;
  display:inline-flex; align-items:center; gap:12px; margin-bottom:14px;}
.ee-standalone .pagehead{margin-bottom:38px;}
.ee-standalone .pagehead h1{font-size:clamp(2.4rem,5vw,3.6rem); color:#fff;}
.ee-standalone .pagehead h1::after{content:""; display:block; width:72px; height:1px; background:var(--copper); margin-top:18px;}
.ee-standalone .pagehead h1 .g{color:#fff; font-style:italic;}
.ee-standalone .pagehead p{color:var(--t-sec); max-width:60ch; margin-top:12px; font-size:15.5px;}

/* buttons */
.ee-standalone .btn{display:inline-flex; align-items:center; justify-content:center; gap:9px; background:var(--copper); color:#fff;
  font-weight:600; font-size:13.5px; letter-spacing:.14em; text-transform:uppercase; padding:14px 30px; border-radius:4px;
  border:none; cursor:pointer; transition:.2s var(--ease); text-decoration:none;}
.ee-standalone .btn:hover{background:var(--copper-soft);}
.ee-standalone .btn.full{width:100%;}
.ee-standalone .btn.copper{background:var(--copper);} .ee-standalone .btn.copper:hover{background:var(--copper-soft);}
.ee-standalone .btn.ghost{background:transparent; color:#fff; border:1px solid var(--copper);}
.ee-standalone .btn.ghost:hover{border-color:var(--copper-soft); color:#fff; background:transparent; box-shadow:none;}
.ee-standalone .btn.sm{padding:9px 18px; font-size:11.5px;}

/* pills */
.ee-standalone .pill{display:inline-flex; align-items:center; gap:7px; font-size:11px; font-weight:600; letter-spacing:.08em;
  text-transform:uppercase; padding:5px 12px; border-radius:40px; border:1px solid;}
.ee-standalone .pill.good{color:var(--good); background:var(--good-dim); border-color:rgba(55,217,154,0.3);}
.ee-standalone .pill.warn{color:var(--warn); background:var(--warn-dim); border-color:rgba(240,160,32,0.3);}
.ee-standalone .pill.copper{color:var(--copper); background:var(--copper-dim); border-color:var(--b-copper);}
.ee-standalone .pill.bad{color:var(--bad); background:var(--bad-dim); border-color:rgba(255,107,107,0.3);}
.ee-standalone .pill .d{width:7px; height:7px; border-radius:50%; background:currentColor;}
.ee-standalone .pill .d.live{animation:ee-pulse 1.6s infinite;}
@keyframes ee-pulse{0%,100%{opacity:1; box-shadow:0 0 0 0 rgba(255,107,107,0.5);} 50%{opacity:.5; box-shadow:0 0 0 6px rgba(255,107,107,0);}}

/* cards */
.ee-standalone .card{background:var(--ink-soft); border-radius:6px; padding:26px 28px; transition:background .2s var(--ease);}
.ee-standalone .card:hover{background:var(--ink-raise);}
.ee-standalone .card-h{display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:18px;}
.ee-standalone .card-h h3{font-size:1.5rem;}
.ee-standalone .klabel{font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--copper); font-weight:600;}

/* ledger */
.ee-standalone .ledger{display:grid; grid-template-columns:repeat(4,1fr); border-radius:6px; overflow:hidden; background:var(--ink-soft);}
.ee-standalone .ledger .cell{padding:20px 22px; border-right:1px solid var(--b-2);}
.ee-standalone .ledger .cell:last-child{border-right:none;}
.ee-standalone .ledger .fig{font-family:var(--serif); font-size:2.5rem; color:#fff; font-weight:500; line-height:1;}
.ee-standalone .ledger .term{font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--copper); font-weight:600; margin-top:8px;}
.ee-standalone .ledger .desc{font-size:12px; color:var(--t-muted); margin-top:3px;}

/* ============ ARTICLE / PROSE ============ */
.ee-standalone .article{max-width:720px; margin:0 auto;}
.ee-standalone .article .meta{display:flex; align-items:center; gap:14px; flex-wrap:wrap; font-size:12.5px; color:var(--t-muted); margin-top:16px;}
.ee-standalone .article .meta .sep{width:4px; height:4px; border-radius:50%; background:var(--t-dim);}
.ee-standalone .callout{background:var(--ink-soft); border-radius:6px;
  padding:20px 24px; margin:30px 0;}
.ee-standalone .callout .k{font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--copper); font-weight:600; margin-bottom:8px;}
.ee-standalone .callout p{color:var(--t-body); font-size:15px;}
.ee-standalone .prose h3{font-size:1.7rem; margin:38px 0 14px;}
.ee-standalone .prose p{color:var(--t-sec); font-size:15.5px; line-height:1.8; margin-bottom:16px;}
.ee-standalone .prose p b,.ee-standalone .prose strong{color:var(--t-body); font-weight:600;}
.ee-standalone .prose ul.llist{list-style:none; display:flex; flex-direction:column; gap:10px; margin:6px 0 20px;}
.ee-standalone .prose ul.llist li{padding-left:18px; border-left:2px solid var(--copper); color:var(--t-sec); font-size:15px; line-height:1.6;}
.ee-standalone .prose a{border-bottom:1px solid var(--b-copper);}
.ee-standalone .disclaim{font-size:13px; color:var(--t-muted); font-style:italic; border-top:1px solid var(--b-2); margin-top:36px; padding-top:22px; line-height:1.7;}

/* ============ LOGIN ============ */
.ee-standalone .auth{display:grid; grid-template-columns:1fr 1fr; min-height:calc(100vh - 71px);}
.ee-standalone .auth-brand{position:relative; display:flex; flex-direction:column; justify-content:space-between; padding:clamp(30px,5vw,60px);
  border-right:1px solid var(--b); overflow:hidden; background:var(--ink-soft);}
.ee-standalone .auth-brand .qmark{font-family:var(--serif); font-size:9rem; color:var(--copper-dim); line-height:.7; height:60px;}
.ee-standalone .auth-brand blockquote{font-family:var(--serif); font-style:italic; font-size:clamp(1.6rem,2.6vw,2.3rem); color:#fff; font-weight:500; line-height:1.28; max-width:20ch;}
.ee-standalone .auth-brand blockquote .g{color:#fff;}
.ee-standalone .auth-brand .cite{margin-top:24px; font-size:13px; color:var(--t-sec);}
.ee-standalone .auth-brand .cite b{color:var(--copper); display:block; font-size:14px; font-weight:600;}
.ee-standalone .auth-brand .closer{font-family:var(--serif); font-size:1.5rem; color:#fff; font-weight:500;}
.ee-standalone .auth-form-wrap{display:grid; place-items:center; padding:clamp(30px,5vw,60px);}
.ee-standalone .auth-card{width:100%; max-width:380px;}
.ee-standalone .auth-card h2{font-size:2.4rem; color:#fff; margin:14px 0 8px;}
.ee-standalone .auth-card .lede{color:var(--t-sec); font-size:14px; margin-bottom:28px;}
.ee-standalone .auth-foot{text-align:center; font-size:13.5px; color:var(--t-muted); margin-top:26px;}

/* skin WordPress' native wp_login_form() output */
.ee-standalone .auth-card #loginform p,
.ee-standalone .auth-card .formrow{margin-bottom:16px;}
.ee-standalone .auth-card #loginform label,
.ee-standalone .auth-card .formrow label{display:block; font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--t-muted); font-weight:600; margin-bottom:8px;}
.ee-standalone .field,
.ee-standalone .auth-card input[type=text],
.ee-standalone .auth-card input[type=email],
.ee-standalone .auth-card input[type=password]{
  width:100%; background:rgba(255,255,255,0.03); border:1px solid var(--b); border-radius:6px; color:#fff;
  padding:13px 15px; font-size:14px; font-family:var(--sans); transition:.18s var(--ease);}
.ee-standalone .field::placeholder{color:var(--t-dim);}
.ee-standalone .field:focus,
.ee-standalone .auth-card input:focus{outline:none; border-color:var(--copper); box-shadow:0 0 0 3px var(--copper-dim);}
.ee-standalone .auth-card .login-remember{display:flex; align-items:center; gap:9px; font-size:13px; color:var(--t-sec); margin:4px 0 20px;}
.ee-standalone .auth-card .login-remember input{width:16px; height:16px; accent-color:var(--copper);}
.ee-standalone .auth-card .login-submit input,
.ee-standalone .auth-card #wp-submit{display:inline-flex; width:100%; justify-content:center; background:var(--copper); color:#fff;
  font-weight:600; font-size:13.5px; letter-spacing:.14em; text-transform:uppercase; padding:14px 30px; border-radius:4px; border:none; cursor:pointer;}
.ee-standalone .auth-card #wp-submit:hover{background:var(--copper-soft);}
.ee-standalone .divider{display:flex; align-items:center; gap:14px; margin:22px 0; color:var(--t-dim); font-size:11px; letter-spacing:.14em; text-transform:uppercase;}
.ee-standalone .divider::before,.ee-standalone .divider::after{content:""; flex:1; height:1px; background:var(--b);}

/* ============ LIVE ============ */
.ee-standalone .livebar{display:flex; align-items:center; gap:16px; flex-wrap:wrap; background:var(--ink-soft);
  border-radius:6px; padding:12px 18px; margin-bottom:26px;}
.ee-standalone .livebar .txt{font-size:13.5px; color:var(--t-body);} .ee-standalone .livebar .txt b{color:var(--copper); font-weight:600;}
.ee-standalone .livebar .btn{margin-left:auto;}
.ee-standalone .live-grid{display:grid; grid-template-columns:1fr 340px; gap:24px; align-items:start;}
.ee-standalone .stage{position:relative; aspect-ratio:16/9; border-radius:6px; overflow:hidden;
  background:var(--ink-deep); display:grid; place-items:center;}
.ee-standalone .stage iframe{position:absolute; inset:0; width:100%; height:100%; border:0; z-index:4;}
.ee-standalone .stage .scan{display:none;}
.ee-standalone .stage .live-badge{position:absolute; top:16px; left:16px; z-index:3;}
.ee-standalone .stage .viewers{position:absolute; top:16px; right:16px; z-index:3; font-family:var(--sans); font-variant-numeric:tabular-nums; font-size:12px; color:#fff;
  background:rgba(10,10,10,0.6); border:1px solid var(--b); padding:5px 11px; border-radius:40px; display:flex; align-items:center; gap:7px;}
.ee-standalone .stage .viewers svg{color:var(--copper);}
.ee-standalone .stage .center{text-align:center; z-index:2; padding:20px;}
.ee-standalone .stage .play{width:76px; height:76px; border-radius:50%; border:1px solid var(--copper); background:var(--copper-dim);
  display:grid; place-items:center; margin:0 auto 18px; cursor:pointer; transition:.2s var(--ease);}
.ee-standalone .stage .play:hover{background:rgba(184,115,51,0.24);}
.ee-standalone .stage .play svg{color:#fff; margin-left:4px;}
.ee-standalone .stage .ttl{font-family:var(--serif); font-size:1.8rem; color:#fff; font-weight:500;}
.ee-standalone .stage .sub{font-size:13px; color:var(--t-muted); margin-top:6px;}
.ee-standalone .stage .wave{position:absolute; bottom:0; left:0; right:0; height:64px; display:flex; align-items:flex-end; gap:3px; padding:0 14px 12px; z-index:2; opacity:.35;}
.ee-standalone .stage .wave i{flex:1; background:var(--copper); border-radius:2px 2px 0 0; animation:ee-eq 1.1s ease-in-out infinite;}
@keyframes ee-eq{0%,100%{height:12%;}50%{height:90%;}}
.ee-standalone .session-meta{margin-top:20px; display:flex; align-items:center; gap:16px; flex-wrap:wrap;}
.ee-standalone .presenter{display:flex; align-items:center; gap:12px;}
.ee-standalone .presenter .who .n{font-weight:600; color:#fff; font-size:14px;}
.ee-standalone .presenter .who .r{font-size:11.5px; color:var(--copper); letter-spacing:.04em;}
.ee-standalone .session-meta .acts{margin-left:auto; display:flex; gap:10px;}
.ee-standalone .room{background:var(--ink-soft); border-radius:6px; display:flex; flex-direction:column; height:520px; overflow:hidden;}
.ee-standalone .room-tabs{display:flex; border-bottom:1px solid var(--b);}
.ee-standalone .room-tabs button{flex:1; background:none; border:none; padding:14px; color:var(--t-muted); font-size:12.5px; font-weight:600;
  letter-spacing:.06em; text-transform:uppercase; cursor:pointer; border-bottom:2px solid transparent;}
.ee-standalone .room-tabs button.on{color:var(--copper); border-bottom-color:var(--copper);}
.ee-standalone .chat{flex:1; overflow-y:auto; padding:18px; display:flex; flex-direction:column; gap:16px;}
.ee-standalone .msg{display:flex; gap:11px;}
.ee-standalone .msg .av{width:30px; height:30px; border-radius:50%; display:grid; place-items:center; font-family:var(--serif); font-weight:500; font-size:12px; color:#fff; flex:none;}
.ee-standalone .msg .bd .nm{font-size:12.5px; font-weight:600; color:#fff;}
.ee-standalone .msg .bd .nm .badge{font-size:9px; color:var(--copper); border:1px solid var(--b-copper); padding:1px 6px; border-radius:20px; margin-left:6px; letter-spacing:.06em; text-transform:uppercase; vertical-align:middle;}
.ee-standalone .msg .bd .tx{font-size:13px; color:var(--t-sec); margin-top:2px;}
.ee-standalone .chat-input{border-top:1px solid var(--b); padding:12px; display:flex; gap:9px;}
.ee-standalone .chat-input .field{padding:11px 13px;}
.ee-standalone .up-next{margin-top:32px;}
.ee-standalone .sched{display:flex; flex-direction:column; gap:2px;}
.ee-standalone .se{display:grid; grid-template-columns:120px 1fr auto; gap:18px; align-items:center; padding:16px 4px; border-bottom:1px solid var(--b-2);}
.ee-standalone .se .date{font-family:var(--sans); font-variant-numeric:tabular-nums; letter-spacing:.06em; text-transform:uppercase; font-size:12px; color:var(--copper);}
.ee-standalone .se .date b{display:block; color:#fff; font-size:14px; font-family:var(--serif); font-weight:500; letter-spacing:.02em;}
.ee-standalone .se .st{font-weight:600; color:#fff; font-size:15px;} .ee-standalone .se .sd{font-size:12.5px; color:var(--t-muted); margin-top:2px;}

/* ============ FOOTER ============ */
.ee-standalone .foot{background:var(--ink-deep); border-top:1px solid var(--b); margin-top:60px;}
.ee-standalone .foot-in{max-width:var(--ee-maxw); margin:0 auto; padding:52px clamp(18px,4vw,40px) 30px; display:grid;
  grid-template-columns:1.6fr repeat(3,1fr); gap:36px;}
.ee-standalone .foot .word{font-family:var(--serif); font-weight:500; font-size:22px; color:#fff; letter-spacing:.06em;}
.ee-standalone .foot .word b{color:var(--copper); font-weight:500;}
.ee-standalone .foot .closer{font-family:var(--serif); font-size:1.5rem; color:#fff; font-weight:500; margin:16px 0 10px;}
.ee-standalone .foot p.desc{font-size:13px; color:var(--t-muted); max-width:34ch; line-height:1.7;}
.ee-standalone .foot .col h5{font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--copper); font-weight:600; margin-bottom:16px;}
.ee-standalone .foot .col a{display:block; color:var(--t-sec); font-size:13.5px; margin-bottom:11px;}
.ee-standalone .foot .col a:hover{color:#fff;}
.ee-standalone .foot-bottom{max-width:var(--ee-maxw); margin:0 auto; padding:20px clamp(18px,4vw,40px); border-top:1px solid var(--b-2);
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:12px; color:var(--t-dim);}
.ee-standalone .foot-bottom a{color:var(--t-muted);}

/* toast */
.ee-standalone .toast{position:fixed; bottom:28px; left:50%; transform:translateX(-50%) translateY(20px); z-index:200; background:var(--ink-soft);
  color:#fff; padding:14px 22px; border-radius:6px; font-size:13.5px; box-shadow:0 20px 50px rgba(0,0,0,0.5);
  opacity:0; pointer-events:none; transition:.3s var(--ease); display:flex; align-items:center; gap:10px;}
.ee-standalone .toast.show{opacity:1; transform:translateX(-50%) translateY(0);}
.ee-standalone .toast svg{color:var(--copper);}

/* ============ RESPONSIVE ============ */
@media(max-width:900px){
  .ee-standalone .navlinks{display:none;}
  .ee-standalone .live-grid{grid-template-columns:1fr;}
  .ee-standalone .room{height:420px;}
  .ee-standalone .auth{grid-template-columns:1fr;}
  .ee-standalone .auth-brand{display:none;}
  .ee-standalone .ledger{grid-template-columns:repeat(2,1fr);}
  .ee-standalone .ledger .cell:nth-child(2){border-right:none;}
  .ee-standalone .foot-in{grid-template-columns:1fr 1fr;}
}
@media(max-width:560px){
  .ee-standalone .chip .who{display:none;}
  .ee-standalone .ledger{grid-template-columns:1fr 1fr;}
  .ee-standalone .foot-in{grid-template-columns:1fr;}
  .ee-standalone .se{grid-template-columns:1fr; gap:6px;}
  .ee-standalone .se .btn{justify-self:start;}
}
@media(prefers-reduced-motion:reduce){
  .ee-standalone *{animation:none !important; transition:none !important;}
}
