/* Legacy Studio. Legacy Martial Arts brand: Black, Charcoal, Legacy Gold (always a gradient), White, Pale Gold.
   Deep Red is for errors only. Gold is never text on white. */
:root {
  --black: #111111; --charcoal: #252525; --gold: #C8A447; --pale: #F3EFE3; --white: #FFFFFF; --deep-red: #9E2B25;
  --gold-grad: linear-gradient(135deg, #96772C 0%, #C8A447 35%, #E3CE8C 55%, #B8973E 75%, #7A5A22 100%);
  /* Lighter end-stops for surfaces that carry black text, so text keeps 6.8:1 or better everywhere on it. */
  --gold-btn: linear-gradient(135deg, #B8973E 0%, #C8A447 30%, #E3CE8C 55%, #C8A447 80%, #B8973E 100%);
  --gold-edge: #96772C;
  --focus: #96772C;

  /* The engine's original variable names, remapped onto the Legacy palette. */
  --navy: #111111; --blue: #111111; --blue-d: #252525; --blue-l: #F3EFE3;
  --green: #252525; --green-l: #F3EFE3; --green-t: #252525;
  --amber: #7A5A22; --amber-l: #FBF6E6; --amber-t: #7A5A22;
  --red: #9E2B25; --red-l: #F8E9E8; --red-t: #9E2B25;
  --info-l: #F0F0F0; --info-t: #252525;
  --ink: #111111; --ink2: #252525; --muted: #5A5A5A; --line: #E4E4E4; --line2: #EFEFEF; --field: #CFCFCF;
  --ground: #FFFFFF; --card: #FFFFFF; --soft: #F7F7F5;
  --side-text: #FFFFFF; --side-muted: #B5B5B5; --side-line: #2E2E2E;
  --r: 10px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ground); color: var(--ink); font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif; font-size: 14px; line-height: 1.4; }
a { color: var(--charcoal); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--black); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, .brand b, .pagehead h1 { font-family: Archivo, Inter, system-ui, sans-serif; }
h1 { font-size: 24px; margin: 0; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: 16px; margin: 0; font-weight: 700; }
h3 { font-size: 14px; margin: 0; font-weight: 700; }
.boot { padding: 40px; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.tiny { font-size: 11px; }
.strong { font-weight: 700; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.col { display: flex; flex-direction: column; gap: 8px; }
.grow { flex: 1; min-width: 0; }
.right { margin-left: auto; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Shell: true black sidebar */
.shell { display: flex; min-height: 100vh; }
.side { width: 232px; flex-shrink: 0; background: var(--black); color: var(--side-text); border-right: 1px solid var(--black); display: flex; flex-direction: column; padding: 20px 14px; gap: 2px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px 18px; text-decoration: none; color: var(--side-text); }
.brand:hover { color: var(--side-text); }
.mark { width: 34px; height: 34px; border-radius: 10px; background: var(--black); border: 1px solid var(--side-line); object-fit: contain; display: block; flex-shrink: 0; }
.brand b { display: block; font-size: 16px; font-weight: 800; letter-spacing: .01em; }
.brand span { font-size: 12px; color: var(--side-muted); }
.newbtn { text-decoration: none; background: var(--gold-btn); color: var(--black); border: 1px solid var(--gold-edge); font-weight: 700; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; margin: 0 0 8px; }
.newbtn:hover { color: var(--black); filter: brightness(1.06); }
.nav a { position: relative; text-decoration: none; color: var(--side-text); padding: 7px 10px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.nav a:hover { background: var(--charcoal); color: var(--side-text); }
.nav a[aria-current="page"] { color: var(--side-text); font-weight: 700; background: var(--charcoal); }
.nav a[aria-current="page"]::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 2px; background: var(--gold-grad); }
.nav a.ext { color: var(--side-muted); }
.nav a.ext:hover { color: var(--side-text); }
.navhead { font-size: 11px; font-weight: 700; color: var(--side-muted); letter-spacing: .08em; padding: 10px 10px 2px; }
.badge { font-size: 11px; font-weight: 700; border-radius: 10px; padding: 1px 7px; color: var(--black); background: var(--gold-btn); }
.badge.red { background: var(--deep-red); color: var(--white); }
.sidefoot { margin-top: auto; border-top: 1px solid var(--side-line); padding-top: 10px; display: flex; flex-direction: column; gap: 2px; }
.who { padding: 8px 10px 0; }
.who b { display: block; font-size: 13px; }
.who span { font-size: 12px; color: var(--side-muted); }
.main { flex: 1; min-width: 0; padding: 22px 24px 40px; display: flex; flex-direction: column; gap: 14px; }
.topbar { display: none; }
.pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pagehead .sub { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* Controls */
.btn { border: 1px solid var(--field); background: var(--card); color: var(--ink); font-weight: 600; height: 40px; border-radius: 8px; padding: 0 14px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--soft); color: var(--ink); }
.btn.sm { height: 32px; padding: 0 10px; font-size: 12px; }
.btn.primary, .btn.green { background: var(--gold-btn); border-color: var(--gold-edge); color: var(--black); font-weight: 700; }
.btn.primary:hover, .btn.green:hover { background: var(--gold-btn); color: var(--black); filter: brightness(1.06); }
.btn.dark { background: var(--black); border-color: var(--black); color: var(--white); }
.btn.dark:hover { background: var(--charcoal); color: var(--white); }
.btn.danger { color: var(--deep-red); }
.btn:disabled { opacity: .5; cursor: not-allowed; filter: none; }
.btn:focus-visible, .field:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
label.lab, legend.lab { font-size: 12px; font-weight: 600; color: var(--muted); display: block; margin-bottom: 4px; }
.field { width: 100%; border: 1px solid var(--field); border-radius: 8px; padding: 0 10px; height: 40px; background: var(--card); }
textarea.field { height: auto; padding: 10px 12px; line-height: 1.45; resize: vertical; }
select.field { padding-right: 6px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--black); }
.seg { display: inline-flex; border: 1px solid var(--field); border-radius: 8px; overflow: hidden; background: var(--card); }
.seg button { border: 0; background: var(--card); padding: 0 12px; height: 38px; cursor: pointer; font-size: 13px; }
.seg button[aria-pressed="true"] { background: var(--pale); color: var(--black); font-weight: 700; box-shadow: inset 0 -2px 0 var(--gold-edge); }
.chip { display: inline-flex; align-items: center; gap: 6px; border-radius: 16px; padding: 5px 10px; font-size: 12px; font-weight: 600; background: var(--soft); border: 1px solid var(--line); }
.chip button { border: 0; background: none; cursor: pointer; padding: 0; color: var(--muted); font-size: 14px; line-height: 1; }
.pill { flex-shrink: 0; font-size: 11px; font-weight: 700; border-radius: 12px; padding: 3px 9px; white-space: nowrap; display: inline-block; text-decoration: none; }
.pill.ok { background: var(--gold-grad) left / 4px 100% no-repeat, var(--pale); color: var(--charcoal); padding-left: 11px; }
.pill.warn { background: var(--amber-l); color: var(--amber-t); }
.pill.bad { background: var(--red-l); color: var(--red-t); }
.pill.off { background: #F5F5F5; color: var(--muted); }
.pill.info { background: var(--info-l); color: var(--info-t); }
a.pill.ok:hover { color: var(--black); }
.dot { width: 9px; height: 9px; border-radius: 5px; flex-shrink: 0; display: inline-block; background: #9A9A9A; }
.dot.st-approved, .dot.st-partly-posted { background: var(--gold-grad); }
.dot.st-needs-review { background: var(--white); box-shadow: inset 0 0 0 2px var(--black); }
.dot.st-needs-information, .dot.st-changes-requested { background: var(--deep-red); }
.dot.st-draft { background: #9A9A9A; }
.dot.st-posted { background: var(--charcoal); }
.dot.st-archived { background: #C9C9C9; }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.card.pad { padding: 14px; }
.cardhead { padding: 12px 14px; border-bottom: 1px solid var(--line2); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat { padding: 12px 14px; }
.stat .n { font-family: Archivo, Inter, system-ui, sans-serif; font-size: 22px; font-weight: 800; }
.stat .l { font-size: 12px; color: var(--muted); }
a.card.stat:hover { border-color: var(--black); }
.split { display: flex; gap: 20px; align-items: flex-start; }
.split > .aside { width: 360px; flex-shrink: 0; display: flex; flex-direction: column; gap: 14px; }
.list > * + * { border-top: 1px solid var(--line2); }
.li { padding: 10px 14px; display: flex; gap: 10px; align-items: center; }
a.li:hover { background: var(--soft); }
table.t { width: 100%; border-collapse: collapse; font-size: 13px; }
table.t th { text-align: left; background: var(--soft); font-size: 12px; color: var(--muted); padding: 8px 12px; font-weight: 700; }
table.t td { padding: 8px 12px; border-top: 1px solid var(--line2); vertical-align: top; }
table.t td.num, table.t th.num { text-align: right; }
.empty { padding: 28px; text-align: center; color: var(--muted); }
.note { border-radius: 8px; padding: 10px 12px; font-size: 13px; }
.note.warn { background: var(--amber-l); color: var(--amber-t); }
.note.info { background: var(--info-l); color: var(--info-t); }
.note.bad { background: var(--red-l); color: var(--red-t); box-shadow: inset 3px 0 0 var(--deep-red); }
.note.ok { background: var(--gold-grad) left / 3px 100% no-repeat, var(--pale); color: var(--charcoal); }

/* Calendar */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dayhead { display: flex; align-items: baseline; gap: 6px; padding: 2px 4px 4px; }
.dayhead .d { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.dayhead .n { font-family: Archivo, Inter, system-ui, sans-serif; font-size: 20px; font-weight: 800; }
.day.today .n { color: var(--black); text-decoration: underline; text-decoration-color: #B8973E; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.pc { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 8px 9px; display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: var(--ink); min-height: 74px; }
.pc:hover { border-color: var(--black); color: var(--ink); }
.pc .tm { font-size: 11px; font-weight: 700; display: flex; justify-content: space-between; gap: 4px; }
.pc .tt { font-size: 12px; line-height: 1.3; font-weight: 600; overflow-wrap: anywhere; }
.pc .ds { font-size: 11px; color: var(--muted); }
.addday { border: 1px dashed #BDBDBD; background: transparent; border-radius: 8px; height: 32px; cursor: pointer; color: var(--muted); font-size: 12px; }
.addday:hover { border-color: var(--black); color: var(--black); }
.legend { display: flex; gap: 12px; align-items: center; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.legend span { display: inline-flex; gap: 6px; align-items: center; }

/* Composer */
.checks { display: flex; flex-direction: column; gap: 8px; }
.ck { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.4; }
.ck i { flex-shrink: 0; width: 20px; height: 20px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; font-style: normal; }
.ck.ok i { background: var(--gold-btn); color: var(--black); }
.ck.warn i { background: var(--amber-l); color: var(--amber-t); box-shadow: inset 0 0 0 1px #E3CE8C; }
.ck.error i { background: var(--deep-red); color: var(--white); }
.ck.error span { color: var(--red-t); }
.dest { display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-top: 1px solid var(--line2); }
.dest input { width: 18px; height: 18px; accent-color: var(--black); }
.dest .nm { width: 150px; font-weight: 600; font-size: 13px; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumb { width: 96px; height: 96px; border-radius: 8px; background: #F0F0F0; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; }
.thumb .x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 11px; border: 0; background: rgba(17,17,17,.78); color: var(--white); cursor: pointer; }
.consent { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px 12px; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.consent legend { padding: 0 4px; margin-bottom: 0; }
.consent.need { border-color: var(--deep-red); box-shadow: inset 3px 0 0 var(--deep-red); }
.consent .req { color: var(--deep-red); font-weight: 700; }
.tabs { display: flex; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 0 12px; height: 40px; cursor: pointer; white-space: nowrap; font-size: 13px; border-bottom: 2px solid transparent; }
.tabs button[aria-selected="true"] { border-bottom: 3px solid #B8973E; border-image: var(--gold-grad) 1; color: var(--black); font-weight: 700; }
.preview { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.preview .cap { white-space: pre-wrap; font-size: 13px; line-height: 1.45; }
.preview img { width: 100%; border-radius: 6px; display: block; }
.preview img.mark { width: 32px; border-radius: 16px; }
.comment { padding: 8px 0; font-size: 13px; }
.comment b { font-size: 12px; }
.pickgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 8px; max-height: 60vh; overflow: auto; }
.pickgrid button { border: 2px solid transparent; padding: 0; background: #F0F0F0; border-radius: 8px; aspect-ratio: 1; overflow: hidden; cursor: pointer; position: relative; }
.pickgrid button[aria-pressed="true"] { border-color: #B8973E; box-shadow: 0 0 0 2px var(--black); }
.pickgrid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.combo { position: relative; }
.combo .opts { position: absolute; z-index: 20; left: 0; right: 0; top: 42px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 24px rgba(17,17,17,.12); max-height: 260px; overflow: auto; }
.combo .opts button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 8px 12px; cursor: pointer; }
.combo .opts button:hover, .combo .opts button:focus { background: var(--soft); }

/* Ideas, approvals, kits */
.ideagrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.idea { padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; }
.idea .trig { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.idea .acts { margin-top: auto; padding-top: 4px; }
.rev { display: flex; flex-direction: column; gap: 10px; padding: 14px; }
.rev .cap { white-space: pre-wrap; font-size: 14px; line-height: 1.45; background: var(--soft); border-radius: 8px; padding: 10px 12px; }
.copyable { white-space: pre-wrap; background: var(--soft); border-radius: 8px; padding: 10px 12px; font-size: 13px; line-height: 1.45; }

/* Ask */
.chat { display: flex; flex-direction: column; gap: 10px; min-height: 300px; }
.msg { max-width: 760px; padding: 10px 12px; border-radius: 12px; white-space: pre-wrap; line-height: 1.45; }
.msg.me { align-self: flex-end; background: var(--black); color: var(--white); }
.msg.ai { align-self: flex-start; background: var(--card); border: 1px solid var(--line); }
.composerbar { display: flex; gap: 8px; align-items: flex-end; }

/* Platform badges on comments */
.ibx-ch { background: var(--info-l); color: var(--charcoal); }
.ibx-ch-facebook, .ibx-ch-instagram, .ibx-ch-threads, .ibx-ch-youtube { background: var(--info-l); color: var(--charcoal); }
/* Comments */
.cm-filters { gap: 10px; }
.cm-chips { gap: 6px; }
.cm-chip { cursor: pointer; color: var(--ink2); }
.cm-chip.on { background: var(--pale); border-color: var(--gold-edge); color: var(--black); }
.cm-n { font-weight: 700; opacity: .8; }
.cm-note { gap: 4px; }
.cm-err { color: var(--red-t); }
.cm-list { gap: 12px; }
.cm-group { overflow: hidden; }
.cm-post { padding: 10px 14px; background: var(--soft); border-bottom: 1px solid var(--line); gap: 6px; flex-wrap: nowrap; }
.cm-excerpt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cm-card { padding: 12px 14px; border-bottom: 1px solid var(--line2); display: flex; flex-direction: column; gap: 6px; }
.cm-card:last-child { border-bottom: 0; }
.cm-card.done { background: #FAFAFA; }
.cm-head { gap: 6px; }
.cm-text { white-space: pre-wrap; line-height: 1.45; overflow-wrap: anywhere; }
.cm-replies { margin-left: 14px; padding-left: 12px; border-left: 3px solid #B8973E; border-image: var(--gold-grad) 1; gap: 6px; }
.cm-reply { display: flex; flex-direction: column; gap: 2px; }
.cm-actions { gap: 6px; }
.cm-compose { gap: 6px; }

/* Modal and toast */
.overlay { position: fixed; inset: 0; background: rgba(17,17,17,.55); z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal { background: var(--white); border-radius: 12px; width: min(760px, 100%); max-height: 90vh; overflow: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.toast { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); background: var(--black); color: var(--white); padding: 10px 16px; border-radius: 8px; z-index: 60; font-size: 13px; max-width: calc(100% - 32px); box-shadow: inset 0 -2px 0 #B8973E; }
.toast.bad { background: var(--deep-red); box-shadow: none; }

/* Login */
.login { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--black); }
.login form { width: min(380px, 100%); background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: inset 0 3px 0 #B8973E; }
.login form .mark { width: 44px; height: 44px; }
.login form b { font-family: Archivo, Inter, system-ui, sans-serif; font-weight: 800; }

@media (max-width: 1100px) {
  .split { flex-direction: column; }
  .split > .aside { width: 100%; }
  .week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .shell { display: block; }
  .side { position: fixed; z-index: 40; left: 0; top: 0; bottom: 0; transform: translateX(-100%); transition: transform .2s; box-shadow: 0 0 40px rgba(17,17,17,.35); }
  .shell.open .side { transform: none; }
  .topbar { display: flex; position: sticky; top: 0; z-index: 30; background: var(--black); color: var(--white); border-bottom: 1px solid var(--black); height: 54px; align-items: center; gap: 10px; padding: 0 12px; }
  .topbar b { font-family: Archivo, Inter, system-ui, sans-serif; font-weight: 800; }
  .topbar .menu { width: 40px; height: 40px; border: 1px solid var(--side-line); border-radius: 8px; background: var(--charcoal); color: var(--white); cursor: pointer; font-size: 18px; }
  .topbar .menu:focus-visible { outline-color: #C8A447; }
  .main { padding: 16px 16px 40px; }
  .grid3, .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid2 { grid-template-columns: 1fr; }
  .week { grid-template-columns: 1fr; }
  .dest .nm { width: 110px; }
  h1 { font-size: 21px; }
  table.t { font-size: 12px; }
  .hide-sm { display: none !important; }
}
@media (max-width: 480px) {
  .grid3, .grid4 { grid-template-columns: 1fr 1fr; }
  .dest { flex-wrap: wrap; }
}

/* Graphic maker */
.gm { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 18px; align-items: start; }
.gm-prev { display: flex; flex-direction: column; gap: 6px; }
.gm-canvas { width: 100%; height: auto; max-width: 100%; align-self: center; border-radius: 8px; background: #111111; touch-action: none; cursor: grab; display: block; }
.gm-canvas:active { cursor: grabbing; }
.gm .lab { font-size: 12px; font-weight: 600; color: var(--muted); }
.gm .seg { flex-wrap: wrap; }
.gm .note { background: var(--pale); color: var(--charcoal); }
.gm-layouts { display: flex; flex-wrap: wrap; gap: 6px; }
@media (max-width: 720px) { .gm-layouts { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; } }
.gm-layout { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 4px; border: 2px solid transparent; border-radius: 10px; background: none; cursor: pointer; font-size: 12px; color: var(--muted); }
.gm-layout canvas { width: auto; height: auto; max-width: 104px; max-height: 104px; border-radius: 6px; display: block; }
.gm-layout[aria-pressed="true"] { border-color: var(--gold-edge); color: var(--black); font-weight: 700; }
.modal:has(.gm) { width: min(900px, 100%); }
@media (max-width: 720px) { .gm { grid-template-columns: 1fr; } .gm-prev { max-width: 340px; margin: 0 auto; } }

/* 1.2.0: comment threads, Gemini panel */
.cm-kids { margin: 4px 0 0 14px; border-left: 3px solid var(--line); }
.cm-child { padding: 8px 0 8px 12px; border-bottom: 0; }
.cm-quote { background: var(--soft); border-radius: 8px; padding: 6px 10px; border-left: 3px solid var(--gold-edge); }
.cm-quote .small { color: var(--muted); overflow-wrap: anywhere; }
.btn.cm-did { background: var(--soft); color: var(--muted); border-color: var(--line); }
.cm-emoji { gap: 2px; flex-wrap: wrap; }
.cm-emo { border: 1px solid var(--line); background: var(--white); border-radius: 8px; font-size: 16px; line-height: 1; padding: 5px 7px; cursor: pointer; }
.cm-emo:hover { background: var(--soft); }
.gm-gemini { border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; }
.gm-gemini > summary { cursor: pointer; }
