* { box-sizing: border-box; }
body { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; background: #f8fafc; color: #1e293b; line-height: 1.6; }
.naming-page { max-width: 1024px; padding: 28px 16px 48px; margin: auto; }
h1 { font-size: clamp(26px, 4vw, 34px); margin: 0 0 10px; } h2 { font-size: 19px; margin: 0; } h3 { font-size: 16px; }
.header { margin: 0 0 24px; } .privacy { color: #047857; font-size: 14px; }
.panel { background: white; border: 1px solid #e2e8f0; border-radius: 12px; padding: 24px; min-width: 0; }
.section-heading { display: flex; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
button { border-radius: 6px; border: 1px solid #cbd5e1; padding: 10px 14px; min-height: 44px; font: inherit; font-size: 14px; background: white; color: #334155; cursor: pointer; transition: background-color .15s; }
button:hover { background: #f1f5f9; } .primary { background: #2563eb; border-color: #2563eb; color: white; } .primary:hover { background: #1d4ed8; }
button:disabled { opacity: .5; cursor: not-allowed; }
:focus-visible { outline: 3px solid #60a5fa; outline-offset: 3px; } [hidden] { display: none !important; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 2000; background: white; padding: 12px; } .skip-link:focus { top: 12px; }
label { display: block; font-size: 14px; font-weight: 500; }
textarea, select { border: 1px solid #cbd5e1; border-radius: 6px; padding: 10px 12px; background: white; font: inherit; font-size: 16px; width: 100%; min-width: 0; margin-top: 6px; color: #1e293b; }
textarea { resize: vertical; line-height: 1.6; font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; } textarea[readonly] { background: #f8fafc; }
.settings { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; margin-top: 18px; }
.hint { font-size: 13px; color: #475569; margin: 8px 0; }
.status, .warning { border-radius: 6px; padding: 12px 16px; overflow-wrap: anywhere; }
.status { background: #eff6ff; color: #1d4ed8; } .status.error { background: #fef2f2; color: #b91c1c; } .warning { background: #fffbeb; color: #92400e; font-size: 14px; }
.result { margin: 24px 0; } details { margin-top: 16px; } summary { cursor: pointer; color: #1d4ed8; min-height: 44px; padding: 8px 0; }
.table-wrap { max-height: 400px; overflow: auto; } table { width: 100%; border-collapse: collapse; font-size: 13px; table-layout: fixed; }
th, td { padding: 10px; border-bottom: 1px solid #e2e8f0; text-align: left; overflow-wrap: anywhere; vertical-align: top; } th:first-child { width: 65px; } th { background: #f1f5f9; }
td small { display: block; color: #475569; margin-top: 4px; } td strong { display: block; color: #92400e; font-weight: 500; }
.guide { font-size: 14px; color: #475569; } .guide li { margin: 8px 0; } .guide ul { padding-left: 22px; }
.examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .examples div { padding: 12px; background: #f8fafc; border-radius: 6px; } dt { font-weight: 600; overflow-wrap: anywhere; } dd { margin: 6px 0 0; }
code { overflow-wrap: anywhere; } .related { display: flex; flex-wrap: wrap; gap: 12px 24px; } a { color: #2563eb; }
@media (max-width: 700px) { .panel { padding: 18px; } .naming-page { padding-top: 20px; } .section-heading { flex-wrap: wrap; gap: 12px; } .settings, .examples { grid-template-columns: 1fr; gap: 12px; } .settings button { width: 100%; } th, td { padding: 8px 4px; } th:first-child { width: 50px; } }
@media (prefers-reduced-motion: reduce) { button { transition: none; } }
