* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; min-height: 100%; }
body { font: 15px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #233047; background: #f5f7fb; }
a { color: #245dd6; }
a:focus-visible, summary:focus-visible { outline: 3px solid #8eb6ff; outline-offset: 4px; }
.frame-shell { height: 100vh; height: 100dvh; overflow: hidden; }
#service-frame { display: block; width: 100%; height: 100%; border: 0; background: #f5f7fb; }
.connection-help { position: fixed; z-index: 10; right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); font-size: 14px; }
summary { cursor: pointer; list-style: none; width: fit-content; margin-left: auto; padding: 6px 12px; border: 1px solid #d7dfeb; border-radius: 20px; background: #fffffff2; box-shadow: 0 2px 10px #14233c12; }
summary::-webkit-details-marker { display: none; }
.help-panel { width: min(340px, calc(100vw - 24px)); margin-top: 8px; padding: 16px; border: 1px solid #d7dfeb; border-radius: 12px; background: #fff; box-shadow: 0 8px 32px #14233c24; }
.help-panel p { margin: 0 0 10px; }
.home-link { display: block; margin-top: 10px; }
.directory-main { max-width: 1080px; margin: auto; padding: 60px 24px 32px; }
.eyebrow { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .16em; color: #5e7599; }
h1 { margin: 0; font-size: clamp(28px, 5vw, 40px); letter-spacing: -.03em; }
.intro { margin: 12px 0 30px; color: #66748b; }
.mapping-example { padding: 24px; border: 1px solid #dfe5ee; border-radius: 12px; background: #fff; }
.mapping-example p { margin: 0 0 8px; color: #66748b; font-size: 13px; }
.mapping-example p:not(:first-child) { margin-top: 24px; }
.mapping-example code { display: block; overflow-wrap: anywhere; color: #244f9c; font: 15px/1.7 ui-monospace, monospace; }
footer { margin-top: 28px; color: #7c889c; font-size: 13px; }
noscript { position: fixed; top: 10px; left: 10px; right: 10px; padding: 16px; background: #fff; }
@media (max-width: 480px) { .directory-main { padding: 32px 18px; } .mapping-example { padding: 18px; } }
