:root {
  --paper: #f8f7f2;
  --surface: #fdfcf8;
  --ink: #233d32;
  --green: #2c513f;
  --sage: #70836a;
  --muted: #697168;
  --line: #e2e2d6;
  --brass: #a58b58;
  --soft-green: #edf1e7;
  /* KRDS body scale, on the browser's default 16px root. */
  --text-small: .9375rem; /* 15px: labels and supporting information */
  --text-body: 1.0625rem; /* 17px: paragraphs and inputs */
  --text-lead: 1.1875rem; /* 19px: introductory copy */
  --text-card-title: 1.3125rem; /* 21px */
  --text-section-title: 1.5625rem; /* 25px */
  --leading-body: 1.6;
  font-size: 100%;
  --font-ui: "Pretendard", "Noto Sans KR", "Noto Sans CJK KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; font-size: var(--text-body); line-height: var(--leading-body); }
button, input { font: inherit; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 11px 18px; border: 1px solid var(--green); border-radius: 7px; background: var(--green); color: white; font-size: var(--text-small); font-weight: 600; line-height: 1.4; text-decoration: none; cursor: pointer; transition: background .18s, border-color .18s, box-shadow .18s; }
button:hover, .button:hover { background: #1f4030; box-shadow: 0 3px 8px #203b3210; }
button:disabled { opacity: .55; cursor: wait; }
.secondary { background: transparent; color: var(--ink); border-color: #d8dbcf; }
.secondary:hover { background: #edf0e7; border-color: #a5b29f; }
.quiet { background: transparent; color: var(--muted); border-color: transparent; padding: 8px 10px; }
.quiet:hover { background: #eeeee5; color: var(--green); box-shadow: none; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #7e9b72; outline-offset: 4px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 10; background: var(--green); color: white; padding: 12px; border-radius: 4px; }
.skip-link:focus { top: 12px; }
.site-header, main, .site-footer { width: min(1184px, calc(100% - 80px)); margin-inline: auto; }
.site-header { min-height: 91px; padding-block: 18px; flex-wrap: wrap; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 32px/1 Georgia, "Times New Roman", serif; letter-spacing: -1.3px; flex-shrink: 0; }
.brand-logo { display: block; width: 38px; height: 38px; object-fit: contain; margin-inline: -5px -2px; }
.brand-caption { font: var(--text-small)/1.5 var(--font-ui); color: var(--muted); letter-spacing: -.1px; margin-left: 12px; padding-left: 20px; border-left: 1px solid var(--line); }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: 27px; font-size: var(--text-small); font-weight: 500; }
nav a { text-decoration: none; white-space: nowrap; }
nav a:hover { color: var(--sage); }
nav .quiet { font-size: var(--text-small); padding-inline: 0; }
.account { width: 33px; height: 33px; display: grid; place-items: center; border-radius: 50%; background: #e7ebde; border: 1px solid #d8ddcc; font-size: var(--text-small); font-weight: 650; }
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 10px; min-height: 435px; padding: 35px 0 38px; }
.hero-copy { min-width: 0; position: relative; z-index: 1; padding: 12px 0; }
h1 { margin: 18px 0 20px; font-size: clamp(38px, 3.9vw, 54px); font-weight: 650; line-height: 1.32; letter-spacing: -2.6px; word-break: keep-all; }
h1 em { color: var(--sage); font-style: normal; }
h2 { margin: 0; font-size: var(--text-section-title); line-height: 1.4; letter-spacing: -1px; font-weight: 650; word-break: keep-all; }
h3 { word-break: keep-all; }
p { line-height: var(--leading-body); }
.intro { word-break: keep-all; color: var(--muted); font-size: var(--text-lead); line-height: 1.9; letter-spacing: -.25px; margin: 0 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; }
.hero-actions .button { min-width: 145px; min-height: 47px; }
.hero-actions .button span { font-size: 17px; padding-left: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 14px; font-size: var(--text-small); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #6b8860; flex-shrink: 0; }
.hero-art { position: relative; align-self: stretch; display: flex; align-items: center; min-width: 0; }
.hero-art img { position: absolute; display: block; width: 110%; height: auto; margin-left: -5%; }
.hero-art img, .auth-story img { mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent), linear-gradient(to bottom, transparent, #000 9%, #000 88%, transparent); mask-composite: intersect; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.section-heading p { color: var(--muted); font-size: var(--text-body); margin: 8px 0 0; }
.getting-started { border-top: 1px solid var(--line); padding: 32px 0 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.step { position: relative; padding: 26px 25px 23px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.step-number { font: italic 28px/1 Georgia, serif; color: #929d7f; }
.step h3 { font-size: var(--text-card-title); font-weight: 600; margin: 22px 0 10px; letter-spacing: -.4px; }
.step p { font-size: var(--text-body); line-height: var(--leading-body); margin: 0; color: var(--muted); word-break: keep-all; }
.welcome-note { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin: 30px 0 0; padding: 0 2px; color: var(--muted); font-size: var(--text-small); }
.welcome-note > div { display: flex; gap: 30px; font-size: var(--text-small); color: #657060; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 22px 0; border: 1px solid var(--line); border-radius: 9px; background: #fbfaf5; }
.stats > div { padding: 0 28px; display: flex; align-items: center; gap: 12px; min-width: 0; font-size: var(--text-small); }
.stats > div + div { border-left: 1px solid var(--line); }
.stats strong { font: 28px/1.2 Georgia, serif; margin-left: auto; }
.stat-icon { font-size: 22px; line-height: 1; color: #758769; }
.apps-heading { margin-top: 37px; margin-bottom: 20px; }
.count-label { font: var(--text-small)/1 Georgia, serif; color: #87917c; padding-left: 7px; }
.refresh-button { font-size: var(--text-small); min-height: 44px; padding: 7px 13px; gap: 7px; }
.refresh-button > span { font-size: 18px; line-height: 1; }
.app-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.filter { min-height: 44px; padding: 9px 16px; background: transparent; border-color: transparent; border-radius: 20px; color: var(--muted); font-size: var(--text-small); font-weight: 500; }
.filter.active { background: #e5ebdc; color: var(--green); border-color: #dce4d3; }
.filter:hover { background: #eeefe6; color: var(--green); box-shadow: none; }
.search-field { display: flex; align-items: center; gap: 8px; min-width: 0; color: #8a9180; }
.search-field input { width: 215px; min-width: 0; padding: 8px 0; border: 0; border-bottom: 1px solid #d9ddcf; background: transparent; border-radius: 0; font-size: var(--text-body); color: var(--ink); }
.search-field input::placeholder { color: #7d8577; }
.apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.card { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 23px 21px 15px; display: flex; flex-direction: column; box-shadow: 0 3px 6px #363c2002; }
.card-top { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 22px; }
.app-icon { width: 44px; height: 47px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; color: #5b7350; background: #e9efdf; }
.app-icon svg { width: 24px; height: 24px; }
.app-icon.tone-1 { color: #a48446; background: #f3ecd7; }
.app-icon.tone-2 { color: #647d93; background: #e6edf0; }
.card-identity { min-width: 0; flex: 1; }
.card h3 { margin: 1px 0 7px; font-size: var(--text-card-title); line-height: 1.5; font-weight: 650; letter-spacing: -.4px; overflow-wrap: anywhere; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: var(--text-small); line-height: 1.5; background: #edf2e8; color: #56714b; padding: 3px 7px; border-radius: 4px; white-space: nowrap; }
.badge::before { content: ""; height: 4px; width: 4px; border-radius: 50%; background: currentColor; }
.badge.draft { color: #9a7a38; background: #f6efdb; }
.badge.stopped { color: #777b70; background: #eceee7; }
.card .meta { font-size: var(--text-body); line-height: var(--leading-body); color: var(--muted); flex: 1; }
.card .meta > div + div { margin-top: 5px; }
.card .revision { margin-top: 13px !important; color: #7d8772; font-size: var(--text-small); }
.card .operation-warning { color: #9a663d; }
.actions { display: flex; align-items: center; gap: 8px; }
.card .actions { flex-wrap: wrap; margin-top: 19px; }
.card .actions button, .card .actions .button { min-height: 44px; padding: 7px 10px; font-size: var(--text-small); gap: 6px; }
.card .card-tools { display: flex; gap: 5px; border-top: 1px solid #e9eadd; margin-top: 18px; padding-top: 8px; }
.card-tools button { min-height: 44px; font-size: var(--text-small); padding: 5px 8px; }
.card-tools .danger { margin-left: auto; color: #926952; }
.empty { grid-column: 1 / -1; margin: 0; background: #f3f4ec; border: 1px dashed #cdd5c2; border-radius: 10px; padding: 36px 24px; text-align: center; color: var(--muted); }
.empty h3 { font-size: var(--text-card-title); font-weight: 500; color: var(--ink); margin: 10px 0; }
.empty p { font-size: var(--text-body); margin: 9px 0 19px; }
.empty .empty-icon { margin: 0 auto 15px; display: block; width: 27px; height: 36px; border: 1px solid #8c9f7b; border-radius: 18px 18px 0 0; box-shadow: 4px 4px 0 #e2e8d8; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 27px 28px; }
.connect { margin-top: 29px; scroll-margin-top: 25px; }
.connect .section-heading { align-items: flex-start; margin-bottom: 22px; }
.connect h2 { font-size: var(--text-section-title); letter-spacing: -.6px; }
.connect .section-heading p { font-size: var(--text-body); }
.agent-tabs { display: flex; overflow-x: auto; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 17px; }
.agent-tabs [role="tab"] { flex-shrink: 0; padding: 8px 0 13px; border: none; border-bottom: 2px solid transparent; border-radius: 0; background: transparent; color: #798170; font-size: var(--text-small); min-height: 40px; gap: 7px; }
.agent-tabs [aria-selected="true"] { color: var(--ink); border-bottom-color: var(--green); }
.agent-tabs [role="tab"]:hover { background: transparent; box-shadow: none; color: var(--green); }
.agent-symbol { font-size: 18px; line-height: 1; }
.claude-symbol { color: #b27758; }
.agy-symbol { color: #76879c; }
.terminal { background: #f0f2e9; border: 1px solid #e6e9dc; border-radius: 6px; padding: 11px 16px 16px; }
.terminal-heading { display: flex; justify-content: space-between; align-items: center; font-size: var(--text-small); color: #7b866e; margin-bottom: 5px; }
.copy-command { min-height: 40px; background: #fafbf6; color: #5a6e50; border-color: #d7dfce; font-size: var(--text-small); padding: 5px 10px; }
.copy-command:hover { color: var(--ink); background: white; }
.terminal pre { margin: 0; }
.terminal code { display: block; font: var(--text-small)/1.9 "SFMono-Regular", Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; color: #4a6040; }
.agent-example > p { margin: 10px 0 0; font-size: var(--text-small); color: var(--muted); }
.agent-example > p code { font-size: var(--text-small); background: #f0f2e9; padding: 2px 4px; border-radius: 3px; }
.connect-tip { display: flex; align-items: center; gap: 13px; margin-top: 21px; }
.connect-tip p { margin: 0; font-size: var(--text-small); color: var(--muted); }
.connect-tip strong { font-weight: 500; color: #4f6647; }
.connections { border-top: 1px solid var(--line); margin-top: 21px; padding-top: 16px; }
.connections summary { cursor: pointer; width: fit-content; font-size: var(--text-small); color: #626e58; }
.connections summary > span { font-size: var(--text-small); margin-left: 6px; background: #edf0e5; border-radius: 5px; padding: 2px 6px; }
.connection { display: flex; justify-content: space-between; gap: 16px; align-items: center; border-bottom: 1px solid #eaecdf; padding: 12px 0; font-size: var(--text-small); overflow-wrap: anywhere; }
.connection button { flex-shrink: 0; font-size: var(--text-small); min-height: 44px; padding: 7px 12px; }
.muted { font-size: var(--text-small); color: var(--muted); }
#notice { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); max-width: min(600px, calc(100% - 32px)); width: max-content; margin: 0; border: 1px solid #c3ceb7; border-radius: 8px; padding: 14px 21px; background: #f0f4e9; box-shadow: 0 8px 30px #203b3220; color: var(--ink); font-size: var(--text-body); z-index: 5; }
#notice:empty { display: none; }
.site-footer { border-top: 1px solid var(--line); padding: 24px 0 28px; margin-top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #7e8475; font-size: var(--text-small); }
.footer-brand { font-size: 22px; color: var(--green); gap: 17px; letter-spacing: -.8px; }
.footer-brand span { font: var(--text-small)/1.5 var(--font-ui); color: #7e8475; letter-spacing: 0; }
dialog { width: min(440px, calc(100% - 32px)); padding: 30px; border: 1px solid #ced6c3; border-radius: 12px; background: var(--surface); color: var(--ink); box-shadow: 0 20px 70px #172f2730; }
dialog::backdrop { background: #192f2365; backdrop-filter: blur(3px); }
dialog h2 { font-size: var(--text-section-title); }
dialog p { font-size: var(--text-body); color: var(--muted); }
dialog .actions { justify-content: flex-end; margin-top: 25px; }
.auth-page { min-height: 100svh; display: flex; flex-direction: column; }
.auth-page .site-header { flex-shrink: 0; }
.auth-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 9%; flex: 1; padding-block: 65px; }
.auth-story h1 { font-size: 42px; margin-top: 20px; }
.auth-story > p { color: var(--muted); font-size: var(--text-body); }
.auth-story img { display: block; width: 110%; max-width: 550px; height: auto; margin-left: -5%; }
.auth-card { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 34px; width: 100%; max-width: 460px; box-shadow: 0 5px 25px #263e2d04; }
.auth-card h2 { font-size: var(--text-section-title); margin-bottom: 25px; }
.auth-card form { display: grid; gap: 18px; }
.auth-card label { display: grid; gap: 8px; font-size: var(--text-body); font-weight: 500; }
.auth-card input:not([type="hidden"]) { width: 100%; min-height: 45px; border: 1px solid #d7ddcf; background: #fbfcf7; border-radius: 6px; padding: 12px; color: var(--ink); font-size: var(--text-body); }
.auth-card small { font-size: var(--text-small); color: var(--muted); line-height: 1.7; overflow-wrap: anywhere; }
.auth-card form p, .auth-card > p { font-size: var(--text-body); color: var(--muted); overflow-wrap: anywhere; }
.auth-card form p { margin: 0; }
.auth-card > p:last-child { margin: 23px 0 0; text-align: center; }
.auth-card a { color: var(--green); text-underline-offset: 4px; }
.auth-card [role="alert"] { padding: 12px; background: #f7eae2; color: #954e37; border-radius: 6px; font-size: var(--text-body); text-align: left !important; }
.auth-card button[value="false"] { background: transparent; color: var(--green); border-color: #d7ddcf; }
.auth-page .site-footer { margin-top: 0; }

@media (min-width: 1600px) { .hero { min-height: 475px; } }
@media (max-width: 1100px) {
  .brand-caption { display: none; }
  .site-header, main, .site-footer { width: calc(100% - 64px); }
  nav { gap: 20px; }
  .hero { min-height: 390px; }
  .hero-art img { width: 108%; margin-left: -4%; }
  h1 { font-size: 43px; letter-spacing: -2px; }
  .stats > div { padding: 0 19px; gap: 10px; }
  .card { padding-inline: 17px; }
  .card-top { gap: 10px; }
  .step { padding: 23px 20px; }
}
@media (max-width: 800px) {
  .site-header, main, .site-footer { width: calc(100% - 40px); }
  .site-header { min-height: 76px; padding-block: 14px; }
  .brand { font-size: 28px; }
  nav { gap: 16px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 350px; padding-top: 24px; }
  h1 { font-size: 34px; letter-spacing: -1.7px; }
  .hero-actions { gap: 17px; }
  .hero-actions .button { min-width: 122px; padding: 10px 12px; }
  .text-link { gap: 6px; }
  .apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { gap: 12px; }
  .step { padding: 22px 17px; }
  .step p br { display: none; }
  .section-heading > p { max-width: 240px; text-align: right; }
  .auth-shell { gap: 5%; }
  .auth-story h1 { font-size: 31px; }
  .auth-card { padding: 28px 23px; }
}
@media (max-width: 600px) {
  .site-header { min-height: 71px; padding-block: 12px; gap: 12px; }
  .brand { gap: 8px; font-size: 27px; }
  .brand-logo { width: 34px; height: 34px; }
  nav { gap: 14px; }
  .site-header nav { width: 100%; justify-content: space-between; }
  .account { width: 29px; height: 29px; }
  .hero { grid-template-columns: 1fr; padding: 33px 0 25px; gap: 0; min-height: 0; }
  .hero-copy { padding: 0; }
  h1 { font-size: clamp(32px, 9vw, 44px); line-height: 1.35; margin: 17px 0; letter-spacing: -1.9px; }
  .intro { line-height: 1.9; margin-bottom: 23px; }
  .hero-actions { gap: 24px; }
  .hero-actions .button { min-width: 137px; }
  .text-link { gap: 10px; }
  .hero-art { width: 100%; min-height: 225px; max-width: 430px; justify-self: center; margin-top: 4px; }
  .hero-art img { position: static; width: 100%; margin-left: 0; }
  .section-heading { align-items: flex-start; flex-wrap: wrap; gap: 12px; }
  .section-heading > p { max-width: none; text-align: left; }
  .getting-started { padding-top: 26px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .step { padding: 24px 25px 21px 69px; }
  .step-number { position: absolute; left: 24px; top: 24px; font-size: 25px; }
  .step h3 { margin: 1px 0 9px; }
  .step p { margin-bottom: 0; }
  .welcome-note { flex-direction: column; gap: 16px; margin-top: 24px; }
  .welcome-note > div { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .stats { padding: 17px 0; }
  .stats > div { padding: 0 8px; gap: 8px; flex-wrap: wrap; justify-content: center; text-align: center; word-break: keep-all; }
  .stats strong { width: 100%; margin: 1px 0 0; text-align: center; font-size: 25px; }
  .stats .stat-icon { display: none; }
  .stats .status-dot { width: 4px; height: 4px; }
  .apps-heading { margin-top: 30px; margin-bottom: 16px; align-items: center; }
  .app-toolbar { align-items: flex-start; flex-direction: column; gap: 12px; }
  .filter { padding: 7px 15px; }
  .search-field { width: 100%; }
  .search-field input { width: 100%; }
  .apps { grid-template-columns: 1fr; gap: 14px; }
  .card { padding: 23px 23px 13px; }
  .card-top { margin-bottom: 17px; gap: 14px; }
  .card .actions button, .card .actions .button { min-height: 44px; padding-inline: 12px; }
  .card-tools button { min-height: 44px; }
  .panel { padding: 24px 19px; }
  .connect { margin-top: 25px; }
  .agent-tabs { gap: 18px; }
  .agent-tabs .agent-symbol { display: none; }
  .agent-tabs [role="tab"] { gap: 5px; }
  .agent-symbol { font-size: 16px; }
  .terminal { padding-inline: 12px; }
  .terminal code { line-height: var(--leading-body); }
  .connect-tip { align-items: flex-start; gap: 10px; }
  .site-footer { margin-top: 32px; padding: 22px 0; align-items: flex-start; flex-direction: column; }
  .footer-brand { font-size: 23px; flex-direction: column; align-items: flex-start; gap: 8px; }
  .site-footer > span { padding-top: 5px; max-width: none; line-height: 1.7; text-align: left; word-break: keep-all; }
  .auth-shell { display: block; padding: 35px 0 45px; }
  .auth-story h1 { font-size: 30px; }
  .auth-story img { display: none; }
  .auth-story > p { margin-bottom: 24px; }
  .auth-card { max-width: none; padding: 27px 23px; }
  .auth-page .site-footer { margin-top: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.app-details { margin-top: 16px; border-top: 1px solid var(--border, #dedbd5); padding-top: 12px; font-size: .85rem; }
.app-details summary { cursor: pointer; }
.app-details p { overflow-wrap: anywhere; }
.app-log { max-height: 240px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; padding: 12px; background: #f4f2ee; }
.recovery-row { padding: 12px 0; overflow-wrap: anywhere; }
.recovery-row button { margin-right: 8px; }

nav a[aria-current="page"] { color: var(--green); font-weight: 750; text-decoration: underline; text-underline-offset: 9px; text-decoration-thickness: 2px; }
.page-heading { padding: 40px 0 22px; }
.page-heading h1 { font-size: clamp(30px, 4vw, 40px); margin: 8px 0 12px; letter-spacing: -1.7px; }
.page-heading > p:not(.eyebrow) { color: var(--muted); margin: 8px 0 20px; }
.eyebrow { color: var(--sage); font-size: 11px; font-weight: 750; letter-spacing: 2px; margin: 0; }
.dashboard-grid { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; }
.dashboard-grid .panel { margin-top: 0; }
#dashboard-next .text-link { display: block; margin-block: 18px; }
.overview-row { display: flex; align-items: center; gap: 15px; text-decoration: none; padding: 20px 0; border-bottom: 1px solid var(--line); }
.overview-row:last-child { border-bottom: 0; }
.overview-row strong { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.overview-row .app-icon { flex-shrink: 0; width: 38px; height: 38px; }
.overview-row:hover strong { text-decoration: underline; }
#agent-management, #agent-help { margin-top: 24px; }
#agents-page .page-heading + .connect { margin-top: 0; }
.domains summary { color: var(--green); font-weight: 600; }
.domain-link { display: block; font-family: monospace; font-size: 12px; overflow-wrap: anywhere; padding-inline: 0; }
.domain-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: 20px; }
.domain-form label { display: grid; gap: 8px; flex: 1 1 190px; min-width: 0; }
.domain-form input { min-width: 0; width: 100%; border: 1px solid var(--line); border-radius: 6px; padding: 10px; background: var(--surface); color: var(--ink); font: inherit; }
.domain-form button { min-height: 42px; }
.domain-row { border-top: 1px solid var(--line); padding-block: 15px; }
.domain-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.domain-heading h4 { font-size: 14px; margin: 8px 0; overflow-wrap: anywhere; }
.dns-records { margin: 12px 0; background: #efeee7; padding: 12px; border-radius: 6px; font: 12px/1.8 monospace; overflow-wrap: anywhere; }
.dns-records > div + div { margin-top: 14px; }
.dns-records dt { font-weight: 700; color: var(--green); }
.dns-records dd { margin: 0; }
@media (max-width: 800px) {
  .dashboard-grid { grid-template-columns: 1fr; gap: 16px; }
  .brand-caption { display: none; }
  nav { gap: 18px; }
}
@media (max-width: 440px) {
  .site-header { gap: 16px; }
  nav { gap: 14px; font-size: 12px; }
  .page-heading { padding-top: 28px; }
  .overview-row { flex-wrap: wrap; }
  .overview-row .badge { margin-left: auto; }
}
