@font-face {
  font-family: "Elice DX Neolli";
  src: url("./EliceDXNeolli-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Elice DX Neolli";
  src: url("./EliceDXNeolli-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Elice DX Neolli";
  src: url("./EliceDXNeolli-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  font-family: "Elice DX Neolli", "Malgun Gothic", sans-serif;
  color: #111014;
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --purple: #6200ee;
  --purple-dark: #4e00c4;
  --lavender: #e8d4ff;
  --muted: #77727e;
  --pink: #fff3fa;
  --blue: #e8f8ff;
  --line: #ead9ff;
}

* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: linear-gradient(155deg, #fff3fa 0%, #fff 48%, #e7f8ff 100%); }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
.site-header { height: 58px; display: grid; place-items: center; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(235,219,248,.55); }
.brand { display: inline-flex; align-items: center; justify-content: center; color: #28242d; text-decoration: none; }
.brand-logo { display: block; width: min(218px, 58vw); height: 34px; object-fit: contain; }
.app-shell { width: min(100% - 32px, 720px); min-height: calc(100vh - 116px); margin: 0 auto; padding: 46px 0 30px; }
.view[hidden], [hidden] { display: none !important; }
.hero-title { margin: 4px auto 30px; text-align: center; }
.hero-title h1 { margin: 0; font-size: clamp(29px, 5vw, 42px); line-height: 1.25; letter-spacing: -1.6px; font-weight: 700; }
.hero-title h1 span { color: var(--purple); }
.login-hint { margin: 15px 0 0; font-size: 13px; line-height: 1.65; color: #3f3b44; }
.panel { background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 28px rgba(105, 32, 168, .035); }
.login-panel { padding: 28px 34px 24px; }
.panel-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.panel-heading h2 { margin: 0; font-size: clamp(21px, 3vw, 26px); line-height: 1.25; letter-spacing: -.7px; }
.muted { margin: 8px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.heading-icon { flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 7px; color: white; background: #12c832; font-size: 17px; font-weight: 700; box-shadow: inset 0 1px 2px #087719; }
.field-label { display: block; margin: 21px 0 7px; font-size: 16px; font-weight: 700; }
input { width: 100%; min-height: 47px; padding: 0 14px; border: 1px solid #e2cfff; border-radius: 10px; outline: 0; background: #fff; color: #17131d; font-size: 14px; transition: border-color .15s, box-shadow .15s; }
input::placeholder { color: #8c8790; }
input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(98,0,238,.12); }
.field-note { margin: 7px 2px 0; color: #8a8490; font-size: 11px; }
.button { border: 0; border-radius: 9px; min-height: 42px; padding: 0 18px; font-weight: 700; cursor: pointer; }
.button-primary { color: #fff; background: var(--purple); transition: background .15s, transform .15s; }
.button-primary:hover { background: var(--purple-dark); }
.button-primary:active { transform: translateY(1px); }
.login-submit { width: calc(100% - 4px); height: 48px; margin: 25px 2px 0; font-size: 16px; }
.error-message { margin: 12px 0 0; color: #c12645; font-size: 13px; }
.panel-footnote { border-top: 1px solid var(--line); margin-top: 25px; padding-top: 14px; color: #88818e; font-size: 10px; line-height: 1.5; }
.support-footer { display: flex; flex-direction: column; align-items: center; gap: 5px; margin: 31px 0 0; text-align: center; font-size: 12px; line-height: 1.45; }
.support-footer strong { margin-bottom: 2px; font-size: 13px; }
.site-footer { min-height: 58px; display: grid; place-items: center; padding: 8px 16px; color: #6685c6; }
.myown-logo { display: block; width: min(150px, 42vw); height: 38px; object-fit: contain; }
.content-view { padding-top: 0; }
.compact-hero { margin: 0 auto 27px; }
.compact-hero h1 { font-size: clamp(27px, 4vw, 38px); }
.result-panel, .admin-panel { padding: 27px 30px 23px; }
.interview-list { display: flex; flex-direction: column; gap: 18px; }
.interview-card { min-width: 0; }
.interview-card-heading { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
.interview-card-heading h3 { margin: 0; font-size: 17px; }
.status-badge { display: inline-flex; align-items: center; min-height: 21px; padding: 2px 11px; border-radius: 20px; color: #fff; background: var(--purple); font-size: 11px; line-height: 1; white-space: nowrap; }
.status-badge.done { color: #fff; background: #aaa7ac; }
.status-badge.cancelled { color: #fff; background: #dc3555; }
.status-badge.upcoming { background: var(--purple); }
.interview-detail { margin: 0; padding: 12px 15px; border: 1px solid var(--line); border-radius: 10px; list-style: none; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.interview-detail li { position: relative; padding-left: 12px; }
.interview-detail li::before { content: "·"; position: absolute; left: 0; font-weight: 700; }
.interview-detail a { color: #4f00bd; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.detail-sublist { margin: 0; padding-left: 14px; list-style: none; }
.empty-state { min-height: 150px; display: flex; flex-direction: column; justify-content: center; padding: 15px 3px 21px; }
.empty-state h2 { margin: 0 0 8px; font-size: 22px; }
.empty-state p { color: var(--muted); font-size: 13px; }
.empty-state ul { padding-left: 20px; font-size: 13px; line-height: 1.7; }
.admin-view { width: 100%; }
.admin-topline { display: flex; align-items: center; justify-content: space-between; margin: 0 4px 12px; }
.admin-topline h1 { margin: 0; font-size: 23px; font-weight: 500; }
.sheet-link { color: #24202b; font-size: 13px; text-underline-offset: 3px; }
.admin-panel { padding-top: 25px; }
.search-form { display: flex; align-items: center; gap: 9px; padding: 5px 6px 5px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.search-form input { min-width: 0; min-height: 38px; padding: 0 2px; border: 0; box-shadow: none; }
.search-form input:focus { outline: 0; }
.search-icon { color: #625c67; font-size: 23px; line-height: 1; }
.search-form .button { min-height: 34px; padding: 0 14px; font-size: 13px; }
.search-form .button { flex: 0 0 auto; white-space: nowrap; }
.result-count { min-height: 15px; margin: 10px 0 3px; color: var(--muted); font-size: 11px; }
.table-scroll { width: 100%; overflow-x: auto; border-top: 1px solid var(--line); }
.schedule-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
.schedule-table th { padding: 12px 10px 9px; color: #514b57; font-size: 11px; font-weight: 500; white-space: nowrap; }
.schedule-table td { padding: 11px 10px; border-top: 1px solid #f0e4fb; vertical-align: middle; }
.schedule-table td:first-child { font-weight: 500; white-space: nowrap; }
.schedule-table td:nth-child(3) { min-width: 155px; white-space: nowrap; }
.schedule-table td:nth-child(4) { min-width: 130px; }
.table-empty { padding: 32px 10px; color: var(--muted); text-align: center; font-size: 13px; }
.schedule-table tbody tr { cursor: pointer; }
.schedule-table tbody tr:hover { background: #fcf9ff; }
.schedule-table tbody tr:focus-visible { outline: 2px solid var(--purple); outline-offset: -2px; }
.detail-dialog { width: min(560px, calc(100vw - 30px)); max-height: min(82vh, 760px); overflow: auto; padding: 25px 28px 27px; border: 1px solid var(--line); border-radius: 16px; color: #17131d; background: #fff; box-shadow: 0 24px 80px rgba(35, 16, 62, .22); }
.detail-dialog::backdrop { background: rgba(31, 22, 43, .42); backdrop-filter: blur(2px); }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.dialog-eyebrow { margin: 0 0 5px; color: var(--muted); font-size: 11px; }
.dialog-header h2 { margin: 0; font-size: 23px; letter-spacing: -.5px; }
.dialog-close { width: 34px; height: 34px; border: 1px solid #e9dff2; border-radius: 50%; color: #544c5c; background: #fff; font-size: 24px; line-height: 1; cursor: pointer; }
.dialog-content { display: grid; gap: 13px; padding-top: 17px; }
.detail-status-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.detail-status-line strong { font-size: 16px; }
.detail-grid { display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 0; margin: 0; border: 1px solid #eee4f8; border-radius: 11px; overflow: hidden; }
.detail-grid dt, .detail-grid dd { margin: 0; padding: 12px 13px; border-bottom: 1px solid #f2eaf9; font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.detail-grid dt { color: #6e6873; background: #fcfaff; }
.detail-grid dd:last-of-type, .detail-grid dt:last-of-type { border-bottom: 0; }
.detail-grid a { color: #4f00bd; text-underline-offset: 2px; }
.detail-contact-list { display: grid; gap: 6px; min-width: 0; }
.detail-contact-actions { display: inline-flex; gap: 8px; margin-left: 7px; }
.detail-contact-actions a { font-weight: 500; }
.logout-button { position: fixed; top: 13px; right: 18px; z-index: 4; border: 1px solid #e6d8f5; border-radius: 20px; padding: 7px 12px; color: #514a58; background: white; font-size: 11px; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; clip-path: inset(50%); }

@media (min-width: 900px) {
  .app-shell { padding-top: 58px; }
  .login-panel { padding: 30px 40px 25px; }
  .admin-view { width: min(100%, 900px); }
  .admin-panel { min-height: 500px; }
}
@media (max-width: 600px) {
  .app-shell { width: min(100% - 28px, 500px); min-height: calc(100vh - 116px); padding: 31px 0 21px; }
  .hero-title { margin-bottom: 25px; }
  .hero-title h1 { font-size: clamp(28px, 8vw, 36px); }
  .login-panel, .result-panel, .admin-panel { padding: 22px 19px 20px; }
  .panel-heading { margin-bottom: 18px; }
  .panel-heading h2 { font-size: 21px; }
  .admin-view { width: 100%; }
  .admin-topline h1 { font-size: 20px; }
  .schedule-table { min-width: 630px; }
  .result-panel .panel-footnote { margin-top: 21px; }
  .logout-button { top: 10px; right: 10px; }
}
@media (max-width: 700px) {
  .table-scroll { overflow: visible; border-top: 1px solid var(--line); }
  .schedule-table, .schedule-table tbody { display: block; width: 100%; min-width: 0; }
  .schedule-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; }
  .schedule-table tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 10px; padding: 11px 10px; border-bottom: 1px solid #f0e4fb; }
  .schedule-table td { min-width: 0 !important; padding: 3px 0; border: 0; white-space: normal !important; overflow-wrap: anywhere; }
  .schedule-table td::before { display: inline-block; margin-right: 5px; color: #77727e; font-size: 10px; font-weight: 300; }
  .schedule-table td:nth-child(1) { grid-column: 1; grid-row: 1; }
  .schedule-table td:nth-child(1)::before { content: "참여자"; }
  .schedule-table td:nth-child(2) { grid-column: 1; grid-row: 2; font-size: 14px; font-weight: 700; }
  .schedule-table td:nth-child(2)::before { content: "기업"; }
  .schedule-table td:nth-child(3) { grid-column: 1 / -1; grid-row: 3; }
  .schedule-table td:nth-child(3)::before { content: "일시"; }
  .schedule-table td:nth-child(4) { grid-column: 2; grid-row: 1 / 3; align-self: center; }
  .schedule-table td:nth-child(4)::before { content: ""; margin: 0; }
  .status-cell { color: var(--purple); font-size: 11px; font-weight: 700; text-align: right; white-space: nowrap !important; }
  .status-cell.cancelled { color: #c52c49; }
  .status-cell.done { color: #77727e; }
}
@media (max-width: 370px) {
  .login-panel, .result-panel, .admin-panel { padding-left: 15px; padding-right: 15px; }
  .support-footer { font-size: 11px; }
  .admin-topline { align-items: flex-start; }
  .admin-topline h1 { font-size: 18px; }
}
@media (max-width: 430px) {
  .detail-dialog { padding: 20px 16px 22px; }
  .dialog-header h2 { font-size: 21px; }
  .detail-grid { grid-template-columns: 105px minmax(0, 1fr); }
  .detail-grid dt, .detail-grid dd { padding: 10px; font-size: 12px; }
}
