:root{color-scheme:light dark;--page: light-dark(#f7f7f8, #18181b);--surface: light-dark(#ffffff, #242427);--surface-subtle: light-dark(#fafafa, #1e1e21);--surface-raised: light-dark(#ffffff, #2b2b2f);--canvas: light-dark(#ffffff, #1b1b1f);--ink: light-dark(#252529, #ededf0);--text-accent: light-dark(#4c4a64, #d0cde6);--accent: light-dark(#5854bd, #b8b2f5);--danger: light-dark(#b43b40, #f2a3a7);--warning: light-dark(#855c20, #e6c17e);--star: light-dark(#916c20, #e5c579);--selection: light-dark(#6d65ce, #b8b2f5);--pin: light-dark(#626275, #b9b7d2);--on-pin: light-dark(#ffffff, #202026);--on-action: light-dark(#ffffff, #202026);--map-edge: light-dark(#85858f, #92929e);--drawing-halo: light-dark(transparent, #e4e4e8);--shadow: light-dark(rgb(0 0 0 / .08), rgb(0 0 0 / .32));--scrim: light-dark(rgb(20 20 24 / .28), rgb(0 0 0 / .62));--toast-surface: light-dark(#2b2b30, #35353c);--toast-ink: #fafafa;--text-secondary: color-mix(in oklab, var(--ink) 80%, var(--surface));--muted: color-mix(in oklab, var(--ink) 70%, var(--surface));--line: color-mix(in oklab, var(--ink) 14%, var(--surface));--line-strong: color-mix(in oklab, var(--ink) 30%, var(--surface));--surface-hover: color-mix(in oklab, var(--ink) 5%, var(--surface));--surface-selected: color-mix(in oklab, var(--accent) 12%, var(--surface));--surface-glass: color-mix(in oklab, var(--surface) 96%, transparent);--accent-soft: color-mix(in oklab, var(--accent) 12%, var(--surface));--danger-soft: color-mix(in oklab, var(--danger) 10%, var(--surface));--warning-soft: color-mix(in oklab, var(--warning) 10%, var(--surface));--warning-line: color-mix(in oklab, var(--warning) 32%, var(--surface));--action-hover: color-mix(in oklab, var(--accent) 88%, var(--ink));--danger-hover: color-mix(in oklab, var(--danger) 88%, var(--ink));--focus-ring: color-mix(in oklab, var(--accent) 22%, transparent);--map-road: color-mix(in oklab, var(--map-edge) 12%, var(--canvas));--map-grid: color-mix(in oklab, var(--ink) 18%, var(--canvas));--map-connector: color-mix(in oklab, var(--ink) 55%, var(--canvas));--note-color: var(--pin);color:var(--ink);background:var(--page)}:root[data-appearance=light]{color-scheme:light}:root[data-appearance=dark]{color-scheme:dark}@media print{:root,:root[data-appearance]{color-scheme:only light}}@font-face{font-family:Manrope;src:url(/fonts/manrope-regular.ttf) format("truetype");font-style:normal;font-weight:400;font-display:swap}@font-face{font-family:Manrope;src:url(/fonts/manrope-semibold.ttf) format("truetype");font-style:normal;font-weight:600;font-display:swap}@font-face{font-family:Manrope;src:url(/fonts/manrope-bold.ttf) format("truetype");font-style:normal;font-weight:700;font-display:swap}@font-face{font-family:Manrope;src:url(/fonts/manrope-extrabold.ttf) format("truetype");font-style:normal;font-weight:800;font-display:swap}:root{font-family:Manrope,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}html{scrollbar-color:var(--line-strong) var(--page)}button,input,select,textarea{font:inherit}input,select,textarea{color:var(--ink);background-color:var(--surface);accent-color:var(--text-accent)}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button{border:0;background:none}button:disabled{opacity:.4;cursor:not-allowed}button,a,input,select,textarea,[tabindex]{outline-offset:4px}:focus-visible{outline:2px solid var(--accent)}a{color:inherit;text-decoration:none}input,textarea{min-width:0}input::placeholder,textarea::placeholder{color:var(--muted)}.account-screen{min-height:100dvh;display:grid;place-items:center;padding:24px}.account-panel{width:min(100%,440px);padding:32px;background:var(--surface-raised);border:1px solid var(--line);border-radius:16px}.account-panel h1{margin:0 0 24px;font-size:26px}.account-panel form,.account-panel label{display:grid;gap:8px}.account-panel form{gap:18px}.account-panel h2{margin:0 0 20px}.account-password{display:grid;gap:8px}.password-input{display:flex;align-items:center;border:1px solid var(--line);border-radius:8px}.account-panel .password-input input{border:0}.password-input button{flex-shrink:0;display:grid;place-items:center;padding:12px;min-width:44px;min-height:44px}.modal .account-panel{padding:0;border:0;width:100%}.guest-storage-notice{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:flex-start;margin:8px 0 0;font-size:11px;color:var(--text-secondary)}.guest-storage-notice details{flex:1;min-width:115px}.guest-storage-notice summary{width:fit-content;min-height:36px;align-content:center;cursor:pointer}.guest-storage-notice p{max-width:700px;margin:0 0 8px;line-height:1.6}.guest-storage-notice>.text-button{min-height:36px;flex-shrink:0}.account-panel input{padding:12px;border:1px solid var(--line);border-radius:8px;width:100%}.account-links{display:flex;flex-wrap:wrap;gap:16px;margin-top:24px;font-size:13px}.account-panel [role=alert]{color:var(--danger)}.recovery-code{display:block;overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;padding:16px;margin:16px 0;background:var(--surface-subtle)}select{cursor:pointer}svg{flex-shrink:0}::selection{background:var(--accent-soft)}.app-shell{display:flex;min-height:100vh}.sidebar{width:242px;flex-shrink:0;background:var(--surface-subtle);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:32px 20px 19px;position:fixed;inset:0 auto 0 0;z-index:20;overflow-y:auto}.sidebar-header{display:flex;align-items:center;justify-content:space-between;gap:4px;min-height:44px}.sidebar-header .brand{min-width:0;padding-left:0;gap:4px;font-size:18px}.sidebar-header .brand-symbol{width:26px}.sidebar-collapse-button{display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:7px;color:var(--text-secondary)}.sidebar-collapse-button:hover{background:var(--surface-selected);color:var(--text-accent)}.brand{display:flex;align-items:center;gap:10px;font-size:26px;font-weight:800;letter-spacing:-1.5px;padding:0 9px;white-space:nowrap}.brand-symbol{display:grid;place-items:center;width:33px;height:38px;color:var(--accent);transform:rotate(-11deg)}.brand-light{font-weight:400}.brand-dot{color:var(--accent)}.workspace-badge{margin:35px 0 31px;display:flex;align-items:center;padding:13px 10px;border:1px solid var(--line);border-radius:9px;gap:9px}.workspace-avatar{height:29px;width:29px;border-radius:7px;background:var(--surface-hover);color:var(--text-secondary);font-size:12px;font-weight:700;display:grid;place-items:center}.workspace-badge div{min-width:0}.workspace-badge strong{display:block;font-size:11px;font-weight:700}.workspace-badge div>span{display:block;font-size:11px;color:var(--muted);margin-top:4px;letter-spacing:-.15px}.local-chip{font-size:11px;color:var(--text-secondary);background:var(--surface-hover);padding:4px;border-radius:3px;letter-spacing:.6px;margin-left:auto}.nav-label{font-size:11px;font-weight:700;letter-spacing:1.6px;color:var(--muted);padding:0 13px}.main-nav{display:flex;flex-direction:column;gap:5px;margin-top:13px}.main-nav>button{display:flex;align-items:center;gap:11px;padding:12px 13px;width:100%;border-radius:6px;font-size:13px;text-align:left;color:var(--text-secondary)}.main-nav>button.active{color:var(--text-accent);background:var(--surface-selected);font-weight:700}.main-nav>button:not(.active):hover,.sidebar-circuits>button:not(.active):hover{background:var(--surface-hover)}.nav-count{font-size:11px;margin-left:auto;border-radius:4px;color:var(--muted)}.circuits-nav-label{display:flex;justify-content:space-between;align-items:center;margin:34px 0 11px;padding-right:6px}.icon-button{display:inline-flex;align-items:center;justify-content:center;padding:5px;border-radius:5px;color:var(--text-secondary)}.icon-button:hover{background:var(--surface-hover)}.sidebar-circuits{display:flex;flex-direction:column;gap:3px}.sidebar-circuits>button{display:flex;align-items:center;gap:12px;border-radius:6px;padding:9px 12px;font-size:13px;color:var(--text-secondary);text-align:left}.sidebar-circuits>button.active{background:var(--accent-soft);color:var(--accent)}.sidebar-circuits .circuit-outline{width:22px;height:23px;color:var(--muted)}.sidebar-circuits>button.active .circuit-outline{color:var(--accent)}.circuit-note-count{margin-left:auto;color:var(--muted);font-size:11px}.browse-circuits{font-size:11px;display:flex;gap:7px;align-items:center;padding:13px 15px;color:var(--muted)}.browse-circuits:hover{color:var(--accent)}.sidebar-spacer{flex:1;min-height:20px}.sidebar-tip{background:var(--surface-hover);border:1px solid var(--line);border-radius:9px;padding:16px;position:relative;overflow:hidden}.tip-icon{display:block;color:var(--muted);margin-bottom:11px}.sidebar-tip strong{font-size:11px;line-height:1.75;font-weight:600;display:block;max-width:160px}.sidebar-tip p{color:var(--muted);font-size:11px;line-height:1.8;margin:7px 0 0}.tip-line{position:absolute;width:70px;height:70px;border:1px solid var(--line);border-radius:20px 40px 8px;transform:rotate(-35deg);bottom:-28px;right:-19px}.sidebar-bottom{border-top:1px solid var(--line);margin-top:25px;padding-top:16px}.sidebar-bottom>button{border-radius:7px;min-height:44px;display:flex;align-items:center;gap:10px;padding:10px 12px;width:100%;font-size:13px;color:var(--text-secondary)}.sidebar-bottom>button:hover{color:var(--text-accent);background:var(--surface-hover)}.sidebar-bottom .appearance-trigger,.sidebar-bottom .language-trigger{justify-content:flex-start;height:auto;flex:none;border:0}.sidebar-bottom>.language-trigger .language-badge{margin-left:auto;font-size:10px;color:var(--muted)}.sidebar-save-indicator{min-height:32px;margin:8px 12px 0}.sidebar-status-label{min-width:0;overflow-wrap:anywhere}.sidebar-collapsed .sidebar-status-label{display:none}.sidebar-collapsed .sidebar-save-indicator{justify-content:center;width:44px;margin:8px 0 0}.local-status{font-size:11px;display:flex;align-items:center;gap:7px;margin:18px 12px 0;color:var(--muted)}.local-status svg{margin-left:auto;color:var(--muted)}.live-dot{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--text-accent);flex-shrink:0}.main-content{flex:1;min-width:0;margin-left:242px}.sidebar-collapsed .sidebar{width:64px;padding:18px 9px;overflow-x:hidden}.sidebar-collapsed .main-content{margin-left:64px}.sidebar-collapsed .sidebar-header{flex-direction:column;gap:10px}.sidebar-collapsed .sidebar-header .sidebar-collapse-button{flex:0 0 44px;width:44px;height:44px}.sidebar-collapsed .sidebar-header .brand{padding:0}.sidebar-collapsed .sidebar-header .brand-symbol{width:44px}.sidebar-collapsed .brand-name,.sidebar-collapsed .sidebar-label,.sidebar-collapsed .nav-count,.sidebar-collapsed .circuit-note-count,.sidebar-collapsed .circuits-nav-label,.sidebar-collapsed .sidebar-bottom>button>svg:last-child:not(:first-child){display:none}.sidebar-collapsed .sidebar-bottom>button>svg:first-child{display:block;margin:0}.sidebar-collapsed .main-nav{margin-top:24px}.sidebar-collapsed .main-nav>button,.sidebar-collapsed .sidebar-circuits>button,.sidebar-collapsed .sidebar-bottom>button{justify-content:center;width:44px;min-height:44px;padding:0}.sidebar-collapsed .sidebar-circuits{margin-top:24px;padding-top:17px;border-top:1px solid var(--line)}.sidebar-collapsed .sidebar-circuits>button{gap:0}.sidebar-collapsed .sidebar-circuits .circuit-outline{width:29px;height:29px}.sidebar-collapsed .browse-circuits{justify-content:center;width:44px;min-height:44px;padding:0}.sidebar-browse-icon{display:none}.sidebar-collapsed .browse-circuits .sidebar-browse-icon{display:block}.sidebar-collapsed .browse-circuits>svg:last-child{display:none}.sidebar-collapsed .sidebar-bottom{margin-top:12px;padding-top:10px}.appearance-trigger{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid var(--line);border-radius:8px}.appearance-trigger:hover{background:var(--surface-hover)}.language-trigger{display:inline-flex;align-items:center;justify-content:center;gap:6px;flex-shrink:0;min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:8px;font-size:11px;font-weight:600}.language-trigger:hover{background:var(--surface-hover)}.language-options,.appearance-options{display:grid;gap:4px}.language-choice,.appearance-choice{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;padding:10px 14px;border:1px solid transparent;border-radius:8px;cursor:pointer}.language-choice:hover,.language-choice.is-selected,.appearance-choice:hover,.appearance-choice.is-selected{background:var(--surface-hover)}.language-choice:focus-within,.appearance-choice:focus-within{border-color:var(--text-accent)}.appearance-choice>span{flex:1}.language-choice>span,.appearance-choice>span{display:grid;gap:3px}.language-choice strong,.appearance-choice strong{font-size:14px;font-weight:600}.language-choice small,.appearance-choice small{font-size:11px;color:var(--muted)}.language-choice input,.appearance-choice input{width:18px;height:18px;accent-color:var(--text-accent)}.save-indicator{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px}.save-error{color:var(--danger)}.page-content{padding:36px 38px 0;max-width:1650px;margin:0 auto}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.eyebrow{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:11px;letter-spacing:1.6px;font-weight:700;margin:1px 0 12px}.eyebrow>span{width:12px;height:1px;background:var(--text-accent)}h1{margin:0;font-size:clamp(26px,2.5vw,39px);font-weight:600;letter-spacing:-1.4px;line-height:1.3}.orange-period{color:var(--accent)}.page-intro p{color:var(--text-secondary);font-size:11px;margin:11px 0 0;letter-spacing:.05px}.button{border:1px solid transparent;border-radius:6px;min-height:40px;padding:9px 13px;font-size:12px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:background .15s,border-color .15s;white-space:nowrap}.button-secondary{border-color:var(--line);background:var(--surface);color:var(--text-secondary)}.button-secondary:hover{background:var(--surface-hover);border-color:var(--line-strong)}.button-primary{color:var(--on-action);background:var(--accent);border-color:var(--accent)}.button-primary:hover{background:var(--action-hover)}.button-danger{color:var(--on-action);background:var(--danger)}.button-danger:hover{background:var(--danger-hover)}.export-button{margin-top:20px;font-size:11px}.notebook-export-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.notebook{border:1px solid var(--line);border-radius:10px;background:var(--surface);overflow:hidden;box-shadow:0 5px 20px -14px var(--shadow)}.notebook-heading{display:flex;align-items:center;padding:23px 25px;gap:14px}.circuit-heading-icon{width:46px;height:46px;border-radius:9px;background:var(--surface-hover);color:var(--muted);display:grid;place-items:center;border:1px solid var(--line)}.circuit-heading-text{min-width:0}.circuit-title-line{display:flex;align-items:center;gap:11px}.circuit-title-line h2{font-size:19px;font-weight:600;letter-spacing:-.5px;margin:0}.country-badge{font-size:11px;letter-spacing:.5px;color:var(--text-secondary);background:var(--surface-hover);padding:4px 6px;border:1px solid var(--line);border-radius:4px;font-weight:700;display:inline-block}.flag-be{background:linear-gradient(90deg,var(--surface-selected) 0 33%,var(--warning-soft) 33% 66%,var(--danger-soft) 66%)}.flag-it{background:linear-gradient(90deg,var(--surface-selected) 0 33%,var(--surface) 33% 66%,var(--danger-soft) 66%)}.flag-de{background:linear-gradient(180deg,var(--surface-selected) 0 33%,var(--danger-soft) 33% 66%,var(--warning-soft) 66%)}.circuit-heading-text p{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:11px;color:var(--text-secondary);margin:8px 0 0}.circuit-heading-text p>span{color:var(--muted)}.change-circuit{margin-left:auto;font-size:11px;min-height:33px;padding:7px 11px}.notebook-filters{min-height:49px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:var(--surface-subtle);padding:0 25px;gap:16px}.context-selects{display:flex;align-items:center;gap:20px}.context-select{position:relative;display:flex;align-items:center;gap:9px}.context-select select{background:none;border:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;color:var(--text-secondary);padding:7px 18px 7px 0;font-size:12px;max-width:220px}.context-select>svg:last-child{position:absolute;right:0;pointer-events:none;color:var(--muted)}.sim-indicator{width:7px;height:7px;background:var(--text-accent);border-radius:2px}.small-car-icon{color:var(--muted);height:16px}.filter-separator{height:16px;width:1px;background:var(--line)}.context-help{font-size:11px;color:var(--muted);white-space:nowrap}.notebook-view .page-content{padding:8px 12px 20px;max-width:none}.notebook-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px 16px;min-width:0;min-height:66px;padding:8px 14px;border-bottom:1px solid var(--line)}.notebook-identity{flex:1;min-width:0}.notebook-identity h1{font-size:20px;line-height:1.3;letter-spacing:-.6px;overflow-wrap:anywhere}.notebook-identity p{display:flex;flex-wrap:wrap;gap:4px 7px;margin:5px 0 0;color:var(--text-secondary);font-size:11px;line-height:1.5}.identity-separator{color:var(--muted)}.notebook-switch-icon,.theater-version{display:none}.notebook-toolbar-actions{display:flex;align-items:center;gap:6px;flex-shrink:0;min-width:0}.notebook-action{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:7px 10px;border-radius:6px;color:var(--text-secondary);font-size:11px;white-space:nowrap}.notebook-action:hover{background:var(--surface-hover)}.notebook-version-select{min-width:100px;max-width:165px;min-height:36px;padding:7px 8px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);font-size:12px;text-overflow:ellipsis}.theater-toggle{border:1px solid var(--line)}.notebook-save-status{display:none;font-size:10px;color:var(--muted)}.notebook-identity .notebook-save-status{display:inline-block;width:140px;height:16px;margin-left:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.notebook-save-status.save-error{color:var(--danger);font-weight:600}.notebook-body{display:flex;position:relative}.notebook-workspace,.notebook-map-pane{min-width:0}.notebook-workspace.is-split{height:var(--workspace-height);display:grid;grid-template-rows:minmax(0,var(--map-pane-height)) 12px minmax(0,1fr)}.is-split>.notebook-map-pane{min-height:0;display:flex;flex-direction:column}.is-split .notebook-body{flex:1;min-height:0}.is-split .canvas-column{min-height:0}.notebook-workspace.is-split .notebook-body .map-canvas{height:auto;min-height:0;flex:1}.is-split .map-credits{flex-shrink:0;max-height:35%;overflow-y:auto}.workspace-divider{position:relative;z-index:8;display:grid;place-items:center;min-width:44px;cursor:row-resize;touch-action:none;background:var(--surface);border-block:1px solid var(--line);outline-offset:-2px}.workspace-divider>span{width:44px;height:3px;border-radius:2px;background:var(--line-strong);pointer-events:none}.workspace-divider:before{content:"";position:absolute;inset:-16px max(0px,calc(50% - 90px))}.workspace-divider:hover>span,.workspace-divider:focus-visible>span,.is-resizing .workspace-divider>span{background:var(--accent)}.is-resizing,.is-resizing *{cursor:row-resize!important;-webkit-user-select:none;user-select:none}.notebook-note-pane{min-width:0;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}.notebook-note-pane .selected-note{min-height:100%;border-top:0}.notebook-note-pane .selected-note-body{max-height:none;resize:none;overflow-y:hidden}.notebook-note-pane .selected-note-toolbar{position:sticky;top:0;z-index:2;background:var(--surface)}.notebook-body .map-canvas{height:max(420px,calc(100dvh - 160px));min-height:0;flex:none}.notebook-body .circuit-map{min-height:0}.theater-open .notebook{position:fixed;top:10px;right:10px;bottom:10px;left:10px;z-index:30;display:flex;flex-direction:column;border-radius:10px;box-shadow:0 18px 60px var(--shadow)}.theater-open .sidebar,.theater-open .page-content>:not(.notebook){visibility:hidden}.theater-open .notebook-toolbar{flex-shrink:0;min-height:62px;padding:9px 14px;flex-wrap:wrap;gap:8px 16px}.theater-open .notebook-identity h1{font-size:16px}.theater-open .notebook-identity p{margin-top:2px;font-size:10px}.theater-open .theater-version{display:inline}.theater-version:before{content:"·";margin-right:7px}.theater-open .notebook-toolbar-actions{order:2}.theater-open .notebook-version-select,.theater-open .notebook-switch,.theater-open .notebook-find,.theater-open .notebook-options,.theater-open .notebook-description{display:none}.notebook-description{margin:0;padding:0 18px;border-top:1px solid var(--line);color:var(--text-secondary);font-size:12px;line-height:1.7}.notebook-description summary{width:fit-content;padding:7px 0;cursor:pointer;font-size:11px}.notebook-description p{max-width:820px;margin:4px 0 10px;white-space:pre-wrap;overflow-wrap:anywhere}.notebook-description .text-button{min-height:36px;margin-bottom:8px}.theater-open .notebook-save-status{display:inline}.theater-open .notebook-workspace,.theater-open .notebook-map-pane,.theater-open .notebook-body{flex:1;min-height:0;display:flex;flex-direction:column}.theater-open .canvas-column{min-height:0}.theater-open .notebook-body .map-canvas{height:auto;min-height:0;flex:1}.selected-note{padding:0 22px 22px;border-top:1px solid var(--line);outline:none}.selected-note-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;min-height:62px;padding:8px 0}.selected-note-position{font-size:12px;font-weight:600;white-space:nowrap}.selected-note-location{font-size:11px;color:var(--muted)}.selected-note-actions{display:flex;align-items:center;gap:5px;margin-left:auto}.selected-note-actions .icon-button,.selected-note-actions .text-button,.selected-note-actions .more-menu-trigger{min-width:44px;min-height:44px}.selected-note-divider{width:1px;height:18px;background:var(--line);margin:0 4px}.selected-note-actions button:disabled{opacity:.35;cursor:default}.selected-note-content{width:100%;min-width:0}.selected-note-status{font-size:11px;color:var(--muted)}.selected-note-title{display:block;width:100%;min-height:44px;margin:0 0 8px;padding:6px 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--ink);font-size:18px;font-weight:600;line-height:1.45;letter-spacing:-.3px}.selected-note-title:hover,.selected-note-body:hover{background:var(--surface-subtle)}.selected-note-title:focus,.selected-note-body:focus{outline:2px solid var(--focus-ring);outline-offset:1px;background:var(--surface-subtle);border-color:var(--line-strong)}.selected-note-body{display:block;width:100%;min-height:112px;max-height:440px;margin:0;padding:8px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:14px;line-height:1.8;resize:vertical}.selected-note-content .editor-tags{margin:4px 8px 0}.selected-note-content .editor-tags .text-button{min-height:44px}.selected-note-sample{color:var(--muted);font-size:11px;margin:14px 0 0}.note-finder-sort{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 8px;color:var(--muted);font-size:11px}.note-finder-sort select{min-height:36px;max-width:60%;border:0;background:var(--surface);color:var(--text-secondary);font-size:12px}.note-finder-results{display:grid;gap:3px;max-height:50dvh;overflow-y:auto;overscroll-behavior:contain}.note-finder-result{display:flex;align-items:center;gap:12px;min-height:48px;width:100%;padding:10px;border-radius:6px;text-align:left}.note-finder-result:hover,.note-finder-result:focus-visible{background:var(--surface-selected)}.note-finder-label{flex:1;min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.5}.note-finder-result svg{flex-shrink:0;color:var(--text-accent)}.note-finder-empty{padding:18px 4px;color:var(--text-secondary);font-size:12px;line-height:1.7}.note-finder-empty h3{font-size:14px;color:var(--ink)}@media(max-width:1150px)and (min-width:761px){.notebook-toolbar{flex-wrap:wrap;gap:10px}.notebook-toolbar-actions{margin-left:auto}.notebook-find>span,.theater-toggle>span{display:none}.notebook-find,.theater-toggle{min-width:36px}}.canvas-column,.theater-open .map-canvas,.theater-open .circuit-map{min-height:0}.theater-open .map-credits{flex-shrink:0}.canvas-column{min-width:0;flex:1;display:flex;flex-direction:column}.map-canvas{position:relative;flex:1;min-height:517px;overflow:hidden;background:var(--canvas)}.circuit-map{display:block;width:100%;height:100%;min-height:517px;position:absolute;top:0;right:0;bottom:0;left:0;-webkit-user-select:none;user-select:none;touch-action:none}.tool-note .circuit-map,.tool-draw .circuit-map{cursor:crosshair}.tool-select .circuit-map{cursor:grab}.tool-select .circuit-map:active{cursor:grabbing}.map-caption{position:absolute;top:20px;left:21px;display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px;font-weight:600;letter-spacing:1px;z-index:2;pointer-events:none}.map-caption .live-dot{height:4px;width:4px}.map-caption>span:last-child{font-weight:400;color:var(--muted);font-size:11px;letter-spacing:0}.map-caption-divider{color:var(--muted);margin:0 1px}.map-tools{display:flex;flex-direction:column;align-items:center;position:absolute;left:17px;top:18px;padding:5px;border:1px solid var(--line);background:var(--surface-glass);border-radius:9px;box-shadow:0 2px 9px var(--shadow);z-index:3;gap:5px}.map-tools button{display:flex;align-items:center;justify-content:center;gap:8px;border-radius:5px;height:36px;min-width:36px;color:var(--muted);padding:0}.map-tools button:hover{background:var(--surface-hover);color:var(--text-accent)}.map-tools button.active{color:var(--text-accent);background:var(--surface-selected)}.map-tools .map-place-note{width:100%;min-width:0;min-height:36px;padding:0 9px;justify-content:center;background:var(--accent);color:var(--on-action);font-size:12px;font-weight:700;letter-spacing:.01em}.map-tools .map-place-note:hover,.map-tools .map-place-note.active{background:var(--action-hover);color:var(--on-action)}.map-tools .map-place-note.active{box-shadow:inset 0 0 0 2px var(--action-hover)}.map-tool-options{display:flex;align-items:center;gap:3px}.map-tool-options .tool-divider{width:1px;height:18px;margin:0 2px}.map-tool-options button:disabled{opacity:.4}.tool-divider{background:var(--line);height:1px;width:25px;margin:2px auto;flex-shrink:0}.track-road{fill:var(--map-road)}.track-edge{fill:none;stroke:var(--map-edge);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.circuit-outline .track-road{fill:currentColor;opacity:.12}.circuit-outline .track-edge{stroke:currentColor;stroke-width:3}.corner-label{font-family:Manrope,sans-serif;font-size:11px;fill:var(--text-secondary);letter-spacing:.4px;font-weight:600;paint-order:stroke;stroke:var(--canvas);stroke-width:5px;stroke-linejoin:round;pointer-events:none}.sector-label{font-size:12px;fill:var(--text-secondary);letter-spacing:.5px}.note-marker{cursor:pointer;outline:none}.note-marker:focus-visible .note-marker-visual>circle{stroke:var(--ink);stroke-width:4px}.note-marker.selected .note-marker-visual>circle:not(:first-child){stroke-width:4px}.tool-select .note-marker{cursor:grab}.tool-select .note-marker:active{cursor:grabbing}.drawn-line{filter:drop-shadow(0 0 .8px var(--drawing-halo));fill:none;stroke:var(--accent);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;opacity:.85;pointer-events:none}.drawing-preview{opacity:.6}.drawing-handle{cursor:move;outline:none}.drawing-handle-visual,.drawing-anchor-preview circle{fill:var(--canvas);stroke:var(--text-accent);pointer-events:none}.drawing-handle:focus-visible .drawing-handle-visual{fill:var(--text-accent);stroke:var(--canvas)}.racing-line{outline:none}.tool-select .racing-line{cursor:pointer}.line-hit-target{fill:none;stroke:transparent;stroke-linecap:round;stroke-linejoin:round}.line-selection{fill:none;stroke:var(--selection);stroke-linecap:round;stroke-linejoin:round;opacity:0;pointer-events:none}.racing-line.is-selected .line-selection,.racing-line:focus-visible .line-selection{opacity:.25}.line-properties{position:absolute;top:18px;right:17px;z-index:3;width:226px;max-width:calc(100% - 80px);padding:10px;border:1px solid var(--line);border-radius:8px;background:var(--surface-glass);box-shadow:0 2px 9px var(--shadow)}.canvas-note-tools{position:absolute;right:17px;top:12px;z-index:5;display:flex;align-items:center;gap:6px}.canvas-text-toggle{display:flex;align-items:center;gap:6px;min-height:34px;padding:6px 10px;border:1px solid var(--line);border-radius:7px;background:var(--surface-glass);font-size:12px;color:var(--muted);white-space:nowrap}.canvas-text-toggle[aria-pressed=true]{background:var(--surface-selected);color:var(--text-accent);border-color:var(--line-strong)}.bubble-size-control{display:flex;align-items:center;gap:7px;min-height:34px;padding:0 8px;border:1px solid var(--line);border-radius:7px;background:var(--surface-glass);color:var(--muted);font-size:11px}.bubble-size-control .note-size-slider{width:84px;height:32px;margin:0;accent-color:var(--text-accent);cursor:pointer}.note-size-value{display:flex;align-items:center;min-width:44px;min-height:32px;border-radius:4px;font-variant-numeric:tabular-nums}.note-size-value:hover{background:var(--surface-selected)}.note-size-value input{width:35px;min-width:0;height:30px;padding:2px;margin:0;border:0;border-radius:4px;background:transparent;color:var(--ink);text-align:right;font:inherit;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.note-size-value input::-webkit-inner-spin-button,.note-size-value input::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0}.note-size-value:focus-within{outline:2px solid var(--text-accent);outline-offset:2px}.note-size-value input:focus{outline:none;box-shadow:none}.bubble-history-tools{position:absolute;right:17px;top:54px;z-index:5;display:flex;align-items:center;gap:3px;padding:3px;border:1px solid var(--line);border-radius:7px;background:var(--surface-glass)}.bubble-history-tools button{display:flex;align-items:center;gap:5px;min-height:28px;padding:4px 6px;border-radius:4px;color:var(--muted);font-size:11px}.bubble-history-tools button:hover{background:var(--surface-selected);color:var(--text-accent)}.bubble-history-tools button:disabled{opacity:.4}.map-canvas:has(.canvas-text-toggle) .line-properties{top:54px}.map-canvas:has(.bubble-history-tools) .line-properties{top:94px}.canvas-note-layer{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:hidden}.canvas-note-world{position:absolute;left:0;top:0;width:1000px;height:660px;transform-origin:0 0;pointer-events:none}.canvas-editor-world{z-index:6}.map-canvas .map-tools,.map-canvas .zoom-tools{z-index:5}.note-connectors{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;overflow:visible}.note-connectors line{stroke:var(--map-connector);stroke-width:1.25;stroke-dasharray:3 3}.canvas-note-editor,.canvas-note-bubble{position:absolute;background:var(--surface);border:1px solid var(--line-strong);border-radius:10px;box-shadow:0 5px 20px var(--shadow);pointer-events:auto;overflow:auto;overscroll-behavior:contain}.canvas-note-editor{z-index:2;padding:10px;border-left:3px solid var(--note-color)}.canvas-note-editor .editor-heading{gap:5px;padding-bottom:5px}.canvas-note-editor .editor-heading [role=status]{flex:1;font-size:10px}.canvas-note-editor .inline-note-body{display:block;width:100%;min-height:54px;max-height:220px;padding:0;border:0;border-radius:0;background:transparent;color:var(--ink);line-height:1.5;resize:none;font-size:12px}.canvas-note-editor .inline-note-title{display:block;width:100%;padding:0;margin-bottom:7px;border:0;border-radius:0;background:transparent;font-size:12px;font-weight:600;min-height:24px}.inline-note-body:focus,.inline-note-title:focus{outline:none;box-shadow:none}.canvas-note-editor:focus-within{border-color:var(--line-strong)}.inline-note-number{min-width:18px;font-size:12px;color:var(--note-color)}.canvas-note-editor .editor-tags{margin:4px 0 0;gap:4px}.canvas-note-editor .editor-tags .text-button,.canvas-note-editor .inline-add-title{font-size:11px;min-height:24px}.canvas-note-bubble{padding:10px;border-left:3px solid var(--note-color)}.canvas-bubble-tools{position:absolute;right:4px;top:4px;z-index:1}.bubble-drag-handle{display:grid;place-items:center;width:25px;height:25px;border-radius:5px;color:var(--muted);cursor:grab;touch-action:none}.bubble-drag-handle:active{cursor:grabbing}.bubble-drag-handle:hover,.bubble-drag-handle:focus-visible{background:var(--surface-selected);color:var(--text-accent)}.canvas-note-bubble .canvas-bubble-heading{padding-right:24px}.canvas-bubble-tools+.canvas-bubble-heading{min-height:25px}.canvas-bubble-heading{display:flex;align-items:flex-start;gap:7px;width:100%;text-align:left;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.canvas-bubble-heading>span:first-child{color:var(--note-color);min-width:18px;font-variant-numeric:tabular-nums}.canvas-bubble-body{margin:7px 0 0;font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.canvas-note-bubble .canvas-bubble-body{cursor:text}.canvas-bubble-heading .canvas-bubble-body{margin:0;min-width:0;font-weight:400}.line-properties header{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:36px;font-size:12px}.line-properties header>strong{min-width:0;overflow-wrap:anywhere}.line-completion{display:flex;align-items:center;flex-shrink:0;gap:4px}.line-finish{display:flex;align-items:center;justify-content:center;gap:4px;min-height:36px;padding:0 6px;border-radius:5px;color:var(--text-accent);font-size:11px}.line-finish:hover{background:var(--surface-hover)}.line-finish:disabled{opacity:.4}@media(pointer:coarse){.line-completion button{min-height:44px;min-width:44px}}.line-shape-picker{display:flex;gap:3px;margin-bottom:8px}.line-shape-picker button{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:44px;padding:4px 2px;border:1px solid transparent;border-radius:5px;color:var(--text-secondary);font-size:10px;overflow-wrap:anywhere}.line-shape-picker button[aria-pressed=true]{background:var(--surface-selected);border-color:var(--text-accent);color:var(--text-accent)}.line-shape-picker button:hover{background:var(--surface-selected)}.line-width-control{display:flex;align-items:center;gap:8px;min-height:40px;margin-top:6px;color:var(--text-secondary);font-size:11px}.line-width-control input{flex:1;min-width:0;width:100%;height:36px;accent-color:var(--text-accent);cursor:pointer}.line-width-control output{min-width:30px;text-align:right;font-variant-numeric:tabular-nums}.line-width-control>svg{flex-shrink:0}.line-color-picker{display:flex;align-items:center;gap:4px;margin-top:6px}.line-color-picker button{display:grid;place-items:center;min-height:34px;border:1px solid transparent;border-radius:5px}.line-color-picker button{flex:1;min-width:0;padding:3px}.line-color span{box-shadow:0 0 0 1px var(--line-strong);display:block;height:20px;width:20px;border-radius:4px}.line-color-picker button[aria-pressed=true]{border-color:var(--text-accent);background:var(--surface-selected)}.line-color-picker button:hover{background:var(--surface-selected)}@media(max-width:600px){.line-properties{top:12px;right:10px;width:222px}.line-color-picker button{min-height:44px}}.map-hint{position:absolute;bottom:20px;left:21px;display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);max-width:calc(100% - 180px);line-height:1.6;pointer-events:none}.hint-dot{width:4px;height:4px;background:var(--text-accent);border-radius:50%}.zoom-tools{position:absolute;right:18px;bottom:14px;display:flex;align-items:center;padding:4px;background:var(--surface-glass);border:1px solid var(--line);border-radius:6px;gap:3px;z-index:3}.zoom-tools button{display:grid;place-items:center;padding:6px;color:var(--muted);border-radius:3px}.zoom-tools button:hover{background:var(--surface-selected)}.zoom-tools>span:not(.tool-divider){font-size:11px;color:var(--muted);padding:0 4px;min-width:36px;text-align:center}.zoom-tools .tool-divider{height:16px;width:1px;margin:0 3px}.map-watermark{position:absolute;bottom:62px;right:24px;color:var(--muted);font-size:17px;letter-spacing:-.8px;font-weight:600;pointer-events:none;opacity:.6}.map-watermark span{display:block;font-weight:400;font-size:11px;letter-spacing:.85px;margin-top:3px}.canvas-footer{padding:13px 21px;border-top:1px solid var(--line);background:var(--surface-subtle);font-size:11px;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:40px}.canvas-footer>div{display:flex;align-items:center;gap:7px}.canvas-footer svg{color:var(--muted)}.footer-dot{color:var(--muted)}.schematic-label{color:var(--muted);font-size:11px}.map-credits{padding:0 21px 10px;background:var(--surface-subtle);color:var(--muted);font-size:11px;line-height:1.6}.map-credits summary{width:fit-content;padding:8px 0;cursor:pointer}.map-credits summary:focus-visible{outline:2px solid var(--text-accent);outline-offset:3px;border-radius:3px}.map-attribution{margin:4px 0 0;overflow-wrap:anywhere}.map-attribution a{color:var(--text-accent);text-underline-offset:2px}.notes-panel{width:310px;border-left:1px solid var(--line);padding:22px 19px 0;flex-shrink:0;display:flex;flex-direction:column;background:var(--surface)}.notes-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:19px}.notes-panel-heading h3{margin:0;font-size:13px;font-weight:700;display:flex;gap:8px;align-items:center}.count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 4px;background:var(--surface-selected);color:var(--muted);font-size:11px;font-weight:400;border-radius:4px}.notes-panel-heading p{font-size:11px;color:var(--muted);margin:6px 0 0}.notebook-context{display:flex;align-items:end;gap:14px;padding:18px 24px;border-top:1px solid var(--line);background:var(--surface-subtle);flex-wrap:wrap}.notebook-context>label{display:flex;flex-direction:column;gap:7px;flex:1;min-width:120px}.notebook-bound-context{display:flex;flex-direction:column;gap:6px;flex:3;min-width:0;overflow-wrap:anywhere}.notebook-bound-context .eyebrow{font-size:9px}.notebook-bound-context strong{font-size:15px;font-weight:600}.notebook-bound-context>span:last-child{font-size:11px;color:var(--text-secondary)}.notebook-context label>span{font-size:10px;font-weight:600;color:var(--text-secondary);letter-spacing:.4px}.notebook-context select{width:100%;min-width:0;max-width:220px;border:1px solid var(--line);border-radius:6px;background:var(--surface-raised);padding:9px;color:var(--text-secondary);font-size:12px}.notebook-context>button{min-height:35px;font-size:11px}.notebook-selection{display:flex;align-items:center;gap:14px;width:100%;min-height:66px;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:var(--surface-subtle);text-align:left;color:var(--text-secondary)}.notebook-selection:hover{border-color:var(--line-strong);background:var(--surface-selected)}.notebook-selection>span:not(.selection-track-art){display:grid;gap:5px;min-width:0}.notebook-selection strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.notebook-selection small{font-size:11px;color:var(--text-secondary);overflow-wrap:anywhere}.notebook-selection>svg:last-child{margin-left:auto;flex-shrink:0}.selection-track-art{display:block;width:65px;height:44px;flex-shrink:0}.selection-track-art svg{width:100%;height:100%}.car-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:12px}.car-picker-actions{display:flex;justify-content:space-between;gap:10px;margin-bottom:16px;flex-wrap:wrap}.car-picker-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;flex-wrap:wrap}.car-picker-controls>label,.track-picker-controls>label{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--text-secondary)}.car-picker-controls select,.track-picker-controls select{border:1px solid var(--line);border-radius:6px;background:var(--surface-subtle);padding:9px;max-width:150px;color:var(--text-secondary)}.track-picker-controls{display:flex;justify-content:flex-end;margin-bottom:18px}.car-scope{display:flex;gap:3px;padding:3px;background:var(--surface-selected);border-radius:7px}.car-scope button{padding:9px 12px;border-radius:5px;font-size:12px}.car-scope button[aria-pressed=true]{background:var(--surface);box-shadow:0 1px 4px var(--shadow)}.car-groups,.circuit-country-groups{display:grid;gap:8px}.car-label-options{display:grid;gap:5px;margin-top:16px;max-height:45vh;overflow-y:auto}.car-label-options>button{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;min-height:44px;border:1px solid var(--line);border-radius:6px;text-align:left;overflow-wrap:anywhere}.car-label-options>button:hover{background:var(--surface-hover)}.car-group,.circuit-country-group{border:1px solid var(--line);border-radius:8px;overflow:hidden}.car-group-heading,.circuit-country-heading{display:flex;align-items:center;gap:10px;padding:13px;width:100%;text-align:left;color:var(--text-secondary);min-height:44px}.car-group-heading strong,.circuit-country-heading strong{font-size:13px;overflow-wrap:anywhere}.car-group-heading>span,.circuit-country-heading>span{margin-left:auto;font-size:11px;color:var(--muted)}.car-group-heading[aria-expanded=false]>svg,.circuit-country-heading[aria-expanded=false]>svg{transform:rotate(-90deg)}.car-group-heading:hover,.circuit-country-heading:hover{background:var(--surface-hover)}.circuit-country-group .circuit-grid{padding:0 10px 10px}.car-group .car-choice-grid{padding:0 10px 10px;gap:8px}.car-choice-copy{display:grid;flex:1;min-width:0;gap:5px}.car-choice-copy small{font-size:11px;color:var(--text-secondary);overflow-wrap:anywhere}.car-choice{display:flex;align-items:center;gap:12px;min-height:82px;padding:16px;text-align:left;border:1px solid var(--line);border-radius:8px;color:var(--text-secondary);background:var(--surface-subtle)}.car-choice:hover,.car-choice.current{border-color:var(--line-strong);background:var(--surface-selected)}.car-choice strong{flex:1;font-size:13px;font-weight:600;overflow-wrap:anywhere}.car-choice svg{flex-shrink:0}.custom-car-choice{margin-bottom:18px;max-width:100%;overflow-wrap:anywhere;white-space:normal;text-align:left}.notebook-scope{padding:11px 24px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:11px;color:var(--text-secondary);flex-wrap:wrap}.notebook-scope>span,.notebook-scope>label{display:flex;align-items:center;gap:7px}.notebook-scope input,.duplicate-option input{accent-color:var(--text-accent)}.location-group{display:flex;flex-direction:column;gap:7px;padding-bottom:8px}.location-group-heading{display:flex;align-items:center;gap:5px;padding:8px 2px 5px}.location-group-heading>button:first-child{display:flex;align-items:center;text-align:left;gap:7px;padding:3px 0;flex:1;min-width:0;color:var(--text-accent)}.location-group-heading strong{font-size:11px;line-height:1.6;overflow-wrap:anywhere}.location-group-heading svg{flex-shrink:0}.location-back{display:flex;align-items:center;gap:5px;padding:8px;border:1px solid var(--line);border-radius:5px;background:var(--surface-subtle);color:var(--text-secondary);font-size:11px;margin-bottom:10px;text-align:left}.location-back>svg:first-child{transform:rotate(180deg);flex-shrink:0}.location-back>span{overflow-wrap:anywhere;margin-left:auto;font-size:10px}.clear-note-filters{margin:-4px 0 10px}.notebook-library-search{max-width:520px;margin-bottom:23px;padding:12px}.notebook-library-search input{font-size:13px}.notebook-library{display:flex;flex-direction:column;gap:22px}.library-intro{display:flex;justify-content:flex-end;align-items:center;gap:20px}.library-intro h2{margin:0;font-size:17px;font-weight:600}.library-intro p{font-size:12px;color:var(--text-secondary);line-height:1.8}.library-actions{display:flex;flex-wrap:wrap;gap:8px}.library-layout-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:18px 20px 0}.legacy-notebook{border-style:dashed}.note-gear{font-size:12px;color:var(--text-secondary);margin:0 0 10px}.track-notebook-group{border:1px solid var(--line);border-radius:10px;background:var(--surface);overflow:hidden}.track-notebook-group>header{display:flex;align-items:center;gap:16px;padding:22px;border-bottom:1px solid var(--line);background:var(--surface-subtle)}.library-track-art{width:80px;height:65px;color:var(--text-accent);flex-shrink:0}.library-track-art svg{width:100%;height:100%}.track-notebook-group header .eyebrow{font-size:9px;margin-bottom:5px}.track-notebook-group h3{font-size:18px;margin:0 0 6px}.track-notebook-group header p{display:flex;gap:6px;align-items:center;font-size:11px;color:var(--muted);margin:0}.layout-count{margin-left:auto;font-size:11px;color:var(--muted);white-space:nowrap}.notebook-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(215px,1fr));gap:14px;padding:20px}.library-layout+.library-layout{border-top:1px solid var(--line)}.library-empty-layout{padding:0 20px 20px;color:var(--muted);font-size:12px}.library-layout-heading h4{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--text-accent);margin:0}.notebook-choice{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:18px;border:1px solid var(--line);border-radius:7px;background:var(--surface-raised);gap:8px;transition:background .15s,border-color .15s}.notebook-choice:hover{border-color:var(--line-strong);background:var(--surface-hover)}.notebook-library-card{position:relative;min-width:0;display:flex}.notebook-library-card .notebook-choice{width:100%}.notebook-library-card .notebook-choice-top{padding-right:36px}.more-menu{display:inline-flex}.more-menu-trigger{min-width:36px;min-height:36px}.notebook-more-menu{position:absolute;top:9px;right:9px}.more-menu-popover{position:fixed;inset:auto;margin:0;width:190px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow-y:auto;padding:6px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);box-shadow:0 8px 28px var(--shadow)}.more-menu-popover::backdrop{background:transparent}.more-menu-delete{display:flex;align-items:center;gap:9px;width:100%;min-height:38px;padding:8px 10px;border-radius:5px;text-align:left;color:var(--danger);font-size:12px}.more-menu-delete:hover,.more-menu-delete:focus-visible{background:var(--danger-soft)}.more-menu-action{display:flex;align-items:center;gap:9px;width:100%;min-height:38px;padding:8px 10px;border-radius:5px;text-align:left;font-size:12px}.more-menu-action:hover,.more-menu-action:focus-visible{background:var(--surface-selected)}.note-order-list{display:flex;flex-direction:column;gap:4px;margin-top:12px;max-height:50vh;overflow-y:auto}.note-order-choice{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px;border-radius:7px;text-align:left}.note-order-choice>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}.note-order-choice:hover,.note-order-choice:focus-visible,.note-order-choice.is-current{background:var(--surface-selected)}.note-order-number{min-width:28px;color:var(--text-accent);font-variant-numeric:tabular-nums}.notebook-choice-top{display:flex;align-items:center;gap:8px;width:100%;color:var(--text-accent);font-size:10px}.notebook-choice>strong{font-size:14px;font-weight:600;overflow-wrap:anywhere;margin-top:7px}.version-name{color:var(--accent);background:var(--accent-soft);border-radius:4px;padding:4px 7px;font-size:11px;overflow-wrap:anywhere}.notebook-choice-meta{color:var(--muted);font-size:11px;margin-top:8px}.notebook-choice-meta small{display:block;margin-top:7px;font-size:10px;line-height:1.7}.duplicate-option{display:flex;align-items:flex-start;gap:10px;padding:14px;border:1px solid var(--line);background:var(--canvas);border-radius:6px;margin-top:16px}.duplicate-option strong{font-size:12px;font-weight:600}.duplicate-option small{display:block;font-size:11px;color:var(--muted);line-height:1.8;margin-top:6px}@media(max-width:600px){.notebook-context{padding:15px;gap:10px}.notebook-context>label{flex-basis:calc(50% - 10px);min-width:0}.notebook-bound-context{flex-basis:100%}.notebook-context select{max-width:none}.notebook-scope{padding:12px 15px}.library-intro{flex-wrap:wrap;gap:6px}.track-notebook-group>header{padding:16px;gap:10px}.library-track-art{width:49px;height:50px}.track-notebook-group h3{font-size:15px}.layout-count{font-size:10px}.notebook-card-grid{grid-template-columns:1fr;padding:14px}}.search-field{display:flex;align-items:center;gap:8px;border:1px solid var(--line);background:var(--surface-subtle);border-radius:6px;padding:8px 10px}.search-field>svg{color:var(--muted)}.search-field input{flex:1;border:0;background:none;color:var(--text-secondary);outline:0;font-size:12px;width:100%}.search-field:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px var(--focus-ring)}kbd{font-family:inherit;font-size:11px;border:1px solid var(--line);background:var(--surface-subtle);padding:1px 5px;color:var(--muted);border-radius:3px}.note-search{min-height:33px}.note-filter-row{display:flex;align-items:center;gap:4px;margin:12px 0 15px;color:var(--muted)}.note-filter-row select{font-size:11px;border:0;background:transparent;color:var(--text-secondary);padding:3px 0;max-width:118px}.note-filter-row select:last-child{margin-left:auto;font-size:11px;color:var(--muted);max-width:92px}.note-list{display:flex;flex-direction:column;gap:10px;overflow-y:auto;max-height:371px;padding:1px 1px 12px;scrollbar-width:thin;scrollbar-color:var(--line-strong) transparent;flex:1}.note-card{border:1px solid var(--line);border-radius:7px;background:var(--surface);padding:14px 15px;transition:border-color .15s,background .15s}.note-card:hover{border-color:var(--line-strong)}.note-card.is-selected{background:var(--surface-hover);border-color:var(--note-color);box-shadow:0 0 0 1px color-mix(in srgb,var(--note-color) 13%,transparent)}.note-card-top{display:flex;align-items:center;justify-content:space-between}.note-card-top .star-toggle{margin-left:auto;flex-shrink:0}.note-tag-list{display:inline-flex;flex-wrap:wrap;gap:5px;min-width:0}.note-tag-chip{display:inline-block;padding:3px 7px;border-radius:5px;border:1px solid color-mix(in oklab,var(--tag-color) 65%,var(--line));background:color-mix(in oklab,var(--tag-color) 12%,var(--surface));color:var(--ink);font-size:11px;line-height:1.4;overflow-wrap:anywhere}.editor-tags{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0}.editor-tags .text-button{min-height:36px}.note-tag-options{display:grid;gap:6px;max-height:45vh;overflow-y:auto;margin:16px 0}.note-tag-option{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:6px;text-align:left}.note-tag-option[aria-checked=true]{background:var(--surface-selected);border-color:var(--line-strong);color:var(--text-accent)}.note-tag-option:hover{background:var(--surface-hover)}.tag-color-input{display:block;width:64px;height:44px;padding:3px;border:1px solid var(--line);border-radius:6px;background:var(--surface-raised)}.tag-preview{margin-top:16px}.star-toggle{color:var(--muted);padding:2px;display:flex;border-radius:3px}.star-toggle:hover,.star-toggle.is-starred{color:var(--star)}.note-content{display:block;text-align:left;width:100%;padding:0}.note-content h3,.note-body,.car-label{overflow-wrap:anywhere}.note-number{flex-shrink:0}.note-content h3{font-size:14px;font-weight:600;line-height:1.5;display:flex;gap:7px;margin:9px 0 7px}.note-number{color:var(--text-secondary);font-size:11px;margin-top:2px;font-weight:400;letter-spacing:.3px}.note-body{font-size:13px;color:var(--text-secondary);line-height:1.7;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}.note-body.expanded{display:block;overflow:visible;color:var(--text-secondary);font-size:13px}.note-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:10px}.car-label{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--text-secondary)}.note-telemetry{display:flex;gap:6px;font-size:11px;color:var(--text-secondary)}.note-telemetry>span{border:1px solid var(--line);padding:2px 4px;border-radius:3px;background:var(--surface-subtle)}.note-telemetry small{font-size:11px;color:var(--muted)}.note-details{border-top:1px dashed var(--line);margin-top:12px;padding-top:9px}.note-detail-actions{display:flex;align-items:center;gap:6px}.note-detail-actions>span{font-size:11px;color:var(--muted);margin-right:auto}.text-button{display:inline-flex;align-items:center;gap:5px;padding:0;font-size:11px;color:var(--text-accent)}.text-button:hover{color:var(--accent)}.notes-panel-footer{border-top:1px solid var(--line);padding:13px 0;color:var(--muted);font-size:11px;display:flex;align-items:center;gap:6px;min-height:40px}.notes-panel-footer .live-dot{width:4px;height:4px;background:var(--text-accent)}.workspace-summary{display:flex;align-items:center;gap:35px;border:1px solid var(--line);background:var(--surface-hover);border-radius:8px;padding:22px 23px;margin-top:22px}.summary-intro{display:flex;align-items:center;gap:13px;margin-right:auto}.summary-icon{width:37px;height:37px;border-radius:8px;border:1px solid var(--line);display:grid;place-items:center;background:var(--surface-subtle);color:var(--muted)}.summary-intro strong{font-size:11px;font-weight:600}.summary-intro p{font-size:11px;color:var(--muted);margin:5px 0 0}.summary-stat{border-left:1px solid var(--line);padding-left:29px;min-width:110px}.summary-stat strong{display:block;font-size:22px;letter-spacing:-1px;line-height:1.1;color:var(--text-secondary);font-weight:400}.summary-stat span{display:block;font-size:11px;color:var(--muted);margin-top:7px;white-space:nowrap}.summary-flourish{color:var(--muted);transform:rotate(-15deg);padding-left:12px}.page-footer{display:flex;align-items:center;gap:18px;color:var(--muted);font-size:11px;padding:21px 0 22px}.page-footer>span:nth-child(2){display:flex;gap:6px;align-items:center;margin-left:auto}.page-footer>button{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--muted);padding:0}.mobile-menu,.mobile-break{display:none}.storage-warning{display:flex;align-items:center;gap:10px;background:var(--warning-soft);border:1px solid var(--warning-line);color:var(--warning);border-radius:7px;padding:12px;font-size:11px;margin-bottom:20px}.storage-warning .text-button{flex-shrink:0;margin-left:auto;color:var(--warning)}.library-panel{width:100%;border:0;padding:25px}.library-panel .notes-panel-heading h3{font-size:16px}.library-panel .notes-panel-heading p{font-size:11px}.library-panel .note-search{max-width:420px}.library-panel .note-search input{font-size:11px}.library-panel .note-filter-row{max-width:420px}.library-panel .note-filter-row select{font-size:11px;max-width:150px}.library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));max-height:none;overflow:visible;gap:16px;padding-top:6px}.library-grid .note-card{padding:17px}.library-grid .note-content h3{font-size:14px}.library-grid .note-body{font-size:13px}.library-grid .car-label,.library-grid .note-telemetry{font-size:11px}.note-circuit-link{border-top:1px solid var(--line);padding:12px 0 0;margin-top:13px;display:flex;justify-content:space-between;width:100%;color:var(--muted);font-size:11px}.note-circuit-link:hover{color:var(--accent)}.empty-notes{text-align:center;padding:28px 10px 35px;grid-column:1 / -1}.empty-icon{width:58px;height:58px;background:var(--surface-hover);border:1px dashed var(--line-strong);color:var(--muted);display:grid;place-items:center;border-radius:50%;margin:0 auto 16px}.empty-notes h3{font-size:12px;font-weight:600}.empty-notes p{font-size:13px;line-height:1.9;color:var(--text-secondary);max-width:260px;margin:10px auto 18px}.empty-notes .button{font-size:11px}.modal{padding:30px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--ink);width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 48px);box-shadow:0 25px 100px var(--shadow);overflow-y:auto}.modal-wide{width:min(780px,calc(100vw - 32px))}.modal::backdrop{background:var(--scrim);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.modal-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:26px}.modal-heading h2{font-size:22px;font-weight:600;margin:0;letter-spacing:-.7px}.modal-heading p{font-size:11px;color:var(--muted);margin:9px 0 0;line-height:1.7}.modal-heading .icon-button{margin:-5px -8px 0 0}.field-label{display:block;color:var(--text-secondary);font-size:11px;font-weight:600;margin:17px 0 8px}.field-label>span:not(.optional){color:var(--accent)}.optional{color:var(--muted);font-size:11px;font-weight:400;margin-left:3px}.form-input{display:block;width:100%;background:var(--surface-subtle);color:var(--text-secondary);border:1px solid var(--line);border-radius:6px;font-size:14px;padding:11px 12px;line-height:1.7;resize:vertical}.form-input:focus{border-color:var(--accent);outline:2px solid var(--focus-ring);outline-offset:0}.title-input{font-size:14px}.field-label .form-input{margin-top:8px}.form-columns{display:grid;grid-template-columns:1.4fr 1fr;gap:15px}.form-three{grid-template-columns:1fr 1fr}.note-location{display:flex;gap:7px;align-items:center;color:var(--muted);font-size:11px;margin-top:20px}.note-location .star-toggle{margin-left:auto}.form-error{font-size:11px;color:var(--danger);padding:8px 0}.modal-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;margin-top:25px;padding-top:18px;border-top:1px solid var(--line)}.modal-actions .button{min-height:40px;font-size:11px}.picker-search{margin-bottom:22px;padding:12px}.picker-search input{font-size:11px}.circuit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.circuit-choice{border:1px solid var(--line);border-radius:8px;padding:0;overflow:hidden;text-align:left;background:var(--surface)}.circuit-choice:hover{border-color:var(--line-strong)}.circuit-choice.current{border-color:var(--line-strong);box-shadow:0 0 0 1px var(--focus-ring)}.circuit-choice-art{background:var(--surface-subtle);height:128px;position:relative;padding:20px;color:var(--muted)}.circuit-choice-art .circuit-outline{width:100%;height:100%}.circuit-choice-art .country-badge{position:absolute;left:10px;top:10px;font-size:11px}.current-badge{position:absolute;top:12px;right:10px;color:var(--text-accent);font-size:11px;letter-spacing:1px}.circuit-choice-info{display:flex;flex-wrap:wrap;align-items:center;gap:5px;padding:13px}.circuit-choice-info strong{font-size:11px;font-weight:600;flex:1}.circuit-choice-info>svg{color:var(--muted)}.circuit-choice-info>span{font-size:11px;color:var(--muted);width:100%;margin-top:2px}.picker-footer{border-top:1px solid var(--line);margin-top:25px;padding-top:18px;display:flex;align-items:center;justify-content:space-between;gap:15px}.picker-footer strong{font-size:11px;font-weight:600;display:block}.picker-footer span{font-size:11px;color:var(--muted);display:block;margin-top:5px}.empty-message{font-size:12px;color:var(--muted);padding:15px 0}.back-button{margin:-5px 0 4px}.upload-area{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px dashed var(--line-strong);background:var(--surface-subtle);border-radius:8px;padding:20px;min-height:180px;margin:20px 0 12px;color:var(--muted);cursor:pointer;gap:10px;position:relative}.upload-area>input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.upload-area:focus-within{outline:2px solid var(--accent)}.upload-area>strong{font-size:13px}.upload-area>span{font-size:11px}.upload-area img{max-width:100%;max-height:210px}.small-help{font-size:13px;line-height:1.9;color:var(--text-secondary)}.help-steps{display:grid;gap:16px}.help-steps h3{font-size:13px;font-weight:600;margin:0 0 4px}.help-steps p{font-size:13px;line-height:1.5;color:var(--text-secondary);margin:0}.help-shortcuts{display:flex;align-items:center;flex-wrap:wrap;gap:10px 13px;margin:20px 0;color:var(--muted)}.help-shortcuts span{display:flex;align-items:center;gap:5px;font-size:12px}.help-shortcuts kbd{color:var(--text-accent);font-size:11px}.help-notice{font-size:12px;line-height:1.5;color:var(--text-secondary);background:var(--surface-subtle);padding:12px;border-radius:7px}.help-notice strong{font-weight:600;color:var(--text-secondary)}.help-done{width:100%;margin-top:12px;font-size:11px}.storage-info{display:flex;gap:15px;align-items:flex-start;color:var(--muted);padding:18px;background:var(--surface-subtle);border-radius:8px}.storage-info strong{font-size:12px;font-weight:600;color:var(--text-accent)}.storage-info p{font-size:13px;line-height:1.9;margin:8px 0 0;color:var(--text-secondary)}.backup-actions{display:flex;flex-direction:column;gap:12px;margin:23px 0}.backup-actions>button{display:flex;align-items:center;gap:14px;border:1px solid var(--line);padding:17px;border-radius:8px;text-align:left;color:var(--muted)}.backup-actions>button:hover{background:var(--surface-hover);border-color:var(--line-strong)}.backup-actions strong{font-size:12px;color:var(--text-accent);font-weight:600;display:block}.backup-actions span{font-size:11px;color:var(--muted);display:block;margin-top:6px}.backup-actions>button>svg:last-child{margin-left:auto}.hidden-input{display:none}.toast{position:fixed;bottom:25px;left:calc(50% + 121px);transform:translate(-50%);z-index:100;display:flex;align-items:center;gap:12px;background:var(--toast-surface);color:var(--toast-ink);border-radius:8px;padding:14px 18px;box-shadow:0 5px 25px var(--shadow);font-size:11px;width:max-content;max-width:calc(100vw - 35px);animation:toast-in .2s ease}.toast>svg{color:var(--toast-ink)}.toast>button{display:flex;padding:2px;color:var(--toast-ink);margin-left:10px}@keyframes toast-in{0%{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}@media(min-width:1550px){.sidebar{width:265px;padding-left:25px;padding-right:25px}.main-content{margin-left:265px}.page-content{padding:40px 48px 0}.notes-panel{width:350px;padding-left:23px;padding-right:23px}.map-canvas,.circuit-map{min-height:590px}.note-list{max-height:444px}.note-content h3{font-size:14px}.note-body{font-size:13px}.notes-panel-heading h3{font-size:15px}.notes-panel-heading p{font-size:11px}.note-card{padding:15px}.toast{left:calc(50% + 132px)}}@media(max-width:1200px){.sidebar{width:215px;padding-left:14px;padding-right:14px}.main-content{margin-left:215px}.brand{font-size:24px;gap:5px}.workspace-badge{padding:11px 8px;gap:7px}.workspace-badge strong{font-size:11px}.workspace-badge div>span{font-size:11px}.workspace-avatar{width:25px;height:25px}.local-chip{font-size:11px}.page-content{padding:30px 25px 0}.notes-panel{width:285px;padding-left:15px;padding-right:15px}.summary-stat{min-width:auto;padding-left:20px}.workspace-summary{gap:20px}.summary-flourish,.context-help{display:none}.map-hint{max-width:220px;font-size:11px;bottom:23px}.schematic-label{display:none}.toast{left:calc(50% + 107px)}}@media(max-width:1000px){.sidebar{width:195px;padding-left:12px;padding-right:12px}.main-content{margin-left:195px}.brand{font-size:22px}.brand-symbol{width:28px}.workspace-badge{margin-top:30px}.workspace-badge div>span{display:none}.workspace-badge strong{font-size:11px}.main-nav>button{font-size:11px;gap:8px}.sidebar-circuits>button{font-size:11px;padding-left:9px;gap:8px}.page-intro{align-items:flex-start}.export-button{margin-top:24px;padding:8px;font-size:11px}.export-button svg{width:13px}.page-intro p{font-size:11px;max-width:310px;line-height:1.8}.notebook-body{flex-direction:column}.map-canvas,.circuit-map{min-height:460px}.notes-panel{width:100%;border-left:0;border-top:1px solid var(--line);padding:20px 21px 0}.notes-panel-heading{margin-bottom:15px}.note-list:not(.library-grid){display:grid;grid-template-columns:1fr 1fr;max-height:400px;gap:12px}.note-search{max-width:100%}.note-filter-row{margin:13px 0}.note-content h3{font-size:14px}.note-body{font-size:13px}.notes-panel-footer{margin-top:7px;font-size:11px}.notebook-heading{padding:20px}.circuit-title-line h2{font-size:17px}.context-selects{gap:15px}.notebook-filters{padding:0 20px}.context-select select{font-size:11px}.workspace-summary{flex-wrap:wrap;gap:18px;padding:20px}.summary-intro{width:100%}.summary-stat{flex:1;padding-left:15px}.summary-stat:nth-child(2){border-left:0;padding-left:0}.page-footer{gap:10px}.page-footer>span:nth-child(2){font-size:11px}.toast{left:calc(50% + 97px)}}@media(max-width:760px){.sidebar-collapsed .sidebar{width:242px;padding:32px 20px 19px;overflow-x:visible}.sidebar-collapsed .main-content{margin-left:0}.sidebar-collapsed .sidebar-header{flex-direction:row;gap:4px}.sidebar-collapsed .sidebar-header .brand{padding-left:0;font-size:22px}.sidebar-header .brand{font-size:22px}.sidebar-header .brand-symbol{width:33px}.sidebar-collapsed .sidebar-header .sidebar-collapse-button{display:none}.sidebar-collapsed .sidebar-header .brand-symbol{width:33px}.sidebar-collapsed .brand-name,.sidebar-collapsed .sidebar-label,.sidebar-collapsed .nav-count,.sidebar-collapsed .circuit-note-count,.sidebar-collapsed .sidebar-status-label{display:inline}.sidebar-collapsed .sidebar-save-indicator{justify-content:flex-start;width:auto;margin:8px 12px 0}.sidebar-collapsed .circuits-nav-label{display:flex}.sidebar-collapsed .sidebar-bottom>button>svg:last-child:not(:first-child){display:block}.sidebar-collapsed .main-nav{margin-top:13px}.sidebar-collapsed .main-nav>button,.sidebar-collapsed .sidebar-circuits>button,.sidebar-collapsed .sidebar-bottom>button{justify-content:flex-start;width:100%;min-height:0;padding:12px 13px}.sidebar-collapsed .sidebar-circuits{margin-top:0;padding-top:0;border-top:0}.sidebar-collapsed .sidebar-circuits>button{gap:12px}.sidebar-collapsed .sidebar-circuits .circuit-outline{width:22px;height:23px}.sidebar-collapsed .browse-circuits{justify-content:flex-start;width:auto;min-height:0;padding:13px 15px}.sidebar-collapsed .browse-circuits .sidebar-browse-icon{display:none}.sidebar-collapsed .browse-circuits>svg:last-child{display:block}.sidebar-collapsed .sidebar-bottom{margin-top:25px;padding-top:16px}.sidebar-collapsed .toast{left:50%}.sidebar-collapse-button{display:none}.sidebar{width:242px;transform:translate(-100%);transition:transform .2s ease;padding-left:20px;padding-right:20px}.sidebar-open{transform:translate(0)}.sidebar-scrim{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--scrim);z-index:19}.brand{font-size:26px}.workspace-badge div>span{display:block;font-size:11px}.workspace-badge strong{font-size:11px}.main-nav>button{font-size:11px}.sidebar-circuits>button{font-size:11px}.main-content{margin-left:0}.mobile-menu{display:flex;min-width:44px;min-height:44px;flex:0 0 44px}.page-intro h1{flex:1}.save-indicator{font-size:11px;gap:5px}.page-content{padding:30px 20px 0}.page-intro{margin-bottom:25px;gap:12px}h1{font-size:29px}.eyebrow{font-size:11px;letter-spacing:1.3px}.page-intro p{font-size:11px}.notebook{border-radius:8px}.map-canvas,.circuit-map{min-height:430px}.note-list:not(.library-grid){max-height:500px}.toast{left:50%;bottom:20px;font-size:11px}}@media(max-width:480px){.page-content{padding:27px 15px 0}.page-intro{flex-wrap:wrap;margin-bottom:23px;gap:14px}.page-intro h1{font-size:29px;letter-spacing:-1.2px}.page-intro p{font-size:11px;max-width:340px}.notebook-export-actions{justify-content:flex-start}.notebook-export-actions .button{min-height:44px}.eyebrow{margin-bottom:11px;font-size:11px}.export-button{margin:0;font-size:11px;min-height:31px;padding:7px 10px}.notebook-heading{padding:17px 14px;gap:10px;flex-wrap:wrap}.circuit-heading-icon{width:37px;height:37px}.circuit-heading-icon svg{width:20px}.circuit-title-line h2{font-size:15px}.circuit-title-line{gap:7px}.circuit-heading-text p{font-size:11px;gap:5px}.change-circuit{min-height:29px;padding:5px 8px;font-size:11px;margin-left:47px}.notebook-filters{padding:6px 14px;min-height:68px}.context-selects{align-items:flex-start;flex-direction:column;gap:1px;width:100%}.context-select{width:100%}.context-select select{font-size:11px;width:100%;max-width:none}.filter-separator{display:none}.map-canvas,.circuit-map{min-height:345px}.map-caption{font-size:11px;left:13px;top:13px;gap:5px}.map-caption>span:last-child{font-size:11px}.map-tools{left:10px;top:12px;padding:4px;gap:3px}.map-tools button{min-width:34px;height:34px}.map-tools button svg{width:16px}.map-tools .map-place-note{min-height:36px;font-size:12px}.canvas-note-tools{right:10px;align-items:flex-end;flex-direction:column;gap:4px}.canvas-text-toggle{min-height:44px}.bubble-size-control{min-height:44px;gap:5px;padding:0 6px}.bubble-size-control .note-size-slider{width:62px;height:42px}.note-size-value,.note-size-value input{min-height:42px}.bubble-history-tools{right:10px;top:108px}.bubble-history-tools button{min-width:38px;min-height:38px}.map-canvas:has(.canvas-text-toggle) .line-properties{top:108px}.map-canvas:has(.bubble-history-tools) .line-properties{top:156px}.map-tool-options{gap:1px}.map-tool-options .tool-divider{width:1px;height:18px}.map-hint{bottom:15px;left:13px;max-width:165px;font-size:11px;line-height:1.6}.zoom-tools{right:10px;bottom:10px;gap:1px;padding:2px}.zoom-tools button{padding:5px}.zoom-tools button svg{width:13px}.zoom-tools>span:not(.tool-divider){min-width:28px;font-size:11px;padding:0 1px}.map-watermark{font-size:12px;right:15px;bottom:49px}.map-watermark span{font-size:11px}.canvas-footer{padding:11px 13px;font-size:11px;min-height:36px}.notes-panel{padding:20px 14px 0}.notes-panel-heading h3{font-size:14px}.notes-panel-heading p,.search-field input,.note-filter-row select{font-size:11px}.note-filter-row select:last-child{font-size:11px}.note-list:not(.library-grid){grid-template-columns:1fr;max-height:510px}.note-card{padding:15px}.note-content h3{font-size:14px}.note-body{font-size:13px}.note-card-bottom{margin-top:12px}.car-label,.note-telemetry{font-size:11px}.note-body.expanded{font-size:13px}.note-details .text-button{font-size:11px}.note-detail-actions>span{font-size:11px}.notes-panel-footer{font-size:11px}.workspace-summary{padding:18px 16px;margin-top:18px}.summary-intro{gap:10px}.summary-intro strong,.summary-intro p{font-size:11px}.summary-stat{padding-left:14px}.summary-stat span{font-size:11px}.summary-stat strong{font-size:24px}.page-footer{flex-wrap:wrap;gap:10px;font-size:11px;padding:18px 0}.page-footer>span:nth-child(2){order:3;margin-left:0;width:100%;font-size:11px}.page-footer>button{margin-left:auto}.modal{padding:24px 20px;max-height:calc(100dvh - 28px)}.modal-heading h2{font-size:20px}.modal-heading p{font-size:11px}.form-columns{gap:10px}.form-columns .form-input{font-size:11px;padding:10px}.circuit-grid{grid-template-columns:1fr 1fr;gap:10px}.circuit-choice-art{height:110px;padding:16px}.circuit-choice-info{padding:10px}.circuit-choice-info strong{font-size:11px}.circuit-choice-info>span{font-size:11px}.picker-footer .button{font-size:11px;padding:8px}.picker-footer strong,.picker-footer span{font-size:11px}.storage-warning{flex-wrap:wrap;font-size:11px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}.workspace-tabs{display:none}.observation-editor{min-width:0}.editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:10px}.editor-heading [role=status]{color:var(--text-secondary);font-size:11px;text-align:right}.observation-editor .field-label{margin-top:16px}.observation-editor .form-input{width:100%;box-sizing:border-box}.observation-writing{min-height:220px;line-height:1.75;resize:vertical}.observation-options{border-top:1px solid var(--line);margin-top:20px;padding-top:14px}.observation-options summary{font-size:12px;color:var(--text-secondary);cursor:pointer}.editor-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:24px}.draft-list{display:grid;gap:6px;margin-bottom:15px}.draft-list>button{display:flex;align-items:center;gap:8px;padding:11px 10px;border:1px solid var(--line);border-radius:6px;text-align:left;min-width:0}.draft-list>button>span:nth-child(2){white-space:nowrap;text-overflow:ellipsis;overflow:hidden;flex:1;font-size:12px}.draft-badge{color:var(--warning);font-size:10px;background:var(--warning-soft);border-radius:3px;padding:3px 5px}.note-kind{display:inline-block;font-size:10px;color:var(--text-secondary);margin-top:9px}.active-note-filters{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px;font-size:11px;color:var(--text-secondary);margin-bottom:12px}.active-note-filters .clear-note-filters{margin:0}@media(max-width:760px){.notebook-view .page-content{padding:8px 10px 20px}.notebook-toolbar{flex-wrap:wrap;gap:6px 10px;min-height:0;padding:8px 10px}.notebook-identity{flex:1;min-width:0}.notebook-identity h1{font-size:19px}.notebook-identity p{margin-top:3px;font-size:11px}.notebook-identity .notebook-save-status{flex-basis:100%;width:auto;height:14px;margin-left:0}.notebook-toolbar-actions{width:100%;gap:3px}.notebook-action,.notebook-toolbar .more-menu-trigger{min-height:44px}.notebook-version-select{flex:1;min-width:0;max-width:160px;min-height:44px;font-size:11px}.notebook-switch{margin-left:auto;padding:6px;font-size:10px;gap:3px}.notebook-find,.theater-toggle{width:44px;min-width:44px;padding:8px}.notebook-find>span,.theater-toggle>span{display:none}.notebook-save-status{display:block;font-size:10px}.notebook-body .map-canvas{height:max(380px,calc(100dvh - 210px));min-height:0}.notebook-description{padding:0 12px}.notebook-body .circuit-map{min-height:0}.theater-open .notebook{top:0;right:0;bottom:0;left:0;border-radius:0}.theater-open .notebook-toolbar{gap:4px 10px;padding:8px 12px}.theater-open .notebook-identity{flex:1;min-width:0}.theater-open .notebook-identity h1{font-size:15px}.theater-open .notebook-toolbar-actions{flex:0 0 auto;width:auto}.theater-open .mobile-menu{display:none}.theater-open .theater-toggle{width:auto;padding:8px}.theater-open .theater-toggle>span{display:inline}.selected-note{padding:4px 14px 18px}.selected-note-toolbar{gap:6px 10px;padding:8px 0}.selected-note-position{font-size:11px}.selected-note-location{font-size:10px}.selected-note-actions{flex-basis:100%;justify-content:flex-end;gap:5px}.selected-note-actions .icon-button,.selected-note-actions .text-button{min-width:44px;min-height:44px}.selected-note-title{font-size:17px}.selected-note-body{font-size:14px}.more-menu-popover .more-menu-action,.more-menu-popover .more-menu-delete{min-height:44px}.editor-heading{min-height:28px}.observation-writing{min-height:230px}.draft-list>button,.editor-actions>button{min-height:42px}}@media(max-width:380px){.notebook-switch{min-width:44px;width:44px;padding:8px}.notebook-switch>span,.notebook-switch>svg:last-child{display:none}.notebook-switch .notebook-switch-icon{display:block}.theater-open .notebook-identity h1{font-size:14px}.theater-open .theater-toggle>span{display:none}}
