/* Soveo SI. Venus and Saturn: ivory ground, deep navy, soft rose and silver.
   Red and orange are kept to the one place they have to be: do-not-call. */
:root {
  --bg: #FAF8F3;
  --surface: #FFFFFF;
  --sunk: #F4F1EA;
  --ink: #141A33;
  --ink-2: #4B5169;
  --ink-3: #8D92A5;
  --line: #ECE7DC;
  --navy: #1F2B5C;
  --navy-2: #33458A;
  --navy-soft: #EDEFF7;
  --rose: #B97585;
  --rose-soft: #F7ECEE;
  --silver: #A9B0C0;
  --silver-soft: #F1F2F6;
  --ok: #2E8466;
  --ok-soft: #E6F2ED;
  --gold: #9C7A33;
  --gold-soft: #F6F0E2;
  --wine: #9B3447;
  --wine-soft: #F8E9EC;
  --grad: linear-gradient(135deg, #1F2B5C 0%, #3A4E9A 58%, #9AABD8 100%);
  --r: 14px;
  --shadow: 0 1px 2px rgba(20, 26, 51, .04), 0 6px 20px rgba(20, 26, 51, .05);
  --side: 240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--ink); font-size: 15px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--navy-2); text-decoration: none; }
[hidden] { display: none !important; }
.disp { font-family: "Inter Display", "Inter", system-ui, sans-serif; letter-spacing: -.02em; }

/* ---------------------------------------------------------------- brand */
.logo-ic { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 2px 5px rgba(24, 23, 63, .14)); }
.logo-wm { height: 23px; width: auto; display: block; }
.signin .logo-ic { width: 44px; height: 44px; }
.signin .logo-wm { height: 28px; }
.mtitle .logo-ic { width: 30px; height: 30px; }
.mtitle .logo-wm { height: 20px; }
.brand { display: flex; align-items: center; gap: 10px; }
.mark { width: 32px; height: 32px; border-radius: 10px; background: var(--grad);
  display: grid; place-items: center; box-shadow: 0 4px 12px rgba(31, 43, 92, .25); flex: none; }
