/* Pop-ups e avisos padrão (ver js/ui.js) */
body.ui-locked { overflow: hidden; }
.ui-overlay { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; background: rgba(20, 24, 32, .55); backdrop-filter: blur(2px); animation: ui-fade .16s ease; }
.ui-overlay.ui-closing { opacity: 0; transition: opacity .14s ease; }
.ui-dialog { width: min(420px, 100%); background: #fff; border-radius: 18px; padding: 26px 24px 20px; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.28); animation: ui-pop .18s ease; font-family: var(--font, inherit); }
.ui-dialog-icon { width: 52px; height: 52px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; font-size: 26px; font-weight: 800; background: #fbeaea; color: #c22127; }
.ui-info .ui-dialog-icon { background: #e8f1fb; color: #1d5fa8; }
.ui-success .ui-dialog-icon { background: #e4f5ec; color: #17803d; }
.ui-dialog-title { margin: 0 0 8px; font-size: 1.15rem; color: #1d1d1f; }
.ui-dialog-text { margin: 0 0 20px; font-size: .95rem; line-height: 1.45; color: #555; white-space: pre-line; }
.ui-dialog-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.ui-dialog-actions .btn { min-width: 120px; }
.ui-btn-danger { background: #a01a1f; }

.ui-toasts { position: fixed; z-index: 1100; right: 22px; top: 88px; display: grid; gap: 10px; width: min(400px, calc(100% - 32px)); pointer-events: none; }
.ui-toast { pointer-events: auto; display: grid; grid-template-columns: 28px 1fr 24px; gap: 10px; align-items: center; padding: 12px 12px 12px 14px; border-radius: 13px; color: #fff; font-size: .85rem; line-height: 1.35; box-shadow: 0 16px 38px rgba(20,30,44,.22); animation: ui-slide .22s ease; }
.ui-toast.ui-closing { opacity: 0; transform: translateY(-6px); transition: all .18s ease; }
.ui-toast-success { background: #102c24; }
.ui-toast-error { background: #4b1713; }
.ui-toast-info { background: #17324d; }
.ui-toast-warning { background: #5a3d0a; }
.ui-toast-icon { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.15); font-weight: 800; }
.ui-toast-close { border: 0; background: transparent; color: #fff; font-size: 20px; cursor: pointer; opacity: .8; }
@keyframes ui-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ui-pop { from { opacity: 0; transform: scale(.94) translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes ui-slide { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .ui-toasts { top: 12px; right: 12px; } .ui-dialog-actions .btn { flex: 1; } }

/* Janela do cartão do membro: conteúdo à esquerda (o .ui-dialog padrão centraliza) */
.ui-dialog.member-sheet { text-align: left; width: min(520px, 100%); max-height: 92vh; overflow-y: auto; padding: 22px 20px; }
.ui-dialog.member-sheet .mc-head { text-align: left; }
.ui-dialog.member-sheet .mc-id h2 { font-size: 1.15rem; }

/* Pitch: ordem do semáforo (administração) */
.seat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.seat-row { display: grid; grid-template-columns: auto 28px auto 1fr auto auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.seat-row.is-off { opacity: .55; }
.seat-check input { width: 20px; height: 20px; accent-color: var(--red); }
.seat-num { font-weight: 700; text-align: center; color: var(--ink-2); }
.seat-who { display: flex; flex-direction: column; min-width: 0; }
.seat-who strong, .seat-who small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seat-who small { color: var(--muted); }
.seat-move { display: flex; gap: 4px; }
.seat-move .btn { min-width: 40px; min-height: 40px; padding: 0; }

/* Pitch: tela do membro */
.pitch-criteria { padding: 0; overflow: hidden; margin-bottom: 14px; }
.pitch-criteria > summary { cursor: pointer; padding: 14px 16px; font-weight: 700; list-style: none; }
.pitch-criteria > summary::-webkit-details-marker { display: none; }
.pitch-criteria-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 0 16px 16px; }
.pitch-crit { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 7px; font-size: 14px; }
.pitch-crit li { position: relative; padding-left: 24px; }
.pitch-crit li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.pitch-crit li::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--crit-icon) center / contain no-repeat; mask: var(--crit-icon) center / contain no-repeat; }
.pitch-crit-main li { --crit-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.pitch-crit-main li::before { color: var(--red); }
.pitch-crit-extra li { --crit-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M12 3.5l2.6 5.4 5.9.8-4.3 4.1 1 5.9L12 16.9 6.8 19.7l1-5.9L3.5 9.7l5.9-.8z'/%3E%3C/svg%3E"); }
.pitch-crit-extra li::before { color: #b8893b; }
@media (max-width: 560px) { .pitch-criteria-grid { grid-template-columns: 1fr; } }
.pitch-list { display: grid; gap: 12px; }
.pitch-card { border: 1px solid var(--line); border-radius: 14px; background: white; padding: 14px; display: grid; gap: 10px; scroll-margin-top: 70px; }
.pitch-card.is-me { border-color: var(--red); }
.pitch-card.is-absent { opacity: .55; }
.pitch-head { display: grid; grid-template-columns: auto auto 1fr auto; gap: 10px; align-items: center; }
.pitch-pos { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: white; font-weight: 700; font-size: 13px; }
.pitch-who { display: flex; flex-direction: column; min-width: 0; }
.pitch-who small { color: var(--muted); }
.pitch-tag { font-size: 12px; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.pitch-request { padding: 12px; border-radius: 12px; background: var(--surface-2); }
.pitch-request p { margin: 6px 0 0; }
.pitch-request-empty { color: var(--muted); font-size: 14px; }
.pitch-note > summary { cursor: pointer; font-weight: 600; color: var(--ink-2); }
.pitch-note form { margin-top: 10px; }
.session-row { grid-template-columns: 28px 1fr auto; }

/* Pitch: voto e resultado */
.pitch-vote { margin: 0; }
.pitch-voted { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #e7f6ec; color: #17642c; font-weight: 700; }
.pitch-tally { list-style: none; margin: 12px 0 6px; padding: 0; display: grid; gap: 6px; }
.pitch-tally li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--surface-2); }
.pitch-result { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; padding: 22px; border-radius: 18px; background: #1f1f20; color: #fff; margin-bottom: 14px; }
.pitch-result-trophy { color: #e3b868; width: 120px; height: 120px; display: grid; place-items: center; border-radius: 50%; background: #9b1021; box-shadow: 0 0 0 4px #e3b868 inset; }
.pitch-result h2 { margin: 4px 0 14px; color: #fff; font-size: 26px; }
.pitch-result .eyebrow { color: #e3b868; }
.pitch-result-criteria { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.pitch-result .pitch-crit { color: #f1f1f1; }
.pitch-reveal { width: 100%; padding: 14px 18px; border: 0; border-radius: 999px; background: #c8142f; color: #fff; font-weight: 700; font-style: italic; font-size: 16px; cursor: pointer; }
.pitch-winners { margin-top: 6px; }
.pitch-tie { color: #e3b868; font-weight: 700; }
.pitch-winner { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: #2d2d2f; margin-bottom: 8px; }
.pitch-winner small { display: block; color: #bdbdbd; }
.pitch-result .pitch-tally li { background: #2d2d2f; }
@media (max-width: 640px) { .pitch-result { grid-template-columns: 1fr; } .pitch-result-trophy { width: 96px; height: 96px; } .pitch-result-criteria { grid-template-columns: 1fr; } }

/* Folha: administração */
.sheet-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sheet-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.sheet-list li strong, .sheet-list li small { display: block; }
.sheet-list li small { color: var(--muted); }
@media (max-width: 640px) { .sheet-list li { grid-template-columns: 1fr; } }
.inline-form { display: inline; margin: 0; }
.sheet-edit { display: grid; gap: 12px; }
.sheet-edit details > summary { cursor: pointer; font-weight: 700; font-size: 16px; padding: 4px 0; }
.sheet-edit details[open] > summary { margin-bottom: 10px; }
.sheet-edit textarea { width: 100%; font-family: inherit; }
.sheet-edit .field-grid.three { grid-template-columns: repeat(3, 1fr); }
.sheet-edit .field-grid.five { grid-template-columns: 1.2fr repeat(4, 1fr); }
.sheet-edit .field-grid.four { grid-template-columns: 1.2fr repeat(3, 1fr); }
@media (max-width: 640px) { .sheet-edit .field-grid.three, .sheet-edit .field-grid.four, .sheet-edit .field-grid.five { grid-template-columns: 1fr 1fr; } }
.sheet-edit-block { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.sheet-save { position: sticky; bottom: 8px; padding: 8px; background: color-mix(in srgb, var(--surface-2) 92%, transparent); border-radius: 12px; }
.sheet-publish { margin-bottom: 12px; }
.sheet-members { display: grid; gap: 10px; }
.sheet-member-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr 70px; gap: 8px; align-items: end; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.sheet-member-who { display: flex; flex-direction: column; min-width: 0; }
.sheet-member-who small { color: var(--muted); }
@media (max-width: 900px) { .sheet-member-row { grid-template-columns: 1fr 1fr; } .sheet-member-who { grid-column: 1 / -1; } }
.sheet-ref-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; align-items: end; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
@media (max-width: 760px) { .sheet-ref-row { grid-template-columns: 1fr; } }

/* Semáforo (relatório de pontuação) */
.sem-scroll { overflow-x: auto; }
.sem-table { border-collapse: collapse; width: 100%; font-size: 13px; }
.sem-table th, .sem-table td { padding: 6px 8px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sem-table th { font-size: 11px; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }
.sem-table th:nth-child(2), .sem-table td.sem-name { text-align: left; }
.sem-table td.sem-name small { display: block; color: var(--muted); font-weight: 400; }
.sem-table tr.sem-bad td { background: #fff4f4; }
.sem-pts { display: inline-block; min-width: 34px; padding: 2px 8px; border-radius: 999px; font-weight: 700; text-align: center; color: #fff; }
.sem-green { background: #1e8a3c; }
.sem-yellow { background: #e0a800; color: #1d1d1d; }
.sem-red { background: #c22127; }
.sem-full th:nth-child(2), .sem-full td:nth-child(2) { position: sticky; left: 0; background: var(--surface, #fff); z-index: 1; }
.sem-full tr.sem-me td { background: #fff4d6; }
.sem-who { display: inline-flex; align-items: center; gap: 8px; }
.sem-legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 12px 0 6px; font-size: 13px; }
.sem-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 4px; vertical-align: -1px; }
.sem-mine { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.sem-mine .sem-pts { font-size: 22px; min-width: 56px; padding: 8px 12px; }
.sem-mine strong, .sem-mine small { display: block; }
.sem-mine small { color: var(--muted); }
.sem-pick { margin: 0; }
@media (max-width: 640px) {
    .sem-full th, .sem-full td { padding: 6px 5px; font-size: 12px; }
    .sem-full td.sem-name { white-space: normal; width: 128px; min-width: 128px; max-width: 128px; }
    .sem-full .sem-who { gap: 5px; align-items: center; }
    .sem-full .sem-who strong { line-height: 1.15; font-size: 12px; }
    .sem-full .sem-who .avatar { width: 26px; height: 26px; min-width: 26px; font-size: 10px; }
    .sem-mine { align-items: flex-start; }
}
.notice-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Pitch: lista de votação (igual à lista de membros; botão à direita; celular primeiro) */
.pv-card { padding: 12px; }
.pv-head { display: grid; gap: 2px; margin: 2px 4px 6px; }
.pv-head small { color: var(--muted); }
.pv-list { margin-top: 4px; gap: 6px; }
.pv-row { display: grid; grid-template-columns: auto auto 1fr auto; grid-template-areas: "pos avatar name action" "field field field field"; gap: 8px 10px; align-items: center; padding: 10px; border-radius: 12px; background: #fff; border: 1px solid var(--line); scroll-margin-top: 70px; }
.pv-row > .pitch-pos { grid-area: pos; }
.pv-row > .avatar, .pv-row > .has-photo { grid-area: avatar; }
.pv-row > .pv-name { grid-area: name; }
.pv-row .pv-field { grid-area: field; display: grid; gap: 4px; min-width: 0; }
.pv-row .pv-action { grid-area: action; margin: 0; display: flex; justify-content: flex-end; }
.pv-row.is-me { border-color: var(--red); }
.pv-row.is-voted { background: #f1faf3; border-color: #9fd3ab; }
.pv-row.is-absent { opacity: .55; }
.pv-row.is-absent { grid-template-areas: "pos avatar name action"; }
.pv-input { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); font: inherit; font-size: 14px; }
.pv-input:focus { outline: 2px solid var(--red); background: #fff; }
.pv-status { min-height: 14px; font-size: 12px; color: var(--muted); }
.pv-status.ok { color: #17642c; }
.pv-status.err { color: var(--red); }
.pv-more { justify-self: start; padding: 2px 0; border: 0; background: none; color: var(--red); font-size: 12px; font-weight: 600; cursor: pointer; }
.pv-desc { margin: 0; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); font-size: 13px; }
.pv-own { font-size: 14px; font-weight: 600; color: var(--red); }
.pv-own-empty { color: var(--muted); font-weight: 400; }
.pv-vote { min-height: 40px; padding: 0 16px; }
.pv-row .dir-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-row .dir-name strong { line-height: 1.2; overflow-wrap: anywhere; }
@media (min-width: 760px) {
    .pv-row { grid-template-columns: auto auto minmax(160px, 1fr) minmax(220px, 1.3fr) auto; grid-template-areas: "pos avatar name field action"; }
    .pv-row.is-absent { grid-template-columns: auto auto 1fr auto; grid-template-areas: "pos avatar name action"; }
}

/* Pedidos de referência: histórico */
.req-history { margin-top: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.req-history > summary { cursor: pointer; font-weight: 600; }
.req-hist-item { padding: 8px 0; border-top: 1px solid var(--line); margin-top: 8px; }
.req-hist-item:first-of-type { margin-top: 10px; }
.req-hist-item p { margin: 4px 0; font-size: 13px; }
.req-hist-item small { color: var(--muted); }

/* Fila de palestrantes */
.spk-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
.spk-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; align-items: start; }
.spk-grid { min-width: 820px; }
.spk-grid td { vertical-align: top; }
.spk-date strong { display: block; font-size: 13px; }
.spk-date small { display: block; color: var(--muted); }
.spk-warn { color: #9a5b00; }
.spk-warn svg { width: 12px; height: 12px; vertical-align: -2px; }
.spk-select, .spk-note { width: 100%; min-height: 38px; border: 1px solid #d9dee4; border-radius: 9px; padding: 6px 8px; background: white; color: var(--ink); font-size: 12px; }
.spk-guests { display: inline-block; margin-top: 5px; font-size: 11px; color: var(--red); }
.spk-check { text-align: center; }
.spk-check input { width: 18px; height: 18px; accent-color: var(--red); }
.spk-past td { opacity: .6; }
.spk-off td { background: var(--surface-2, #f6f4f2); }
.spk-save { padding: 14px 6px 4px; }
.spk-without { list-style: none; margin: 8px 0 0; padding: 0; max-height: 420px; overflow-y: auto; }
.spk-side .spk-without { columns: 2 220px; max-height: none; }
.spk-side .spk-without li { break-inside: avoid; }
.spk-without li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.spk-without li small { color: var(--muted); white-space: nowrap; }
.spk-guest-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spk-guest-inputs input { width: 100%; min-height: 46px; border: 1px solid #d9dee4; border-radius: 11px; padding: 10px 12px; }
@media (max-width: 600px) { .spk-guest-inputs { grid-template-columns: 1fr; } }
.spk-mine-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.spk-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.spk-tags span { background: var(--red); color: white; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700; }

/* Palestrantes (membros) */
.spk-next h2 { margin: 0 0 12px; font-size: 20px; }
.spk-next h2 small { color: var(--muted); font-weight: 500; font-size: 14px; }
.spk-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-bottom: 18px; }
.spk-card { padding: 20px; }
.spk-card-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.spk-card-head h3 { margin: 0 0 4px; font-size: 22px; }
.spk-card-head .avatar { border: 3px solid var(--red); }
.spk-branch { color: var(--red); font-weight: 700; }
.spk-label { font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--ink-2); }
.spk-card .spk-tags { margin-top: 8px; }
.spk-tags-sm { margin-top: 6px; gap: 6px; }
.spk-tags-sm span { padding: 3px 10px; font-size: 11px; }
.spk-upcoming { list-style: none; margin: 0; padding: 0; }
.spk-upcoming li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spk-upcoming li:last-child { border-bottom: 0; }
.spk-up-date { flex: 0 0 auto; background: var(--ink, #17171a); color: #fff; border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: 13px; height: fit-content; text-decoration: none; }
.spk-up-people { display: grid; gap: 6px; font-size: 13px; }
.spk-up-people small { display: block; color: var(--muted); }
.spk-home { padding: 18px 20px; }
.spk-home-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.spk-home-head h2 { margin: 4px 0 0; font-size: 18px; }
.spk-home-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.spk-home-person { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }

/* Convidar */
.inv-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
@media (max-width: 1000px) { .inv-layout { grid-template-columns: 1fr; } }
.inv-dates { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.inv-summary { padding: 12px 14px; border-radius: 12px; background: var(--surface-2); margin-bottom: 14px; display: grid; gap: 4px; }

/* Meus contatos */
.ct-search { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 6px; }
.ct-search input { flex: 1 1 220px; min-height: 40px; border: 1px solid #d9dee4; border-radius: 10px; padding: 8px 12px; }
.ct-list { list-style: none; margin: 0; padding: 0; }
.ct-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 6px; border-top: 1px solid var(--line); }
.ct-main { display: grid; gap: 3px; min-width: 0; }
.ct-main a { color: inherit; text-decoration: none; }
.ct-main small { color: var(--muted); }
.ct-ways { display: flex; flex-wrap: wrap; gap: 10px; }
.ct-ways svg, .ct-match svg { width: 13px; height: 13px; vertical-align: -2px; }
.ct-match { color: var(--red); font-weight: 700; font-size: 12px; }

/* Lista de palestrantes por datas */
.spk-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; padding: 12px 6px 4px; }
.spk-filter, .spk-add { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.spk-add select { min-height: 34px; border: 1px solid #d9dee4; border-radius: 9px; padding: 4px 8px; background: white; font-size: 12px; }
.spk-grid { min-width: 1080px; }
.spk-grid input[type="date"] { min-height: 36px; border: 1px solid #d9dee4; border-radius: 9px; padding: 4px 8px; font-size: 12px; background: white; }
.spk-pick { display: flex; gap: 6px; align-items: center; }
.spk-pick .spk-select { flex: 1; min-width: 190px; }
.spk-swap { white-space: nowrap; }
.spk-swapping { background: #fff4e0 !important; box-shadow: inset 0 0 0 2px #e0a100; }
.spk-swapping .spk-swap { background: #e0a100; color: #fff; }
.spk-changed td { background: #fdf8ef; }
.spk-dup-date .spk-date input[type="date"] { border-color: var(--red); box-shadow: 0 0 0 2px rgba(200,16,46,.15); }
.spk-actions { white-space: nowrap; text-align: right; }
.spk-dirty { color: #9a5b00; font-weight: 700; font-size: 12px; }
.spk-dirty svg { width: 13px; height: 13px; vertical-align: -2px; }
.spk-place { all: unset; cursor: pointer; color: var(--ink); text-decoration: underline dotted; }
.spk-place:hover { color: var(--red); }
.spk-placed { opacity: .45; }
.spk-empty { padding: 12px 6px; }
@media (max-width: 760px) {
  .spk-grid { min-width: 0; }
  .spk-pick .spk-select { min-width: 0; }
  .spk-grid thead { display: none; }
  .spk-grid, .spk-grid tbody, .spk-grid tr, .spk-grid td { display: block; width: 100%; }
  .spk-grid tr.spk-row { border: 1px solid var(--line); border-radius: 12px; padding: 8px 10px; margin: 0 0 10px; }
  .spk-grid td { border: 0; padding: 6px 0; }
  .spk-grid td[data-label]::before { content: attr(data-label); display: block; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
  .spk-check { text-align: left; }
  .spk-actions { text-align: left; }
}
.sheet-speakers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 8px 0; }
.sheet-speakers-grid ul { margin: 6px 0 0; padding-left: 18px; font-size: 13px; }
