[v-cloak] { display: none; }
.as-wrap { max-width: 1100px; margin: 0 auto; padding: 16px; font-family: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif; color: #222; font-size: 14px; }
.as-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.as-header h1 { font-size: 20px; margin: 0; }
.as-header h1 small { font-size: 12px; color: #777; font-weight: normal; margin-left: 8px; }
.as-health { font-size: 12px; padding: 4px 10px; border-radius: 12px; background: #eee; color: #555; cursor: pointer; }
.as-health.ok { background: #e3f6e8; color: #1d7a3b; }
.as-health.bad { background: #fdeaea; color: #b3261e; }

.as-box { background: #fff; border: 1px solid #e3e3e3; border-radius: 8px; padding: 14px; margin-bottom: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.as-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.as-spacer { flex: 1; }
.as-hint { color: #888; font-size: 12px; }
.as-error { color: #b3261e; margin-top: 6px; white-space: pre-wrap; }
.as-jobid { font-family: Consolas, monospace; font-size: 12px; color: #555; }

.as-drop { border: 2px dashed #b9c4d6; border-radius: 8px; padding: 26px; text-align: center; cursor: pointer; background: #f8fafc; transition: background .15s, border-color .15s; }
.as-drop.over { background: #e8f0fe; border-color: #1a73e8; }
.as-opts { display: flex; align-items: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.as-opts label { display: inline-flex; align-items: center; gap: 6px; }
.as-opts input[type=number], .as-opts select { padding: 4px 6px; border: 1px solid #ccc; border-radius: 4px; }

.as-btn { padding: 6px 14px; border: 1px solid #c9c9c9; background: #fff; border-radius: 5px; cursor: pointer; font-size: 13px; }
.as-btn:hover { background: #f3f3f3; }
.as-btn:disabled { opacity: .5; cursor: default; }
.as-btn.primary { background: #1a73e8; color: #fff; border-color: #1a73e8; }
.as-btn.primary:hover { background: #1765cc; }
.as-btn.danger { color: #b3261e; border-color: #e6b3b0; }
.as-btn.sm { padding: 3px 9px; font-size: 12px; }

.as-progress { height: 10px; background: #eee; border-radius: 5px; overflow: hidden; margin-top: 8px; }
.as-progress .bar { height: 100%; background: linear-gradient(90deg, #1a73e8, #4fa3ff); transition: width .4s; }

.as-badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; background: #eee; color: #555; }
.as-badge.st-DONE { background: #e3f6e8; color: #1d7a3b; }
.as-badge.st-ERROR { background: #fdeaea; color: #b3261e; }
.as-badge.st-QUEUED { background: #f0f0f0; color: #666; }
.as-badge.st-CONVERTING, .as-badge.st-TRANSCRIBING, .as-badge.st-DIARIZING, .as-badge.st-MERGING { background: #e8f0fe; color: #1a5fb4; }

.as-result-head { margin-bottom: 8px; }
.as-speakers { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 10px; }
.as-spk { display: inline-block; padding: 3px 10px; border-radius: 12px; color: #fff; font-size: 13px; cursor: pointer; white-space: nowrap; }
.as-spk small { opacity: .85; margin-left: 4px; }
.as-spk.sm { padding: 1px 8px; font-size: 12px; cursor: default; }

.as-tabs { display: flex; gap: 4px; align-items: center; border-bottom: 1px solid #e3e3e3; margin-bottom: 8px; }
.as-tabs > button { border: none; background: none; padding: 8px 12px; cursor: pointer; color: #666; border-bottom: 2px solid transparent; font-size: 13px; }
.as-tabs > button.on { color: #1a73e8; border-bottom-color: #1a73e8; font-weight: bold; }

.as-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.as-table th, .as-table td { border-bottom: 1px solid #eee; padding: 6px 8px; text-align: left; vertical-align: top; }
.as-table th { background: #f7f8fa; font-weight: 600; color: #444; }
.as-table tr.sel td { background: #f2f7ff; }
.as-text { white-space: pre-wrap; background: #fafafa; border: 1px solid #eee; border-radius: 6px; padding: 12px; max-height: 480px; overflow: auto; font-family: inherit; line-height: 1.6; }

/* 팝업: 화면 상단 근처 */
.as-modal { position: fixed; inset: 0; background: rgba(0,0,0,.35); display: flex; align-items: flex-start; justify-content: center; padding-top: 12vh; z-index: 1000; }
.as-modal-box { background: #fff; border-radius: 8px; padding: 18px 20px; width: 360px; box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.as-modal-box h3 { margin: 0 0 12px; font-size: 16px; }
.as-modal-box input[type=text] { width: 100%; box-sizing: border-box; padding: 8px; border: 1px solid #ccc; border-radius: 4px; margin-top: 10px; }

.as-toast { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); background: #333; color: #fff; padding: 10px 18px; border-radius: 6px; z-index: 1100; font-size: 13px; box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.as-toast.error { background: #b3261e; }
.as-toast.success { background: #1d7a3b; }
