:root{font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",Arial,sans-serif;color:#172033;background:#f3f6fa;font-size:15px}*{box-sizing:border-box}body{margin:0}header{min-height:72px;background:#111a2b;color:#fff;display:flex;justify-content:space-between;align-items:center;padding:16px 28px;gap:16px}a{color:inherit;text-decoration:none}.brand{font-weight:750;font-size:20px;white-space:nowrap}nav{display:flex;gap:18px;align-items:center;flex-wrap:wrap;font-size:14px}nav a{color:#d5e0f1}button,input,textarea{font:inherit}button{cursor:pointer;border:0;border-radius:10px;padding:11px 15px}button:disabled{opacity:.6;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #60a5fa;outline-offset:3px}.primary{background:#2563eb;color:white;font-weight:650}.secondary{background:#edf2fa;color:#214e8c}.quiet{background:transparent;color:#d5e0f1;padding:0}.danger{background:#fff1f2;color:#9f1239}.wide{width:100%}.card{background:white;border:1px solid #e3eaf3;border-radius:16px;padding:24px;box-shadow:0 4px 18px #19335605}.container{max-width:1160px;margin:36px auto;padding:0 24px}h1{font-size:28px;line-height:1.35}h2{font-size:19px;margin-top:0}.eyebrow{font-size:12px;font-weight:700;color:#466591;letter-spacing:.04em}.hint,.muted{color:#64748b;line-height:1.6}.hint{font-size:13px;margin:8px 0}.error{color:#b42318;line-height:1.5}.status{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:28px 0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.cards p{line-height:1.7;color:#5d6a7d}.cards h2{margin-top:14px}.feature{border:2px solid #c3d5ff}.feature strong{color:#2563eb}.planned{background:#fafbfd;box-shadow:none}.badge{color:#67758c;font-size:12px;background:#edf1f6;padding:5px 8px;border-radius:6px}.login{max-width:470px;margin:64px auto;padding:32px}.login h1{margin:12px 0}label{display:block;font-size:14px;font-weight:600;margin:18px 0 7px}input{display:block;width:100%;padding:12px;border:1px solid #cbd5e1;border-radius:8px;margin-top:8px}input:focus,textarea:focus{outline:2px solid #bfdbfe;border-color:#2563eb}form .primary{margin-top:16px}.chat-layout{height:calc(100dvh - 72px);max-width:1360px;margin:auto;display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px;padding:20px}.sidebar{padding:18px;overflow-y:auto}.sidebar h2{margin-top:24px;font-size:16px}.thread{display:block;width:100%;text-align:left;background:transparent;border-radius:8px;padding:11px 10px;margin:5px 0;color:#334155;overflow-wrap:anywhere}.thread.active{background:#eaf1ff;color:#1d4ed8}.thread small{display:block;color:#74839a;margin-top:5px}.chat{padding:0;display:flex;flex-direction:column;overflow:hidden;min-height:0}.chat-header{padding:20px 24px;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;gap:12px;align-items:center}.chat-header h2{margin:0 0 5px;overflow-wrap:anywhere}.chat-header button{flex-shrink:0}.messages{flex:1;overflow-y:auto;padding:24px;min-height:0}.bubble{margin:12px auto 12px 0;padding:13px 16px;background:#f1f5f9;border-radius:14px;max-width:90%;width:fit-content;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.bubble.user{margin-left:auto;margin-right:0;background:#2563eb;color:white}.bubble.error{background:#fff1f2;color:#9f1239}.welcome{max-width:650px;margin:35px auto;text-align:center}.welcome p{color:#64748b;line-height:1.8}.examples{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:26px 0}.example{border:1px solid #e2e8f0;padding:16px;border-radius:10px;text-align:left;font-size:14px;line-height:1.6;color:#475569;background:#f8fafc}.example:hover{border-color:#93b4ff}.input-area{padding:16px 22px;border-top:1px solid #e2e8f0}.input-box{display:flex;gap:10px}.input-box textarea{min-width:0;flex:1;resize:vertical;max-height:180px;padding:13px;border-radius:10px;border:1px solid #cbd5e1;font-family:inherit}.input-box button{margin-top:0;min-width:76px}.notice{font-size:12px;color:#64748b;text-align:center;line-height:1.5;margin:10px 0 0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.account-section{margin:22px 0}.account-section form{max-width:480px}.user-row{padding:16px 0;border-bottom:1px solid #e2e8f0;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.user-actions{display:flex;gap:8px}.reset-form{display:flex;align-items:end;gap:8px;flex-wrap:wrap}.reset-form input{max-width:280px}.reset-form label{margin:0}
@media(max-width:850px){.cards{grid-template-columns:1fr 1fr}.chat-layout{grid-template-columns:210px minmax(0,1fr);padding:12px;gap:12px}header{padding:15px}.examples{grid-template-columns:1fr}.welcome{margin:15px auto}.chat-header{padding:16px}.messages{padding:16px}}@media(max-width:620px){header{align-items:flex-start;flex-direction:column}nav{gap:14px}.container{margin:24px auto;padding:0 14px}.cards{grid-template-columns:1fr}.login{margin:24px 14px}.chat-layout{height:auto;min-height:calc(100dvh - 108px);grid-template-columns:1fr}.sidebar{max-height:220px}.sidebar h2{margin-top:14px}.chat{height:70dvh;min-height:460px}.chat-header{align-items:flex-start}.chat-header h2{font-size:17px}.notice{font-size:11px}}

#customerForm textarea,#customerForm select{display:block;width:100%;padding:12px;margin-top:8px;border:1px solid #cbd5e1;border-radius:8px;font:inherit}#customerForm textarea{min-height:110px;resize:vertical}#showArchived{display:inline-block;width:auto;margin-right:8px}#customerList p,#backupList p{overflow-wrap:anywhere;white-space:pre-wrap}
.service-page select,.service-page textarea{display:block;width:100%;padding:12px;margin-top:8px;border:1px solid #cbd5e1;border-radius:8px;font:inherit}.service-page textarea{min-height:100px;resize:vertical}.service-page input[type=checkbox]{display:inline-block;width:auto;margin-right:8px}.service-page summary{font-weight:700;cursor:pointer}.service-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;max-width:none!important}.service-filters label{flex:1;min-width:160px}.ticket-row{width:100%;display:flex;flex-direction:column;text-align:left;gap:8px;margin:12px 0;background:#f4f7fc;border:1px solid #dbe4f0;overflow-wrap:anywhere}.ticket-row strong{color:#214e8c}.service-actions{display:flex;gap:12px;align-items:center;margin-top:16px}.service-event{padding:14px;background:#f5f7fa;border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere}#requestOriginal{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.table-scroll{overflow:auto;max-height:450px}.table-scroll table{border-collapse:collapse;width:100%;min-width:920px;font-size:13px}.table-scroll th,.table-scroll td{border:1px solid #dbe4f0;padding:10px;white-space:pre-wrap;overflow-wrap:anywhere;min-width:70px;max-width:300px;text-align:left}.table-scroll th{background:#eff4fc;position:sticky;top:0}.service-page h3{margin-top:30px}
.school-choices{max-height:260px;overflow:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:0 15px}#planDays{display:flex;flex-wrap:wrap;gap:20px}.school-choices label,#planDays label{margin:8px 0}#schoolLinks a{overflow-wrap:anywhere;color:#2158ad}fieldset{border:1px solid #dbe4f0;border-radius:8px;margin-top:18px}#receiptStatus{font-weight:700;line-height:1.8;overflow-wrap:anywhere}#schoolRequest textarea{display:block;width:100%;min-height:150px;font:inherit;padding:12px;border:1px solid #cbd5e1;border-radius:8px}

/* Focus on one request on smaller field screens. */
.service-page.viewing-ticket > .card:not(#ticketDetail){display:none}
.service-page .ticket-row{width:100%;text-align:left;overflow-wrap:anywhere}
.service-page select{max-width:100%}
@media(max-width:600px){.service-page .service-filters{display:grid;grid-template-columns:1fr}.service-page .service-filters label{min-width:0}}

/* Company identity and restrained, readable typography. */
:root{font-family:"Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#243746;font-weight:400;letter-spacing:-.015em}
button,input,textarea,select{font-family:inherit;letter-spacing:inherit}
h1,h2,h3{font-weight:600;letter-spacing:-.025em}
h1{font-size:27px}h2{font-size:18px}
strong,label,.primary,.eyebrow,.service-page summary{font-weight:600}
.eyebrow{letter-spacing:0}
.site-header{background:#fff;color:#163b50;border-bottom:1px solid #e6edf1;padding:20px 28px;min-height:76px;flex-wrap:wrap;gap:12px 24px}
.site-header .brand{display:inline-flex;align-items:center;gap:20px;max-width:100%;flex-shrink:0;text-decoration:none}
.brand-logo{display:block;width:224px;height:auto;object-fit:contain}
.brand-title{font-family:ui-rounded,"Arial Rounded MT Bold",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:18px;font-weight:500;letter-spacing:-.02em;line-height:1;color:#163b50;white-space:nowrap}
.site-header nav{gap:16px;font-size:13px;line-height:1.5;align-items:center}
.site-header .quiet{color:#536674;font-weight:400}
.site-header .quiet:hover{color:#087fb1}
.site-header nav>span{color:#71818c}
.status .secondary{flex-shrink:0;white-space:nowrap}
@media(max-width:850px){.site-header{padding:18px 20px}}
@media(max-width:620px){.site-header{padding:16px;gap:12px}.site-header .brand{gap:16px}.brand-logo{width:200px}.brand-title{font-size:17px}.site-header nav{font-size:12px;gap:14px;align-self:flex-end}h1{font-size:25px}}
@media(max-width:360px){.site-header .brand{gap:12px}.brand-logo{width:178px}.brand-title{font-size:16px}}

/* Subtle depth for home menu cards, without changing operational forms. */
.cards>.card{border:1px solid #dce6ed;border-radius:20px;background:linear-gradient(145deg,#fff 15%,#f6f9fc 68%,#edf4f9 100%);box-shadow:inset 0 1px 0 #fff,0 2px 3px #17395404,0 8px 24px -12px #17395424}
.cards>a.card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.cards>.card.feature{border-color:#d5e3ed}
.cards>.card.planned{background:linear-gradient(145deg,#fafbfd,#f1f4f7);border-color:#e3e9ef;box-shadow:inset 0 1px 0 #ffffffc0}
.cards>a.card:focus-visible{outline:3px solid #0079b7;outline-offset:4px;border-color:#8cb8d4}
@media(hover:hover) and (pointer:fine){.cards>a.card:hover{transform:translateY(-3px);border-color:#afcbdc;box-shadow:inset 0 1px 0 #fff,0 4px 8px #17395406,0 18px 32px -14px #17395432}}
.cards>a.card:active{transform:translateY(0);box-shadow:inset 0 1px 3px #1739540d,0 2px 6px #17395408}
@media(prefers-reduced-motion:reduce){.cards>a.card{transition:none}.cards>a.card:hover,.cards>a.card:active{transform:none}}

/* Shared surface treatment across the AI Center. */
:root{--surface:linear-gradient(145deg,#fff 15%,#f6f9fc 68%,#edf4f9);--surface-border:#dce6ed;--surface-shadow:inset 0 1px 0 #fff,0 8px 24px -16px #17395430;--accent:linear-gradient(135deg,#119ac3,#087ca6)}
body{background:radial-gradient(ellipse at 10% 0%,#eaf4fb 0%,transparent 55%),#f4f6f9;background-attachment:fixed}
.card{background:var(--surface);border-color:var(--surface-border);box-shadow:var(--surface-shadow);border-radius:20px}
.site-header,.chat-header{background:linear-gradient(120deg,#fff,#f5f9fc)}
button:not(.quiet):not(.thread):not(.ticket-row):not(.example){background:linear-gradient(145deg,#fff,#eaf1f7);color:#31566e;border:1px solid #d5e1ea;box-shadow:inset 0 1px 0 #ffffffd9,0 3px 8px #17395408}
button.primary,.input-box button.primary{background:var(--accent)!important;border-color:#087ca6!important;color:#fff!important;box-shadow:inset 0 1px 0 #ffffff38,0 4px 10px #0c87ab20!important}
button.danger{background:linear-gradient(145deg,#fff6f6,#ffe8eb)!important;color:#9f1239!important;border-color:#f0cdd3!important}
.thread.active{background:linear-gradient(135deg,#e1f3fb,#eaf0fa);color:#176584;box-shadow:inset 0 1px 0 #fff}
.ticket-row,.example,.service-event{background:linear-gradient(145deg,#fff,#eff5fa);border:1px solid #dce6ed;box-shadow:inset 0 1px 0 #fff}
.input-area{background:linear-gradient(145deg,#fff,#f4f8fb)}
input,textarea,select{background-color:#fff;color:#243746}
.table-scroll th{background:linear-gradient(135deg,#edf5fa,#e7eef6)}
.table-scroll td{background:#ffffffd9}
.service-page details[open]>summary{padding-bottom:16px;border-bottom:1px solid #dfe8ee}
@media(hover:hover) and (pointer:fine){button:not(:disabled):not(.quiet):hover{filter:brightness(.97)}.ticket-row:hover,.example:hover{border-color:#a7c7db}}
@media(prefers-reduced-transparency:reduce){.card{background:#f8fafc}.table-scroll td{background:#fff}}
#employeeSignup select{display:block;width:100%;padding:12px;font:inherit;border:1px solid #cbd5e1;border-radius:6px;background:white;margin-top:8px}
