:root{
  --bg:#f4f8fc;
  --bg-soft:#eef5fb;
  --panel:#ffffff;
  --panel-soft:#f8fbfe;
  --line:#dce7f1;
  --line-strong:#cbd9e7;
  --text:#12304b;
  --muted:#6f8498;
  --blue:#0d67b5;
  --blue2:#0a4f8d;
  --blue-soft:#e8f3fc;
  --blue-pale:#f1f8fe;
  --gold:#c9a55a;
  --gold-soft:#f7f0df;
  --danger:#c94f59;
  --danger-soft:#fff2f3;
  --ok:#2f9f78;
  --ok-soft:#edf9f4;
  --shadow:0 22px 55px rgba(35,80,120,.10);
  --shadow-soft:0 10px 30px rgba(35,80,120,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  background:
    radial-gradient(circle at 85% 8%,rgba(13,103,181,.08),transparent 28%),
    radial-gradient(circle at 8% 88%,rgba(201,165,90,.08),transparent 25%),
    linear-gradient(180deg,#f9fbfd 0%,#f2f7fb 100%);
}
.ambient{position:fixed;border-radius:999px;filter:blur(100px);opacity:.12;pointer-events:none;z-index:-1}
.a1{width:440px;height:440px;background:#4aa7ea;right:2%;top:5%}
.a2{width:360px;height:360px;background:#d9be7e;left:1%;bottom:0}
.topbar{
  height:82px;
  padding:0 4vw;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid rgba(13,103,181,.10);
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(20px);
  position:sticky;
  top:0;
  z-index:9;
  box-shadow:0 5px 22px rgba(29,69,105,.05)
}
.brand{display:flex;align-items:center;gap:14px}
.brandmark{
  width:48px;height:48px;border-radius:15px;display:grid;place-items:center;
  font-weight:900;font-size:13px;letter-spacing:.12em;color:#fff;
  background:linear-gradient(145deg,#1378ca,#0a4e8b);
  border:1px solid rgba(255,255,255,.85);
  box-shadow:0 9px 22px rgba(13,103,181,.20),inset 0 0 0 1px rgba(255,255,255,.16);
  position:relative;overflow:hidden
}
.brandmark:after{content:"";position:absolute;width:36px;height:7px;border-radius:99px;background:rgba(201,165,90,.85);transform:rotate(-35deg);right:-11px;top:5px}
.brand strong{display:block;font-size:18px;color:#113653}
.brand span{display:block;color:var(--muted);font-size:12px;margin-top:2px}
.top-actions{display:flex;align-items:center;gap:10px}
.shell{max-width:1500px;margin:auto;padding:36px 4vw 70px}
.glass{
  background:rgba(255,255,255,.94);
  border:1px solid rgba(13,103,181,.11);
  box-shadow:var(--shadow);
  backdrop-filter:blur(18px)
}
.hero-card{
  border-radius:30px;padding:42px;display:grid;grid-template-columns:1.35fr .65fr;gap:40px;overflow:hidden;position:relative;
  background:
    linear-gradient(115deg,rgba(255,255,255,.98) 0%,rgba(248,252,255,.96) 58%,rgba(235,246,255,.92) 100%);
  border:1px solid rgba(13,103,181,.14)
}
.hero-card:before{content:"";position:absolute;width:7px;height:68%;left:0;top:16%;border-radius:0 8px 8px 0;background:linear-gradient(180deg,var(--blue),var(--gold))}
.hero-card:after{content:"";position:absolute;width:250px;height:250px;border:1px solid rgba(201,165,90,.25);border-radius:50%;right:-90px;top:-100px}
.eyebrow{font-size:11px;letter-spacing:.2em;color:#a7833e;font-weight:900}
.hero-card h1{font-size:clamp(38px,5vw,66px);line-height:1.02;margin:13px 0 18px;letter-spacing:-.045em;color:#163d5d}
.hero-card h1 span{background:linear-gradient(90deg,#0a568f,#1783d0);-webkit-background-clip:text;background-clip:text;color:transparent}
.sub{max-width:720px;color:#657e93;line-height:1.75;font-size:15px}
.meeting-setup{display:grid;gap:10px;align-content:center;padding:4px}
.meeting-setup label,.answer-block label,.intel-grid label{font-size:11px;color:#6a8194;text-transform:uppercase;letter-spacing:.11em;font-weight:900}
input,select,textarea{
  width:100%;border:1px solid var(--line-strong);background:#fff;color:#173b59;border-radius:13px;padding:14px 15px;outline:none;
  box-shadow:inset 0 1px 2px rgba(33,68,99,.03);transition:.2s
}
input:focus,select:focus,textarea:focus{border-color:#68aee0;box-shadow:0 0 0 4px rgba(13,103,181,.08)}
textarea{resize:vertical;min-height:108px}
.btn{border:0;border-radius:12px;padding:12px 17px;font-weight:850;cursor:pointer;transition:.2s;letter-spacing:.01em}
.btn:hover{transform:translateY(-1px)}
.btn:disabled{opacity:.42;cursor:not-allowed;transform:none}
.primary{color:#fff;background:linear-gradient(135deg,#1476c5,#0a5696);box-shadow:0 9px 20px rgba(13,103,181,.16)}
.secondary{color:#0d5d9f;background:#edf6fd;border:1px solid #cfe4f4}
.ghost{color:#315b7b;background:#fff;border:1px solid #d8e6f1}
.ghost:hover{background:#f7fbfe;border-color:#bdd6e9}
.danger{background:var(--danger-soft);border:1px solid #f0cfd2;color:#b33c47}
.big{margin-top:8px;padding:16px}
.badge{font-size:10px;font-weight:900;letter-spacing:.1em;padding:8px 11px;border-radius:999px;border:1px solid}
.neutral{color:#58748b;border-color:#d7e5ef;background:#f7fafc}
.meeting-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}
.meeting-grid.disabled{opacity:.48;pointer-events:none}
.column{display:grid;gap:20px;align-content:start}
.panel{border-radius:23px;padding:22px;background:rgba(255,255,255,.97)}
.panel-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:15px;font-size:12px;letter-spacing:.08em;color:#244863}
.mini{color:var(--muted);font-size:10px}
.dot{display:inline-block;width:8px;height:8px;background:#e95d68;border-radius:50%;margin-right:8px;box-shadow:0 0 0 5px rgba(233,93,104,.09)}
.mic-wrap{display:flex;align-items:center;justify-content:center;gap:18px;padding:27px 0 18px}
.mic{
  width:80px;height:80px;border-radius:50%;border:1px solid rgba(13,103,181,.24);
  background:radial-gradient(circle at 35% 30%,#2e93db,#0a5a9b);box-shadow:0 0 0 11px rgba(13,103,181,.055),0 13px 30px rgba(24,95,150,.18);
  color:#fff;font-size:28px;cursor:pointer
}
.mic.recording{background:radial-gradient(circle at 35% 30%,#ef7a83,#b43742);border-color:rgba(201,79,89,.45);animation:pulse 1.6s infinite}
@keyframes pulse{50%{box-shadow:0 0 0 19px rgba(201,79,89,.06),0 13px 30px rgba(201,79,89,.18)}}
.mic-wrap strong{display:block;color:#173f5f}.mic-wrap small{display:block;color:var(--muted);margin-top:5px}
.wave{height:34px;display:flex;align-items:center;justify-content:center;gap:4px}
.wave i{width:3px;height:5px;background:#3189c8;border-radius:6px;transition:.2s}
.wave.active i{animation:wave .8s infinite alternate}.wave i:nth-child(2n){animation-delay:.15s}.wave i:nth-child(3n){animation-delay:.3s}@keyframes wave{to{height:28px}}
.conversation{height:435px;overflow:auto;padding:16px 3px 4px}
.empty-state{text-align:center;padding:105px 20px;color:var(--muted)}
.empty-state span{font-size:32px;display:block;color:#7daed1}.empty-state b{display:block;color:#315672;margin:12px}.empty-state p{margin:0}
.bubble{margin:0 0 16px;padding:15px;border-radius:16px;background:#f8fbfd;border:1px solid #dfeaf3;box-shadow:0 5px 14px rgba(49,83,111,.035)}
.bubble .speaker{font-size:10px;font-weight:900;letter-spacing:.1em;color:#1972b5}
.bubble p{margin:7px 0 0;line-height:1.55;color:#234964}
.bubble .translated{color:#718597;font-size:13px;padding-top:8px;border-top:1px dashed #dce6ee;margin-top:10px}
.intel-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}
.intel-grid>div{padding:14px;border-radius:14px;background:linear-gradient(180deg,#fbfdff,#f6fafe);border:1px solid #dfeaf3}
.intel-grid strong{display:block;margin-top:7px;font-size:14px;color:#1b4260}
.answer-block{margin-top:15px}
.answer{margin-top:8px;padding:16px;line-height:1.62;border-radius:14px;background:#fbfdff;border:1px solid #dfeaf3;min-height:72px;color:#294e69}
.answer.empty{color:#8a9aa8}
.prominent .answer{font-size:16px;min-height:130px;border-color:#cbdfee;background:linear-gradient(180deg,#f8fcff,#f2f8fd);box-shadow:inset 4px 0 0 rgba(13,103,181,.82)}
.answer-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}
.warning{margin-top:14px;padding:13px;border-radius:13px;background:#fff8e9;border:1px solid #ecd8aa;color:#84651f;font-size:12px}
.warning b,.warning span{display:block}.warning span{margin-top:5px;color:#967634}
.hidden{display:none}
.risk-low{color:#267e61;border-color:#cceadd;background:var(--ok-soft)}
.risk-medium{color:#91701f;border-color:#ead8ad;background:#fff9eb}
.risk-high{color:#b13f48;border-color:#f0ced2;background:var(--danger-soft)}
.manual-panel textarea{margin:15px 0 10px;background:#fbfdff}
.modal{position:fixed;inset:0;background:rgba(18,48,75,.34);display:none;place-items:center;z-index:50;padding:20px;backdrop-filter:blur(7px)}
.modal.show{display:grid}.modal-card{width:min(520px,100%);border-radius:24px;padding:24px;display:grid;gap:10px;background:#fff}.modal-card.wide{width:min(850px,100%)}
.modal-head{display:flex;justify-content:space-between;align-items:center}.modal-head h3{margin:0;color:#173f5f}.modal-head button{background:none;border:0;color:#58748b;font-size:28px;cursor:pointer}
.report-box{background:#f8fbfd;border:1px solid #dce8f1;padding:18px;border-radius:14px;color:#34566e;line-height:1.6;white-space:pre-wrap}
::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:#c9dbe8;border-radius:99px;border:2px solid #f7fafc}::-webkit-scrollbar-track{background:transparent}
@media(max-width:980px){.hero-card,.meeting-grid{grid-template-columns:1fr}.hero-card{padding:28px}.topbar{padding:0 18px}.shell{padding:24px 18px 50px}.badge#connectionBadge{display:none}.top-actions .btn{padding:10px}.conversation{height:330px}}
@media(max-width:580px){.hero-card h1{font-size:40px}.topbar{height:70px}.brand span{display:none}.meeting-grid{gap:14px}.panel{padding:17px}.answer-actions{flex-wrap:wrap}.answer-actions .btn{flex:1}.intel-grid{grid-template-columns:1fr}.hero-card{border-radius:24px}}
