#ttaseongji {container-type:inline-size;width:100%;max-width:none;box-sizing:border-box;margin-inline:auto;padding:0;min-height:0;color:var(--text-primary);font-size:var(--text-md);line-height:1.65;}
#ttaseongji [hidden] {display:none!important;}
#ttaseongji .tm-nav {display:flex;gap:var(--space-3);margin-bottom:var(--space-5);border-bottom:1px solid var(--border-light);}
#ttaseongji .tm-nav a {min-width:0;min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:var(--space-2) var(--space-1);text-decoration:none;border:0;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--text-secondary);font-size:var(--text-base);white-space:nowrap;}
#ttaseongji .tm-nav a.on {color:var(--text-primary);border-bottom-color:var(--color-gray-800);font-weight:var(--font-semibold);}
#ttaseongji .tm-heading {margin-bottom:var(--space-5);}
#ttaseongji h2 {margin:0;font-size:var(--text-2xl,24px);font-weight:var(--font-bold,700);letter-spacing:-0.02em;line-height:1.45;text-wrap:balance;}
#ttaseongji h3 {margin:0 0 var(--space-2);font-size:var(--text-lg,18px);font-weight:var(--font-semibold,600);line-height:1.5;}
#ttaseongji h4 {margin:var(--space-4) 0 var(--space-1);font-size:var(--text-md);font-weight:var(--font-semibold,600);}
#ttaseongji p {margin:var(--space-2) 0;overflow-wrap:anywhere;}
#ttaseongji .tm-heading p, #ttaseongji .tm-note, #ttaseongji .tm-card > p, #ttaseongji time {color:var(--text-secondary);font-size:var(--text-base,13px);}
#ttaseongji .tm-hero {display:flex;align-items:center;gap:var(--space-5);padding:var(--space-6);border:1px solid var(--border-light);border-radius:var(--radius-card);background:var(--bg-card);margin-bottom:var(--space-5);}
#ttaseongji .tm-hero img {flex-shrink:0;}
#ttaseongji .tm-hero > div {min-width:0;}
#ttaseongji .tm-hero p {font-size:var(--text-md);}
#ttaseongji .tm-history-tools {display:flex;align-items:flex-end;justify-content:space-between;gap:var(--space-3);margin-bottom:var(--space-5);}
#ttaseongji .tm-history-tools select {min-width:140px;}
#ttaseongji .tm-history-tools label {margin-top:0;}
#ttaseongji #tmSaveState {margin-right:var(--space-2);}
#ttaseongji .tm-card {padding:var(--space-5);background:var(--bg-card);border:1px solid var(--border-light);border-radius:var(--radius-card);min-width:0;margin-bottom:var(--space-4);}
#ttaseongji .tm-two {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4);}
#ttaseongji .tm-three {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-4);}
#ttaseongji .tm-four {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-3);}
#ttaseongji .tm-row, #ttaseongji .tm-history {display:flex;justify-content:space-between;gap:var(--space-4);align-items:center;}
#ttaseongji .tm-row > div, #ttaseongji .tm-history > div {min-width:0;}
#ttaseongji .tm-kicker {display:block;color:var(--text-secondary);font-size:var(--text-base);margin-bottom:var(--space-2);}
#ttaseongji .tm-actions {display:flex;align-items:center;flex-wrap:wrap;gap:var(--space-2);margin-top:var(--space-4);}
#ttaseongji .v2-btn {display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);height:auto;min-height:44px;padding:var(--space-2) var(--space-4);border:1px solid transparent;border-radius:var(--radius-btn);font:inherit;font-size:var(--text-md);font-weight:var(--font-semibold);white-space:normal;line-height:1.5;max-width:100%;touch-action:manipulation;cursor:pointer;text-decoration:none;}
#ttaseongji .v2-btn:is(.main,.primary) {background:var(--fill-action);border-color:var(--fill-action);color:var(--color-white);}
#ttaseongji .v2-btn:is(.main,.primary):hover {background:var(--fill-action-hover);}
#ttaseongji .v2-btn.outline {color:var(--text-primary);border-color:var(--border-medium);}
#ttaseongji .v2-btn.outline:hover {background:var(--bg-subtle);border-color:var(--color-gray-800);}
#ttaseongji button:disabled {opacity:0.6;cursor:default;}
#ttaseongji :is(button,a,input,select,textarea,summary):focus-visible {outline:2px solid var(--text-link);outline-offset:3px;}
#ttaseongji .tm-heading h2:focus {outline:none;}
#ttaseongji #tmStatus {min-height:var(--space-1);font-size:var(--text-base);color:var(--text-link);}
#ttaseongji #tmStatus:empty {margin:0;}
#ttaseongji #tmStatus.tm-error {color:var(--color-error-dark);}
#ttaseongji .tm-progress {display:flex;justify-content:space-between;gap:var(--space-3);font-size:var(--text-base);color:var(--text-secondary);font-variant-numeric:tabular-nums;}
#ttaseongji progress {width:100%;height:6px;appearance:none;background:var(--color-gray-100);margin:var(--space-3) 0 var(--space-6);border:0;}
#ttaseongji .tm-question {max-width:760px;margin-inline:auto;}
#ttaseongji .tm-scale {display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--space-2);}
#ttaseongji .tm-options {display:grid;gap:var(--space-3);}
#ttaseongji .tm-option {position:relative;display:flex;margin:0;cursor:pointer;min-width:0;}
#ttaseongji .tm-option input {position:absolute;opacity:0;width:1px;height:1px;}
#ttaseongji .tm-option span {display:flex;flex:1;gap:var(--space-2);padding:var(--space-3);min-height:64px;align-items:center;border:1px solid var(--border-medium);border-radius:var(--radius-btn);font-size:var(--text-base);line-height:1.6;box-sizing:border-box;background:var(--bg-card);}
#ttaseongji .tm-scale .tm-option span {flex-direction:column;text-align:center;justify-content:center;}
#ttaseongji .tm-option b {font-size:var(--text-lg);font-weight:var(--font-semibold);}
#ttaseongji .tm-option input:checked + span {border:2px solid var(--color-gray-800);padding:calc(var(--space-3) - 1px);background:var(--bg-subtle);}
#ttaseongji .tm-option input:focus-visible + span {outline:2px solid var(--text-link);outline-offset:3px;}
#ttaseongji .tm-option:hover span {background:var(--bg-subtle);}
#ttaseongji .tm-option-btn {justify-content:flex-start;gap:var(--space-3);text-align:left;border:1px solid var(--border-medium);padding:var(--space-3);background:var(--bg-card);color:var(--text-primary);}
#ttaseongji .selected {border:2px solid var(--color-gray-800);background:var(--bg-subtle);}
#ttaseongji .v2-btn.selected {border:2px solid var(--color-gray-800);}
#ttaseongji .tm-rank {display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;min-width:28px;font-variant-numeric:tabular-nums;}
#ttaseongji .tm-feedback {padding:var(--space-5);border-radius:var(--radius-card);background:var(--bg-subtle);border:1px solid var(--border-light);margin-top:var(--space-5);}
#ttaseongji .tm-training-toolbar {display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3);margin-top:var(--space-4);}
#ttaseongji .tm-training-toolbar label[for] {margin:0;}
#ttaseongji #tmAnswerLimit {width:88px;flex:0 0 88px;min-height:44px;}
#ttaseongji .tm-training-stage {margin-right:auto;color:var(--text-link);font-weight:var(--font-semibold);}
#ttaseongji .tm-training-focus {padding:var(--space-4);margin-top:var(--space-4);border:1px solid var(--border-medium);border-radius:var(--radius-btn);}
#ttaseongji .tm-training-focus p {font-size:var(--text-md);}
#ttaseongji .tm-transcription {padding:var(--space-4);margin-block:0 var(--space-4);border-radius:var(--radius-btn);background:var(--bg-subtle);}
#ttaseongji .tm-transcription h4 {margin-top:0;}
#ttaseongji .tm-transcription .tm-audio-consent {display:flex;align-items:flex-start;gap:var(--space-2);min-height:44px;margin:0 0 var(--space-2);cursor:pointer;}
#ttaseongji .tm-audio-consent input {width:18px;min-width:18px;height:18px;min-height:18px;margin:4px 0 0;accent-color:var(--fill-action);}
#ttaseongji .tm-transcript-list {display:grid;gap:var(--space-2);max-height:320px;overflow-y:auto;overscroll-behavior:contain;}
#ttaseongji .tm-transcript-segment {display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:var(--space-3);width:100%;min-height:44px;text-align:left;padding:var(--space-3);border:1px solid var(--border-light);border-radius:var(--radius-btn);background:var(--bg-card);color:var(--text-primary);font:inherit;cursor:pointer;touch-action:manipulation;}
#ttaseongji .tm-transcript-segment:hover {border-color:var(--border-medium);background:var(--bg-subtle);}
#ttaseongji .tm-transcript-segment time {white-space:nowrap;font-variant-numeric:tabular-nums;}
#ttaseongji .tm-transcript-segment span {overflow-wrap:anywhere;}
#ttaseongji .tm-rubric-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-3);}
#ttaseongji .tm-rubric-item {min-width:0;padding:var(--space-4);border:1px solid var(--border-light);border-radius:var(--radius-btn);background:var(--bg-card);}
#ttaseongji .tm-rubric-item h4 {margin:0;}
#ttaseongji .tm-rubric-item .tm-row {align-items:flex-start;flex-wrap:wrap;gap:var(--space-2);}
#ttaseongji .tm-rubric-level {font-size:var(--text-base);color:var(--text-secondary);white-space:nowrap;}
#ttaseongji .tm-rubric-item blockquote {margin:var(--space-3) 0;padding-left:var(--space-3);border-left:2px solid var(--border-medium);overflow-wrap:anywhere;}
@container (max-width:600px) {#ttaseongji .tm-rubric-grid {grid-template-columns:minmax(0,1fr);}#ttaseongji .tm-transcript-segment {grid-template-columns:minmax(0,1fr);gap:var(--space-1);}}
#ttaseongji .tm-number {font-size:var(--text-2xl,24px);font-weight:var(--font-semibold);font-variant-numeric:tabular-nums;}
#ttaseongji .tm-number small {font-size:var(--text-base);color:var(--text-secondary);}
#ttaseongji .tm-pair {padding-block:var(--space-3);border-bottom:1px solid var(--border-light);}
#ttaseongji .tm-review {border-bottom:1px solid var(--border-light);padding-block:var(--space-2);}
#ttaseongji summary {cursor:pointer;min-height:44px;align-content:center;overflow-wrap:anywhere;}
#ttaseongji .tm-digit {font-size:64px;line-height:1.4;text-align:center;padding:var(--space-6);font-weight:var(--font-semibold);font-variant-numeric:tabular-nums;}
#ttaseongji .tm-game-options {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--space-3);margin-top:var(--space-5);}
#ttaseongji .tm-shape {display:inline-grid;grid-template-columns:repeat(3,1fr);width:72px;aspect-ratio:1;gap:3px;}
#ttaseongji .tm-shape i {background:var(--color-gray-100);border:1px solid var(--border-light);border-radius:2px;}
#ttaseongji .tm-shape i.filled {background:var(--color-gray-800);border-color:var(--color-gray-800);}
#ttaseongji .tm-shape-source {text-align:center;padding:var(--space-4);}
#ttaseongji .tm-shape-option {height:auto;min-height:120px;display:flex;flex-direction:column;padding:var(--space-3);border:1px solid var(--border-medium);background:var(--bg-card);color:var(--text-primary);}
#ttaseongji .tm-shape-option.selected {border:2px solid var(--color-gray-800);}
#ttaseongji .tm-slots {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-2);}
#ttaseongji .tm-availability {list-style:none;padding:0;margin:var(--space-4) 0;font-size:var(--text-base);}
#ttaseongji .tm-availability li {padding-block:var(--space-2);}
#ttaseongji .tm-availability strong {margin-right:var(--space-3);}
#ttaseongji :is(select,input[type="date"],input[type="text"],textarea) {display:block;width:100%;max-width:100%;min-height:44px;border:1px solid var(--border-medium);border-radius:var(--radius-input);padding:var(--space-3);font:inherit;font-size:var(--text-md);background:var(--bg-card);color:var(--text-primary);box-sizing:border-box;}
#ttaseongji label:not(.tm-option) {display:block;margin:var(--space-4) 0 var(--space-2);font-size:var(--text-base);font-weight:var(--font-semibold);}
#ttaseongji textarea {resize:vertical;line-height:1.7;}
#ttaseongji video {display:block;max-width:100%;width:100%;max-height:360px;background:var(--color-gray-900);border-radius:var(--radius-card);margin-top:var(--space-4);}
#ttaseongji .tm-empty {padding:var(--space-6);text-align:center;color:var(--text-secondary);}
@media(max-width:720px) {#ttaseongji .tm-three {grid-template-columns:1fr;}#ttaseongji .tm-four {grid-template-columns:repeat(2,minmax(0,1fr));}#ttaseongji .tm-scale {grid-template-columns:repeat(2,minmax(0,1fr));}#ttaseongji .tm-hero {padding:var(--space-4);gap:var(--space-3);}#ttaseongji .tm-hero img {width:56px;height:56px;}#ttaseongji .tm-hero {align-items:flex-start;}#ttaseongji .tm-row, #ttaseongji .tm-history {align-items:flex-start;flex-direction:column;}#ttaseongji .tm-game-options {grid-template-columns:repeat(2,minmax(0,1fr));}#ttaseongji .tm-card {padding:var(--space-4);}#ttaseongji .tm-two {grid-template-columns:1fr;}#ttaseongji .tm-slots .v2-btn {font-size:var(--text-base);padding:var(--space-2);}#ttaseongji h2 {font-size:var(--text-xl,20px);}}

#ttaseongji progress::-webkit-progress-bar {background:var(--color-gray-100);}
#ttaseongji progress::-webkit-progress-value {background:var(--color-gray-800);}
#ttaseongji progress::-moz-progress-bar {background:var(--color-gray-800);}


#ttaseongji .v2-btn:is(.main,.primary):active {background:var(--fill-action-pressed);}
#ttaseongji .v2-btn.ghost {background:transparent;color:var(--text-secondary);}
#ttaseongji .v2-btn.outline {background:var(--btn-secondary-bg);border-color:var(--btn-secondary-line);color:var(--btn-secondary-text);}

/* 영상면접: 질문 / 영상 / 답변을 분리하고 실제 본문 폭에 따라 배치한다. */
#ttaseongji .tm-interview-top {display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:var(--space-3);}
#ttaseongji .tm-interview-top > div {flex:1 1 160px;min-width:0;max-width:240px;}
#ttaseongji .tm-interview-top label {margin-top:0;}
#ttaseongji #tmInterviewQuestion {appearance:auto;cursor:pointer;}
#ttaseongji .tm-interview-question #tmCurrentQuestion {margin:var(--space-5) 0 var(--space-4);font-size:var(--text-xl);line-height:1.5;word-break:keep-all;overflow-wrap:anywhere;}
#ttaseongji .tm-answer-hint {padding:var(--space-3) var(--space-4);border-radius:var(--radius-btn);background:var(--bg-subtle);}
#ttaseongji .tm-answer-hint .tm-kicker {margin-bottom:var(--space-1);}
#ttaseongji .tm-answer-hint p {margin:0;font-size:var(--text-md);}
#ttaseongji .tm-interview-grid {display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:var(--space-4);margin-bottom:var(--space-4);}
#ttaseongji .tm-interview-grid > .tm-card {margin-bottom:0;}
#ttaseongji .tm-camera-card .tm-row {flex-direction:row;flex-wrap:wrap;align-items:center;gap:var(--space-2);margin-bottom:var(--space-4);}
#ttaseongji .tm-camera-card h3, #ttaseongji .tm-answer-top h3 {margin:0;}
#ttaseongji .tm-video-stage {position:relative;aspect-ratio:16/9;overflow:hidden;border:1px solid var(--border-light);border-radius:var(--radius-btn);background:var(--bg-subtle);}
#ttaseongji #tmCameraPlaceholder {position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-3);color:var(--text-secondary);font-size:var(--text-md);}
#ttaseongji .tm-video-stage video {width:100%;height:100%;max-height:none;object-fit:contain;margin:0;border-radius:0;}
#ttaseongji .tm-answer-top {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:var(--space-2);margin-bottom:var(--space-4);}
#ttaseongji .tm-answer-top label {margin:0;font:inherit;}
#ttaseongji .tm-answer-top .v2-btn {font-size:var(--text-base);}
#ttaseongji .tm-answer-card textarea {min-height:240px;}
#ttaseongji .tm-answer-meta {display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:var(--space-2);margin-top:var(--space-2);}
#ttaseongji .tm-answer-meta p {margin:0;}
#ttaseongji #tmAnswerCount {white-space:nowrap;font-variant-numeric:tabular-nums;}
#ttaseongji #tmInterviewStatus {margin:var(--space-3) 0 0;font-size:var(--text-base);color:var(--text-link);}
#ttaseongji #tmInterviewStatus:empty {margin:0;}
#ttaseongji #tmInterviewStatus.tm-error {color:var(--color-error-dark);}
#ttaseongji #tmMaterials:empty {display:none;}
#ttaseongji #tmMaterials:not(:empty) {margin-bottom:var(--space-4);padding:var(--space-3);border:1px solid var(--border-light);border-radius:var(--radius-btn);}
#ttaseongji #tmMaterials label {margin-top:0;}
#ttaseongji #tmMaterials .v2-btn {margin-top:var(--space-3);}
@container (min-width:720px) {#ttaseongji .tm-interview-grid {grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);}}

/* 가이드는 고정된 연습 기준선이고, 입력 레벨·밝기는 기기에서 측정한다. */
#ttaseongji .tm-gaze-guide {position:absolute;inset:0;pointer-events:none;color:var(--color-white);}
#ttaseongji .tm-gaze-target {position:absolute;top:var(--space-2);left:var(--space-2);display:inline-flex;align-items:center;gap:var(--space-2);padding:var(--space-1) var(--space-3);border:1px solid rgba(255,255,255,.5);border-radius:999px;background:rgba(15,23,42,.7);font-size:var(--text-base);white-space:nowrap;}
#ttaseongji .tm-gaze-target::before {content:"";width:6px;height:6px;flex-shrink:0;border-radius:50%;background:var(--color-white);}
#ttaseongji .tm-camera-checks {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:var(--space-4);padding:var(--space-3);margin-top:var(--space-3);border:1px solid var(--border-light);border-radius:var(--radius-btn);background:var(--bg-subtle);}
#ttaseongji .tm-camera-checks > div {display:flex;flex-direction:column;gap:var(--space-1);min-width:0;}
#ttaseongji .tm-camera-checks span {font-size:var(--text-base);color:var(--text-secondary);}
#ttaseongji .tm-camera-checks strong {font-size:var(--text-base);font-weight:var(--font-semibold);color:var(--text-primary);}
#ttaseongji .tm-camera-checks [data-level="adjust"] {color:var(--text-secondary);}
#ttaseongji .tm-mic-label {display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-1);}
#ttaseongji #tmMicLevel {width:100%;height:12px;accent-color:var(--fill-action);}
#ttaseongji [data-action="guide-toggle"][aria-pressed="true"] {background:var(--bg-subtle);border-color:var(--text-primary);color:var(--text-primary);}

/* 실제 검출 프레임·개인별 시선 보정·녹화 관찰 */
#ttaseongji .tm-face-overlay {position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1;}
#ttaseongji .tm-gaze-guide {z-index:2;}
#ttaseongji .tm-face-tracking {padding:var(--space-3);margin-top:var(--space-3);border:1px solid var(--border-light);border-radius:var(--radius-btn);}
#ttaseongji .tm-tracking-readings {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-2);}
#ttaseongji .tm-tracking-readings > div {display:flex;flex-direction:column;gap:var(--space-1);min-width:0;}
#ttaseongji .tm-tracking-readings span {font-size:var(--text-base);color:var(--text-secondary);}
#ttaseongji .tm-tracking-readings strong {font-size:var(--text-base);font-weight:var(--font-semibold);overflow-wrap:anywhere;}
#ttaseongji .tm-face-tracking .v2-btn {font-size:var(--text-base);}
#ttaseongji .tm-tracking-report {margin-top:var(--space-5);padding-top:var(--space-4);border-top:1px solid var(--border-light);}
#ttaseongji .tm-track-timeline {display:flex;gap:1px;height:16px;overflow:hidden;border-radius:var(--radius-btn);background:var(--bg-subtle);margin:var(--space-3) 0;}
#ttaseongji .tm-track-segment {min-width:1px;flex-basis:0;background:var(--color-gray-400);}
#ttaseongji .tm-track-segment[data-kind="center"] {background:var(--fill-action);}
#ttaseongji .tm-track-segment:is([data-kind="left"],[data-kind="right"],[data-kind="up"],[data-kind="down"]) {background:var(--color-gray-600);}
#ttaseongji .tm-track-segment:is([data-kind="face-missing"],[data-kind="head-turned"],[data-kind="eyes-closed"]) {background:var(--color-gray-800);}
#ttaseongji .tm-track-totals {display:flex;flex-wrap:wrap;gap:var(--space-2) var(--space-4);font-size:var(--text-base);font-variant-numeric:tabular-nums;}
#ttaseongji .tm-track-totals b {font-weight:var(--font-semibold);}
#ttaseongji .tm-track-segments {display:flex;flex-direction:column;align-items:flex-start;max-height:240px;overflow-y:auto;}
#ttaseongji .tm-track-segments .v2-btn {font-size:var(--text-base);text-align:left;}
#ttaseongji .tm-calibration {position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;box-sizing:border-box;margin:0;padding:var(--space-5);border:0;background:var(--color-gray-900);color:var(--color-white);}
#ttaseongji .tm-calibration::backdrop {background:var(--color-gray-900);}
#ttaseongji .tm-calibration-head {position:absolute;top:var(--space-5);left:var(--space-5);right:var(--space-5);text-align:center;}
#ttaseongji .tm-calibration h3 {color:var(--color-white);}
#ttaseongji .tm-calibration p {font-size:var(--text-base);}
#ttaseongji .tm-calibration-point {position:absolute;transform:translate(-50%,-50%);width:56px;height:56px;display:grid;place-items:center;border:2px solid var(--color-white);border-radius:50%;background:var(--fill-action);cursor:pointer;touch-action:manipulation;}
#ttaseongji .tm-calibration-point span {width:12px;height:12px;border-radius:50%;background:var(--color-white);}
#ttaseongji .tm-calibration .v2-btn.outline {background:var(--color-white);color:var(--text-primary);}
#ttaseongji .tm-calibration-cancel {position:absolute;bottom:max(var(--space-5),env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);}
