/* v5 S: interview scheduling. 375px first. Uses the school accent (--accent, --accent-hi, --accent-soft). */

.t-iv { padding: 10px 14px; background: var(--bg); border-bottom: 1px solid var(--line); }
.iv-bar { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: var(--r-sm); background: var(--accent-soft); border: 1px solid var(--accent); }
.iv-bar.quiet { background: transparent; border: 0; padding: 0; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.iv-bar[data-state="declined"] { background: rgba(255, 181, 71, .1); border-color: rgba(255, 181, 71, .55); }
.iv-top { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.iv-top > svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--accent-hi); }
.iv-top .grow { flex: 1; min-width: 0; }
.iv-top h4 { margin: 0; font-size: 14.5px; line-height: 1.3; }
.iv-line, .iv-when, .iv-count, .iv-how { margin: 2px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); overflow-wrap: anywhere; }
.iv-when b { color: var(--text); font-weight: 700; }
.iv-count { color: var(--accent-hi); font-weight: 700; }
.iv-how { display: flex; align-items: center; gap: 6px; }
.iv-how svg { width: 15px; height: 15px; flex: none; }
.iv-how a { color: var(--text); font-weight: 700; }
.iv-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.iv-actions .btn svg { width: 15px; height: 15px; }
.iv-tz { display: inline-flex; align-items: center; gap: 4px; flex: none; max-width: 46%; min-height: 32px; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surface2); color: var(--muted); font-size: 11.5px; font-weight: 700; cursor: pointer; }
.iv-tz span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iv-tz svg { width: 13px; height: 13px; flex: none; }
.iv-tz:hover { color: var(--text); border-color: var(--text); }

/* sheets */
.iv-form fieldset { border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
.iv-form legend { font-size: 13px; font-weight: 800; color: var(--muted); padding: 0; margin-bottom: 8px; }
.iv-slot { position: relative; padding: 12px !important; border-radius: var(--r-sm); background: var(--surface2) !important; border: 1px solid var(--line) !important; }
.iv-slot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.iv-slot-grid .field:first-child { grid-column: 1 / -1; }
.iv-slot-grid .field { margin-bottom: 8px; }
.iv-slot input, .iv-slot select { width: 100%; min-width: 0; }
.iv-remove { margin-top: 2px; }
.iv-remove svg { width: 14px; height: 14px; }
@media (min-width: 480px) { .iv-slot-grid { grid-template-columns: 1.4fr 1fr 1fr; } .iv-slot-grid .field:first-child { grid-column: auto; } }
[data-add] { margin: 0 0 16px; }

.iv-format-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.iv-chip { position: relative; }
.iv-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.iv-chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surface2); font-size: 13.5px; font-weight: 700; }
.iv-chip span svg { width: 16px; height: 16px; }
.iv-chip input:checked + span { background: var(--accent-soft); border-color: var(--accent-hi); color: var(--text); }
.iv-chip input:focus-visible + span { outline: 2px solid var(--accent-hi); outline-offset: 2px; }

.iv-note { margin: 0 0 12px; padding: 10px 12px; border-left: 3px solid var(--accent); background: var(--surface2); border-radius: 8px; font-size: 14px; }
.iv-picks { display: flex; flex-direction: column; gap: 8px; }
.iv-pick { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: var(--r-sm); border: 1px solid var(--line2); background: var(--surface2); cursor: pointer; }
.iv-pick input { margin-top: 3px; accent-color: var(--accent-hi); width: 18px; height: 18px; flex: none; }
.iv-pick span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.iv-pick b { font-size: 14.5px; }
.iv-pick small { color: var(--muted); font-size: 12.5px; }
.iv-pick:has(input:checked) { border-color: var(--accent-hi); background: var(--accent-soft); }
.iv-pick.past { opacity: .5; cursor: not-allowed; }
.iv-none { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.iv-none summary { cursor: pointer; font-weight: 700; font-size: 14px; color: var(--muted); min-height: 32px; display: flex; align-items: center; }
.iv-none[open] summary { margin-bottom: 10px; color: var(--text); }
.iv-form .form-error { color: #ff8da1; font-size: 13.5px; font-weight: 600; margin: 8px 0 0; }

/* employer home card */
.iv-card .label { display: flex; align-items: center; gap: 6px; }
.iv-card .label svg { width: 16px; height: 16px; color: var(--accent-hi); }
.iv-list { list-style: none; margin: 8px 0 10px; padding: 0; display: flex; flex-direction: column; }
.iv-list li + li { border-top: 1px solid var(--line); }
.iv-list a { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; text-decoration: none; color: inherit; }
.iv-list b { font-size: 14px; }
.iv-list span { font-size: 13px; color: var(--muted); }
.iv-list small { font-size: 12px; color: var(--accent-hi); font-weight: 700; }
.iv-list li.needs span { color: #ffb547; font-weight: 700; }
