:root {
  color-scheme: light;
  --ink: #182d28;
  --muted: #51645e;
  --green: #1e453c;
  --paper: #fafbf9;
  --line: #ccd8d1;
  --soft: #edf2ee;
  --accent: #c8ec6d;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; }
::selection { background: #c8ec6d; color: #182d28; }
:focus-visible { outline: 3px solid #36799b; outline-offset: 4px; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
button, a, summary, textarea { touch-action: manipulation; }
button { font: 600 .95rem/1.4 system-ui; cursor: pointer; padding: 12px 18px; min-height: 44px; border: 1px solid var(--green); border-radius: 4px; background: var(--green); color: white; }
button:hover { background: #2b5c4f; }
button:disabled { opacity: .55; cursor: not-allowed; }
button.secondary { background: transparent; color: var(--green); }
button.secondary:hover { background: var(--soft); }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.03em; line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 4vw, 3.5rem); margin: 0; }
h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 0 0 20px; }
h3 { font-size: 1.1rem; line-height: 1.4; margin: 0 0 16px; }
p { margin: 0 0 16px; max-width: 72ch; }
.small { font-size: .9rem; color: var(--muted); }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: -100px; left: 20px; padding: 12px; background: white; z-index: 5; }
.skip:focus { top: 10px; }
.masthead { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0 0; }
.wordmark { text-decoration: none; font-weight: 750; font-size: 1.15rem; letter-spacing: -.02em; }
.wordmark span { display: block; font-weight: 400; font-size: .9rem; letter-spacing: 0; color: var(--muted); }
nav { display: flex; gap: 24px; flex-wrap: wrap; }
nav a { padding-block: 10px; text-decoration: none; font-size: .95rem; }
.notice { margin-block: 20px; }
.handoff { margin-top: 24px; padding: 24px; border: 1px solid var(--green); border-radius: 6px; }
.handoff h2 { font-size: 1.8rem; }
.handoff button { margin-bottom: 12px; }
.handoff p:last-child { margin-bottom: 0; }
kbd { font: .9rem/1.8 system-ui; border: 1px solid var(--line); border-radius: 3px; padding: 2px 6px; background: white; white-space: nowrap; }
.bookmark { display: flex; align-items: center; gap: 14px; background: var(--green); color: white; padding: 18px; border-radius: 4px; font-weight: 650; text-decoration: none; cursor: grab; min-height: 60px; }
.bookmark svg { flex-shrink: 0; color: #c8ec6d; }
.bookmark:hover { background: #2b5c4f; }
.bookmark:active { cursor: grabbing; }
.bookmark[aria-disabled=true] { opacity: .5; cursor: not-allowed; }
#install-message { margin-top: 12px; font-size: .95rem; color: var(--muted); }
select { width: 100%; min-height: 46px; padding: 9px 12px; font: 1rem system-ui; border: 1px solid var(--muted); border-radius: 4px; background: white; color: var(--ink); }
#demo-warning { padding: 20px; background: var(--soft); border-radius: 6px; }
#demo-warning p:last-child { margin-bottom: 0; }
#demo-alternatives { display: flex; flex-wrap: wrap; gap: 12px; }
.browser-demo { margin: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: white; }
.browser-demo figcaption { padding: 8px 16px; font-size: .875rem; background: #182d28; color: #cddbd5; }
.browser-demo figcaption span:last-child { font-weight: 400; color: #cddbd5; }
.demo-viewport { position: relative; width: 100%; overflow: hidden; background: #f5f6fb; }
.demo-install-action { position: absolute; top: 29%; left: 0; right: 0; margin-inline: auto; width: min(520px, 84%); z-index: 5; text-align: center; }
.demo-install-action h3 { font-size: clamp(16px, 2vw, 22px); font-weight: 500; margin-bottom: 24px; }
.installation-mark { display: block; width: 64px; height: 76px; margin: 0 auto 24px; }
.demo-install-action .bookmark { justify-content: center; }
.demo-install-action .bookmark, .demo-bookmark-example { font-size: clamp(18px, 2.4vw, 28px); padding: 24px; min-height: 84px; gap: 20px; border-radius: 8px; }
.demo-install-action .bookmark span { pointer-events: none; }
.demo-install-action p { font-size: 15px; line-height: 1.5; margin-top: 14px; }
.demo-bookmark-example { display: block; background: var(--green); color: white; font-weight: 650; }
.demo-install-action .bookmark svg { pointer-events: none; }
.demo-screen { width: 1200px; height: 730px; transform-origin: top left; position: relative; overflow: hidden; color: #29352f; font: 14px/1.5 system-ui; background: white; isolation: isolate; }
.sim-tabs { display: flex; gap: 12px; align-items: center; height: 42px; padding: 6px 12px 0; background: #dce3e8; }
.sim-tab { background: #f5f7f9; border-radius: 8px 8px 0 0; height: 36px; padding: 8px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; }
.sim-browser-name { font-size: 14px; padding-right: 4px; }
.mac-buttons { display: flex; gap: 6px; padding-bottom: 6px; }
.mac-buttons i { height: 10px; width: 10px; border-radius: 50%; background: #d54a43; }
.mac-buttons i:nth-child(2) { background: #d4a92d; }
.mac-buttons i:nth-child(3) { background: #2e9667; }
.windows-buttons { display: none; }
.demo-screen[data-os="windows"] .mac-buttons { display: none; }
.demo-screen[data-os="windows"] .windows-buttons { display: block; }
.demo-screen[data-browser="edge"] .sim-tabs { background: #dce9e5; }
.demo-screen[data-browser="edge"] .sim-tab { border-radius: 6px 6px 0 0; }
.sim-toolbar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: #f5f7f9; }
.sim-toolbar svg { flex-shrink: 0; }
.sim-address { flex: 1; min-width: 0; padding: 5px 12px; border: 1px solid #c9d3d9; border-radius: 18px; background: white; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sim-bookmarks { height: 44px; padding: 6px 12px; background: #f5f7f9; border-bottom: 1px solid var(--line); }
.sim-target { display: inline-block; border: 1px dashed #51645e; border-radius: 4px; padding: 3px 10px; min-width: 214px; color: #51645e; }
.demo-screen.bookmark-installed .sim-target { color: transparent; border-color: transparent; }
.sim-content { position: relative; height: 596px; padding: 70px 80px; }
.sim-install { position: absolute; inset: 0; background: #f3f6ef; }
.sim-source, .sim-chip { display: inline-block; font: 600 14px/1.5 system-ui; padding: 7px 10px; background: var(--green); color: white; border-radius: 4px; white-space: nowrap; }
.sim-chip { position: absolute; top: 0; left: 0; z-index: 3; pointer-events: none; display: flex; align-items: center; justify-content: center; padding: 0; overflow: hidden; font-family: system-ui; line-height: 1.5; }
.sim-chip svg { flex-shrink: 0; color: #c8ec6d; }
.demo-drag-layer { position: absolute; top: 0; width: 1200px; height: 730px; transform-origin: top left; pointer-events: none; z-index: 6; }
.sim-chip.is-docked { background: #e5ede7; color: var(--green); outline: 1px solid #51645e; }
.sim-cursor { position: absolute; top: 0; left: 0; z-index: 4; pointer-events: none; }
.sim-cursor.pressed { filter: drop-shadow(2px 2px 2px #182d2860); }
.sim-d360 { position: absolute; inset: 0; font: 12px/1.5 Arial, Helvetica, sans-serif; color: #687383; background: #f5f6fb; }
.sim-result { position: absolute; right: 20px; bottom: 20px; width: 400px; background: white; color: #182d28; border: 2px solid #1e453c; border-radius: 8px; padding: 24px; font: 16px/1.5 system-ui; box-shadow: 0 8px 32px #0003; z-index: 5; }
.sim-result > strong { display: block; font-size: 20px; margin-bottom: 12px; }
.sim-result p { margin: 0 0 16px; }
.sim-result > span { display: inline-block; margin: 6px 10px 0 0; padding: 10px 15px; background: #1e453c; color: white; border-radius: 4px; font-weight: 600; }
.sim-shortcut { position: absolute; right: 24px; bottom: 32px; padding: 12px 20px; border: 1px solid var(--line); background: var(--soft); border-radius: 6px; font-weight: 600; font-size: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.player-bar { padding: 0 16px 8px; color: #f4f8f5; background: #182d28; }
#demo-position { appearance: none; display: block; width: 100%; height: 24px; cursor: pointer; margin: 0; background: transparent; }
#demo-position::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, #c8ec6d var(--progress, 0%), #647a71 var(--progress, 0%)); }
#demo-position::-moz-range-track { height: 4px; border-radius: 2px; background: #647a71; }
#demo-position::-moz-range-progress { height: 4px; background: #c8ec6d; }
#demo-position::-webkit-slider-thumb { appearance: none; margin-top: -5px; height: 14px; width: 14px; border-radius: 50%; background: #c8ec6d; }
#demo-position::-moz-range-thumb { height: 14px; width: 14px; border: 0; border-radius: 50%; background: #c8ec6d; }
.demo-controls { display: flex; align-items: center; gap: 8px; }
.demo-controls button { display: grid; place-items: center; width: 44px; padding: 10px; background: transparent; color: white; border: 0; }
.demo-controls button:hover { background: #355348; }
.demo-controls svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; }
#demo-play .pause-icon, #demo-play.is-playing .play-icon { display: none; }
#demo-play.is-playing .pause-icon { display: block; }
.player-time { font-size: 14px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.player-spacer { flex: 1; }
#demo-speed { width: 78px; min-height: 44px; padding: 6px; font-size: 14px; color: white; background: #182d28; border-color: #647a71; }
.player-caption { display: flex; align-items: center; gap: 16px; margin-block: 8px; }
.player-caption button { flex-shrink: 0; width: 44px; padding: 8px; }
.player-caption svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; }
#demo-message { margin: 0; flex: 1; min-width: 0; max-width: none; min-height: 3em; display: grid; align-items: center; font-size: .95rem; }
#demo-message > span { grid-area: 1 / 1; }
#demo-message .message-size { visibility: hidden; pointer-events: none; }
#return-install[hidden] { display: block !important; visibility: hidden; }
#return-install { display: block; min-height: 44px; margin: 0; }
.demo-chapters button { font-variant-numeric: tabular-nums; }
.demo-chapters { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.demo-chapters button { flex: 0 1 auto; background: none; color: var(--muted); border: 0; border-radius: 0; font-size: .9rem; font-weight: 650; padding: 10px 16px; white-space: nowrap; }
.demo-chapters button[aria-pressed="true"] { color: var(--green); background: var(--soft); box-shadow: inset 0 -3px var(--green); font-weight: 650; }
.demo-chapters button:hover { background: var(--soft); }
#demo-scroll-track { position: relative; }
#demo-scroll-track.scroll-enabled > #demo-player:not(.is-expanded):not(:fullscreen) { position: sticky; top: 12px; min-height: calc(100vh - 24px); background: var(--paper); }
#demo-scroll-track { overflow-anchor: none; }
.tutorial-navigation { padding-bottom: 10px; }
.scroll-guidance { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .875rem; }
.scroll-guidance a { flex-shrink: 0; }
.player-disclaimer { padding-top: 6px; }
.compact-scene .demo-install-action { top: 30%; }
.compact-scene .demo-install-action .installation-mark { display: none; }
.compact-scene .demo-install-action h3 { margin-bottom: 16px; }
#demo-player:fullscreen .scroll-guidance, #demo-player.is-expanded .scroll-guidance { visibility: hidden; }
@media (min-width: 601px) {
  .tutorial-navigation { display: grid; grid-template-columns: 44px 1fr 44px; gap: 6px 12px; }
  .demo-chapters { grid-column: 2; grid-row: 1; justify-content: center; }
  .player-caption { display: contents; }
  #demo-back { grid-column: 1; grid-row: 1; }
  #demo-next { grid-column: 3; grid-row: 1; }
  #demo-message { grid-column: 1 / -1; grid-row: 2; min-height: 2.8em; text-align: center; }
  .scroll-guidance { grid-column: 1 / -1; }
}
#demo-player:fullscreen, #demo-player.is-expanded { background: var(--paper); padding: 20px; overflow: auto; width: 100%; height: 100%; }
#demo-player.is-expanded { position: fixed; inset: 0; z-index: 100; }
.player-open { overflow: hidden; }
.demo-mobile-hint { display: none; }
#demo-player:fullscreen .browser-demo, #demo-player.is-expanded .browser-demo { max-width: min(1400px, calc((100vh - 255px) * 1.644)); margin-inline: auto; }
#demo-player:fullscreen .player-disclaimer, #demo-player.is-expanded .player-disclaimer { display: none; }
.d-icon { height: 18px; width: 18px; flex-shrink: 0; vertical-align: middle; }
.d-sidebar { position: absolute; inset: 0 auto 0 0; width: 184px; background: white; overflow: hidden; border-right: 1px solid #e9ebf1; }
.d-logo { height: 64px; display: flex; align-items: center; padding: 0 18px; font: 600 36px Arial; color: #73ad54; letter-spacing: -1px; }
.d-logo > span:first-child { color: #999; font-weight: 400; }
.d-globe { font-size: 30px; margin-inline: 3px; }
.d-menu-section { padding: 7px 18px 4px; color: #8a939d; font-size: 9px; letter-spacing: .5px; }
.d-menu-item { height: 35px; display: flex; align-items: center; gap: 12px; padding-inline: 20px 8px; font-size: 10px; }
.d-menu-item .d-icon { width: 15px; height: 15px; }
.d-menu-item.active { color: #4dae8b; background: #f5f6fb; }
.d-topbar { position: absolute; left: 184px; right: 0; top: 0; height: 48px; display: flex; align-items: center; justify-content: end; gap: 20px; padding: 8px 28px; background: #37404a; color: #afb6bf; z-index: 2; }
.d-notification { position: absolute; top: 8px; right: 214px; border-radius: 50%; background: #f06a74; color: white; font-size: 9px; width: 12px; text-align: center; }
.d-account { text-align: right; color: #56b38f; font-size: 10px; }
.d-account small { display: block; color: #a9b0b9; font-size: 9px; }
.d-avatar { display: grid; place-items: center; height: 30px; width: 30px; background: #54b08b; color: white; border-radius: 50%; margin-left: -10px; }
.d-avatar svg { width: 24px; height: 24px; }
.d-body { position: absolute; left: 184px; right: 0; top: 48px; bottom: 0; overflow: hidden; }
.d-page { padding: 12px 24px 24px; }
.d-admin { color: #50ad8b; font-size: 15px; margin-bottom: 12px; }
.d-breadcrumb { display: flex; align-items: center; gap: 14px; color: #50ad8b; font-size: 10px; margin-bottom: 18px; }
.d-breadcrumb .d-icon { width: 12px; height: 12px; }
.d-dashboard { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.d-card { display: flex; align-items: center; flex-direction: column; background: white; padding: 28px 18px 18px; border-radius: 3px; box-shadow: 0 5px 12px #263c4910; min-width: 0; }
.d-card-icon { display: grid; place-items: center; background: #dcffec; color: #75c89c; width: 36px; height: 36px; border-radius: 50%; margin-bottom: 10px; }
.d-card strong { font-size: 11px; font-weight: 500; }
.d-card > span:not(.d-card-icon):not(.d-access) { font-size: 9px; white-space: nowrap; margin: 2px 0 14px; }
.d-access { display: flex; align-items: center; width: 100%; background: #dcffec; color: #63ba93; border-radius: 3px; height: 28px; font-size: 10px; }
.d-access .d-icon { padding: 7px; width: 32px; height: 28px; border-right: 1px solid #bde7d2; }
.d-access > span { flex: 1; text-align: center; }
.d-search { background: white; padding: 16px 18px 18px; }
.d-search-title { display: flex; align-items: center; gap: 5px; color: #4cad8a; font-size: 10px; margin-bottom: 32px; }
.d-search-title .d-icon { width: 13px; height: 13px; }
.d-search-title > span { margin-left: auto; }
.d-clear { display: inline-block; background: #e9ebf0; padding: 8px 16px; border-radius: 3px; font-size: 10px; margin-bottom: 14px; }
.d-condominium { display: flex; justify-content: space-between; align-items: center; height: 29px; padding-left: 10px; border: 1px solid #dddfe4; border-radius: 3px; font-size: 10px; }
.d-condominium span { display: grid; place-items: center; height: 100%; width: 18px; background: #eee; border-left: 1px solid #d0d2d5; }
.d-view { display: inline-block; margin: 12px 0; padding: 8px 17px; border-radius: 3px; background: #0bb783; color: white; font-size: 10px; }
.d-document-panel { background: white; border-radius: 3px; overflow: hidden; box-shadow: 0 5px 12px #263c4910; }
.d-panel-title { background: #53b18d; color: white; font-size: 11px; padding: 14px 18px; }
.d-empty { padding: 14px 18px; font-size: 10px; }
.d-tree { padding: 14px 18px; }
.d-tree-actions { display: flex; gap: 3px; }
.d-tree-actions > span { background: #53b18d; color: white; padding: 2px 16px; font-size: 10px; }
.d-tree-actions > span:last-child { background: #efb251; }
.d-filter { border: 1px solid #e6e7eb; border-radius: 3px; padding: 6px 9px; width: 175px; margin: 14px 0; font-size: 10px; }
.d-hint { color: #e36675; font-size: 10px; margin-bottom: 14px; }
.d-tree-head, .d-tree-row { display: grid; grid-template-columns: 58% 42%; }
.d-tree-head { font-size: 9px; font-weight: bold; letter-spacing: .5px; margin-bottom: 5px; }
.d-tree-row { font-size: 10px; min-height: 21px; }
.d-tree-row > :first-child { padding-left: 8px; }
.d-tree-row.d-level-1 > :first-child { padding-left: 25px; }
.d-tree-row.d-level-2 > :first-child { padding-left: 48px; }
.d-tree-row .d-icon { width: 12px; height: 12px; color: #d2b653; }
.d-level-2 .d-icon { color: #c67373; }
.d-footer { margin-top: 150px; display: flex; align-items: center; gap: 15px; font-size: 10px; }
.d-footer span { padding: 6px 12px; background: #080808; color: white; border-radius: 4px; }
.d-loading { position: absolute; inset: 0; background: #0007; z-index: 3; display: grid; place-items: center; }
.d-loading > div { width: 385px; background: white; border-radius: 4px; overflow: hidden; }
.d-loading strong { display: block; padding: 15px 18px; background: #f2b451; color: white; font: 10px Arial; }
.d-loading p { padding: 22px 24px; margin: 0; font-size: 11px; }
.demo-highlight { outline: 3px solid #bd6505 !important; outline-offset: 5px; }
@media (max-width: 600px) {
  .sim-shortcut { font-size: 44px; }
  .demo-install-action { top: 32%; width: 88%; }
  .demo-install-action .installation-mark { display: none; }
  .demo-install-action h3 { font-size: 14px; margin-bottom: 8px; }
  .demo-install-action .bookmark, .demo-bookmark-example { min-height: 48px; padding: 10px 12px; font-size: 16px; gap: 10px; }
  .demo-install-action p { font-size: 14px; line-height: 1.35; margin-top: 8px; }
  .demo-mobile-hint { display: block; }
  .player-bar { padding-inline: 8px; }
  .demo-controls { gap: 3px; }
  .demo-controls button { width: 40px; padding: 8px; }
  #demo-speed { width: 64px; }
  .player-caption { gap: 8px; align-items: start; }
  .demo-chapters button { flex: 1; padding: 10px 4px; font-size: .875rem; }
  #demo-message { min-height: 4.5em; font-size: .875rem; }
  .scroll-guidance { font-size: .875rem; gap: 8px; }
  .scroll-guidance span { max-width: 23ch; }
  #demo-player:fullscreen, #demo-player.is-expanded { padding: 8px; }
  #demo-player:fullscreen .browser-demo, #demo-player.is-expanded .browser-demo { max-width: none; }
}
.steps { padding-left: 24px; margin: 0; }
.steps li { padding: 0 0 14px 8px; }
.steps li::marker { color: var(--green); font-weight: 600; }
.completion { margin-top: 6px; }
details { border-top: 1px solid var(--line); }
summary { padding: 16px 0; font-weight: 600; cursor: pointer; line-height: 1.5; min-height: 48px; }
summary::marker { color: var(--green); }
.details-body { padding-bottom: 16px; }
.details-body p:last-child { margin-bottom: 0; }
code { font-size: .92em; overflow-wrap: anywhere; }
.file-tree { font-size: .9rem; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
label { display: block; font-size: .95rem; margin-bottom: 8px; }
textarea { width: 100%; font: 1rem/1.5 monospace; padding: 12px; color: var(--ink); background: white; border: 1px solid var(--muted); border-radius: 4px; resize: vertical; caret-color: var(--green); margin-bottom: 12px; }
textarea::placeholder { color: #5b6c64; opacity: 1; }
.manual-install { margin-top: 20px; }
#copy-state, #verify-result { margin-top: 12px; }
.code-section pre { color: white; background: #112c24; padding: 18px; border-radius: 4px; font-size: .9rem; line-height: 1.7; max-height: 480px; overflow: auto; scrollbar-color: #8fa69d #112c24; }
.code-section textarea { background: #112c24; color: white; border-color: #8fa69d; caret-color: var(--accent); }
.code-section textarea::placeholder { color: #b3c9bd; opacity: 1; }
.code-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin-bottom: 20px; }
#copy-review { width: min(100%, 340px); min-height: 54px; }
#review-fallback { margin-top: 16px; }
#review-state { margin-top: 12px; }
#review-state:empty { display: none; }
.fingerprint { display: block; color: var(--green); overflow-wrap: anywhere; }
.footer { display: flex; justify-content: space-between; gap: 24px; padding: 28px 0 36px; font-size: .9rem; color: var(--muted); }
.footer a { white-space: nowrap; }
@media (max-width: 950px) {
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .masthead { display: block; padding: 18px 0 10px; }
  nav { margin-top: 12px; gap: 22px; }
  nav a { font-size: .9rem; }
  h2 { font-size: 1.85rem; }
  .footer { display: block; }
  .footer a { display: inline-block; margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* The tutorial is the primary flow; all reference material is optional. */
.intro { padding: 24px 0 18px; }
.intro h1 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 10px; }
.intro p { margin: 0; color: var(--muted); max-width: 90ch; }
.readiness { border-block: 1px solid var(--line); padding: 12px 0; }
.readiness p { font-size: .9rem; margin: 0; color: var(--muted); }
.readiness strong { color: var(--ink); }
.tutorial { margin-top: 18px; }
.tutorial-options { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 14px; }
.tutorial-options > a { font-size: .9rem; flex-shrink: 0; }
#environment-settings { border: 0; min-width: 0; }
#environment-settings > summary { padding: 8px 0; min-height: 44px; font-size: .95rem; }
.change-label { font-weight: 400; margin-left: 16px; text-decoration: underline; text-underline-offset: 4px; color: var(--muted); }
.demo-settings { display: flex; flex-wrap: wrap; gap: 16px; padding: 8px 0 16px; max-width: 650px; }
.demo-settings > div { flex: 1 1 160px; }
.demo-settings p { flex-basis: 100%; font-size: .9rem; margin: 0; }
.installation-layout { display: block; }
.text-button { background: none; color: var(--green); border: 0; text-decoration: underline; text-underline-offset: 4px; padding: 8px 0; font-weight: 500; }
.text-button:hover { background: none; text-decoration-thickness: 2px; }
.player-disclaimer { max-width: 90ch; margin: 0; }
.support-sections { margin-top: 28px; border-bottom: 1px solid var(--line); }
.support-disclosure > summary { padding: 22px 0; font-size: 1.05rem; }
.support-disclosure > .details-body { padding: 4px 0 24px; max-width: 850px; }
.support-disclosure h3 { margin: 24px 0 12px; }
.support-disclosure h3:first-child { margin-top: 0; }
.support-disclosure details { margin: 12px 0; border: 1px solid var(--line); border-radius: 6px; background: var(--soft); overflow: hidden; }
.support-disclosure details > summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 18px; font-size: .95rem; font-weight: 550; list-style: none; }
.support-disclosure details > summary::-webkit-details-marker { display: none; }
.support-disclosure details > summary::after { content: ''; width: 8px; height: 8px; flex: 0 0 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform 150ms ease; margin-right: 3px; }
.support-disclosure details[open] > summary::after { transform: rotate(45deg); }
.support-disclosure details[open] > summary { color: var(--green); }
.support-disclosure details > summary:hover { background: #e2ebe4; }
.support-disclosure details > .details-body { padding: 4px 18px 18px; }
.support-disclosure details > pre { margin: 0 18px 18px; }
.support-disclosure .small { margin-top: 14px; }
.code-heading { margin-top: 28px; }
.code-actions span { font-size: .9rem; color: var(--muted); }
.contact { padding: 28px 0 0; }
.contact p { margin-bottom: 0; }
.contact a { overflow-wrap: anywhere; }
.android-scene { position: absolute; top: 0; width: 390px; height: 720px; transform-origin: top left; background: white; font: 14px/1.5 system-ui; color: #26332e; overflow: hidden; }
.android-player .demo-viewport { background: #e5ebe7; }
.android-player .demo-mobile-hint { display: none; }
.a-status { height: 28px; padding: 3px 20px; display: flex; justify-content: space-between; font-weight: 600; font-size: 12px; background: #eef3ed; }
.a-chrome { height: 56px; padding: 8px 14px; display: flex; align-items: center; gap: 12px; background: #eef3ed; }
.a-chrome > span { display: block; flex: 1; min-width: 0; padding: 9px 16px; border-radius: 24px; background: #dce7dd; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-page { position: relative; height: 618px; overflow: hidden; }
.a-home-indicator { width: 110px; height: 4px; border-radius: 2px; background: #273a32; margin: 8px auto; }
.a-edit { padding: 24px; }
.a-edit h3 { font-size: 20px; }
.a-intro { padding: 112px 24px 24px; height: 100%; background: #f3f6ef; text-align: center; }
.a-intro h3 { font: 400 30px/1.2 Georgia, serif; letter-spacing: -.02em; margin: 0 0 30px; }
.a-copy, .a-save { display: block; background: var(--green); color: white; padding: 14px 18px; border-radius: 5px; margin-block: 20px; text-align: center; }
.a-copy { min-height: 92px; background: transparent; }
#android-action { position: absolute; z-index: 6; display: grid; }
#android-action::after { content: 'Copia l’indirizzo del segnalibro'; grid-area: 1 / 1; visibility: hidden; pointer-events: none; font: 600 16px/1.4 system-ui; padding: 14px 18px; border: 1px solid transparent; }
#android-copy { grid-area: 1 / 1; line-height: 1.4; }
#android-copy { width: 100%; min-height: 56px; padding: 14px 18px; font-size: 16px; }
#android-copy[data-state="copied"] { background: var(--accent); color: var(--ink); border-color: var(--green); }
#android-copy[data-state="copied"]:hover { background: #d8f39d; }
.a-menu { position: absolute; right: 8px; top: 0; width: 265px; padding: 12px 0; border-radius: 12px; background: #edf4e8; box-shadow: 0 8px 24px #0003; }
.a-menu > * { display: block; padding: 14px 20px; }
.a-menu > strong { background: #d7e6cd; }
.a-edit label { margin-top: 22px; color: var(--muted); }
.a-edit > div { border-bottom: 1px solid #6c8174; padding: 6px 0 12px; }
.a-edit p { margin-top: 14px; font-size: 14px; }
.a-url { font-family: monospace; }
.a-done { color: var(--green); }
.a-d360-header { height: 54px; background: #37404a; color: white; display: flex; align-items: center; gap: 18px; padding: 12px 18px; }
.a-d360-header b { color: #9bd37b; font-size: 23px; margin-right: auto; }
.a-d360-header span { font-size: 12px; }
.a-d360-header svg { fill: white; }
.a-d360-body { padding: 16px; background: #f5f6fb; min-height: 565px; }
.a-admin { font-size: 12px; color: #357f66; margin-bottom: 8px; }
.a-d360-body h3 { font-size: 16px; margin-bottom: 20px; }
.a-card { padding: 18px; margin-bottom: 18px; background: white; text-align: center; border-radius: 3px; }
.a-card strong { font-weight: 500; }
.a-card p { font-size: 12px; margin: 6px 0 12px; }
.a-card > span { display: block; background: #dcffec; color: #377b5b; padding: 7px; }
.a-target { outline: 2px solid #bd6505; outline-offset: 3px; }
.a-search { background: white; padding: 18px; }
.a-search strong { font-size: 12px; color: #357f66; }
.a-search div { border: 1px solid #d0d8d2; margin-top: 22px; padding: 10px; font-size: 12px; }
.a-view { display: inline-block; background: #168663; color: white; padding: 10px 14px; margin: 20px 0; }
.a-documents { background: white; }
.a-documents > strong { display: block; background: #53b18d; color: white; font-size: 13px; padding: 12px; }
.a-documents p, .a-tree { padding: 14px; }
.a-tree > * { display: block; margin-bottom: 12px; }
.a-tree span { padding-left: 14px; }
.a-tree small { padding-left: 28px; font-size: 12px; }
.a-suggestion { position: absolute; inset: 0 0 auto; padding: 20px; background: #eef3ed; box-shadow: 0 5px 12px #0002; }
.a-suggestion > * { display: block; margin-bottom: 8px; }
.a-suggestion small { color: #51645e; }
.a-export { position: absolute; inset: auto 14px 14px; background: white; padding: 20px; border: 2px solid var(--green); border-radius: 8px; box-shadow: 0 8px 28px #0003; }
.a-export strong { font-size: 18px; }
.a-export p { margin-block: 12px; }
.a-export span { display: inline-block; background: var(--green); color: white; padding: 10px 15px; margin-right: 8px; border-radius: 4px; }
.sim-result .export-attribution, .a-export .export-attribution { font: 14px/1.5 system-ui; color: #666; margin: 16px 0 0; }
.export-attribution u { text-underline-offset: 3px; }
#android-install:has(#android-copy-state:empty):has(#android-address[hidden]) { display: none; }
#android-copy-state { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) {
  .support-disclosure details > summary::after { transition: none; }
}
@media (max-width: 720px) {
  .masthead { display: flex; padding: 16px 0 0; gap: 12px; }
  .masthead nav { margin: 0; gap: 16px; }
  .wordmark { font-size: 1rem; }
  .intro { padding: 24px 0 16px; }
  .intro h1 { font-size: 2rem; }
  .readiness { grid-template-columns: 1fr; gap: 8px; padding: 12px 0; }
  .tutorial-options { display: block; margin-bottom: 12px; }
  .tutorial-options > a { display: inline-block; padding: 6px 0; }
}
