/* ParsEfe: ADÜ navy, warm paper tones and the Aegean Efe identity. */
:root { color-scheme: light; font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif; color: #26334a; background: #f7f9fc; --navy: #223365; --muted: #69748a; --line: #e5e9f0; --gold: #d4aa62; }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .45; }
button, a, textarea { transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease; }
:focus-visible { outline: 3px solid #b3873c; outline-offset: 4px; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.chatbot-chat-container { display: grid; grid-template-columns: 252px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; height: 100dvh; overflow: hidden; }
.sidebar { grid-row: 1 / -1; position: relative; display: flex; flex-direction: column; padding: 32px 22px 24px; background: var(--navy); color: white; overflow: auto; }
.university-brand { display: flex; align-items: center; gap: 11px; }
.university-logo { width: 52px; height: 52px; object-fit: contain; background: white; border-radius: 50%; border: 3px solid #fff; flex-shrink: 0; }
.university-brand > span { font-size: 11px; line-height: 1.55; color: #e1e6f4; }
.university-brand strong { display: block; font-size: 15px; font-weight: 600; color: white; }
.sidebar-heading { margin: 52px 12px 32px; }
.brand-wordmark { font-size: 37px; font-weight: 650; letter-spacing: -1.4px; }
.brand-wordmark > span { color: var(--gold); }
.sidebar-heading p { color: #c3cbe0; font-size: 13px; margin: 4px 0 0; }
.sidebar-nav { display: grid; gap: 10px; }
.nav-button { display: flex; align-items: center; gap: 12px; text-align: left; border: 1px solid transparent; border-radius: 11px; padding: 14px; color: #e4e9f5; background: transparent; font-size: 14px; }
.nav-button:hover:enabled { background: #ffffff12; }
.nav-button.guide-link { text-decoration: none; }
.nav-button.guide-link:hover { background: #ffffff12; }
.dialog-guide-note { border-top: 1px solid var(--line, #dde3ed); padding-top: 18px; font-size: 13px; line-height: 1.7; }
.dialog-guide-note a { color: #223365; }
.nav-primary { border-color: #ffffff36; background: #ffffff0c; color: #fff; }
.nav-primary svg { color: #e8c48b; }
.sidebar-note { margin: auto 12px 32px; padding-top: 60px; }
.note-line { display: block; width: 28px; height: 2px; background: var(--gold); }
.sidebar-note p { font-size: 22px; line-height: 1.6; font-weight: 300; color: #edf0f8; }
.sidebar-note > span:last-child { display: block; max-width: 170px; color: #aebbd7; font-size: 9px; letter-spacing: 1.6px; line-height: 1.8; }
.sidebar-bottom { border-top: 1px solid #ffffff1b; padding: 20px 12px 0; color: #b5c0d9; font-size: 11px; }
.chatbot-header { grid-column: 2; display: flex; justify-content: space-between; align-items: center; padding: 22px 36px; gap: 20px; border-bottom: 1px solid var(--line); background: #fff; min-width: 0; }
.header-title { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.assistant-mark { display: block; height: 43px; width: 43px; background: #f5eee2 url('./parsefe-v2.png') no-repeat center 9%; background-size: 195%; border-radius: 14px; }
.header-title strong { color: var(--navy); font-size: 19px; font-weight: 650; letter-spacing: -.5px; }
.header-title p { font-size: 11px; margin: 3px 0 0; color: var(--muted); }
.header-account { display: flex; align-items: center; gap: 16px; min-width: 0; }
.account-copy { text-align: right; min-width: 0; }
#identity { font-size: 12px; margin: 0 0 5px; line-height: 1.5; overflow-wrap: anywhere; }
#connection { font-size: 11px; color: var(--muted); }
#connection::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #aab1bf; vertical-align: 1px; }
#connection[data-connected="true"]::before { background: #42826e; }
.icon-button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; background: white; color: var(--muted); flex-shrink: 0; }
.icon-button:hover { background: #f0f3f8; color: var(--navy); }
.chat-workspace { grid-column: 2; grid-row: 2; min-width: 0; overflow: auto; scrollbar-gutter: stable; overscroll-behavior: contain; }
.welcome { width: min(100%, 940px); margin: 0 auto; padding: 48px 36px 28px; }
.welcome-hero { display: flex; justify-content: space-between; align-items: center; min-height: 300px; padding: 32px 18px 32px 36px; border: 1px solid #ede9e1; border-radius: 24px; background: #f7f4ed; overflow: hidden; }
.welcome-copy { position: relative; z-index: 1; }
.eyebrow { font-size: 10px; font-weight: 650; letter-spacing: 1.7px; line-height: 1.6; color: #8a6934; margin: 0 0 16px; }
h1, h2 { color: var(--navy); }
.welcome h1 { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.24; letter-spacing: -1.3px; font-weight: 600; }
.welcome h1 span { color: #9c7439; }
.welcome-copy > p:last-child { font-size: 14px; line-height: 1.85; color: #6a6d73; margin: 20px 0 0; }
.welcome-illustration { position: relative; width: 245px; height: 250px; flex-shrink: 0; align-self: flex-end; margin-bottom: -20px; }
.welcome-illustration img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 9px #3829110a); }
.mascot-backdrop { position: absolute; width: 85%; aspect-ratio: 1; background: #eee6d5; border-radius: 50%; left: 8%; bottom: 0; }
.suggestions-heading { margin: 32px 0 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.suggestions-heading h2 { margin: 0; font-size: 16px; font-weight: 600; }
.suggestions-heading > span { color: var(--muted); font-size: 12px; }
.suggestion-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.suggestion-card { display: flex; align-items: center; gap: 14px; padding: 19px 18px; border: 1px solid var(--line); border-radius: 14px; background: white; text-align: left; color: var(--navy); min-width: 0; }
.suggestion-card:hover:enabled { border-color: #bdc7dc; background: #fcfdff; box-shadow: 0 4px 14px #22336506; }
.suggestion-icon { display: grid; place-items: center; width: 40px; height: 40px; background: #eef2f8; border-radius: 12px; flex-shrink: 0; }
.suggestion-card:nth-child(2n) .suggestion-icon { background: #f6f1e8; color: #95703b; }
.suggestion-copy { flex: 1; min-width: 0; }
.suggestion-copy strong { display: block; font-weight: 600; font-size: 14px; }
.suggestion-copy small { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.suggestion-arrow { width: 16px; color: #929caf; }
.welcome-footnote { font-size: 11px; color: var(--muted); text-align: center; margin: 24px 0 0; line-height: 1.7; }
.chatbot-login-box { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 36px 24px 48px; text-align: center; }
.login-illustration { position: relative; width: 220px; height: 220px; margin-bottom: 30px; }
.login-illustration img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.chatbot-login-box .eyebrow { margin-bottom: 12px; }
.chatbot-login-box h1 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -1.2px; font-weight: 600; margin: 0; }
.login-description { max-width: 420px; font-size: 15px; line-height: 1.85; color: var(--muted); margin: 16px 0 28px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 32px; background: var(--navy); color: white; padding: 16px 25px; border-radius: 12px; text-decoration: none; font-size: 14px; font-weight: 600; }
.primary-button:hover { background: #30477f; }
.primary-button svg { width: 18px; }
.text-button { background: transparent; border: 0; color: var(--navy); padding: 12px; font-size: 13px; }
.login-note { font-size: 11px; color: var(--muted); margin: 18px 0 0; }
#login-status { color: #9e3e36; font-size: 13px; line-height: 1.6; max-width: 440px; margin-bottom: 0; }
.chatbot-content { display: flex; flex-direction: column; gap: 20px; width: min(100%, 1040px); min-width: 0; margin: 0 auto; padding: 32px 36px; }
.chatbot-messages-bot, .chatbot-messages-user { flex-shrink: 0; min-width: 0; }
.chatbot-messages-bot { padding-left: 44px; }
.chatbot-messages { padding: 16px 20px; border-radius: 0 16px 16px; overflow-wrap: anywhere; line-height: 1.75; font-size: 14px; }
.chatbot-messages-bot .chatbot-messages { background: white; border: 1px solid var(--line); max-width: 100%; position: relative; display: inline-block; }
.chatbot-messages-bot .chatbot-messages::before { content: ''; position: absolute; width: 31px; height: 31px; left: -44px; top: 0; border-radius: 10px; background: #f2eadc url('./parsefe-v2.png') no-repeat center 9%; background-size: 195%; }
.chatbot-messages-bot + .chatbot-messages-bot { margin-top: -10px; }
.chatbot-messages-bot + .chatbot-messages-bot .chatbot-messages { border-radius: 16px; }
.chatbot-messages-bot + .chatbot-messages-bot .chatbot-messages::before { display: none; }
.chatbot-messages-user { display: flex; justify-content: flex-end; }
.chatbot-messages-user .chatbot-messages { background: #e9eef8; border: 1px solid #e0e7f3; color: var(--navy); max-width: 85%; white-space: pre-wrap; border-radius: 16px 0 16px 16px; }
.chatbot-messages p { margin: 0 0 10px; }
.chatbot-messages p:last-child { margin-bottom: 0; }
.chatbot-messages a { color: #30569c; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.chatbot-messages pre { max-width: 100%; overflow-x: auto; }
.chatbot-messages h1, .chatbot-messages h2, .chatbot-messages h3 { font-size: 17px; margin: 0 0 12px; }
.chatbot-messages ul, .chatbot-messages ol { padding-left: 20px; }
.chatbot-type-error { color: #9e3e36; }
.chatbot-messages:has(.table-container) { display: block; padding: 0; overflow: hidden; }
.table-container { max-width: 100%; overflow: auto; max-height: 480px; scrollbar-width: thin; }
table { border-collapse: collapse; width: 100%; font-size: 13px; }
th, td { text-align: left; padding: 15px 18px; vertical-align: top; min-width: 105px; }
th { color: #4f5e79; background: #f0f3f9; position: sticky; top: 0; font-weight: 600; font-size: 12px; }
td { border-top: 1px solid #ebedf3; }
tr:nth-child(even) td { background: #fbfcfe; }
td p { white-space: normal; }
.chatbot-button-container { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chatbot-button-container button { background: #fafbfe; color: var(--navy); border: 1px solid #dbe2ee; border-radius: 9px; padding: 10px 14px; text-align: left; font-size: 13px; overflow-wrap: anywhere; }
.chatbot-button-container button:hover:enabled { background: #edf1f9; border-color: #bac7df; }
.chatbot-footer { grid-column: 2; padding: 12px 36px 18px; width: min(100%, 1040px); justify-self: center; }
#composer { display: flex; align-items: flex-end; gap: 12px; padding: 10px 12px 10px 20px; border: 1px solid #d9dfeb; border-radius: 18px; background: white; box-shadow: 0 5px 20px #22336505; }
#composer:focus-within { border-color: #8d9ec1; box-shadow: 0 0 0 3px #22336506; }
.chatbot-text-input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 0; resize: none; max-height: 150px; line-height: 22px; color: #26334a; font-size: 14px; }
.chatbot-text-input:focus-visible { outline: 0; }
.chatbot-text-input::placeholder { color: #838a9a; }
#send { width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--navy); color: white; display: grid; place-items: center; flex-shrink: 0; }
#send:hover:enabled { background: #30477f; }
#thinking { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--muted); padding: 0 4px 12px; }
.thinking-dots { display: flex; gap: 3px; }
.thinking-dots i { width: 4px; height: 4px; background: #7a8caf; border-radius: 50%; animation: pulse 1.2s infinite ease-in-out; }
.thinking-dots i:nth-child(2) { animation-delay: .15s; }.thinking-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes pulse { 50% { opacity: .3; transform: translateY(-2px); } }
.disclaimer { display: flex; justify-content: space-between; gap: 12px; font-size: 10px; color: #758097; margin: 12px 4px 0; line-height: 1.5; }
.powered-by { flex-shrink: 0; }.powered-by strong { font-weight: 600; color: #66738c; }
dialog { width: min(580px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 28px; border: 1px solid var(--line); border-radius: 22px; color: #26334a; box-shadow: 0 24px 90px #14204426; }
dialog::backdrop { background: #101d3d60; backdrop-filter: blur(3px); }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }.dialog-heading .eyebrow { margin-bottom: 6px; }
.dialog-heading h2 { font-size: 24px; margin: 0; font-weight: 600; letter-spacing: -.5px; }
.dialog-description { font-size: 13px; line-height: 1.7; color: var(--muted); margin: 16px 0 22px; }
.example-list { display: grid; gap: 10px; }.example-list .suggestion-card { padding: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1150px) {
  .chatbot-chat-container { grid-template-columns: 220px minmax(0, 1fr); }.sidebar { padding: 28px 16px 20px; }
  .chatbot-header { padding: 20px 24px; }.header-title p { display: none; }
  .welcome { padding: 32px 24px 20px; }.welcome-hero { padding-left: 24px; }.welcome-illustration { width: 190px; height: 220px; }
  .welcome-copy > p:last-child { font-size: 13px; }.suggestions-heading > span { display: none; }
  .suggestion-card { padding: 16px 14px; gap: 11px; }.suggestion-arrow { display: none; }
}
@media (max-width: 800px) {
  .chatbot-chat-container { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto; }
  .sidebar { grid-row: 1; grid-column: 1; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; overflow: visible; }
  .university-logo { width: 38px; height: 38px; border-width: 2px; }.university-brand > span { font-size: 10px; }.university-brand strong { font-size: 13px; }
  .sidebar-heading, .sidebar-note, .sidebar-bottom { display: none; }.sidebar-nav { display: flex; gap: 6px; }.nav-button { padding: 10px; width: 42px; height: 42px; justify-content: center; }.nav-button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .chatbot-header { grid-column: 1; grid-row: 2; padding: 14px 20px; }.header-title p { display: block; }.chat-workspace { grid-column: 1; grid-row: 3; }.chatbot-footer { grid-column: 1; grid-row: 4; }
  .chatbot-content { padding: 26px 24px; }.welcome { max-width: 740px; }
}
@media (max-width: 520px) {
  .sidebar { padding: 10px 16px; }.chatbot-header { padding: 12px 16px; gap: 12px; }.header-title { gap: 8px; }.assistant-mark { display: none; }.header-title strong { font-size: 18px; }.header-title p { display: none; }
  .header-account { gap: 10px; }#identity { font-size: 10px; margin-bottom: 2px; }#connection { font-size: 10px; }.icon-button { width: 34px; height: 34px; }
  .welcome { padding: 20px 16px; }.welcome-hero { position: relative; min-height: 244px; padding: 26px 20px; border-radius: 20px; align-items: flex-start; }
  .welcome h1 { font-size: 28px; letter-spacing: -1px; }.welcome .eyebrow { margin-bottom: 12px; font-size: 9px; letter-spacing: 1.3px; }.welcome-copy > p:last-child { max-width: 180px; font-size: 12px; margin-top: 18px; line-height: 1.8; }.desktop-break { display: none; }
  .welcome-illustration { width: 138px; height: 146px; position: absolute; right: -12px; bottom: 6px; margin: 0; }.welcome-illustration .mascot-backdrop { width: 90%; }
  .suggestions-heading { margin: 24px 0 12px; }.suggestions-heading h2 { font-size: 15px; }.suggestion-grid { gap: 10px; }
  .suggestion-card { flex-wrap: wrap; padding: 14px; gap: 12px; align-content: flex-start; }.suggestion-icon { width: 32px; height: 32px; border-radius: 9px; }.suggestion-icon svg { width: 18px; }.suggestion-copy { flex-basis: 100%; }.suggestion-copy strong { font-size: 12px; }.suggestion-copy small { font-size: 11px; }
  .welcome-footnote { font-size: 10px; margin-top: 20px; }.chatbot-footer { padding: 10px 16px max(12px, env(safe-area-inset-bottom)); }
  #composer { padding: 8px 9px 8px 14px; border-radius: 16px; }.chatbot-text-input { font-size: 16px; padding: 8px 0; }#send { width: 38px; height: 38px; border-radius: 10px; }.disclaimer { font-size: 9px; margin: 9px 2px 0; }.powered-by { display: none; }
  .chatbot-content { padding: 22px 16px; gap: 20px; }.chatbot-messages { font-size: 13px; padding: 13px 15px; }.chatbot-messages-bot { padding-left: 30px; }.chatbot-messages-bot .chatbot-messages::before { width: 24px; height: 24px; left: -31px; border-radius: 8px; }
  .chatbot-messages-user .chatbot-messages { max-width: 90%; }th, td { padding: 12px 14px; }
  .chatbot-login-box { padding: 28px 24px; justify-content: flex-start; }.login-illustration { width: 180px; height: 180px; margin-bottom: 24px; flex-shrink: 0; }.login-description { font-size: 13px; }.chatbot-login-box .eyebrow { font-size: 9px; }
  dialog { padding: 22px 18px; }.dialog-heading h2 { font-size: 22px; }.example-list .suggestion-card { flex-wrap: nowrap; }.example-list .suggestion-copy { flex-basis: auto; }
}
@media (max-width: 359px) { .welcome h1 { font-size: 25px; }.welcome-hero { padding: 22px 16px; }.welcome-copy > p:last-child { max-width: 146px; }.welcome-illustration { width: 117px; height: 135px; }.university-brand { gap: 7px; }.sidebar { gap: 6px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
