/* ===== AI Meeting — Organic Neumorphism ===== */
:root {
  --bg: #e9edf2;
  --surface: #edf1f5;
  --ink: #24324a;
  --ink-2: #3d4b63;
  --sub: #7b879b;
  --line: #d6dce5;
  --sd: #c4ccd7;
  --sl: #ffffff;
  --pink: #f0568c;
  --orange: #f7a33c;
  --green: #23c19a;
  --blue: #3a9df2;
  --purple: #8c6cf0;
  --red: #ec4f5a;
  --neu: 6px 6px 14px var(--sd), -6px -6px 14px var(--sl);
  --neu-sm: 3px 3px 8px var(--sd), -3px -3px 8px var(--sl);
  --neu-in: inset 3px 3px 7px var(--sd), inset -3px -3px 7px var(--sl);
  --radius: 16px;
  --font: 'Noto Sans KR', 'Roboto', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--font); color: var(--ink); background: var(--bg);
  display: flex; min-height: 100vh; font-size: 13.5px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: -0.02em; }
b, strong { font-weight: 700; }
[hidden] { display: none !important; }

/* dots */
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 7px; height: 7px; border-radius: 3px; display: block; }
.dots i:nth-child(1) { background: var(--pink); }
.dots i:nth-child(2) { background: var(--orange); }
.dots i:nth-child(3) { background: var(--green); }
.dots.sm i { width: 6px; height: 6px; border-radius: 50%; }

/* ===== sidebar ===== */
.side {
  width: 204px; flex: 0 0 204px; position: sticky; top: 0; height: 100vh;
  padding: 20px 12px 14px; display: flex; flex-direction: column; gap: 16px;
}
.brand { display: flex; flex-direction: column; gap: 6px; padding: 0 8px; }
.brand h1 { font-family: 'Roboto', var(--font); font-weight: 400; font-size: 22px; }
.brand h1 b { font-weight: 900; }
.brand h1 .ver { border: 0; cursor: pointer; display: inline-block; vertical-align: middle; margin-left: 4px; padding: 2px 8px; border-radius: 8px; background: var(--red); color: #fff; font: 700 11px 'Roboto', sans-serif; letter-spacing: .02em; box-shadow: 0 4px 10px rgba(236,79,90,.35); transform: translateY(-3px); }
.brand small { color: var(--sub); font-size: 11.5px; margin-top: -3px; }
#nav { display: flex; flex-direction: column; gap: 4px; }
#nav a {
  display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 12px; font-size: 13px;
  color: var(--ink-2); font-weight: 500; transition: box-shadow .2s, color .2s;
}
#nav a i { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; box-shadow: var(--neu-sm); color: var(--sub); font-size: 12.5px; transition: .2s; }
#nav a:hover { color: var(--ink); }
#nav a.on { box-shadow: var(--neu-in); color: var(--ink); font-weight: 700; }
#nav a.on i { background: linear-gradient(135deg, var(--pink), var(--orange)); color: #fff; box-shadow: 0 6px 14px rgba(240,86,140,.35); }
#nav a[data-r="meetings"].on i { background: linear-gradient(135deg, var(--blue), var(--purple)); box-shadow: 0 6px 14px rgba(58,157,242,.35); }
#nav a[data-r="new"].on i { background: linear-gradient(135deg, var(--green), var(--blue)); box-shadow: 0 6px 14px rgba(35,193,154,.35); }
#nav a[data-r="calendar"].on i { background: linear-gradient(135deg, var(--orange), var(--pink)); }
#nav a[data-r="settings"].on i { background: linear-gradient(135deg, var(--ink-2), var(--purple)); }
.rec-indicator { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 16px; box-shadow: var(--neu-sm); color: var(--red); font-weight: 700; font-size: 13px; cursor: pointer; }
.rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: pulse 1.2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(236,79,90,.5); } 50% { box-shadow: 0 0 0 8px rgba(236,79,90,0); } }
.side-foot { margin-top: auto; font-size: 11px; color: var(--sub); padding: 0 10px; }

