:root{color-scheme:light;--green:#166534;--green-dark:#14532d;--green-soft:#dcfce7;--amber:#92400e;--ink:#172033;--muted:#64748b;--line:#dbe3ec}*{box-sizing:border-box}body,html{background:#eef3f1}body{margin:0;min-width:320px;color:var(--ink);font-family:Arial,Helvetica,sans-serif}button,input,select,textarea{font:inherit}button{touch-action:manipulation}.screen-center{min-height:100dvh;display:grid;place-items:center;padding:2rem}.access-message{min-height:100dvh;display:grid;place-items:center;padding:1rem;background:linear-gradient(135deg,var(--green-dark),var(--green))}.access-message section{width:min(520px,100%);padding:2rem;border-radius:18px;background:#fff;text-align:center;box-shadow:0 20px 50px rgba(0,0,0,.25)}.access-message h1{margin:0;color:var(--green-dark);font-size:1.45rem;line-height:1.35}.access-message p{color:var(--muted)}.interviewer-page{min-height:100dvh;padding-bottom:2rem}.app-header{position:-webkit-sticky;position:sticky;top:0;z-index:10;min-height:72px;display:flex;align-items:center;gap:.75rem;padding:.65rem max(1rem,env(safe-area-inset-left));border-bottom:1px solid var(--line);background:rgba(255,255,255,.96);box-shadow:0 2px 12px rgba(15,23,42,.07);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.app-header img{width:48px;height:48px;object-fit:contain}.brand-placeholder{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;color:#fff;background:var(--green);font-size:.62rem;font-weight:900}.header-copy{min-width:0;display:grid;grid-gap:.15rem;gap:.15rem;flex:1 1}.header-copy small,.header-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.header-copy strong{color:var(--green-dark)}.header-copy small{color:var(--muted)}.logout-button,.refresh-button{border:1px solid var(--line);border-radius:10px;color:var(--green);background:#fff;font-weight:700;cursor:pointer}.logout-button{min-height:42px;padding:.55rem .8rem}.logout-button:disabled{opacity:.4}.content{width:min(760px,100%);margin:0 auto;padding:1.4rem 1rem}.title-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.eyebrow{color:var(--amber);font-size:.76rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.title-row h1{margin:.25rem 0 0;font-size:clamp(1.45rem,6vw,2rem)}.refresh-button{width:44px;height:44px;font-size:1.5rem}.interview-list{display:grid;grid-gap:.75rem;gap:.75rem}.interview-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;grid-gap:.8rem;gap:.8rem;padding:.9rem;border:1px solid #fde68a;border-radius:16px;background:#fffef7;box-shadow:0 4px 16px rgba(15,23,42,.05)}.queue-number{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;color:var(--amber);background:#fef3c7;font-weight:900}.interview-copy{min-width:0}.interview-copy h2{margin:0;overflow:hidden;text-overflow:ellipsis;font-size:1.05rem;white-space:nowrap}.interview-copy p{margin:.3rem 0 0;color:var(--muted);font-size:.83rem}.status-dot{display:inline-block;width:7px;height:7px;margin-right:.25rem;border-radius:50%;background:#f59e0b}.finish-button,.start-button{min-height:46px;border:0;border-radius:12px;color:#fff;background:var(--green);font-weight:800;cursor:pointer}.start-button{padding:.65rem 1rem}.finish-button:disabled,.start-button:disabled{opacity:.5;cursor:wait}.empty-card{display:grid;grid-gap:.35rem;gap:.35rem;padding:2rem 1rem;border:1px dashed #aab8c7;border-radius:16px;color:var(--muted);background:rgba(255,255,255,.7);text-align:center}.alert{margin-bottom:1rem;padding:.85rem 1rem;border-radius:12px;line-height:1.4}.alert.error{color:#991b1b;background:#fee2e2}.alert.success{color:#166534;background:#dcfce7}.active-overlay{position:fixed;inset:0;z-index:100;overflow:hidden;background:#eef3f1}.active-sheet{width:min(760px,100%);height:100dvh;margin:auto;display:flex;flex-direction:column;background:#f8fafc;box-shadow:0 0 50px rgba(15,23,42,.2)}.active-header{padding:calc(1rem + env(safe-area-inset-top)) 1rem 1rem;color:#fff;background:linear-gradient(135deg,var(--green-dark),var(--green))}.active-header h2{margin:.45rem 0 .3rem;font-size:clamp(1.4rem,6vw,2rem)}.active-header p{margin:0;color:#dcfce7;font-size:.9rem}.live-label{display:inline-flex;align-items:center;gap:.4rem;font-size:.75rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.live-label i{width:8px;height:8px;border-radius:50%;background:#86efac;box-shadow:0 0 0 5px rgba(134,239,172,.17)}.tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line);background:#fff}.tabs button{min-height:50px;border:0;border-bottom:3px solid transparent;color:var(--muted);background:transparent;font-weight:800;cursor:pointer}.tabs button.active{border-color:var(--green);color:var(--green)}.tabs span{display:inline-grid;place-items:center;min-width:22px;height:22px;margin-left:.2rem;border-radius:11px;color:var(--green-dark);background:var(--green-soft);font-size:.74rem}.active-body{flex:1 1;overflow-y:auto;overscroll-behavior:contain;padding:1rem 1rem calc(1.5rem + env(safe-area-inset-bottom))}.loading-block{padding:3rem;color:var(--muted);text-align:center}.finish-form{display:grid;grid-gap:1.1rem;gap:1.1rem}.finish-form label>span,.finish-form legend{display:block;margin-bottom:.45rem;font-weight:800}.finish-form b{color:#dc2626}.finish-form input[type=number],.finish-form select,.finish-form textarea{width:100%;min-height:48px;padding:.8rem;border:1px solid #aab8c7;border-radius:12px;color:var(--ink);background:#fff}.finish-form textarea{min-height:150px;resize:vertical;line-height:1.5}.finish-form input:focus,.finish-form select:focus,.finish-form textarea:focus{outline:3px solid rgba(22,101,52,.15);border-color:var(--green)}.finish-form fieldset{margin:0;padding:0;border:0}.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:.6rem;gap:.6rem}.choice{min-height:48px;display:flex;align-items:center;gap:.65rem;padding:.65rem .75rem;border:1px solid var(--line);border-radius:12px;background:#fff}.choice:has(input:checked){border-color:#86efac;background:#f0fdf4}.choice input{width:20px;height:20px;flex:none;accent-color:var(--green)}.choice>span{margin:0!important;font-weight:600!important}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;border:1px solid #a7f3d0;border-radius:14px;background:#ecfdf5}.switch-row span{margin:0!important;display:grid!important;grid-gap:.25rem;gap:.25rem}.switch-row small{color:var(--muted);font-weight:400}.switch-row input{width:46px;height:26px;flex:none;accent-color:var(--green)}.lock-note{padding:.75rem;border-radius:10px;color:#475569;background:#e2e8f0;font-size:.82rem;text-align:center}.finish-button{position:-webkit-sticky;position:sticky;bottom:0;width:100%;min-height:54px;font-size:1rem;box-shadow:0 8px 25px rgba(20,83,45,.25)}.history-list{display:grid;grid-gap:.7rem;gap:.7rem}.history-card{border:1px solid var(--line);border-radius:14px;background:#fff;overflow:hidden}.history-card summary{min-height:62px;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.8rem 1rem;cursor:pointer;list-style:none}.history-card summary::-webkit-details-marker{display:none}.history-card summary>span:first-child{display:grid;grid-gap:.25rem;gap:.25rem}.history-card summary small{color:var(--muted)}.history-status{padding:.3rem .55rem;border-radius:999px;color:var(--green-dark);background:var(--green-soft);font-size:.72rem;font-weight:800;text-align:center}.history-detail{display:grid;grid-gap:.7rem;gap:.7rem;padding:1rem;border-top:1px solid var(--line);line-height:1.5}.history-detail p{margin:.25rem 0 0;white-space:pre-wrap}@media (max-width:480px){.interview-card{grid-template-columns:auto minmax(0,1fr)}.start-button{grid-column:1/-1;width:100%}.choice-grid{grid-template-columns:1fr}}