* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #1f2937; background: #f8fafc; }
header { background: #0f172a; color: #fff; padding: 14px 24px; display: flex; align-items: center; gap: 24px; position: sticky; top: 0; z-index: 10; }
header .logo { font-weight: 700; letter-spacing: .3px; }
header nav a { color: #cbd5e1; text-decoration: none; margin-right: 16px; }
header nav a.active, header nav a:hover { color: #fff; }
main { max-width: 960px; margin: 0 auto; padding: 32px 24px 120px; }
.hero { background: linear-gradient(135deg,#2563eb,#7c3aed); color: #fff; border-radius: 16px; padding: 48px; margin-bottom: 32px; }
.hero h1 { margin: 0 0 12px; font-size: 36px; }
.hero p { margin: 0 0 20px; font-size: 18px; opacity: .9; }
.btn { display: inline-block; background: #fff; color: #1d4ed8; padding: 10px 18px; border-radius: 8px; text-decoration: none; font-weight: 600; border: 0; cursor: pointer; font-size: 15px; }
.btn.secondary { background: #e0e7ff; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 24px 0; }
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; }
.card h3 { margin: 0 0 8px; }
.card img { width: 100%; border-radius: 8px; height: 140px; object-fit: cover; }
section { margin: 40px 0; }
form label { display: block; font-weight: 600; margin: 14px 0 6px; }
form input, form select, form textarea { width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 15px; font-family: inherit; }
form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form .check { display: flex; align-items: center; gap: 8px; margin: 14px 0; font-weight: 500; }
form .check input { width: auto; }
.notice { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; padding: 12px 14px; border-radius: 8px; margin-top: 16px; display: none; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid #e5e7eb; margin-bottom: 16px; }
.tabs button { background: none; border: 0; padding: 10px 14px; cursor: pointer; font-size: 15px; border-bottom: 2px solid transparent; }
.tabs button.active { border-bottom-color: #2563eb; color: #1d4ed8; font-weight: 600; }
.tabpanel { display: none; }
.tabpanel.active { display: block; }
.scroller { height: 220px; overflow: auto; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; }
.scroller div { padding: 10px 14px; border-bottom: 1px solid #f1f5f9; }
.sensitive { background: #fff7ed; border-color: #fdba74 !important; }
small.hint { color: #6b7280; }
footer { color: #9ca3af; text-align: center; padding: 40px; font-size: 13px; }
/* fake chat widget */
.fake-chat { position: fixed; right: 20px; bottom: 20px; width: 300px; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; box-shadow: 0 10px 40px rgba(0,0,0,.15); z-index: 50; font-size: 13px; overflow: hidden; }
.fake-chat .head { background: #2563eb; color: #fff; padding: 10px 14px; font-weight: 600; display: flex; justify-content: space-between; }
.fake-chat .body { padding: 10px 14px; max-height: 220px; overflow: auto; }
.fake-chat .body div { padding: 4px 0; border-bottom: 1px dashed #f1f5f9; color: #374151; }
.fake-chat .foot { padding: 8px 14px; background: #f8fafc; color: #6b7280; }
.fake-chat .foot a { color: #1d4ed8; }
.fake-chat code { background: #f1f5f9; padding: 1px 4px; border-radius: 4px; }
