:root {
   --bg: #f6f7f9;
   --surface: #ffffff;
   --border: #d9dee7;
   --border-strong: #b8c0cc;
   --text: #1f2933;
   --muted: #667085;
   --accent: #0f766e;
   --accent-strong: #0b5f59;
   --focus: #2d6cdf;
}

* {
   box-sizing: border-box;
}

body {
   margin: 0;
   color: var(--text);
   background: var(--bg);
   font-size: 15px;
   line-height: 1.45;
   font-family: -apple-system, BlinkMacSystemFont, "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Helvetica, Ubuntu, Roboto, Noto, Arial, sans-serif;
   -webkit-font-smoothing: antialiased;
   -webkit-text-size-adjust: 100%;
   text-rendering: optimizeLegibility;
}

a {
   color: var(--accent);
   text-decoration-thickness: 1px;
   text-underline-offset: 3px;
}

a:hover {
   color: var(--accent-strong);
}

img,
iframe {
   max-width: 100%;
}

p,
ol {
   margin-top: 8px;
}

h1,
h2 {
   margin: 0;
   line-height: 1.15;
}

h3 {
   margin: 0 0 8px;
   font-size: 16px;
}

.site-header {
   border-bottom: 1px solid var(--border);
   background: var(--surface);
}

.site-header-inner,
.page-main,
.footer {
   width: min(980px, 100%);
   margin: 0 auto;
   padding-right: 24px;
   padding-left: 24px;
}

.site-header-inner {
   display: grid;
   grid-template-columns: minmax(220px, 1fr) auto;
   gap: 16px;
   align-items: center;
   padding-top: 18px;
   padding-bottom: 18px;
}

.brand-link {
   display: flex;
   align-items: center;
   gap: 12px;
   min-width: 0;
   color: var(--text);
   text-decoration: none;
}

.brand-icon {
   width: 42px;
   height: 42px;
   flex: 0 0 auto;
}

.brand-title {
   font-size: 24px;
}

.brand-subtitle {
   margin: 4px 0 0;
   color: var(--muted);
}

.nav-links {
   display: flex;
   flex-wrap: wrap;
   justify-content: flex-end;
   gap: 8px;
}

.nav-link {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   min-height: 36px;
   border: 1px solid var(--border-strong);
   border-radius: 6px;
   padding: 7px 12px;
   color: var(--text);
   background: var(--surface);
   text-decoration: none;
   white-space: nowrap;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
   border-color: var(--accent);
   color: var(--accent-strong);
}

.nav-link:focus-visible,
a:focus-visible {
   outline: 2px solid var(--focus);
   outline-offset: 2px;
}

.page-main {
   padding-top: 22px;
   padding-bottom: 32px;
}

.page-title {
   margin-bottom: 14px;
   font-size: 30px;
}

.panel {
   border: 1px solid var(--border);
   border-radius: 8px;
   background: var(--surface);
}

.panel + .panel {
   margin-top: 14px;
}

.panel-header {
   border-bottom: 1px solid var(--border);
   padding: 14px 16px;
}

.panel-title {
   font-size: 16px;
}

.panel-body {
   padding: 16px;
}

.notice {
   border: 1px solid #86d9c7;
   border-radius: 8px;
   padding: 12px 14px;
   color: #075e56;
   background: #e9fbf4;
}

.two-column-grid {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 14px;
}

.soft-list {
   margin-bottom: 0;
}

.soft-list li + li {
   margin-top: 6px;
}

.support-frame {
   overflow: hidden;
   border: 1px solid var(--border);
   border-radius: 8px;
   background: #f8fafc;
}

.support-frame iframe {
   display: block;
   width: 100%;
   height: 720px;
   border: 0;
}

.form-fallback {
   margin-bottom: 0;
   color: var(--muted);
}

.footer {
   border-top: 1px solid var(--border);
   padding-top: 18px;
   padding-bottom: 30px;
   color: var(--muted);
}

@media (max-width: 720px) {
   .site-header-inner,
   .page-main,
   .footer {
      padding-right: 16px;
      padding-left: 16px;
   }

   .site-header-inner,
   .two-column-grid {
      grid-template-columns: 1fr;
   }

   .nav-links {
      justify-content: flex-start;
   }

   .page-title {
      font-size: 26px;
   }
}