.mark svg { width: 18px; height: 18px; }
.word { font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.word b { font-weight: 600; font-size: 10.5px; letter-spacing: .08em; margin-left: 5px;
  padding: 2px 5px 2px 6px; border-radius: 5px; background: var(--navy); color: #fff; vertical-align: 3px; }

/* --------------------------------------------------------------- sign in */
#scr-signin, #scr-setpass { min-height: 100vh; display: none; place-items: center; padding: 24px 16px;
  background: radial-gradient(900px 500px at 50% -10%, #E9ECF7 0%, var(--bg) 60%); }
#scr-signin.on, #scr-setpass.on { display: grid; }
.linkbtn { display: block; margin: 14px auto 0; background: none; border: 0; color: var(--navy);
  font: 500 13px/1.4 inherit; font-family: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.okmsg { color: var(--ink-2); font-size: 13px; line-height: 1.45; }
.signin { width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 22px; padding: 28px 24px; box-shadow: var(--shadow); }
.signin .brand { margin-bottom: 22px; }
.signin h1 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.signin p { color: var(--ink-2); font-size: 14px; margin: 4px 0 18px; }
.err { color: var(--wine); font-size: 13px; margin-top: 10px; min-height: 18px; }

/* ----------------------------------------------------------------- shell */
#app { min-height: 100vh; }
.side { position: fixed; inset: 0 auto 0 0; width: var(--side); background: var(--surface);
  border-right: 1px solid var(--line); padding: 20px 12px; display: flex; flex-direction: column;
  overflow-y: auto; z-index: 20; }
.side .brand { padding: 0 8px 22px; }
.nav a { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 9px;
  font-size: 13.5px; color: var(--ink-2); font-weight: 500; cursor: pointer; }
.nav a:hover { background: var(--sunk); }
.nav a svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round; flex: none; }
.nav a.on { background: var(--navy-soft); color: var(--navy); }
.nav a .cnt { margin-left: auto; font-size: 11px; color: var(--ink-3); }
.navsec { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3);
  padding: 18px 10px 8px; }
.lines a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; font-size: 13px;
  color: var(--ink-2); border-radius: 9px; cursor: pointer; }
.lines a:hover { background: var(--sunk); }
.lines a.on { background: var(--navy-soft); color: var(--navy); font-weight: 500; }
.lines a.soon { color: var(--ink-3); cursor: default; }
.lines a.soon:hover { background: none; }
.lines a i { margin-left: auto; font-style: normal; font-size: 10.5px; color: var(--ink-3); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px 10px 4px;
  border-top: 1px solid var(--line); }
.av { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-size: 11.5px; font-weight: 600; flex: none; }
.me .nm { font-size: 13px; font-weight: 500; }
.me small { display: block; color: var(--ink-3); font-size: 11.5px; }
.me button { margin-left: auto; border: 0; background: none; color: var(--ink-3); font-size: 12px; cursor: pointer; }

main { margin-left: var(--side); padding: 22px 32px 60px; max-width: calc(1280px + var(--side)); }
.top { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.search { flex: 1; max-width: 460px; height: 40px; border-radius: 11px; background: var(--surface);
  border: 1px solid var(--line); display: flex; align-items: center; gap: 9px; padding: 0 13px; }
.search svg { width: 16px; height: 16px; stroke: var(--ink-3); fill: none; stroke-width: 1.8; flex: none; }
.search input { border: 0; outline: 0; background: none; flex: 1; font-size: 14px; min-width: 0; }
.mtitle { display: none; }
.hello { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: 20px; flex-wrap: wrap; }
.hello h1 { font-weight: 500; font-size: 28px; letter-spacing: -.025em; line-height: 1.15; }
.hello p { color: var(--ink-2); font-size: 14px; margin-top: 4px; }

/* --------------------------------------------------------------- pieces */
.btn { height: 40px; border-radius: 11px; border: 1px solid transparent; background: var(--navy);
  color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 0 15px; font-size: 13.5px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.btn:disabled { opacity: .55; cursor: default; }
.btn.ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn.quiet { background: none; color: var(--ink-2); }
.btn.rose { background: var(--rose); }
.btn.ok { background: var(--ok); }
.btn.wa { background: #1F7A5A; }
.btn.danger { background: var(--surface); color: var(--wine); border-color: #EBC9D0; }
.btn.sm { height: 32px; padding: 0 11px; font-size: 12.5px; border-radius: 9px; }
.btn.block { width: 100%; }
.btn svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; }
.btns { display: flex; gap: 8px; flex-wrap: wrap; }
.btns.two > * { flex: 1; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.card.pad { padding: 18px 20px; }
.ch { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.ch h3 { font-size: 14.5px; font-weight: 600; letter-spacing: -.01em; }
.ch span, .ch a { font-size: 12px; color: var(--ink-3); }
.ch a { color: var(--navy-2); cursor: pointer; }
h2.sec { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
  font-weight: 500; margin: 22px 2px 10px; }

.grid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.grid > * { min-width: 0; }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g2 { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.g2e { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

.kpi .lab { font-size: 12.5px; color: var(--ink-2); }
.kpi .val { font-size: 28px; font-weight: 500; letter-spacing: -.03em; margin: 8px 0 4px; }
.kpi .val small { font-size: 14px; color: var(--ink-3); font-weight: 500; margin-left: 3px; }
.kpi .sub { font-size: 12px; color: var(--ink-3); }
.kpi.hero { background: var(--navy); border-color: var(--navy); color: #fff; position: relative; overflow: hidden; }
.kpi.hero::after { content: ""; position: absolute; right: -60px; top: -70px; width: 210px; height: 210px;
  border-radius: 50%; background: radial-gradient(circle, rgba(185,117,133,.65), rgba(154,171,216,.35) 60%, transparent 70%);
  filter: blur(18px); }
.kpi.hero .lab, .kpi.hero .sub, .kpi.hero .val small { color: #C3C8DA; }

.pip { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 500;
  padding: 3px 9px; border-radius: 99px; background: var(--silver-soft); color: var(--ink-2); white-space: nowrap; }
.pip.navy { background: var(--navy-soft); color: var(--navy); }
.pip.rose { background: var(--rose-soft); color: #8E5263; }
.pip.ok { background: var(--ok-soft); color: var(--ok); }
.pip.gold { background: var(--gold-soft); color: var(--gold); }
.pip.wine { background: var(--wine-soft); color: var(--wine); }
.pip.isl { background: #E8F1EC; color: #2B6F55; }

.empty { padding: 34px 16px; text-align: center; color: var(--ink-3); font-size: 13.5px; }
.note { background: var(--sunk); border-left: 3px solid var(--silver); border-radius: 10px;
  padding: 11px 13px; font-size: 13px; color: var(--ink-2); }
.note.wine { border-color: var(--wine); background: var(--wine-soft); }
.note.gold { border-color: var(--gold); background: var(--gold-soft); }

/* rows and lists */
.list { display: grid; grid-template-columns: minmax(0, 1fr); }
.list > * { min-width: 0; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line);
  cursor: pointer; background: none; border-left: 0; border-right: 0; border-bottom: 0; width: 100%; text-align: left; }
.row:first-child { border-top: 0; }
.row:hover { background: #FCFBF8; }
.logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font-size: 12px; font-weight: 600; color: #fff; flex: none; }
.row .t { font-weight: 500; font-size: 14px; }
.row .s { color: var(--ink-3); font-size: 12.5px; margin-top: 1px; }
.row .r { margin-left: auto; text-align: right; display: grid; gap: 4px; justify-items: end; flex: none; }
.amt { font-variant-numeric: tabular-nums; font-weight: 500; }

table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
table.t th { text-align: left; font-weight: 500; font-size: 11.5px; color: var(--ink-3); padding: 0 10px 8px; }
table.t td { padding: 10px; border-top: 1px solid var(--line); vertical-align: middle; }
table.t tr.click { cursor: pointer; }
table.t tr.click:hover td { background: #FCFBF8; }

/* forms */
.fl { display: block; font-size: 12.5px; color: var(--ink-2); margin: 12px 0 5px; font-weight: 500; }
.f { width: 100%; height: 42px; border-radius: 11px; border: 1px solid var(--line); background: var(--surface);
  padding: 0 12px; font-size: 14px; outline: 0; }
.f:focus { border-color: var(--navy-2); box-shadow: 0 0 0 3px var(--navy-soft); }
textarea.f { height: auto; min-height: 90px; padding: 10px 12px; resize: vertical; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.check { display: flex; gap: 10px; align-items: center; margin-top: 12px; font-size: 13.5px; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); }
.seg { display: inline-flex; background: #EEEAE1; border-radius: 10px; padding: 3px; font-size: 12.5px; font-weight: 500; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 6px 12px; border-radius: 8px; color: var(--ink-2); cursor: pointer; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.filters .f { width: auto; height: 36px; font-size: 13px; }

/* --------------------------------------------------------- calling (today) */
.progress .bar { height: 6px; border-radius: 6px; background: #ECE8DF; margin-top: 10px; overflow: hidden; }
.progress .bar i { display: block; height: 100%; background: var(--grad); border-radius: 6px; }
.next { background: var(--navy); color: #fff; border-radius: 20px; padding: 18px; position: relative; overflow: hidden; }
.next::after { content: ""; position: absolute; right: -70px; bottom: -100px; width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(185,117,133,.55), rgba(154,171,216,.3) 55%, transparent 70%); filter: blur(20px); }
.next > * { position: relative; z-index: 1; }
.next .k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #AEB4CA; }
.next h4 { font-size: 21px; font-weight: 600; letter-spacing: -.02em; margin: 7px 0 3px; }
.next p { font-size: 13px; color: #C9CDDC; }
.next .why { display: flex; gap: 6px; flex-wrap: wrap; margin: 12px 0 14px; }
.next .why span { font-size: 11.5px; padding: 4px 9px; border-radius: 99px; background: rgba(255,255,255,.1); color: #E1E4EE; }
.next .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.next .acts a, .next .acts button { height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
  gap: 8px; font-size: 14px; font-weight: 600; border: 0; cursor: pointer; }
.next .acts svg, .row svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.next .acts .call { background: #fff; color: var(--ink); }
.next .acts .alt { background: rgba(255,255,255,.13); color: #fff; }

/* ---------------------------------------------------------- pipeline */
.stages { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(110px, 1fr); gap: 10px; overflow-x: auto; }
.stage { border-radius: 12px; background: var(--sunk); padding: 12px; }
.stage .n { font-size: 11.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stage .c { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin: 4px 0 2px; }
.stage .a { font-size: 11.5px; color: var(--ink-3); }
.meter { height: 4px; border-radius: 4px; background: #E6E2D8; margin-top: 10px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--navy); border-radius: 4px; }
.meter.ok i { background: var(--ok); }
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.col { background: var(--sunk); border-radius: 14px; padding: 10px; min-height: 120px; }
.col h5 { font-size: 12px; font-weight: 600; color: var(--ink-2); padding: 4px 6px 10px; display: flex; justify-content: space-between; }
.dcard { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; margin-bottom: 8px; cursor: pointer; }
.dcard .t { font-size: 13.5px; font-weight: 500; }
.dcard .s { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
.dcard .b { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 12.5px; }
.docs { display: flex; gap: 3px; }
.docs i { width: 8px; height: 8px; border-radius: 3px; background: #E3DFD5; }
.docs i.y { background: var(--ok); }

.stepper { display: flex; gap: 6px; flex-wrap: wrap; }
.stepper button { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 6px 12px;
  font-size: 12.5px; cursor: pointer; color: var(--ink-2); }
.stepper button.done { background: var(--navy-soft); border-color: var(--navy-soft); color: var(--navy); }
.stepper button.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.stepper button.won { border-color: #CFE5DB; color: var(--ok); }
.stepper button.won.on { background: var(--ok); color: #fff; border-color: var(--ok); }
.stepper button.lost { border-color: #EBD3D8; color: var(--wine); }
.stepper button.lost.on { background: var(--wine); color: #fff; border-color: var(--wine); }

.doc { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 13.5px; }
.doc:first-child { border-top: 0; }
.doc .lab { flex: 1; min-width: 0; }
.doc select { height: 32px; border-radius: 9px; border: 1px solid var(--line); background: var(--surface); font-size: 12.5px; padding: 0 8px; }
.doc .tick { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--silver); display: grid; place-items: center; flex: none; }
.doc .tick.y { background: var(--ok); border-color: var(--ok); color: #fff; }
.doc .tick.r { border-color: var(--gold); color: var(--gold); }
.doc .tick.x { border-color: var(--wine); color: var(--wine); }

.prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.prod { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px; cursor: pointer; display: flex; flex-direction: column; gap: 6px; }
.prod:hover { border-color: #D9D3C5; }
.prod .n { font-weight: 600; font-size: 14.5px; letter-spacing: -.01em; }
.prod .m { font-size: 12.5px; color: var(--ink-3); }
.prod .pf { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }

.hist { padding: 11px 16px; border-top: 1px solid var(--line); font-size: 13.5px; }
.hist:first-child { border-top: 0; }
.hist .when { font-size: 12px; color: var(--ink-3); margin-top: 2px; }
dl.kv { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; font-size: 13.5px; }
dl.kv dt { color: var(--ink-3); }
dl.kv dd { min-width: 0; overflow-wrap: anywhere; }
.person { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-top: 1px solid var(--line); }
.person:first-child { border-top: 0; }
.person .nm { font-weight: 500; font-size: 14px; }
.person .ds { font-size: 12.5px; color: var(--ink-3); }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 13.5px; cursor: pointer; margin-bottom: 14px; border: 0; background: none; }
.back svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.lhero { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.lhero .logo { width: 52px; height: 52px; border-radius: 15px; font-size: 17px; }
.lhero h1 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.lhero p { font-size: 13px; color: var(--ink-2); margin-top: 3px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }

/* ----------------------------------------------------------- sheets */
.sheet-wrap { position: fixed; inset: 0; background: rgba(20, 26, 51, .42); z-index: 50; display: none;
  align-items: center; justify-content: center; padding: 20px; }
.sheet-wrap.on { display: flex; }
.sheet { background: var(--surface); border-radius: 22px; width: 100%; max-width: 520px; max-height: 88vh;
  overflow-y: auto; padding: 22px 22px 24px; box-shadow: 0 20px 60px rgba(20, 26, 51, .25); }
.sheet h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.sheet .sub { font-size: 13px; color: var(--ink-2); margin: 3px 0 10px; }
.choices { display: grid; gap: 8px; }
.choice { display: flex; gap: 12px; align-items: center; text-align: left; padding: 12px 14px; border-radius: 13px;
  border: 1px solid var(--line); background: var(--surface); cursor: pointer; width: 100%; }
.choice:hover { border-color: var(--navy-2); }
.choice .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--navy-soft); color: var(--navy);
  display: grid; place-items: center; font-size: 14px; flex: none; }
.choice .tt { font-weight: 500; font-size: 14px; display: block; }
.choice .d { font-size: 12.5px; color: var(--ink-3); display: block; }
.choice.bad .ic { background: var(--wine-soft); color: var(--wine); }
.choice.bad .tt { color: var(--wine); }

#toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%) translateY(20px); opacity: 0;
  background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 12px; font-size: 13.5px; z-index: 80;
  transition: .25s; pointer-events: none; max-width: calc(100vw - 32px); }
#toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
#offline { display: none; position: fixed; top: 0; left: 0; right: 0; background: var(--gold); color: #fff; text-align: center;
  font-size: 12.5px; padding: 5px; z-index: 90; }
#offline.on { display: block; }

.tabbar { display: none; }
.more-menu { display: grid; gap: 4px; }

/* ----------------------------------------------------------------- phone */
@media (max-width: 900px) {
  .g4 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .g3, .g2, .g2e { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .side { display: none; }
  main { margin-left: 0; padding: 14px 16px 110px; }
  .top { margin-bottom: 14px; }
  .top .search { max-width: none; }
  .top .desk-only { display: none; }
  .mtitle { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 12px; }
  .mtitle .brand .word { font-size: 17px; }
  .hello h1 { font-size: 24px; }
  .frow { grid-template-columns: 1fr; }
  .board { grid-auto-columns: 82%; }
  table.t .hide-m { display: none; }
  .sheet-wrap { align-items: flex-end; padding: 0; }
  .sheet { border-radius: 24px 24px 0 0; max-height: 92vh; padding: 18px 18px 28px; max-width: none; }
  .tabbar { display: grid; position: fixed; left: 0; right: 0; bottom: 0; height: 74px; grid-template-columns: repeat(5, 1fr);
    background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); z-index: 30; }
  .tabbar button { border: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 3px;
    font-size: 10.5px; color: var(--ink-3); font-weight: 500; cursor: pointer; }
  .tabbar svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar .on { color: var(--navy); }
  .tabbar .plus span { width: 46px; height: 46px; border-radius: 15px; background: var(--grad); display: grid; place-items: center;
    margin-top: -6px; box-shadow: 0 6px 16px rgba(31, 43, 92, .3); }
  .tabbar .plus svg { stroke: #fff; stroke-width: 2.2; }
  #toast { bottom: 92px; }
}

/* ----------------------------------------------------------------- team */
.mem { padding: 14px 16px; border-top: 1px solid var(--line); display: grid; gap: 8px; min-width: 0; }
.mem:first-child { border-top: 0; }
.mem.off { opacity: .62; }
.mem-top { display: flex; gap: 10px; align-items: center; min-width: 0; }
.mem-top .av { width: 36px; height: 36px; flex: none; }
.mem .nm { font-weight: 500; font-size: 14.5px; margin-bottom: 3px; }
.mem .ds { font-size: 12.5px; color: var(--ink-3); }
.mem-contact { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; min-width: 0; }
.mem-contact a { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-2); text-decoration: none; overflow-wrap: anywhere; }
.mem-contact a:hover { color: var(--navy-2); }
.mem-contact svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; }
.mem-act { gap: 6px; }
.pipbtn { border: 1px dashed var(--line-2, #CFCAC0); background: var(--surface); cursor: pointer; font-family: inherit; color: var(--navy); }
.pipbtn:hover { border-color: var(--navy-2); }
.chk { display: flex; gap: 8px; align-items: center; font-size: 14px; margin-top: 12px; cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--navy); }
