/* el_biz layout 전용 CSS
   Tailwind CDN(JIT 브라우저 컴파일) 제거하고 사용된 유틸리티만 수기 정의.
   이유: CDN JIT는 첫 페인트 1~2초 지연, 빌드된 CSS는 즉시 적용.
   변경 시: 새 클래스 사용한 페이지 만들면 여기에 추가. */

* { box-sizing: border-box; }
*, ::before, ::after { border: 0 solid #e2e8f0; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; line-height: 1.5; font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", system-ui, "Segoe UI", "Helvetica Neue", sans-serif; -webkit-font-smoothing: antialiased; }
hr { height: 0; border-top: 1px solid; color: inherit; }
button, input, select, textarea { font-family: inherit; font-size: 100%; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button, [type='button'], [type='submit'] { cursor: pointer; background: transparent; border: 0; }
input[type='checkbox'] { accent-color: #0ea5e9; }
a { color: inherit; text-decoration: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }
ul.list-disc { list-style: disc; padding-left: 1.5rem; margin-bottom: .5rem; }
table { border-collapse: collapse; width: 100%; }
img, svg, video { display: block; max-width: 100%; }
code, pre { font-family: ui-monospace, SFMono-Regular, monospace; }
.font-mono { font-family: ui-monospace, SFMono-Regular, monospace; }
[hidden] { display: none !important; }
.hidden { display: none !important; }

/* layout */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.block { display: block; }
.inline-block { display: inline-block; }
.contents { display: contents; }
.flex-1 { flex: 1 1 0%; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.gap-1 { gap: .25rem; } .gap-2 { gap: .5rem; } .gap-3 { gap: .75rem; } .gap-4 { gap: 1rem; }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 640px) {
  .sm\:grid-cols-1 { grid-template-columns: 1fr; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:p-6 { padding: 1.5rem; }
}
@media (min-width: 1024px) {
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
}
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-6xl { max-width: 72rem; }
.max-w-1100 { max-width: 1100px; }
.w-full { width: 100%; }
.w-10 { width: 2.5rem; } .w-24 { width: 6rem; }
.h-3 { height: .75rem; } .h-full { height: 100%; }
.min-h-2 { min-height: 2rem; } .min-h-180 { min-height: 180px; } .min-h-200 { min-height: 200px; }
.overflow-hidden { overflow: hidden; }
.overflow-x-auto { overflow-x: auto; }
.cursor-pointer { cursor: pointer; }
.cursor-wait { cursor: wait; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.relative { position: relative; }
.sticky { position: sticky; }
.top-1 { top: 1rem; }

/* spacing */
.p-1 { padding: .25rem; } .p-2 { padding: .5rem; } .p-3 { padding: .75rem; } .p-4 { padding: 1rem; } .p-5 { padding: 1.25rem; } .p-6 { padding: 1.5rem; }
.px-1 { padding-left: .25rem; padding-right: .25rem; }
.px-2 { padding-left: .5rem; padding-right: .5rem; }
.px-3 { padding-left: .75rem; padding-right: .75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-1 { padding-top: .25rem; padding-bottom: .25rem; }
.py-2 { padding-top: .5rem; padding-bottom: .5rem; }
.py-3 { padding-top: .75rem; padding-bottom: .75rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.pl-3 { padding-left: .75rem; } .pl-5 { padding-left: 1.25rem; }
.pt-3 { padding-top: .75rem; } .pb-1 { padding-bottom: .25rem; } .pb-2 { padding-bottom: .5rem; }
.m-0 { margin: 0; }
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: .75rem; } .mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-16 { margin-top: 4rem; }
.mb-1 { margin-bottom: .25rem; } .mb-2 { margin-bottom: .5rem; } .mb-3 { margin-bottom: .75rem; } .mb-4 { margin-bottom: 1rem; }
.ml-2 { margin-left: .5rem; }
.my-2 { margin-top: .5rem; margin-bottom: .5rem; }
.space-y-1 > * + * { margin-top: .25rem; } .space-y-2 > * + * { margin-top: .5rem; }
.space-y-3 > * + * { margin-top: .75rem; } .space-y-4 > * + * { margin-top: 1rem; }
.divide-y > * + * { border-top: 1px solid #e2e8f0; }

/* text */
.text-xs { font-size: .75rem; line-height: 1rem; }
.text-sm { font-size: .875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.font-medium { font-weight: 500; } .font-semibold { font-weight: 600; } .font-bold { font-weight: 700; }
.whitespace-pre-wrap { white-space: pre-wrap; }

/* borders */
.border { border-width: 1px; border-style: solid; border-color: #e2e8f0; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: #e2e8f0; }
.border-t { border-top-width: 1px; border-top-style: solid; border-top-color: #e2e8f0; }
.border-dashed { border-style: dashed; }
.rounded { border-radius: .375rem; } .rounded-full { border-radius: 9999px; }
.rounded-md { border-radius: .375rem; } .rounded-lg { border-radius: .5rem; } .rounded-xl { border-radius: .75rem; }

/* shadows */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,.05); }

/* color palette — sky/slate/violet/amber/emerald/red/yellow/blue/gray */
.bg-white { background: #fff; }
.bg-slate-50 { background: #f8fafc; } .bg-slate-100 { background: #f1f5f9; }
.bg-sky-50 { background: #f0f9ff; } .bg-sky-500 { background: #0ea5e9; } .bg-sky-600 { background: #0284c7; } .bg-sky-700 { background: #0369a1; }
.bg-violet-100 { background: #ede9fe; } .bg-violet-600 { background: #7c3aed; } .bg-violet-700 { background: #6d28d9; }
.bg-amber-500 { background: #f59e0b; } .bg-amber-600 { background: #d97706; }
.bg-emerald-50 { background: #ecfdf5; } .bg-emerald-500 { background: #10b981; } .bg-emerald-600 { background: #059669; }
.bg-red-50 { background: #fef2f2; } .bg-red-600 { background: #dc2626; }
.bg-yellow-50 { background: #fefce8; }
.bg-blue-50 { background: #eff6ff; }
.bg-gray-50 { background: #f9fafb; } .bg-gray-100 { background: #f3f4f6; }

.text-slate-300 { color: #cbd5e1; } .text-slate-400 { color: #94a3b8; } .text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; } .text-slate-700 { color: #334155; } .text-slate-900 { color: #0f172a; }
.text-sky-600 { color: #0284c7; } .text-sky-700 { color: #0369a1; }
.text-violet-700 { color: #6d28d9; }
.text-amber-600 { color: #d97706; }
.text-emerald-600 { color: #059669; } .text-emerald-700 { color: #047857; } .text-emerald-900 { color: #064e3b; }
.text-red-500 { color: #ef4444; } .text-red-600 { color: #dc2626; } .text-red-700 { color: #b91c1c; } .text-red-900 { color: #7f1d1d; }
.text-yellow-900 { color: #713f12; }
.text-blue-600 { color: #2563eb; } .text-blue-900 { color: #1e3a8a; }
.text-gray-500 { color: #6b7280; } .text-gray-600 { color: #4b5563; } .text-gray-700 { color: #374151; }
.text-white { color: #fff; }

.border-slate-200 { border-color: #e2e8f0; }
.border-sky-300 { border-color: #7dd3fc; } .border-sky-400 { border-color: #38bdf8; }
.border-violet-300 { border-color: #c4b5fd; }
.border-emerald-300 { border-color: #6ee7b7; }
.border-red-300 { border-color: #fca5a5; }
.border-yellow-300 { border-color: #fcd34d; }
.border-blue-300 { border-color: #93c5fd; }

/* hover */
.hover\:bg-sky-50:hover { background: #f0f9ff; }
.hover\:bg-sky-700:hover { background: #0369a1; }
.hover\:bg-amber-600:hover { background: #d97706; }
.hover\:bg-violet-700:hover { background: #6d28d9; }
.hover\:bg-gray-50:hover { background: #f9fafb; }
.hover\:bg-slate-50:hover { background: #f8fafc; }
.hover\:text-sky-600:hover { color: #0284c7; }
.hover\:text-sky-700:hover { color: #0369a1; }
.hover\:text-slate-600:hover { color: #475569; }
.hover\:text-slate-700:hover { color: #334155; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:border-sky-400:hover { border-color: #38bdf8; }

/* misc */
.disabled\:opacity-50:disabled { opacity: .5; }
[disabled] { cursor: not-allowed; }
.opacity-50 { opacity: .5; }
input.flex-1 { width: 100%; }

/* form widgets shared with Tailwind look */
input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="date"],
select, textarea {
  background: #fff; border: 1px solid #cbd5e1; border-radius: .375rem; padding: .5rem .75rem; font-size: .875rem;
}
input:focus, select:focus, textarea:focus { outline: 2px solid #38bdf8; outline-offset: 1px; }

/* dialog */
dialog { border: 1px solid #e2e8f0; border-radius: .5rem; padding: 1rem; }
dialog::backdrop { background: rgba(0,0,0,.4); }