/* ===== main ===== */
main { flex: 1; min-width: 0; padding: 20px 26px 36px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.page-head .dots { margin-bottom: 6px; }
.page-head h2 { font-family: 'Roboto', var(--font); font-weight: 400; font-size: 27px; }
.page-head h2 b { font-weight: 900; }
.page-head p { margin: 3px 0 0; color: var(--sub); font-size: 12.5px; }
.badge-round {
  width: 60px; height: 60px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center;
  box-shadow: var(--neu); position: relative; font: 900 19px 'Roboto', sans-serif;
}
.badge-round::before { content: ''; position: absolute; inset: 7px; border-radius: 50%; box-shadow: var(--neu-in); }
.badge-round span { position: relative; }
.head-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* ===== cards ===== */
.card { background: var(--bg); border-radius: var(--radius); box-shadow: var(--neu); padding: 16px 18px; position: relative; }
.card.flat { box-shadow: var(--neu-sm); }
.card.inset { box-shadow: var(--neu-in); }
.card h3 { font-size: 16px; font-weight: 400; margin-bottom: 2px; }
.card h3 b { font-weight: 900; }
.card .card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.card .card-head .dots { margin-top: 6px; }
.card-sub { color: var(--sub); font-size: 12px; margin: 1px 0 0; }
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.g-main { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.mt { margin-top: 14px; }
.mt-s { margin-top: 8px; }
.muted { color: var(--sub); }
.small { font-size: 12px; }
.row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 10px; }

/* KPI */
.kpi { display: flex; align-items: center; gap: 12px; }
.kpi .ico { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 16px; flex: 0 0 auto; }
.kpi .num { font: 900 24px 'Roboto', sans-serif; line-height: 1; }
.kpi .lab { color: var(--sub); font-size: 12px; margin-top: 3px; }
.bg-pink { background: linear-gradient(135deg, #ff7aa8, var(--pink)); box-shadow: 0 8px 18px rgba(240,86,140,.35); }
.bg-orange { background: linear-gradient(135deg, #ffc061, var(--orange)); box-shadow: 0 8px 18px rgba(247,163,60,.35); }
.bg-green { background: linear-gradient(135deg, #4fe0b8, var(--green)); box-shadow: 0 8px 18px rgba(35,193,154,.35); }
.bg-blue { background: linear-gradient(135deg, #6cc0ff, var(--blue)); box-shadow: 0 8px 18px rgba(58,157,242,.35); }
.bg-purple { background: linear-gradient(135deg, #ad95ff, var(--purple)); box-shadow: 0 8px 18px rgba(140,108,240,.35); }

/* organic blob */
.blob { border-radius: 62% 38% 46% 54% / 55% 48% 52% 45%; animation: morph 12s ease-in-out infinite; }
.blob.b2 { border-radius: 42% 58% 61% 39% / 47% 39% 61% 53%; animation-delay: -4s; }
.blob.b3 { border-radius: 55% 45% 38% 62% / 60% 52% 48% 40%; animation-delay: -8s; }
@keyframes morph {
  0%,100% { border-radius: 62% 38% 46% 54% / 55% 48% 52% 45%; }
  33% { border-radius: 40% 60% 58% 42% / 44% 58% 42% 56%; }
  66% { border-radius: 52% 48% 36% 64% / 62% 40% 60% 38%; }
}
.blob-ico { width: 36px; height: 36px; display: grid; place-items: center; color: #fff; font-size: 14px; flex: 0 0 auto; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 14px;
  border-radius: 11px; border: 0; background: var(--bg); box-shadow: var(--neu-sm); cursor: pointer;
  font-weight: 600; font-size: 13px; color: var(--ink-2); transition: box-shadow .15s, transform .15s; white-space: nowrap;
}
.btn:hover { color: var(--ink); transform: translateY(-1px); }
.btn:active { box-shadow: var(--neu-in); transform: none; }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.btn.primary { color: #fff; background: linear-gradient(120deg, var(--pink), var(--orange)); box-shadow: 0 8px 18px rgba(240,86,140,.32); }
.btn.blue { color: #fff; background: linear-gradient(120deg, var(--blue), var(--purple)); box-shadow: 0 8px 18px rgba(58,157,242,.3); }
.btn.green { color: #fff; background: linear-gradient(120deg, var(--green), var(--blue)); box-shadow: 0 8px 18px rgba(35,193,154,.3); }
.btn.red { color: #fff; background: linear-gradient(120deg, #ff6f78, var(--red)); box-shadow: 0 8px 18px rgba(236,79,90,.3); }
.btn.ghost { box-shadow: none; background: transparent; }
.btn.sm { padding: 5px 10px; font-size: 12px; border-radius: 9px; }
.btn.icon { width: 32px; height: 32px; padding: 0; border-radius: 10px; }

/* forms */
label.f { display: flex; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 700; color: var(--ink-2); }
label.f > span small { font-weight: 400; color: var(--sub); }
.inp, select.inp, textarea.inp {
  width: 100%; border: 0; outline: 0; border-radius: 10px; padding: 8px 12px; background: var(--bg);
  box-shadow: var(--neu-in); font-size: 13.5px; font-weight: 400; color: var(--ink);
}
textarea.inp { resize: vertical; min-height: 84px; line-height: 1.55; }
textarea.inp.tall { min-height: 300px; }
.inp:focus { box-shadow: var(--neu-in), 0 0 0 2px rgba(58,157,242,.35); }
.form-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 12px; }
.form-grid .span2 { grid-column: span 2; }
.form-grid .span4 { grid-column: 1 / -1; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; user-select: none; }
.check input { accent-color: var(--pink); width: 16px; height: 16px; }
.seg { display: inline-flex; padding: 3px; border-radius: 11px; box-shadow: var(--neu-in); gap: 4px; }
.seg button { border: 0; background: none; padding: 5px 11px; border-radius: 8px; cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--sub); }
.seg button.on { background: var(--bg); box-shadow: var(--neu-sm); color: var(--ink); }

/* chips */
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; box-shadow: var(--neu-sm); color: var(--ink-2); }
.chip.c-pink { color: var(--pink); } .chip.c-orange { color: #d9861c; } .chip.c-green { color: #129c7a; } .chip.c-blue { color: var(--blue); } .chip.c-purple { color: var(--purple); }
.chip.solid { color: #fff; box-shadow: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.stage { font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: #fff; }

/* tabs */
.tabs { display: flex; gap: 4px; flex-wrap: wrap; padding: 5px; border-radius: 14px; box-shadow: var(--neu-in); margin-bottom: 14px; }
.tabs a { display: flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 10px; font-size: 12.5px; font-weight: 600; color: var(--sub); }
.tabs a.on { background: var(--bg); box-shadow: var(--neu-sm); color: var(--ink); }
.tabs a.on i { color: var(--pink); }
.tabs a.disabled { opacity: .4; pointer-events: none; }

/* meeting cards */
.m-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; transition: transform .2s; cursor: pointer; }
.m-card:hover { transform: translateY(-4px); }
.m-actions { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; gap: 8px; opacity: 0; transition: opacity .2s; }
.m-card:hover .m-actions, .m-card:focus-within .m-actions { opacity: 1; }
.m-actions .btn { width: 34px; height: 34px; background: rgba(255,255,255,.88); backdrop-filter: blur(4px); }
.m-actions [data-del]:hover { color: var(--red); }
.m-actions [data-edit]:hover { color: var(--blue); }
@media (hover: none) { .m-actions { opacity: 1; } }
.m-art { height: 112px; position: relative; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.m-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-art .art-blob { position: absolute; width: 190px; height: 170px; right: -20px; top: -20px; opacity: .95; }
.m-art .art-blob.s { width: 70px; height: 64px; right: 160px; top: 76px; opacity: .8; }
.m-art .art-date { position: absolute; left: 16px; bottom: 12px; font: 900 28px 'Roboto', sans-serif; color: var(--ink); line-height: 1; }
.m-art .art-date small { display: block; font-size: 12px; font-weight: 500; color: var(--sub); margin-bottom: 4px; }
.m-body { padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.m-body h4 { font-size: 15px; font-weight: 700; }
.m-meta { font-size: 12.5px; color: var(--sub); display: flex; gap: 14px; flex-wrap: wrap; }
.m-meta i { margin-right: 4px; }

/* list rows */
.lrow { display: flex; align-items: center; gap: 10px; padding: 8px 2px; border-bottom: 1px solid var(--line); }
.lrow:last-child { border-bottom: 0; }
.lrow .date-pill { width: 46px; flex: 0 0 auto; text-align: center; border-radius: 11px; box-shadow: var(--neu-sm); padding: 5px 0; line-height: 1.1; }
.lrow .date-pill b { display: block; font: 900 17px 'Roboto', sans-serif; }
.lrow .date-pill small { font-size: 10.5px; color: var(--sub); }
.lrow .grow { flex: 1; min-width: 0; }
.lrow .grow h5 { margin: 0; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lrow .grow p { margin: 2px 0 0; font-size: 12px; color: var(--sub); }
.todo { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-bottom: 1px solid var(--line); }
.todo:last-child { border-bottom: 0; }
.todo input { margin-top: 4px; accent-color: var(--green); width: 17px; height: 17px; flex: 0 0 auto; }
.todo.done .t { text-decoration: line-through; color: var(--sub); }
.todo .t { font-size: 13.5px; font-weight: 500; }
.todo .w { font-size: 11.5px; color: var(--sub); }

/* charts */
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.cloud { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline; }
.cloud span { font-weight: 700; line-height: 1.2; }

/* recorder */
.rec-panel { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 10px 0; }
.rec-btn {
  width: 96px; height: 96px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--bg); box-shadow: var(--neu); position: relative; transition: .2s;
}
.rec-btn::before { content: ''; position: absolute; inset: 14px; border-radius: 50%; background: linear-gradient(135deg, #ff7aa8, var(--pink)); box-shadow: 0 10px 22px rgba(240,86,140,.4); transition: .2s; }
.rec-btn i { position: relative; color: #fff; font-size: 30px; }
.rec-btn.on::before { inset: 30px; border-radius: 16px; background: linear-gradient(135deg, #ff6f78, var(--red)); }
.rec-btn.on { animation: pulse 1.4s infinite; }
.rec-time { font: 700 28px 'Roboto', monospace; letter-spacing: .04em; }
#viz { width: 100%; height: 76px; border-radius: 16px; box-shadow: var(--neu-in); display: block; }
.drop {
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: var(--sub);
  border-radius: 14px; box-shadow: var(--neu-in); padding: 22px 16px 18px; cursor: pointer; transition: .2s;
  border: 2px dashed #c9d2de; background: var(--bg);
}
.drop:hover { border-color: var(--blue); }
.drop:hover .drop-ico { transform: translateY(-2px); }
.drop.over { border-color: var(--blue); background: rgba(58,157,242,.07); }
.drop-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-size: 21px;
  background: linear-gradient(135deg, #6cc0ff, var(--blue)); box-shadow: 0 8px 18px rgba(58,157,242,.35); transition: transform .2s; }
.drop-t { color: var(--ink); font-size: 14px; }
.drop-t u { text-decoration: none; color: var(--blue); }
.drop-fmt { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.drop-fmt span { padding: 2px 8px; border-radius: 6px; font: 700 10.5px 'Roboto', sans-serif; letter-spacing: .04em; color: var(--ink-2); box-shadow: var(--neu-sm); }
.drop-hint { font-size: 11.5px; }
.drop-or { display: flex; align-items: center; gap: 10px; margin: 12px 0; color: var(--sub); font-size: 11.5px; }
.drop-or::before, .drop-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.drive-btn { width: 100%; justify-content: flex-start; gap: 12px; padding: 10px 14px; text-align: left; white-space: normal; }
.drive-ico { width: 34px; height: 34px; border-radius: 11px; flex: none; display: grid; place-items: center; color: #fff; font-size: 15px;
  background: linear-gradient(135deg, #4fe0b8, var(--green)); box-shadow: 0 6px 14px rgba(35,193,154,.32); }
.drive-txt { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.35; }
.drive-txt b { color: var(--ink); font-size: 13px; }
.drive-txt small { color: var(--sub); font-size: 11.5px; font-weight: 500; }
.drive-go { color: var(--sub); font-size: 11px; }
.drive-btn:hover .drive-go { color: var(--green); }
.drop-note { margin-top: 12px; padding: 10px 12px; font-size: 12px; align-items: flex-start; }
.drop-note i { margin-top: 3px; color: #f7a13a; }
.audio-item { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.audio-item:last-child { border-bottom: 0; }
.audio-item audio { width: 100%; height: 36px; margin-top: 6px; }

/* document preview */
.doc { line-height: 1.7; font-size: 13.5px; }
.doc h1 { font-size: 21px; margin: 4px 0 10px; font-weight: 900; }
.doc h2 { font-size: 16.5px; margin: 18px 0 8px; padding-left: 12px; border-left: 4px solid var(--pink); }
.doc h3 { font-size: 14.5px; margin: 12px 0 6px; color: var(--ink-2); }
.doc p { margin: 8px 0; }
.doc ul, .doc ol { margin: 8px 0; padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc blockquote { margin: 12px 0; padding: 10px 16px; border-radius: 12px; box-shadow: var(--neu-in); color: var(--ink-2); }
.doc table { border-collapse: collapse; width: 100%; margin: 10px 0; font-size: 12.5px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 6px 9px; text-align: left; vertical-align: top; }
.doc th { background: #e1e7ee; }
.doc code { background: #dfe5ec; padding: 1px 6px; border-radius: 6px; font-size: 12.5px; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }

/* empty state */
.empty { text-align: center; padding: 30px 16px; color: var(--sub); }
.empty .blob { width: 80px; height: 72px; margin: 0 auto 12px; display: grid; place-items: center; color: #fff; font-size: 26px; }
.empty h4 { color: var(--ink); font-size: 15.5px; margin-bottom: 6px; }

/* calendar */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.cal-head h3 { font: 400 26px 'Roboto', var(--font); }
.cal-head h3 b { font-weight: 900; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.cal .dow { text-align: center; font-size: 12px; font-weight: 700; color: var(--sub); padding-bottom: 4px; }
.cal .dow:first-child { color: var(--pink); }
.cal .day { min-height: 104px; border-radius: 16px; box-shadow: var(--neu-sm); padding: 8px; display: flex; flex-direction: column; gap: 4px; cursor: pointer; transition: .15s; min-width: 0; }
.cal .day:hover { box-shadow: var(--neu-in); }
.cal .day.other { opacity: .4; }
.cal .day.today { box-shadow: var(--neu-in); }
.cal .day.today .dn { background: linear-gradient(135deg, var(--pink), var(--orange)); color: #fff; }
.cal .dn { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 700 12.5px 'Roboto', sans-serif; }
.cal .ev { font-size: 11px; font-weight: 600; padding: 3px 7px; border-radius: 8px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }

/* modal */
.modal-bg { position: fixed; inset: 0; background: rgba(36,50,74,.32); backdrop-filter: blur(4px); display: grid; place-items: center; z-index: 50; padding: 20px; animation: fade .2s; }
.modal { background: var(--bg); border-radius: 20px; box-shadow: 0 30px 80px rgba(36,50,74,.35); width: min(620px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 22px; position: relative; animation: pop .25s cubic-bezier(.2,.9,.3,1.2); }
.modal.wide { width: min(980px, 100%); }
.modal .x { position: absolute; top: 14px; right: 14px; z-index: 3; }
.modal-hero { position: relative; margin: -30px -30px 20px; padding: 30px; overflow: hidden; border-radius: 28px 28px 0 0; }
.modal-hero .blob { position: absolute; right: -30px; top: -40px; width: 200px; height: 180px; opacity: .9; }
.modal-hero > *:not(.blob) { position: relative; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: scale(.92); opacity: 0; } }
.info-list { display: grid; grid-template-columns: 90px 1fr; gap: 8px 14px; font-size: 13.5px; }
.info-list dt { color: var(--sub); font-weight: 600; }
.info-list dd { margin: 0; }

/* toast */
#toasts { position: fixed; right: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 10px; z-index: 80; }
.toast { background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 13.5px; box-shadow: 0 12px 30px rgba(36,50,74,.3); max-width: 380px; animation: pop .25s; display: flex; gap: 10px; align-items: flex-start; }
.toast.error { background: var(--red); }
.toast.ok { background: #149a7a; }

/* previews */
.preview-frame { width: 100%; aspect-ratio: 16/10.6; border: 0; border-radius: 18px; background: transparent; display: block; }
.canvas-wrap canvas { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--neu); display: block; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.cards-grid figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.cards-grid canvas { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--neu-sm); }
.progress { height: 8px; border-radius: 8px; box-shadow: var(--neu-in); overflow: hidden; }
.progress b { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--orange)); border-radius: 8px; transition: width .3s; }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: 16px; box-shadow: var(--neu-in); font-size: 13px; color: var(--ink-2); }
.notice i { color: var(--orange); margin-top: 3px; }
.share-tile { display: flex; gap: 14px; align-items: flex-start; }
.share-tile h4 { font-size: 15px; margin-bottom: 2px; }
.share-tile p { margin: 0 0 10px; color: var(--sub); font-size: 12.5px; }

/* footer */
.app-foot { margin-top: 48px; padding: 22px 24px; border-radius: var(--radius); box-shadow: var(--neu-in); text-align: center; font-size: 12.5px; color: var(--sub); line-height: 1.9; }
.app-foot p { margin: 0; }
.app-foot a { color: var(--pink); font-weight: 700; }
.app-foot a:hover { text-decoration: underline; }


/* ===== 로그인 · 회원 · 관리자 ===== */
body.auth-mode main { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; }
.auth-wrap { display: grid; place-items: center; padding: 30px 0; }
.auth-card { position: relative; overflow: hidden; width: min(520px, 100%); padding: 44px 40px 34px; border-radius: 30px; background: var(--bg); box-shadow: var(--neu); text-align: left; }
.auth-card > *:not(.blob) { position: relative; }
.auth-blob { position: absolute; right: -70px; top: -70px; width: 230px; height: 210px; background: linear-gradient(135deg, var(--pink), var(--orange)); opacity: .9; }
.auth-blob2 { position: absolute; right: 40px; bottom: -40px; width: 110px; height: 96px; background: linear-gradient(135deg, var(--green), var(--blue)); opacity: .85; }
.auth-title { font: 400 38px 'Roboto', var(--font); margin: 14px 0 8px; }
.auth-title b { font-weight: 900; }
.auth-sub { color: var(--sub); margin: 0 0 24px; max-width: 360px; }
.gsi-box { min-height: 46px; display: flex; align-items: center; margin-bottom: 14px; }
.auth-err { color: var(--red); font-size: 13px; font-weight: 600; margin: 6px 0; }
.auth-steps { margin: 18px 0 8px; padding-left: 20px; color: var(--ink-2); font-size: 13px; line-height: 1.9; }
.auth-steps li::marker { color: var(--pink); font-weight: 900; }
.auth-admin { margin-top: 10px; color: var(--sub); }
#nav a.locked { opacity: .38; pointer-events: none; filter: grayscale(1); }
#nav a[data-r="admin"].on i { background: linear-gradient(135deg, #24324a, var(--purple)); }
.nav-badge { display: inline-block; min-width: 18px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: var(--red); color: #fff; font: 700 11px/18px 'Roboto', sans-serif; text-align: center; }
.account { padding: 14px; border-radius: 18px; box-shadow: var(--neu-sm); display: flex; flex-direction: column; gap: 10px; }
.acc-top { display: flex; gap: 10px; align-items: center; min-width: 0; }
.acc-top img, .acc-av { width: 38px; height: 38px; border-radius: 12px; flex: 0 0 auto; object-fit: cover; }
.acc-av { display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--purple)); color: #fff; }
.acc-txt { min-width: 0; line-height: 1.35; }
.acc-txt b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-txt small { display: block; font-size: 11px; color: var(--sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-act { gap: 6px; flex-wrap: nowrap; }
.acc-act .stage { margin-right: auto; }
.acc-act .btn.icon { width: 30px; height: 30px; border-radius: 10px; font-size: 12px; }
.pending-card { overflow: hidden; }
.pend-blob { position: absolute; right: -60px; top: -60px; width: 240px; height: 220px; background: linear-gradient(135deg, var(--orange), var(--pink)); opacity: .85; }
.table-wrap { overflow-x: auto; border-radius: 14px; box-shadow: var(--neu-in); padding: 6px; }
.mtable { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 900px; }
.mtable th { text-align: left; font-size: 12px; color: var(--sub); font-weight: 700; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.mtable td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.mtable tr:last-child td { border-bottom: 0; }
.mtable tbody tr:hover { background: rgba(255,255,255,.45); }
.mav { width: 30px; height: 30px; border-radius: 10px; object-fit: cover; }
.ok-btn { color: #129c7a; }
.mcount { font: 900 18px 'Roboto', sans-serif; color: var(--ink); }
.del-btn:hover { color: var(--red); }
@media (max-width: 900px) { .account { position: fixed; top: 10px; left: 10px; z-index: 45; padding: 8px; background: var(--bg); gap: 6px; } .acc-txt { display: none; } .auth-card { padding: 34px 22px 28px; } }

/* 구글 드라이브 일괄 저장 */
.bulk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.bulk-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; box-shadow: var(--neu-sm); cursor: pointer; min-width: 0; }
.bulk-item input { accent-color: #129c7a; width: 16px; height: 16px; flex: none; }
.bulk-item > i { color: #129c7a; width: 18px; text-align: center; flex: none; }
.bulk-item span { display: flex; flex-direction: column; min-width: 0; }
.bulk-item b { font-size: 13.5px; }
.bulk-item small { font-size: 11.5px; color: var(--sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bulk-item.off { opacity: .45; cursor: default; box-shadow: var(--neu-in); }
.bulk-act { align-items: center; flex-wrap: wrap; }
.bulk-act .small { min-width: 0; overflow-wrap: anywhere; }
.bulk-log { display: grid; gap: 6px; margin-top: 12px; font-size: 13px; }
.bulk-log:empty { display: none; }
.bulk-log small { color: var(--sub); margin-left: 4px; overflow-wrap: anywhere; }
.bulk-log .ok { color: #129c7a; } .bulk-log .err { color: var(--red); }

/* 사용법 */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; counter-reset: none; }
.flow li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 14px 8px; border-radius: 16px; box-shadow: var(--neu-sm); font-size: 13px; font-weight: 600; }
.flow li b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #f0568c, #f7a13a); font: 800 14px 'Roboto', sans-serif; }
.help-toc { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px; }
.help-toc a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 12px; box-shadow: var(--neu-sm); font-size: 13px; font-weight: 600; color: var(--ink); }
.help-toc a i { color: var(--pink); }
.help-sec { scroll-margin-top: 16px; }
.help-h { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.help-h .blob-ico { flex: none; }
.help-h small { font: 800 11px 'Roboto', sans-serif; letter-spacing: .12em; color: var(--pink); }
.help-h h3 { font-size: 21px; margin: 2px 0 4px; }
.help-h p { margin: 0; }
.help-steps { margin: 0 0 14px; padding-left: 22px; display: grid; gap: 8px; line-height: 1.7; }
.help-steps li::marker { font-weight: 800; color: var(--pink); }
.help-steps code, .help-tip code { font-size: 12.5px; padding: 1px 6px; border-radius: 6px; background: rgba(120,130,160,.12); }
.help-tip { display: flex; gap: 10px; padding: 12px 16px; border-radius: 14px; box-shadow: var(--neu-in); font-size: 13.5px; line-height: 1.65; margin-bottom: 16px; }
.help-tip i { color: #f7a13a; margin-top: 4px; }
.help-figs { display: grid; gap: 18px; }
.help-figs.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.help-figs.mob { grid-template-columns: repeat(2, minmax(0, 260px)); justify-content: center; }
.help-fig { margin: 0; }
.help-fig img { width: 100%; display: block; border-radius: 14px; box-shadow: var(--neu-sm); cursor: zoom-in; background: var(--bg); }
.help-fig.mobile img { max-height: 560px; object-fit: cover; object-position: top; }
.help-fig figcaption { font-size: 12.5px; color: var(--sub); text-align: center; margin-top: 8px; }
.help-zoom { margin: 30px 0 0; }
.help-zoom img { width: 100%; max-height: 78vh; object-fit: contain; border-radius: 12px; display: block; }
.help-zoom figcaption { text-align: center; color: var(--sub); font-size: 13px; margin-top: 10px; }
.faq { display: grid; gap: 10px; }
.faq details { padding: 13px 16px; border-radius: 14px; box-shadow: var(--neu-sm); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 10px 0 0; color: var(--sub); line-height: 1.7; }

/* 대시보드 To-Do */
.chip.sm { padding: 3px 9px; font-size: 11px; gap: 4px; }
.chip.c-red { color: var(--red); }
.red { color: var(--red); font-weight: 700; }
.todo-add { display: grid; grid-template-columns: minmax(0, 1fr) 160px 100px auto; gap: 10px; margin-bottom: 8px; }
.todo-list { max-height: 420px; overflow-y: auto; padding-right: 4px; }
.todo.td { align-items: center; padding: 11px 4px; }
.todo.td input[type=checkbox] { margin-top: 0; cursor: pointer; }
.td-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.td-main .t { font-size: 14px; overflow-wrap: anywhere; cursor: text; }
.td-main .inp.sm { padding: 7px 12px; font-size: 14px; flex: 1; min-width: 160px; }
.td-meta { display: flex; gap: 6px; flex-wrap: wrap; }
.todo.td .btn.icon.sm { flex: none; opacity: .55; }
.todo.td:hover .btn.icon.sm { opacity: 1; }
.td-empty { padding: 14px 4px; margin: 0; }

/* 화자 이름 · 템플릿 · 미완료 과제 넘기기 */
.spk-list { display: grid; gap: 10px; max-height: 56vh; overflow-y: auto; padding: 4px; }
.spk-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; box-shadow: var(--neu-sm); }
.spk-lab { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.spk-lab small { color: var(--sub); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.carry-list { max-height: 260px; overflow-y: auto; margin-top: 8px; }
.tpl-act, .info-act > .row { flex-wrap: wrap; gap: 8px; }
.todo.act { align-items: center; }
.todo.act .btn.sm, .todo.act .chip { flex: none; }

/* 회의 대시보드: 독창성·차별성 모션 */
.edge-act { flex-wrap: nowrap; gap: 8px; }
.edge-act .inp { width: auto; padding: 8px 12px; font-size: 13px; }

/* responsive */
@media (max-width: 1200px) { .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); } .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g-main { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  body { flex-direction: column; }
  .side { position: fixed; bottom: 0; top: auto; left: 0; right: 0; height: auto; width: 100%; padding: 8px 10px; z-index: 40; background: var(--bg); box-shadow: 0 -6px 20px var(--sd); flex-direction: row; gap: 0; }
  .brand, .side-foot { display: none; }
  #nav { flex-direction: row; justify-content: space-around; width: 100%; gap: 4px; }
  #nav a { flex-direction: column; gap: 3px; padding: 6px; font-size: 10.5px; }
  #nav a i { width: 30px; height: 30px; }
  .rec-indicator { position: fixed; top: 12px; right: 12px; background: var(--bg); }
  main { padding: 14px 12px 96px; }
  .g2, .g3 { grid-template-columns: 1fr; }
  .grid { gap: 10px; }
  .g4 { grid-template-columns: 1fr 1fr; }
  .kpi { gap: 9px; } .kpi .ico { width: 34px; height: 34px; border-radius: 11px; font-size: 13px; } .kpi .num { font-size: 20px; }
  .card { padding: 13px 14px; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .page-head h2 { font-size: 23px; }
  .badge-round { width: 50px; height: 50px; font-size: 16px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs a { flex: none; padding: 9px 12px; }
  .card-head { flex-wrap: wrap; gap: 10px; }
  .card-head > .row { flex-wrap: wrap; }
  .share-tile .row { flex-wrap: wrap; }
  .share-hero .chip { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .todo-add { grid-template-columns: minmax(0, 1fr) 140px 90px; } .todo-add .btn { grid-column: 1 / -1; }
  .help-figs.two { grid-template-columns: 1fr; }
  .help-toc a { font-size: 12px; padding: 7px 10px; }
  #nav a span { white-space: nowrap; }
  .cal { gap: 4px; } .cal .day { min-height: 64px; padding: 4px; border-radius: 10px; } .cal .ev { font-size: 9.5px; padding: 2px 4px; }
}
@media (max-width: 560px) {
  .preview-frame { aspect-ratio: 4 / 5; }
  .edge-card .card-head { flex-direction: column; } .edge-act { width: 100%; } .edge-act .inp { flex: 1; min-width: 0; }
  .spk-row { grid-template-columns: 1fr; gap: 8px; }
  .info-act { flex-direction: column-reverse; align-items: stretch; gap: 10px; }
  .info-act > .row { justify-content: stretch; } .info-act .btn { flex: 1; }
  .todo-add { grid-template-columns: 1fr 1fr; }
  .todo-add #tdText { grid-column: 1 / -1; }
  .todo-add .btn { grid-column: 1 / -1; }
  .todo-card .card-head .seg { width: 100%; } .todo-card .seg button { flex: 1; }
  .todo.td .btn.icon.sm { opacity: 1; }
  .help-h { gap: 12px; } .help-h h3 { font-size: 18px; }
  .help-figs.mob { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bulk-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .bulk-item { padding: 10px 11px; gap: 8px; }
  .bulk-act .btn { width: 100%; justify-content: center; }
  .share-tile { flex-direction: column; }
  .share-hero .row .btn { flex: 1 1 auto; justify-content: center; }
}
@media print {
  .side, .tabs, .no-print, #toasts, .app-foot, .page-head .head-actions { display: none !important; }
  body { background: #fff; display: block; } main { padding: 0; }
  .card { box-shadow: none !important; padding: 0; }
}
