/* Tacetra Site: styles used only by the lesson-wall tool. Loaded with it; shared styles are in site.css. */
.tcs-lw { max-width: 900px; }
.tcs.tcs-lw > * { max-width: 900px; margin-left: auto; margin-right: auto; }
.tcs .tcs-lw-count { margin: 0 0 8px; font-size: 16px; }
.tcs-lw-bar { height: 10px; margin-bottom: 16px; border-radius: 999px; background: var(--tcs-line); overflow: hidden; }
.tcs-lw-bar span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #f97316, #facc15); transition: width .6s; }
.tcs-lw-stage { position: relative; width: 100%; max-width: 900px; margin: 0 auto; border-radius: 18px; overflow: hidden; background: #0b1120; touch-action: none; }
.tcs-lw-stage canvas { display: block; max-width: 100%; margin: 0 auto; }
.tcs-lw-zoom { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 6px; }
.tcs .tcs-lw-zoom button { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .92); color: #0b1120; font: 700 18px/1 inherit; cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.tcs-lw-card { position: absolute; z-index: 2; width: min(300px, calc(100% - 16px)); padding: 14px 16px; border-radius: 14px; background: #fff; color: var(--tcs-ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.tcs .tcs-lw-close { position: absolute; right: 6px; top: 4px; width: 28px; height: 28px; padding: 0; border: 0; background: none; font-size: 20px; color: var(--tcs-muted); cursor: pointer; }
.tcs .tcs-lw-card-emoji { margin: 0; font-size: 28px; line-height: 1.2; }
.tcs .tcs-lw-card-text { margin: 6px 0; font-size: 17px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.tcs .tcs-lw-card-meta { margin: 0 0 10px; font-size: 13px; color: var(--tcs-muted); }
.tcs-lw-card-actions { display: flex; gap: 12px; }
.tcs .tcs-lw-card-actions button { padding: 0; border: 0; background: none; color: var(--tcs-accent); font: 700 13px inherit; cursor: pointer; }
.tcs .tcs-lw-card-actions button[data-c-report] { color: var(--tcs-muted); }
.tcs .tcs-lw-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px; overflow: hidden; }
.tcs-lw-list { margin-top: 20px; padding: 14px 16px; border: 1px solid var(--tcs-line); border-radius: 14px; }
.tcs-lw-list summary { cursor: pointer; font-weight: 700; }
.tcs-lw-list .tcs-inline-label { margin: 12px 0; }
.tcs .tcs-lw-items { list-style: none; margin: 0 0 12px; padding: 0; }
.tcs .tcs-lw-items li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 2px 10px; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--tcs-line); }
.tcs-lw-li-emoji { grid-row: span 2; font-size: 22px; }
.tcs-lw-li-text { font-weight: 600; overflow-wrap: anywhere; }
.tcs-lw-li-meta { font-size: 13px; color: var(--tcs-muted); }
.tcs .tcs-lw-items li.tcs-lw-li-empty { display: block; color: var(--tcs-muted); }
@media (prefers-reduced-motion: reduce) {
  .tcs-lw-bar span { transition: none; }
}
.tcs-lw-intro { margin: 0 0 20px; padding: 24px; border-radius: 20px; background: linear-gradient(135deg, #0b1120 0%, #1e2a4a 60%, #3b2f10 100%); color: #fff; }
.tcs .tcs-lw-eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #facc15; }
.tcs .tcs-lw-lede { max-width: 640px; margin: 0 0 18px; font-size: 18px; line-height: 1.5; color: #e5e7eb; }
.tcs .tcs-lw-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.tcs .tcs-lw-steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 0 10px; align-items: center; margin: 0; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .07); }
.tcs-lw-steps li span { grid-row: span 2; font-size: 24px; }
.tcs-lw-steps li strong { font-size: 15px; color: #fff; }
.tcs-lw-steps li small { font-size: 13px; color: #cbd5e1; }
.tcs-lw-intro .tcs-lw-count { color: #e5e7eb; }
.tcs-lw-intro .tcs-lw-count strong { color: #fff; }
.tcs-lw-intro .tcs-lw-bar { background: rgba(255, 255, 255, .15); }
.tcs .tcs-lw-intro .tcs-btn { background: #facc15; border-color: #facc15; color: #0b1120; }
.tcs .tcs-lw-intro .tcs-btn:hover { background: #fde047; border-color: #fde047; }
.tcs .tcs-lw-tip { margin: 8px 0 0; text-align: center; }
.tcs-lw-form { margin: 24px 0; padding: 22px; border: 1px solid var(--tcs-line); border-radius: 18px; background: var(--tcs-soft); scroll-margin-top: 90px; }
.tcs-lw-form-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.tcs-lw-form-head .tcs-tool-h { margin: 0; }
.tcs .tcs-lw-x { flex: none; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; font-size: 22px; line-height: 1; color: var(--tcs-muted); cursor: pointer; }
.tcs .tcs-lw-x:hover { background: #e5e7eb; }
.tcs-lw-form-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr); gap: 24px; }
.tcs-lw-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tcs .tcs-lw-label { display: block; width: auto; margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--tcs-ink); }
.tcs .tcs-lw-label small { font-weight: 400; color: var(--tcs-muted); }
.tcs .tcs-lw-left { font-size: 13px; color: var(--tcs-muted); }
.tcs .tcs-lw-input { display: block; width: 100%; margin: 0 0 14px; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 12px; background: #fff; font: inherit; font-size: 16px; color: var(--tcs-ink); box-shadow: none; }
.tcs textarea.tcs-lw-input { min-height: 96px; resize: vertical; line-height: 1.45; }
.tcs .tcs-lw-input:focus { outline: 3px solid var(--tcs-accent); outline-offset: 1px; border-color: var(--tcs-accent); }
.tcs-lw-toggle { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 12px; }
.tcs .tcs-lw-toggle input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; }
.tcs .tcs-lw-toggle label { display: inline; width: auto; margin: 0; font-size: 14px; font-weight: 600; }
.tcs-lw-toggle small { font-weight: 400; color: var(--tcs-muted); }
.tcs-lw-names { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; }
.tcs-lw-emoji-pick { position: relative; margin-bottom: 16px; }
.tcs .tcs-lw-emoji-btn { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px; border: 1px solid #d1d5db; border-radius: 14px; background: #fff; color: var(--tcs-ink); font: inherit; cursor: pointer; }
.tcs .tcs-lw-emoji-btn:hover, .tcs .tcs-lw-emoji-btn[aria-expanded="true"] { border-color: var(--tcs-accent); }
.tcs-lw-emoji-btn span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--tcs-soft); font-size: 24px; }
.tcs-lw-emoji-btn small { font-size: 14px; font-weight: 700; color: var(--tcs-accent); }
.tcs-lw-emoji-grid { position: absolute; z-index: 5; top: calc(100% + 6px); left: 0; display: grid; grid-template-columns: repeat(8, 36px); gap: 4px; padding: 10px; border: 1px solid var(--tcs-line); border-radius: 14px; background: #fff; box-shadow: 0 12px 30px rgba(15, 23, 42, .18); }
.tcs-lw-emoji-grid[hidden] { display: none; }
.tcs .tcs-lw-emoji-grid button { width: 36px; height: 36px; padding: 0; border: 2px solid transparent; border-radius: 9px; background: transparent; font-size: 20px; line-height: 1; cursor: pointer; }
.tcs .tcs-lw-emoji-grid button:hover { background: var(--tcs-soft); }
.tcs .tcs-lw-emoji-grid button[aria-checked="true"] { border-color: var(--tcs-accent); background: #eef2ff; }
.tcs-lw-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.tcs .tcs-lw-sw { width: 34px; height: 34px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: var(--sw, #fff); box-shadow: 0 0 0 1px #d1d5db; font-size: 16px; line-height: 1; cursor: pointer; }
.tcs .tcs-lw-sw.is-auto { background: conic-gradient(#facc15, #f97316, #4256a0, #94a3b8, #fef08a, #facc15); }
.tcs .tcs-lw-sw[aria-checked="true"] { box-shadow: 0 0 0 3px var(--tcs-accent); }
.tcs .tcs-lw-sw:disabled { opacity: .3; cursor: not-allowed; }
.tcs .tcs-lw-sw:focus-visible, .tcs .tcs-lw-emoji-grid button:focus-visible, .tcs .tcs-lw-emoji-btn:focus-visible { outline: 3px solid var(--tcs-accent); outline-offset: 2px; }
.tcs .tcs-lw-sw-note { margin: 0; font-size: 13px; color: var(--tcs-muted); }
.tcs .tcs-lw-sw-note strong { color: var(--tcs-ink); }
@media (max-width: 720px) {
  .tcs-lw-intro { padding: 18px; }
  .tcs .tcs-lw-lede { font-size: 16px; }
  .tcs .tcs-lw-steps { grid-template-columns: 1fr; }
  .tcs-lw-form { padding: 16px; }
  .tcs-lw-form-grid { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .tcs-lw-names { grid-template-columns: 1fr; }
  .tcs-lw-emoji-grid { grid-template-columns: repeat(6, 36px); }
}
.tcs.tcs-lwt { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px; max-width: 1100px; margin: 0 auto; padding: 28px 32px;
  border-radius: 24px; background: linear-gradient(135deg, #0b1120 0%, #1e2a4a 60%, #3b2f10 100%); color: #fff; }
.tcs .tcs-lwt-title { margin: 0 0 8px; font-size: clamp(24px, 3.4vw, 34px); line-height: 1.15; color: #fff; }
.tcs .tcs-lwt-lede { margin: 0 0 14px; max-width: 560px; font-size: 17px; line-height: 1.5; color: #e5e7eb; }
.tcs .tcs-lwt-quote { margin: 0 0 14px; padding: 12px 16px; border-left: 4px solid #facc15; border-radius: 0 12px 12px 0; background: rgba(255, 255, 255, .07); }
.tcs .tcs-lwt-quote p { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.tcs .tcs-lwt-quote cite { font-size: 13px; font-style: normal; color: #cbd5e1; }
.tcs .tcs-lwt-count { margin: 0 0 16px; font-size: 14px; color: #cbd5e1; }
.tcs .tcs-lwt-count strong { color: #fff; }
.tcs .tcs-lwt-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; background: #facc15; border-color: #facc15; color: #0b1120; font-size: 16px; font-weight: 800; text-decoration: none; }
.tcs .tcs-lwt-btn:hover { background: #fde047; border-color: #fde047; color: #0b1120; }
.tcs-lwt-art { display: block; border-radius: 18px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 18px 40px rgba(250, 204, 21, .12); }
.tcs-lwt-art canvas { display: block; width: 220px; height: 220px; }
@media (max-width: 720px) {
  .tcs.tcs-lwt { grid-template-columns: minmax(0, 1fr); padding: 22px; gap: 18px; }
  .tcs-lwt-art { order: -1; justify-self: center; }
  .tcs-lwt-art canvas { width: 180px; height: 180px; }
}
.tcs .tcs-lw-card-site { margin: -4px 0 10px; font-size: 14px; }
.tcs .tcs-lw-card-site a, .tcs .tcs-lw-li-meta a { color: var(--tcs-accent); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.tcs .tcs-lw-card-site a:hover, .tcs .tcs-lw-li-meta a:hover { text-decoration: underline; }
.tcs .tcs-lw-credit { margin: 4px 0 0; padding: 14px 14px 0; border: 1px dashed #cbd5e1; border-radius: 14px; background: #fff; }
.tcs .tcs-lw-credit legend { padding: 0 6px; font-size: 14px; font-weight: 800; color: var(--tcs-ink); }
.tcs .tcs-lw-credit legend small { font-weight: 400; color: var(--tcs-muted); }
.tcs .tcs-lw-credit-note { margin: 0 0 10px; font-size: 13px; color: var(--tcs-muted); }
.tcs .tcs-lw-credit .tcs-lw-input { margin-bottom: 14px; }
