/* GMS Content Calendar — shared styles. Clean, light, professional. */
* { box-sizing: border-box; }
:root {
  --ink: #1c2430;
  --muted: #5b6b7f;
  --faint: #8494a9;
  --line: #dde4ec;
  --bg: #f4f6f9;
  --card: #ffffff;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --green: #15803d;
  --green-bg: #e7f6ec;
  --red: #b91c1c;
  --red-bg: #fdecec;
  --amber: #b45309;
  --amber-bg: #fdf3e0;
  --blue: #1d4ed8;
  --blue-bg: #e3ecfd;
  --purple: #6d28d9;
  --purple-bg: #efe9fd;
  --gray-bg: #eceff3;
  --teal: #0f766e;
  --teal-bg: #e0f5f2;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(20, 32, 54, 0.10);
}
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}
a { color: var(--accent); }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

/* ---------- top bar ---------- */
.topbar {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border-bottom: 1px solid var(--line);
  padding: 10px 20px; position: sticky; top: 0; z-index: 40;
}
.brand { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.brand span { color: var(--accent); }
.topbar .spacer { flex: 1; }
.topbar .who { color: var(--muted); font-size: 13.5px; }
.btn {
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  border-radius: 8px; padding: 7px 14px; font-weight: 600; font-size: 14px;
}
.btn:hover { border-color: #c3cedd; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); }
.btn.ghost { border-color: transparent; color: var(--muted); }
.btn:disabled { opacity: 0.5; cursor: default; }

/* ---------- landing ---------- */
.landing { max-width: 980px; margin: 0 auto; padding: 56px 20px 40px; }
.landing h1 { font-size: 34px; margin: 0 0 10px; letter-spacing: -0.02em; }
.landing .lede { color: var(--muted); font-size: 17px; max-width: 620px; margin: 0 0 28px; }
.landing-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 760px) { .landing-grid { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 2px rgba(20,32,54,0.04);
}
.card h2 { margin: 0 0 14px; font-size: 18px; }
.feature-list { margin: 0; padding: 0; list-style: none; }
.feature-list li { padding: 9px 0; border-bottom: 1px solid #eef2f6; color: #33445c; }
.feature-list li:last-child { border-bottom: 0; }
.feature-list b { color: var(--ink); }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.field input, .field textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px;
  padding: 9px 11px; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 2px solid #bcd2fb; border-color: var(--accent); }
.form-error { color: var(--red); font-size: 14px; min-height: 20px; margin: 6px 0; }
.remember-field { margin-bottom: 6px; }
.remember-label {
  display: flex !important; align-items: center; gap: 8px;
  font-size: 13.5px !important; font-weight: 500 !important; color: var(--ink) !important;
  cursor: pointer; margin-bottom: 0 !important;
}
.remember-label input { width: 16px; height: 16px; accent-color: var(--accent); flex: none; }
.demo-box { margin-top: 18px; background: #f8fafc; border: 1px dashed #c9d4e4; border-radius: 10px; padding: 14px 16px; font-size: 13.5px; color: #40506a; }
.demo-box b { color: var(--ink); }
.demo-box code { background: #e8edf4; padding: 1px 5px; border-radius: 4px; font-size: 12.5px; }
.demo-box ul { margin: 8px 0 0; padding-left: 18px; }
.demo-box li { margin: 3px 0; }

/* ---------- app shell ---------- */
.app { max-width: 1180px; margin: 0 auto; padding: 22px 20px 60px; }
.ws-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-top: 16px; }
.ws-card { text-align: left; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.ws-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.ws-card .ws-name { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.ws-card .ws-sub { color: var(--muted); font-size: 13.5px; }
.cal-head { display: flex; align-items: center; gap: 12px; margin: 6px 0 14px; flex-wrap: wrap; }
.cal-head h2 { margin: 0; font-size: 22px; }
.cal-head .ws-meta { color: var(--muted); font-size: 14px; }
.role-badge {
  display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 8px;
  border-radius: 999px; background: var(--blue-bg); color: var(--blue);
}
.role-badge.master { background: #fdf3e0; color: var(--amber); }
.legend { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin: 0 0 12px; }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; }

.calendar { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); background: #f8fafc; border-bottom: 1px solid var(--line); }
.cal-dow div { padding: 8px 10px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-cell { min-height: 108px; border-right: 1px solid #edf1f6; border-bottom: 1px solid #edf1f6; padding: 6px; vertical-align: top; }
.cal-cell:nth-child(7n) { border-right: 0; }
.cal-cell.dim { background: #fafbfc; }
.cal-cell.dim .daynum { color: #b3bfce; }
.cal-cell.today { background: #f5f9ff; }
.daynum { font-size: 12.5px; font-weight: 700; color: var(--muted); margin: 0 2px 5px; }
.chip {
  display: block; width: 100%; text-align: left; border: 0; border-left: 4px solid var(--faint);
  background: #f2f5f9; border-radius: 6px; padding: 4px 7px; margin-bottom: 4px;
  font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1.3;
}
.chip:hover { background: #e7edf5; }
.chip .chip-fmt { display: block; font-weight: 500; color: var(--muted); font-size: 11px; }
.st-concept { border-left-color: #94a3b8; } .st-in_production { border-left-color: #d97706; }
.st-ready { border-left-color: #2563eb; } .st-approved { border-left-color: #16a34a; }
.st-changes { border-left-color: #dc2626; } .st-scheduled { border-left-color: #7c3aed; }
.st-publishing { border-left-color: #0d9488; } .st-published { border-left-color: #14532d; }
.dot-concept { background: #94a3b8; } .dot-in_production { background: #d97706; }
.dot-ready { background: #2563eb; } .dot-approved { background: #16a34a; }
.dot-changes { background: #dc2626; } .dot-scheduled { background: #7c3aed; }
.dot-publishing { background: #0d9488; } .dot-published { background: #14532d; }

.pill { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.pill-concept { background: var(--gray-bg); color: #475569; }
.pill-in_production { background: var(--amber-bg); color: var(--amber); }
.pill-ready { background: var(--blue-bg); color: var(--blue); }
.pill-approved { background: var(--green-bg); color: var(--green); }
.pill-changes { background: var(--red-bg); color: var(--red); }
.pill-scheduled { background: var(--purple-bg); color: var(--purple); }
.pill-publishing { background: var(--teal-bg); color: var(--teal); }
.pill-published { background: #dcf2e3; color: #14532d; }

/* ---------- post panel ---------- */
.panel-backdrop {
  position: fixed; inset: 0; background: rgba(18, 28, 45, 0.42); z-index: 60;
  opacity: 0; pointer-events: none; transition: opacity 0.18s;
}
.panel-backdrop.open { opacity: 1; pointer-events: auto; }
.panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(680px, 100%);
  background: #fbfcfe; z-index: 61; overflow-y: auto; box-shadow: -12px 0 40px rgba(20,32,54,0.18);
  transform: translateX(102%); transition: transform 0.22s ease;
}
.panel.open { transform: translateX(0); }
.panel-inner { padding: 20px 22px 50px; }
.panel-close { position: sticky; top: 0; float: right; z-index: 2; }
.panel h2 { margin: 2px 0 8px; font-size: 21px; padding-right: 40px; }
.panel h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin: 24px 0 10px; }
.meta-line { color: var(--muted); font-size: 13.5px; margin: 4px 0; }
.decision-line { background: var(--green-bg); border: 1px solid #bfe6cc; color: #14532d; border-radius: 8px; padding: 9px 12px; font-size: 14px; margin: 12px 0; }
.decision-line.changes { background: var(--red-bg); border-color: #f3c2c2; color: #7f1d1d; }
.schedule-line { background: var(--purple-bg); border: 1px solid #d9ccfa; color: #4c1d95; border-radius: 8px; padding: 9px 12px; font-size: 14px; margin: 12px 0; }

.media-viewer { background: #0f172a; border-radius: var(--radius); overflow: hidden; position: relative; }
.media-viewer .stage { display: flex; align-items: center; justify-content: center; min-height: 220px; max-height: 520px; }
.media-viewer img { max-width: 100%; max-height: 520px; display: block; object-fit: contain; }
.media-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,0.92); color: #111; font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.media-nav.prev { left: 10px; } .media-nav.next { right: 10px; }
.media-count { position: absolute; bottom: 10px; right: 12px; background: rgba(0,0,0,0.6); color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 999px; }
.reel-badge {
  position: absolute; top: 10px; left: 12px; background: rgba(0,0,0,0.62); color: #fff;
  font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.no-media { background: #eef2f6; border: 1px dashed #c3cedd; border-radius: var(--radius); color: var(--muted); padding: 28px; text-align: center; font-size: 14px; }

.tabs { display: flex; gap: 6px; margin-bottom: 8px; }
.tabs button { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 13px; font-size: 13px; font-weight: 600; color: var(--muted); }
.tabs button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.caption-box { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; white-space: pre-wrap; font-size: 14px; min-height: 60px; }

.poll-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.poll-counts { font-weight: 700; font-size: 14.5px; margin-bottom: 10px; }
.poll-counts .ok { color: var(--green); } .poll-counts .no { color: var(--red); } .poll-counts .wait { color: var(--faint); }
.poll-member { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid #eef2f6; font-size: 14px; }
.poll-member:last-child { border-bottom: 0; }
.poll-member .nm { flex: 1; }
.vote-chip { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 999px; }
.vote-chip.approve { background: var(--green-bg); color: var(--green); }
.vote-chip.disapprove { background: var(--red-bg); color: var(--red); }
.vote-chip.none { background: var(--gray-bg); color: var(--faint); }
.vote-actions { display: flex; gap: 8px; margin-top: 12px; }
.vote-actions button { flex: 1; padding: 9px; border-radius: 8px; border: 1px solid var(--line); background: #fff; font-weight: 700; }
.vote-actions button.sel-approve { background: var(--green); border-color: var(--green); color: #fff; }
.vote-actions button.sel-disapprove { background: var(--red); border-color: var(--red); color: #fff; }

.decide-bar { display: flex; gap: 8px; margin-top: 12px; }
.decide-bar button { flex: 1; padding: 10px; border-radius: 8px; font-weight: 700; border: 1px solid var(--line); background: #fff; }
.decide-bar .approve-btn { background: var(--green); border-color: var(--green); color: #fff; }
.decide-bar .changes-btn { color: var(--red); border-color: #efb3b3; }
.master-note { font-size: 13px; color: var(--muted); margin-top: 8px; }

.schedule-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.schedule-box input[type="datetime-local"] { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; width: 100%; margin-bottom: 10px; }

.comment { padding: 9px 0; border-bottom: 1px solid #eef2f6; }
.comment:last-child { border-bottom: 0; }
.comment .c-head { font-size: 13px; margin-bottom: 2px; }
.comment .c-head b { font-size: 13.5px; }
.comment .c-head time { color: var(--faint); margin-left: 6px; }
.comment .c-body { font-size: 14px; white-space: pre-wrap; }
.comment-form { display: flex; gap: 8px; margin-top: 12px; }
.comment-form textarea { flex: 1; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; resize: vertical; min-height: 40px; }

/* ---------- native post view ---------- */
.avatar {
  width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #f59e0b, #ef4444, #8b5cf6);
  color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 14px; flex: none;
}
.avatar.fb-avatar { background: #1877f2; border-radius: 50%; }
.post-view {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: visible; max-width: 470px; margin: 4px auto 0;
  box-shadow: 0 2px 10px rgba(20,32,54,0.05);
}
.pv-head { display: flex; align-items: center; gap: 9px; padding: 10px 12px; position: relative; }
.pv-id { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.pv-id b { font-size: 13.5px; }
.pv-sub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-menu-btn {
  margin-left: auto; border: 0; background: transparent; font-size: 17px; font-weight: 700;
  letter-spacing: 1px; color: var(--ink); padding: 4px 8px; border-radius: 8px; flex: none;
}
.pv-menu-btn:hover { background: #f1f5f9; }
.pv-menu {
  position: absolute; top: 46px; right: 10px; z-index: 5; background: #fff;
  border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow);
  min-width: 210px; padding: 5px; display: flex; flex-direction: column;
}
.pv-menu button {
  border: 0; background: transparent; text-align: left; padding: 8px 10px;
  border-radius: 7px; font-size: 14px; font-weight: 600; color: var(--ink);
}
.pv-menu button:hover { background: #f1f5f9; }
.pv-media { background: #111; position: relative; display: flex; align-items: center; justify-content: center; }
.pv-media img { width: 100%; display: block; }
.pv-media video { width: 100%; max-height: 560px; display: block; background: #000; }
.pv-actions { display: flex; gap: 14px; padding: 9px 12px 4px; align-items: center; }
.pv-actions svg { width: 23px; height: 23px; stroke: #111; fill: none; stroke-width: 1.8; }
.pv-actions .bm { margin-left: auto; }
.pv-actions.fb-actions {
  border-top: 1px solid #eef2f6; margin: 4px 12px 8px; padding: 8px 0 2px;
  justify-content: space-around; color: var(--muted); font-weight: 600; font-size: 13.5px;
}
.pv-caption { padding: 2px 12px 12px; font-size: 13.5px; white-space: pre-wrap; }
.pv-caption b { margin-right: 6px; }
.pv-caption.fb { padding-top: 0; font-size: 14px; }
.platform-tabs { margin-top: 18px; }

/* caption suggestions + editor */
.sugg-list { border-top: 1px solid #eef2f6; margin: 0 12px; padding: 10px 0 4px; }
.sugg-title { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); margin-bottom: 6px; }
.sugg-item { padding: 7px 0; border-bottom: 1px solid #f3f6fa; }
.sugg-item:last-child { border-bottom: 0; }
.sugg-head { font-size: 12.5px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.sugg-head time { color: var(--faint); }
.sugg-chip { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.sugg-chip.adopted { background: var(--green-bg); color: var(--green); }
.sugg-text { font-size: 13.5px; white-space: pre-wrap; margin-top: 2px; }
.sugg-adopt { margin-top: 6px; padding: 4px 10px; font-size: 12.5px; }
.sugg-draft-note { margin: 0 12px; padding: 8px 0 0; font-size: 13px; color: var(--muted); }
.link-btn { border: 0; background: transparent; color: var(--accent); font-weight: 700; padding: 0; font-size: 13px; }
.caption-editor { border-top: 1px solid #eef2f6; margin: 0 12px; padding: 10px 0 14px; }
.ce-head { display: flex; align-items: baseline; gap: 10px; font-size: 13.5px; margin-bottom: 6px; }
.ce-state { font-size: 12px; color: var(--faint); }
.caption-editor textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px;
  resize: vertical; background: #fff; color: var(--ink);
}
.caption-editor textarea:focus { outline: 2px solid #bcd2fb; border-color: var(--accent); }
.ce-actions { display: flex; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.ce-note { font-size: 12px; color: var(--faint); }

/* profile grid: 3:4 tiles, Instagram's current crop */
.grid-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; max-width: 470px; margin: 0 auto; }
.grid-preview .gt {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #e2e8f0;
  border: 0; padding: 0; display: block; width: 100%;
}
.grid-preview .gt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.grid-preview button.gt { cursor: pointer; }
.grid-preview button.gt:hover { opacity: 0.88; }
.grid-preview .gt.current { outline: 3px solid var(--accent); outline-offset: -3px; }
.gt-reel {
  position: absolute; top: 6px; right: 6px; background: rgba(0,0,0,0.55); border-radius: 6px;
  padding: 3px 5px; display: inline-flex;
}
.gt-reel svg { width: 9px; height: 11px; }
.viewing-badge {
  position: absolute; bottom: 6px; left: 6px; background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 999px;
}

/* date suggestions */
.resched-list { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 16px; }
.resched-item { display: flex; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid #eef2f6; font-size: 14px; }
.resched-item:last-child { border-bottom: 0; }
.resched-main { flex: 1; }
.resched-meta { color: var(--faint); font-size: 12.5px; margin-top: 2px; }
.resched-actions { display: flex; gap: 6px; flex: none; }
.resched-actions .btn { padding: 5px 11px; font-size: 13px; }
.vote-chip.decision { background: var(--amber-bg); color: var(--amber); }

/* calendar drag and drop */
.cal-cell.drop-hover { background: #eaf1fe; box-shadow: inset 0 0 0 2px var(--accent); }
.chip[draggable="true"] { cursor: grab; }
.legend-hint { color: var(--faint); }

/* dialog */
.dlg-overlay {
  position: fixed; inset: 0; background: rgba(18, 28, 45, 0.45); z-index: 80;
  display: none; align-items: center; justify-content: center; padding: 18px;
}
.dlg-overlay.open { display: flex; }
.dlg-card {
  background: #fff; border-radius: 14px; padding: 20px; width: min(440px, 100%);
  max-height: 86vh; overflow-y: auto; box-shadow: var(--shadow);
}
.dlg-title { margin: 0 0 8px; font-size: 17px; }
.dlg-body { color: #33445c; font-size: 14.5px; margin: 0 0 10px; }
.dlg-label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 10px 0 5px; }
.dlg-input {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px;
  background: #fff; color: var(--ink);
}
.dlg-input:focus { outline: 2px solid #bcd2fb; border-color: var(--accent); }
.dlg-error { color: var(--red); font-size: 13px; margin: 6px 0 0; }
.dlg-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 16px; flex-wrap: wrap; }

/* alerts */
.alert-list { max-height: 55vh; overflow-y: auto; }
.alert-item { padding: 8px 0; border-bottom: 1px solid #eef2f6; font-size: 14px; }
.alert-item:last-child { border-bottom: 0; }
.alert-meta { color: var(--faint); font-size: 12.5px; margin-top: 2px; }
.empty-note { color: var(--faint); font-size: 13.5px; text-align: center; padding: 12px; }
.footer-note { color: var(--faint); font-size: 12.5px; text-align: center; margin-top: 34px; }

/* ---------- origin / personal / remix badges ---------- */
.st-personal { border-left-color: #7c3aed; }
.dot-personal { background: #7c3aed; }
.pill-personal { background: var(--purple-bg); color: var(--purple); }
.badge-team, .badge-personal, .badge-remix, .badge-arriving {
  display: inline-block; font-size: 11.5px; font-weight: 700; padding: 2px 8px;
  border-radius: 999px; vertical-align: 2px;
}
.badge-team { background: var(--blue-bg); color: var(--blue); }
.badge-personal { background: var(--purple-bg); color: var(--purple); }
.badge-remix { background: var(--amber-bg); color: var(--amber); }
.badge-arriving { background: var(--teal-bg); color: var(--teal); }
.chip-badge {
  display: inline-block; font-size: 10px; font-weight: 700; padding: 0 6px;
  border-radius: 999px; background: var(--blue-bg); color: var(--blue);
  margin-left: 5px; vertical-align: 1px;
}
.chip-badge.personal { background: var(--purple-bg); color: var(--purple); }
.chip-badge.remix { background: var(--amber-bg); color: var(--amber); }
.dest-list { display: flex; gap: 6px; flex-wrap: wrap; }
.dest-chip {
  font-size: 12.5px; font-weight: 600; background: var(--gray-bg); color: #33445c;
  padding: 3px 10px; border-radius: 999px;
}
.personal-note {
  background: var(--purple-bg); border: 1px solid #d9ccfa; color: #4c1d95;
  border-radius: 8px; padding: 10px 12px; font-size: 14px; margin: 14px 0;
}
.arriving-media { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.arriving-media p { margin: 0; }
.remix-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.remix-line { font-size: 14px; margin: 0 0 10px; }

/* ---------- create flow ---------- */
.create-fab {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: 22px; z-index: 55;
  width: 58px; height: 58px; border-radius: 50%; border: 0;
  background: var(--accent); color: #fff; font-size: 32px; font-weight: 600; line-height: 1;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.42);
  display: flex; align-items: center; justify-content: center; padding-bottom: 4px;
}
.create-fab:hover { background: var(--accent-dark); }
.create-overlay {
  position: fixed; inset: 0; background: rgba(18, 28, 45, 0.45); z-index: 90;
  align-items: flex-start; justify-content: center; padding: 26px 14px; overflow-y: auto;
}
.create-card {
  background: #fff; border-radius: 14px; padding: 20px; width: min(560px, 100%);
  box-shadow: var(--shadow); margin: auto 0;
}
.create-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.create-head h3 { margin: 0; font-size: 18px; }
.create-choices { display: flex; flex-direction: column; gap: 10px; }
.create-choice {
  text-align: left; border: 1px solid var(--line); background: #fff; border-radius: var(--radius);
  padding: 14px 16px; display: flex; flex-direction: column; gap: 2px;
}
.create-choice:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.create-choice b { font-size: 15.5px; }
.create-choice span { color: var(--muted); font-size: 13.5px; }
.create-note { color: var(--muted); font-size: 13.5px; margin: 8px 0; }
.create-nav { display: flex; gap: 8px; align-items: center; margin-top: 16px; }
.create-nav-spacer { flex: 1; }
.create-file-row {
  display: flex; justify-content: space-between; gap: 10px; padding: 7px 0;
  border-bottom: 1px solid #eef2f6; font-size: 14px;
}
.create-file-size { color: var(--faint); flex: none; }
.progress-track { background: #e8edf4; border-radius: 999px; height: 10px; overflow: hidden; }
.progress-bar { background: var(--accent); height: 100%; width: 0%; transition: width 0.2s; }
.rec-wrap { position: relative; background: #0b1220; border-radius: var(--radius); overflow: hidden; }
.rec-wrap video { width: 100%; max-height: 430px; display: block; background: #000; }
.rec-timer {
  position: absolute; top: 10px; right: 12px; background: rgba(0,0,0,0.62); color: #fff;
  font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.rec-timer.live { background: #b91c1c; }
.rec-timer.warn { background: #b45309; }
.target-row {
  display: flex; align-items: center; gap: 10px; padding: 7px 0;
  border-bottom: 1px solid #eef2f6; flex-wrap: wrap;
}
.target-row:last-of-type { border-bottom: 0; }
.target-name { flex: 1; font-weight: 600; font-size: 14px; min-width: 90px; }
.target-opts { display: flex; gap: 5px; }
.target-opts button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 4px 11px; font-size: 12.5px; font-weight: 600; color: var(--muted);
}
.target-opts button.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- team / my calendar split ---------- */
.view-bar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 0 0 12px;
}
.seg-toggle {
  display: inline-flex; background: #e8edf4; border-radius: 999px; padding: 3px;
}
.seg-toggle button {
  border: 0; background: transparent; border-radius: 999px; padding: 6px 16px;
  font-size: 14px; font-weight: 700; color: var(--muted);
}
.seg-toggle button.active { background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(20,32,54,0.14); }
.seg-toggle.small button { padding: 4px 12px; font-size: 13px; }
.gms-view-controls { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.viewing-label { font-size: 13px; font-weight: 700; color: var(--muted); }
.member-pick {
  border: 1px solid var(--line); border-radius: 8px; padding: 6px 9px;
  background: #fff; color: var(--ink); font-size: 14px; font-weight: 600;
}
.view-note { font-size: 13px; color: var(--muted); }
.my-grid-wrap { margin-top: 26px; }
.my-grid-wrap h3 {
  font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--muted); margin: 0 0 10px;
}
.my-grid-wrap .grid-preview { margin: 0; }
.grid-preview .gt.empty {
  background: #eef2f6; border: 2px dashed #c9d4e4; aspect-ratio: 3 / 4;
}
.grid-preview button.gt.empty { cursor: pointer; }
.grid-preview button.gt.empty:hover { background: #e3ebf5; opacity: 1; }
.grid-preview div.gt.empty { cursor: default; }
