:root {
  color-scheme: dark;
  --bg: #141b21;
  --surface: #1c252d;
  --surface-raised: #26333c;
  --board: #1b2931;
  --text: #f0f4f5;
  --muted: #a6b5c0;
  --border: #354650;
  --accent: #c0dfca;
  --accent-hover: #d4ebdc;
  --ink: #18271e;
  --start: #77ef9f;
  --middle: #54d6ed;
  --finish: #ed96eb;
  --foot: #efb75d;
  --danger: #ffb0a9;
  --focus: #d5f4e1;
  --radius: 6px;
  --ease: cubic-bezier(.16,1,.3,1);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  font-synthesis: none;
  background: var(--bg);
  color: var(--text);
  accent-color: var(--accent);
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
button, select, summary { cursor: pointer; }
button, select, textarea, input { -webkit-tap-highlight-color: transparent; }
button, a, select, input, textarea, summary { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--focus); }
::selection { color: var(--ink); background: var(--accent); }
* { scrollbar-width: thin; scrollbar-color: var(--border) var(--bg); }
input, textarea { caret-color: var(--accent); }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: 20px; line-height: 1.2; font-weight: 650; letter-spacing: -.02em; }
h2 { font-size: 17px; font-weight: 650; line-height: 1.35; letter-spacing: -.015em; }
h3 { font-size: 14px; font-weight: 650; }
svg { display: block; }
.muted { color: var(--muted); }
.small { font-size: 12px; line-height: 1.5; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 20px; padding: 12px 18px; z-index: 100; color: var(--ink); background: var(--accent); border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.app-header { min-height: 78px; padding: 20px 32px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { height: 30px; width: 30px; color: var(--accent); }
.brand-mark path { fill: none; stroke: currentColor; stroke-width: 1.5; }
.brand-mark circle { fill: var(--bg); stroke: currentColor; stroke-width: 2; }
.header-divider { width: 1px; height: 20px; background: var(--border); margin: 0 4px; }
.header-context { color: var(--muted); }
.local-badge { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.login-panel { width: min(100% - 40px, 430px); margin: 10vh auto 18vh; padding: 30px 0; }
.login-panel h2 { font-size: 27px; }
#login-form { margin-top: 28px; }
.login-panel .button-primary { min-width: 120px; }
input[type="password"], input[type="text"] { color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 11px; min-height: 44px; width: 100%; }
input[type="password"]:hover, input[type="text"]:hover { border-color: #657b88; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.workspace { max-width: 1700px; margin: 0 auto; display: grid; grid-template-columns: 254px minmax(360px, 1fr) 292px; align-items: start; }
.setup-panel { padding: 28px 22px 28px 26px; }
.section-description { color: var(--muted); font-size: 13px; line-height: 1.6; margin-top: 9px; }
#generate-form { margin-top: 25px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 19px; min-width: 0; }
.field label { font-size: 12px; font-weight: 600; color: var(--text); }
.field-hint { color: var(--muted); font-size: 12px; line-height: 1.5; }
.field-pair { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
select, textarea { color: var(--text); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 11px; min-width: 0; width: 100%; min-height: 42px; transition: border-color 160ms var(--ease), background 160ms var(--ease); }
select { padding-right: 4px; text-overflow: ellipsis; }
select:hover, textarea:hover { border-color: #657b88; }
select:disabled, button:disabled { opacity: .5; cursor: not-allowed; }
textarea { resize: vertical; min-height: 84px; line-height: 1.55; }
textarea::placeholder { color: #9aadb9; font-size: 12px; }
.button { border: 1px solid transparent; border-radius: var(--radius); display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 13px; font-size: 12px; font-weight: 650; min-height: 40px; transition: background 160ms var(--ease), border-color 160ms var(--ease); }
.button svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.button-primary { color: var(--ink); background: var(--accent); }
.button-primary:not(:disabled):hover { background: var(--accent-hover); }
.button-secondary { color: var(--text); border-color: var(--border); background: var(--surface); }
.button-secondary:not(:disabled):hover { background: var(--surface-raised); border-color: #718690; }
.button-quiet { color: var(--muted); background: transparent; }
.button-quiet:not(:disabled):hover { color: var(--text); background: var(--surface); }
.generate-button { width: 100%; margin-top: 1px; min-height: 45px; font-size: 13px; }
.action-status { color: var(--muted); font-size: 12px; line-height: 1.6; margin-top: 9px; }
.action-status:empty { display: none; }
.action-status.error { color: var(--danger); }
.error-message { margin-top: 14px; font-size: 12px; color: var(--danger); padding: 12px; border: 1px solid #775653; background: #382c2d; border-radius: var(--radius); }
.section-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.count { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.saved-section { margin-top: 31px; border-top: 1px solid var(--border); padding-top: 23px; }
.saved-list { margin-top: 13px; max-height: 350px; overflow-y: auto; }
.saved-route { width: 100%; text-align: left; padding: 12px 0; background: none; border: 0; border-bottom: 1px solid var(--border); color: var(--text); display: flex; flex-direction: column; gap: 4px; }
.saved-route:hover { color: var(--accent); }
.saved-route strong { font-weight: 550; font-size: 12px; overflow-wrap: anywhere; }
.saved-route span { color: var(--muted); font-size: 12px; }
.dataset-note { color: var(--muted); font-size: 12px; margin-top: 29px; max-width: 30ch; }
.model-status { border: 1px solid var(--border); background: var(--surface); padding: 12px; margin-bottom: 17px; border-radius: var(--radius); }
.model-status strong { color: var(--foot); display: block; font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.model-status.connected strong { color: var(--start); }
.model-status p { color: var(--muted); margin-top: 6px; font-size: 12px; line-height: 1.55; }
.examples-section { border-top: 1px solid var(--border); padding-top: 22px; margin-top: 24px; }
.examples-section > p { margin-top: 8px; }
.examples-list { margin-top: 10px; }
.example-route { border: 0; border-bottom: 1px solid var(--border); background: none; padding: 12px 0; text-align: left; width: 100%; color: var(--accent); display: flex; flex-direction: column; gap: 5px; }
.example-route:last-child { border-bottom: 0; }
.example-route strong { font-size: 12px; font-weight: 600; }
.example-route span { font-size: 12px; color: var(--muted); }
.example-route:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.manual-tools { border-top: 1px solid var(--border); margin-top: 22px; padding-top: 19px; }
.manual-tools summary { font-size: 12px; color: var(--accent); line-height: 1.5; min-height: 30px; }
.manual-tools > p { margin-top: 11px; }
.manual-tools > .button { width: 100%; margin-top: 14px; }
.manual-tools textarea { font-family: ui-monospace, Consolas, monospace; font-size: 12px; }
.manual-tools textarea::placeholder { font-size: 12px; }
#brief-output { margin-top: 15px; }
.text-label { display: block; color: var(--text); font-size: 12px; font-weight: 600; margin-bottom: 7px; }
.compact-actions { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 5px; }
.compact-actions .button { padding-left: 6px; padding-right: 6px; }
#proposal-form { margin-top: 22px; }
#proposal-form > .button { width: 100%; }
.origin-label { color: var(--accent); font-size: 12px; line-height: 1.55; margin-top: 10px; }
#novelty-detail { margin-top: 13px; }
.draft-summary { flex-wrap: wrap; }
.example-shortcut { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 16px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.example-shortcut p { max-width: 35ch; }
.example-shortcut .button { flex-shrink: 0; }
.board-panel { background: var(--surface); border-left: 1px solid var(--border); border-right: 1px solid var(--border); min-height: 830px; padding: 27px 28px 24px; outline-offset: -4px; }
.board-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; min-height: 75px; }
.board-heading h2 { font-size: clamp(21px, 2vw, 28px); letter-spacing: -.025em; line-height: 1.25; max-width: 30ch; overflow-wrap: anywhere; }
.board-heading p { font-size: 12px; margin-top: 7px; }
.route-status { color: var(--foot); border: 1px solid #695b43; border-radius: 4px; padding: 4px 7px; white-space: nowrap; font-size: 12px; line-height: 1.5; }
.route-status.existing { color: var(--muted); border-color: var(--border); }
.board-toolbar { margin: 10px 0 14px; display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.view-tabs { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius); padding: 3px; gap: 3px; }
.view-tab { min-height: 30px; padding: 5px 12px; border: 0; border-radius: 3px; background: none; color: var(--muted); font-size: 12px; font-weight: 600; }
.view-tab.active { background: #41535c; color: var(--text); }
.view-tab:not(:disabled):hover { background: var(--surface-raised); }
.view-tab.active:not(:disabled):hover { background: #506671; }
.board-options { display: flex; gap: 13px; }
.checkbox-label { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; cursor: pointer; white-space: nowrap; }
.checkbox-label input { margin: 0; width: 13px; height: 13px; cursor: pointer; }
.board-figure { margin: 0; }
.board-container { position: relative; width: 100%; aspect-ratio: 1 / 1.08; max-height: 720px; background: var(--board); border-radius: 4px; border: 1px solid #43575f; overflow: hidden; }
#board-svg { height: 100%; width: 100%; }
.board-loading { display: flex; flex-direction: column; align-items: center; justify-content: center; position: absolute; inset: 0; color: var(--muted); font-size: 13px; background: var(--board); gap: 18px; }
.loading-line { width: 64px; height: 2px; background: var(--accent); animation: loading 1.4s ease-in-out infinite; transform-origin: left; }
@keyframes loading { 0%,100% { transform: scaleX(.2); opacity: .4; } 50% { transform: scaleX(1); opacity: 1; } }
.board-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.board-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 20px; }
.legend { list-style: none; padding: 0; margin: 0; display: flex; gap: 17px; flex-wrap: wrap; }
.legend li { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.legend-dot.start { color: var(--start); }
.legend-dot.middle { color: var(--middle); }
.legend-dot.finish { color: var(--finish); }
.legend-dot.foot { color: var(--foot); border-radius: 1px; transform: rotate(45deg); }
.route-actions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 23px; padding-top: 20px; border-top: 1px solid var(--border); }
.route-actions .action-status { width: 100%; margin-left: 1px; }
.path-note { font-size: 12px; color: var(--muted); margin-top: 13px; }
.holds-details { border-top: 1px solid var(--border); margin-top: 23px; padding-top: 15px; }
.holds-details summary { color: var(--muted); font-size: 12px; min-height: 26px; }
.holds-details summary:hover { color: var(--text); }
#hold-table-count { color: var(--muted); margin-left: 8px; font-variant-numeric: tabular-nums; }
.table-wrap { margin-top: 13px; max-height: 360px; overflow: auto; }
table { border-collapse: collapse; width: 100%; font-size: 12px; text-align: left; font-variant-numeric: tabular-nums; }
th { font-size: 12px; font-weight: 600; color: var(--muted); }
td,th { padding: 8px 7px; border-bottom: 1px solid var(--border); }
td:nth-last-child(-n+2),th:nth-last-child(-n+2) { text-align: right; }
.hold-link { color: var(--text); background: none; border: 0; font: inherit; text-decoration: underline; text-decoration-color: #75858e; text-underline-offset: 3px; padding: 3px; }
.hold-link:hover { color: var(--accent); }
.role-label { display: inline-flex; align-items: center; gap: 7px; }
.role-label .legend-dot { width: 6px; height: 6px; }
.evidence-panel { padding: 28px 25px 30px 23px; }
.evidence-section + .evidence-section { border-top: 1px solid var(--border); margin-top: 23px; padding-top: 21px; }
.evidence-section h3 { margin-bottom: 12px; }
.evidence-section .section-title-row h3 { margin-bottom: 0; }
.draft-summary { display: flex; gap: 16px; margin-top: 17px; }
.draft-summary span { color: var(--muted); font-size: 12px; }
.draft-summary strong { display: block; color: var(--text); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.checks-list { list-style: none; padding: 0; margin: 13px 0 0; }
.checks-details, #checks-empty { margin-top: 11px; }
.checks-details summary { color: var(--accent); font-size: 12px; min-height: 26px; padding-top: 3px; }
.checks-details summary:hover { color: var(--accent-hover); }
.checks-list li { display: flex; align-items: flex-start; gap: 9px; margin-top: 13px; }
.check-icon { width: 17px; height: 17px; flex: 0 0 17px; color: var(--start); margin-top: 1px; }
.check-icon svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.check-icon.failed { color: var(--danger); }
.check-text { min-width: 0; }
.check-text strong { display: block; font-size: 12px; font-weight: 550; }
.check-text span { display: block; font-size: 12px; color: var(--muted); line-height: 1.5; margin-top: 3px; }
.checks-list .empty-check { color: var(--muted); font-size: 12px; }
.check-disclaimer { margin-top: 18px; }
.warnings-section h3 { color: var(--foot); }
.warnings-list { color: var(--muted); font-size: 12px; padding-left: 16px; margin: 0; }
.warnings-list li + li { margin-top: 7px; }
.reference-row { border-bottom: 1px solid var(--border); padding: 12px 0; }
.reference-row:first-child { padding-top: 0; }
.reference-row:last-child { border-bottom: 0; padding-bottom: 0; }
.reference-name { color: var(--text); font-size: 12px; font-weight: 600; display: block; background: none; border: 0; padding: 0; text-align: left; overflow-wrap: anywhere; }
.reference-name:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.reference-name[aria-pressed="true"] { color: var(--accent); }
.reference-meta { color: var(--muted); font-size: 12px; margin-top: 4px; font-variant-numeric: tabular-nums; }
.reference-hint { color: var(--muted); font-size: 12px; margin-top: 5px; }
.feedback-section { padding-top: 23px; margin-top: 24px; border-top: 1px solid var(--border); }
.feedback-section > p { margin-top: 6px; }
#feedback-form { margin-top: 15px; }
.feedback-rating { margin: 0 0 17px; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.feedback-rating label { cursor: pointer; position: relative; }
.feedback-rating input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.feedback-rating span { display: block; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 9px; font-size: 12px; transition: background 160ms var(--ease), border-color 160ms var(--ease); }
.feedback-rating label:hover span { color: var(--text); border-color: #718690; }
.feedback-rating input:checked + span { color: var(--accent); border-color: var(--accent); background: #2c4038; }
.feedback-rating input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 3px; }
.optional { color: var(--muted); font-size: 12px; font-weight: 400; margin-left: 4px; }
.feedback-section .field { margin-bottom: 15px; }
.app-footer { max-width: 1700px; margin: 0 auto; border-top: 1px solid var(--border); padding: 17px 27px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 7px 22px; color: var(--muted); font-size: 12px; }
.selected-holds { animation: route-arrive 360ms var(--ease); }
@keyframes route-arrive { from { opacity: .45; } to { opacity: 1; } }
.active-hold { cursor: pointer; outline: none; }
.active-hold:focus-visible .hold-focus, .active-hold.is-selected .hold-focus { opacity: 1; }
.hold-focus { opacity: 0; fill: none; stroke: #fff; stroke-width: .6; stroke-dasharray: 1.2 1.1; }
@media (min-width: 1500px) { .workspace { grid-template-columns: 280px minmax(400px, 1fr) 310px; } .setup-panel { padding-left: 32px; padding-right: 27px; } .evidence-panel { padding-left: 27px; padding-right: 30px; } .board-panel { padding-left: 40px; padding-right: 40px; } }
@media (max-width: 1150px) { .workspace { grid-template-columns: 225px minmax(300px, 1fr) 250px; } .setup-panel { padding: 24px 17px; } .evidence-panel { padding: 24px 18px; } .board-panel { padding: 24px 20px; } .board-heading { flex-direction: column; gap: 8px; min-height: 100px; } .board-options { gap: 9px; } .legend { gap: 12px; } .board-footer { align-items: flex-start; flex-direction: column; gap: 9px; } }
@media (max-width: 960px) { .workspace { grid-template-columns: 240px minmax(0, 1fr); } .evidence-panel { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; border-top: 1px solid var(--border); padding: 27px; } .evidence-section + .evidence-section { padding: 0; border: 0; margin: 0; } .feedback-section { margin: 0; padding: 0; border: 0; } .board-panel { border-right: 0; } .board-heading { flex-direction: row; min-height: 75px; } .board-container { max-height: 700px; } .board-footer { flex-direction: row; align-items: center; } }
@media (max-width: 700px) { .app-header { min-height: 67px; padding: 17px 18px; gap: 10px; } h1 { font-size: 18px; } .brand { gap: 9px; } .brand-mark { width: 26px; height: 26px; } .header-context,.header-divider { display: none; } .local-badge { font-size: 12px; gap: 5px; } .workspace { display: flex; flex-direction: column; } .setup-panel { width: 100%; padding: 24px 20px; } .setup-section h2 { font-size: 18px; } .section-description { font-size: 12px; max-width: 65ch; } #generate-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; margin-top: 21px; } #generate-form > .field:first-child, #generate-form > .field-pair, .generate-button, #generate-status, #request-error { grid-column: 1 / -1; } .field-pair { grid-template-columns: 1fr 1fr; gap: 14px; } .field { margin-bottom: 16px; } .generate-button { margin-top: 3px; } .saved-section { margin-top: 22px; padding-top: 18px; } .saved-list { max-height: 160px; } .dataset-note { margin-top: 18px; max-width: none; } .board-panel { width: 100%; border-left: 0; border-top: 1px solid var(--border); padding: 24px 20px; min-height: 0; } .board-heading { min-height: 75px; } .board-heading h2 { font-size: 23px; } .board-heading .route-status { font-size: 12px; } .board-toolbar { margin-top: 8px; } .board-options { gap: 10px; } .board-container { max-height: none; } .evidence-panel { width: 100%; padding: 26px 20px; gap: 24px; grid-template-columns: 1fr; } .evidence-section + .evidence-section, .feedback-section { border-top: 1px solid var(--border); padding-top: 23px; } .evidence-section .section-description { font-size: 13px; } .evidence-section h3, .feedback-section h3 { font-size: 15px; } .check-text strong { font-size: 13px; } .check-text span,.check-disclaimer,.warnings-list,.reference-meta { font-size: 12px; } .reference-name { font-size: 13px; } .feedback-rating span { font-size: 12px; padding: 10px 12px; } .app-footer { padding: 19px 20px; } }
@media (max-width: 380px) { .app-header { padding-left: 13px; padding-right: 13px; } h1 { font-size: 18px; } .setup-panel,.board-panel,.evidence-panel { padding-left: 15px; padding-right: 15px; } .board-heading { flex-direction: column; min-height: 98px; } .board-footer { flex-direction: column; align-items: flex-start; } .board-options { gap: 8px; } .checkbox-label { font-size: 12px; } }
@media (max-width: 700px) { .header-actions .local-badge { display: none; } .header-actions { gap: 0; } .header-actions .button { min-height: 34px; padding: 7px 9px; } #generate-form > .field, #generate-form > .model-status { grid-column: 1 / -1; } .examples-section { margin-top: 19px; } .examples-list { display: flex; flex-direction: column; } .example-route { padding: 11px 0; } .manual-tools .compact-actions { gap: 10px; } .example-shortcut { flex-direction: column; align-items: flex-start; gap: 10px; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }


/* Account and sharing controls extend the existing workshop. */
.login-panel { width: min(100% - 40px, 760px); margin: 24px auto; padding: 18px 0 28px; border-bottom: 1px solid var(--border); }
.login-panel h2 { font-size: 22px; }
.login-panel .section-title-row { gap: 16px; align-items: flex-start; }
.login-panel .section-title-row .button { flex-shrink: 0; }
#login-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin-top: 22px; }
#login-form > .compact-actions, #login-form > .action-status, #login-form > .error-message { grid-column: 1 / -1; }
.gallery-section { margin-bottom: 26px; padding-bottom: 23px; border-bottom: 1px solid var(--border); outline-offset: 5px; }
.gallery-section > p { margin-top: 6px; }
.gallery-section .section-title-row .button { min-height: 32px; padding: 5px 7px; }
.gallery-list { margin-top: 12px; max-height: 242px; overflow-y: auto; }
.gallery-route { width: 100%; display: flex; flex-direction: column; gap: 4px; color: var(--text); background: none; border: 0; border-bottom: 1px solid var(--border); padding: 12px 0; text-align: left; }
.gallery-route:first-child { padding-top: 0; }
.gallery-route:last-child { border-bottom: 0; }
.gallery-route strong { font-size: 12px; font-weight: 600; overflow-wrap: anywhere; }
.gallery-route span { color: var(--muted); font-size: 12px; }
.gallery-route:hover strong { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.example-route strong { overflow-wrap: anywhere; }
#sign-in-to-generate { width: 100%; margin-top: 10px; }
.model-status .quota-status { padding-top: 8px; margin-top: 9px; border-top: 1px solid var(--border); }
.board-options { flex-wrap: wrap; row-gap: 8px; }
.board-artwork { opacity: .9; pointer-events: none; }
.route-access-note { margin-top: 13px; }
#route-sharing { margin-top: 8px; overflow-wrap: anywhere; }
.publish-tools { margin-top: 20px; padding-top: 17px; border-top: 1px solid var(--border); }
.publish-tools summary { color: var(--accent); font-size: 12px; min-height: 30px; }
.publish-tools > p { margin-top: 8px; max-width: 65ch; }
.publish-consent { display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: var(--text); margin: 16px 0; }
.publish-consent input { flex-shrink: 0; margin: 3px 0 0; }
#unpublish-route { margin-top: 16px; }
@media (max-width: 700px) {
  #login-form { grid-template-columns: 1fr; gap: 0; }
  .login-panel { margin-top: 12px; }
  .login-panel h2 { font-size: 20px; }
  .login-panel .section-title-row { align-items: center; }
  .login-panel .section-title-row .button { padding: 7px; }
  #generate-form > #sign-in-to-generate { grid-column: 1 / -1; }
  .board-options { justify-content: flex-start; }
  .gallery-list { max-height: 230px; }
  .header-actions { gap: 5px; }
}
