:root {
  color-scheme: dark;
  --bg: #081019;
  --sidebar: #0a131e;
  --surface: #101b28;
  --surface-2: #132131;
  --surface-3: #0c1622;
  --border: #223246;
  --border-bright: #334b65;
  --text: #eef5fc;
  --muted: #91a2b7;
  --faint: #64768b;
  --blue: #168bff;
  --blue-2: #68b9ff;
  --cyan: #42d2ff;
  --orange: #ff9a45;
  --green: #36c790;
  --yellow: #efb852;
  --red: #ff6574;
  --shadow: 0 18px 50px rgb(0 0 0 / 22%);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { background: var(--bg); color: var(--text); font: 16px/1.4 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 2px; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; min-width: 0; display: flex; flex-direction: column; background: var(--sidebar); border-right: 1px solid var(--border); z-index: 20; }
.brand { height: 70px; display: flex; align-items: center; gap: 11px; padding: 0 18px; border-bottom: 1px solid var(--border); }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; background: linear-gradient(145deg, #27a7ff, #0a62c0); box-shadow: 0 8px 25px rgb(22 139 255 / 26%); font-weight: 900; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .9rem; letter-spacing: .01em; }
.brand small { color: var(--muted); font-size: .72rem; margin-top: 2px; }
.side-nav { padding: 14px 10px 8px; display: grid; gap: 3px; }
.nav-item { min-height: 42px; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); text-align: left; padding: 0 11px; font-size: .86rem; }
.nav-item > span { width: 20px; color: var(--faint); font-size: 1.05rem; text-align: center; }
.nav-item:hover { color: var(--text); background: #122033; }
.nav-item.active { color: white; background: #17283b; box-shadow: inset 3px 0 var(--blue); }
.nav-item.active > span { color: var(--blue-2); }
.sidebar-caption { padding: 19px 18px 8px; color: var(--faint); font-size: .67rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.active-project { margin: 0 11px; border: 1px solid var(--border); border-radius: 9px; background: #0e1926; color: var(--text); padding: 12px; text-align: left; }
.active-project strong, .active-project span, .active-project small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.active-project strong { font-size: .8rem; }
.active-project span, .active-project small { color: var(--muted); font-size: .7rem; margin-top: 4px; }
.active-project i { height: 4px; display: block; margin-top: 11px; overflow: hidden; background: #26374a; border-radius: 3px; }
.active-project i b { display: block; height: 100%; width: 0; background: var(--green); transition: width .3s; }
.sidebar-spacer { flex: 1; }
.validation-state, .profile { display: flex; align-items: center; gap: 10px; margin: 0 13px; padding: 12px 4px; }
.validation-state { border-top: 1px solid var(--border); color: var(--yellow); }
.validation-state > span { width: 8px; height: 8px; background: currentColor; border-radius: 50%; box-shadow: 0 0 0 4px rgb(239 184 82 / 10%); }
.validation-state strong, .validation-state small, .profile strong, .profile small { display: block; }
.validation-state strong, .profile strong { font-size: .73rem; }
.validation-state small, .profile small { color: var(--muted); font-size: .65rem; margin-top: 2px; }
.profile { margin: 0; padding: 13px 17px; border-top: 1px solid var(--border); }
.profile > span { width: 31px; height: 31px; display: grid; place-items: center; background: #1a3047; color: #afd6ff; border-radius: 50%; font-size: .7rem; font-weight: 800; }

.main { min-width: 0; }
.topbar { height: 70px; position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 14px; padding: 0 18px; background: rgb(8 16 25 / 90%); border-bottom: 1px solid var(--border); backdrop-filter: blur(14px); }
.menu-button { display: none; }
.project-picker { display: flex; align-items: center; gap: 9px; }
.project-picker label { color: var(--faint); font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
select, input, textarea { width: 100%; border: 1px solid var(--border); border-radius: 7px; background: var(--surface-3); color: var(--text); padding: 9px 10px; }
.project-picker select { min-width: 280px; background: var(--surface); }
.top-actions { margin-left: auto; display: flex; gap: 9px; }
.button, .icon-button, .text-button { border: 0; color: var(--text); }
.button { min-height: 38px; border-radius: 7px; padding: 0 13px; font-size: .8rem; font-weight: 750; }
.button.primary { background: var(--blue); box-shadow: 0 7px 22px rgb(22 139 255 / 20%); }
.button.primary:hover { background: #2996ff; }
.button.secondary { background: var(--surface-2); border: 1px solid var(--border); }
.button.secondary:hover { border-color: var(--border-bright); }
.button.danger { background: #391c24; border: 1px solid #71323f; color: #ffb5bd; }
.button.compact { min-height: 32px; padding: 0 10px; font-size: .72rem; }
.button:disabled { opacity: .5; cursor: not-allowed; }
.icon-button { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 7px; background: transparent; font-size: 1.3rem; }
.icon-button:hover { background: var(--surface-2); }
.text-button { background: transparent; color: var(--blue-2); font-size: .75rem; font-weight: 750; padding: 6px; }
.text-button:hover { color: white; }

.view { display: none; }
.view.active { display: block; }
#analysisView { padding: 14px; }
.notice { margin-bottom: 12px; padding: 9px 13px; border: 1px solid #654f24; border-radius: 7px; background: #2b2314; color: #eac97e; font-size: .76rem; }
.notice strong { color: #ffe0a0; }
.workspace-grid { display: grid; grid-template-columns: minmax(620px, 1fr) 330px; gap: 13px; align-items: start; }
.workspace-main, .workspace-side { min-width: 0; display: grid; gap: 13px; }
.workspace-side { position: sticky; top: 84px; }
.panel { min-width: 0; overflow: hidden; border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); }
.panel-heading { min-height: 53px; display: flex; align-items: center; gap: 12px; padding: 9px 13px; border-bottom: 1px solid var(--border); }
.panel-heading h2, .panel-heading p { margin: 0; }
.panel-heading h2 { font-size: .84rem; }
.panel-heading p { margin-top: 2px; color: var(--muted); font-size: .69rem; }
.heading-actions { margin-left: auto; display: flex; align-items: center; gap: 7px; }
.pill { border: 1px solid var(--border-bright); border-radius: 999px; padding: 4px 7px; background: #172537; color: #b6c4d4; font-size: .64rem; }
.pill.success { color: #8ee3be; border-color: #245a48; background: #102920; }
.pill.warning { color: #f1ca7a; border-color: #644c22; background: #2a2214; }

.route-panel { min-height: 145px; }
.route-scroll { overflow-x: auto; padding: 10px 25px 0; }
.route-line { min-width: 560px; height: 60px; position: relative; margin: 0 17px; }
.route-line::before { content: ""; position: absolute; top: 29px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #36516e, #6b89a7); }
.route-node { position: absolute; top: 19px; transform: translateX(-50%); width: 90px; text-align: center; cursor: pointer; }
.route-node .node-shape { width: 21px; height: 21px; display: block; margin: 0 auto; border: 3px solid #91aac3; background: var(--surface); border-radius: 50%; position: relative; z-index: 1; }
.route-node.splice .node-shape { width: 16px; height: 16px; margin-top: 3px; border-width: 2px; border-radius: 3px; transform: rotate(45deg); }
.route-node.splitter .node-shape { border-radius: 4px; border-color: var(--yellow); }
.route-node.fail .node-shape, .route-node.check .node-shape { border-color: var(--red); box-shadow: 0 0 0 4px rgb(255 101 116 / 10%); }
.route-node .node-label, .route-node .node-distance { position: absolute; left: 50%; transform: translateX(-50%); width: max-content; max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.route-node .node-label { bottom: 31px; color: #cedae7; font-size: .61rem; font-weight: 750; }
.route-node .node-distance { top: 25px; color: var(--muted); font-size: .58rem; }
.route-key { display: flex; gap: 15px; padding: 0 16px 10px; color: var(--muted); font-size: .62rem; }
.route-key span { display: flex; align-items: center; gap: 5px; }
.route-dot { width: 7px; height: 7px; border-radius: 50%; background: #91aac3; }
.route-dot.splitter { background: var(--yellow); }
.route-dot.problem { background: var(--red); }

.trace-heading { min-height: 48px; }
.trace-meta { margin-left: auto; display: flex; gap: 6px; }
.trace-meta span { padding: 4px 7px; border: 1px solid var(--border); background: var(--surface-3); border-radius: 5px; color: #b2c1d2; font-size: .64rem; }
.trace-toolbar { min-height: 47px; display: flex; align-items: center; gap: 8px; padding: 7px 11px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.segment { display: flex; padding: 2px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface-3); }
.segment button { min-height: 27px; border: 0; border-radius: 5px; padding: 0 9px; background: transparent; color: var(--muted); font-size: .69rem; }
.segment button.active { background: #20354c; color: white; }
.toolbar-spacer { flex: 1; }
.metric { min-width: 72px; display: grid; gap: 1px; }
.metric small { color: var(--faint); font-size: .58rem; }
.metric strong { font-size: .71rem; }
.canvas-wrap { height: 370px; position: relative; background: #09131e; touch-action: none; overflow: hidden; }
#traceCanvas { width: 100%; height: 100%; display: block; cursor: crosshair; }
.canvas-wrap.dragging #traceCanvas { cursor: grabbing; }
.canvas-empty { position: absolute; inset: 0; display: none; place-items: center; color: var(--muted); font-size: .78rem; text-align: center; padding: 30px; }
.crosshair { display: none; position: absolute; inset: 0; pointer-events: none; }
.crosshair i { position: absolute; top: 0; bottom: 0; width: 1px; background: rgb(255 255 255 / 20%); }
.crosshair span { position: absolute; transform: translate(8px, -33px); padding: 5px 7px; border: 1px solid var(--border-bright); border-radius: 5px; background: #05101b; color: #dceaf7; font-size: .64rem; white-space: nowrap; }
.marker-layer { position: absolute; inset: 0; pointer-events: none; }
.trace-marker { position: absolute; top: 0; bottom: 0; width: 1px; background: rgb(104 185 255 / 70%); pointer-events: auto; cursor: ew-resize; }
.trace-marker::before { content: attr(data-label); position: absolute; top: 7px; left: 0; transform: translateX(-50%); min-width: 22px; padding: 3px 5px; border: 1px solid #4379a8; border-radius: 4px; background: #0e2840; color: #bce0ff; text-align: center; font-size: .62rem; font-weight: 850; }
.trace-event-line { position: absolute; top: 0; bottom: 0; width: 1px; border-left: 1px dashed rgb(255 154 69 / 80%); pointer-events: none; }
.trace-event-line::before { content: "událost"; position: absolute; top: 7px; left: 5px; color: var(--orange); font-size: .57rem; }
.trace-legend { min-height: 37px; display: flex; align-items: center; gap: 15px; padding: 7px 12px; border-top: 1px solid var(--border); color: var(--muted); font-size: .63rem; }
.trace-legend span { display: flex; align-items: center; gap: 6px; }
.trace-legend i { width: 22px; height: 2px; }
.line-ab { background: var(--cyan); }.line-ba { background: var(--orange); }
.trace-hint { margin-left: auto; color: var(--faint); }

.table-scroll { overflow: auto; max-height: 330px; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 9px 10px; border-bottom: 1px solid #1e2c3c; text-align: left; white-space: nowrap; }
th { position: sticky; top: 0; background: #0d1723; color: #7f91a6; font-size: .64rem; font-weight: 750; z-index: 2; }
td { color: #c7d3e0; font-size: .7rem; }
tbody tr { cursor: pointer; }
tbody tr:hover td { background: #142235; }
tbody tr.active td { background: #172c43; }
.event-name { display: flex; align-items: center; gap: 7px; color: var(--text); font-weight: 700; }
.kind-symbol { width: 13px; height: 13px; display: inline-block; border: 2px solid #8ca4bd; border-radius: 50%; flex: none; }
.kind-symbol.splice { border-radius: 2px; transform: rotate(45deg); }
.kind-symbol.splitter { border-color: var(--yellow); border-radius: 2px; }
.kind-symbol.connector { border-color: var(--blue-2); }
.status-label { display: inline-flex; min-width: 49px; justify-content: center; border-radius: 4px; padding: 3px 5px; font-size: .58rem; font-weight: 850; }
.status-label.pass { color: #82deb7; background: #112b22; }.status-label.fail { color: #ff9ca6; background: #34191e; }.status-label.check { color: #f4cd82; background: #322717; }
.empty-table { display: none; color: var(--muted); padding: 22px; text-align: center; font-size: .76rem; }

.summary-card { padding: 15px; }
.score-row { display: flex; align-items: center; gap: 13px; }
.score-ring { --score: 0%; width: 64px; height: 64px; position: relative; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--green) var(--score), #263647 0); flex: none; }
.score-ring::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--surface); }
.score-ring strong { position: relative; z-index: 1; font-size: .85rem; }
.eyebrow { color: var(--faint); font-size: .61rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.score-row h2 { margin: 3px 0 2px; font-size: .9rem; }
.score-row p { margin: 0; color: var(--muted); font-size: .67rem; }
.summary-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-top: 14px; }
.summary-stats div { padding: 9px; border: 1px solid var(--border); background: var(--surface-3); text-align: center; }
.summary-stats strong, .summary-stats span { display: block; }
.summary-stats strong { font-size: 1rem; }.summary-stats span { color: var(--muted); font-size: .58rem; margin-top: 2px; }
.detail-card { min-height: 260px; padding: 14px; }
.detail-placeholder { min-height: 230px; display: grid; place-items: center; align-content: center; text-align: center; color: var(--muted); }
.detail-placeholder > span { font-size: 1.7rem; color: var(--faint); }.detail-placeholder strong { margin-top: 8px; color: #c7d4e1; font-size: .8rem; }.detail-placeholder p { margin: 3px 0 0; font-size: .67rem; }
.detail-head { display: flex; align-items: flex-start; gap: 9px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.detail-head .kind-symbol { margin-top: 2px; }.detail-head div { min-width: 0; }.detail-head h2 { margin: 0; font-size: .86rem; }.detail-head p { margin: 3px 0 0; color: var(--muted); font-size: .65rem; }
.detail-status { margin-left: auto; }
.detail-values { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 13px 0; font-size: .7rem; }
.detail-values span { color: var(--muted); }.detail-values strong { text-align: right; }
.method-note { padding: 9px; border: 1px solid #29415a; background: #102236; color: #b8d3ec; font-size: .65rem; }
.marker-fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 11px; }
.marker-fields label { color: var(--muted); font-size: .58rem; }.marker-fields input { margin-top: 3px; padding: 6px; font-size: .63rem; }
.detail-actions { display: flex; gap: 7px; margin-top: 11px; }
.detail-actions .button { flex: 1; }
.compact-heading { min-height: 49px; }
.direction-list { padding: 4px 12px 11px; }
.direction-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid #1e2c3c; }
.direction-row:last-child { border-bottom: 0; }.direction-row > span { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--border-bright); background: var(--surface-3); color: var(--blue-2); font-size: .58rem; font-weight: 850; }.direction-row strong, .direction-row small { display: block; }.direction-row strong { font-size: .69rem; }.direction-row small { margin-top: 2px; color: var(--muted); font-size: .59rem; }.direction-row > i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }.direction-row > i.missing { background: var(--yellow); }

.simple-view { padding: 28px; }
.page-heading { display: flex; align-items: flex-end; gap: 20px; margin-bottom: 23px; }
.page-heading h1 { margin: 4px 0; font-size: 1.6rem; }.page-heading p { margin: 0; color: var(--muted); font-size: .8rem; }.page-heading .button { margin-left: auto; }
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 13px; }
.project-tile { padding: 16px; cursor: pointer; transition: border-color .15s, transform .15s; }.project-tile:hover { border-color: var(--border-bright); transform: translateY(-2px); }.project-tile h2 { margin: 0; font-size: .9rem; }.project-tile p { margin: 4px 0 15px; color: var(--muted); font-size: .68rem; }.project-tile dl { display: grid; grid-template-columns: 1fr auto; gap: 6px; margin: 0; font-size: .66rem; }.project-tile dt { color: var(--muted); }.project-tile dd { margin: 0; font-weight: 700; }
.template-layout { display: grid; grid-template-columns: minmax(430px, 570px) minmax(400px, 1fr); gap: 18px; align-items: start; }
.settings-form { padding: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }.settings-form label, .form-grid label { display: grid; gap: 6px; color: var(--muted); font-size: .69rem; }.settings-form .wide, .form-grid .wide { grid-column: 1 / -1; }.settings-form input, .settings-form textarea { color: var(--text); }.settings-form input[type=color] { height: 40px; padding: 3px; }.toggle { grid-template-columns: 35px 1fr; align-items: center; cursor: pointer; }.toggle input { display: none; }.toggle span { height: 20px; position: relative; border-radius: 20px; background: #29394a; }.toggle span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #91a3b7; transition: .2s; }.toggle input:checked + span { background: var(--blue); }.toggle input:checked + span::after { left: 18px; background: white; }
.report-preview { padding: 18px; background: #0b1520; }.preview-page { min-height: 450px; padding: 28px; background: #f7f9fc; color: #1c2634; box-shadow: 0 15px 40px rgb(0 0 0 / 25%); }.preview-validation { margin-bottom: 15px; padding: 7px; border: 1px solid #e5c563; background: #fff2c5; color: #7b5a00; font-size: .55rem; font-weight: 850; }.preview-page header { display: flex; border-bottom: 3px solid var(--preview-accent, #1677ff); padding-bottom: 12px; }.preview-page h3 { margin: 0; font-size: 1rem; }.preview-page header p { margin: 3px 0 0; color: #6b7481; font-size: .6rem; }.preview-page header span { margin-left: auto; color: #738092; font-size: .65rem; }.preview-meta { display: grid; grid-template-columns: repeat(4,1fr); gap: 6px; margin: 16px 0; }.preview-meta i { height: 35px; border: 1px solid #dce3ea; }.preview-chart { height: 140px; position: relative; border: 1px solid #dce3ea; background: linear-gradient(#fff,#f6f8fb); overflow: hidden; }.preview-chart b,.preview-chart em { position: absolute; left: 4%; right: 4%; top: 45%; height: 2px; background: var(--preview-accent,#1677ff); transform: rotate(-4deg); }.preview-chart em { top: 57%; background: #e08b2d; transform: rotate(3deg); }.preview-table { display: grid; gap: 5px; margin-top: 14px; }.preview-table i { height: 13px; background: #e5eaf0; }.preview-page footer { margin-top: 18px; padding-top: 8px; border-top: 1px solid #dce3ea; color: #778290; font-size: .55rem; }
.limit-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 13px; }.limit-card { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 12px; padding: 17px; }.limit-card h2 { margin: 0; font-size: .86rem; }.limit-card p { margin: 3px 0 0; color: var(--muted); font-size: .66rem; }.limit-card > strong { color: var(--blue-2); font-size: .85rem; }

.modal { width: min(610px, calc(100vw - 30px)); max-height: calc(100vh - 30px); padding: 0; overflow: auto; border: 1px solid var(--border-bright); border-radius: 10px; background: var(--surface); color: var(--text); box-shadow: 0 30px 100px rgb(0 0 0 / 55%); }
.modal::backdrop { background: rgb(0 5 10 / 72%); backdrop-filter: blur(3px); }.modal form { margin: 0; }.modal-head { display: flex; align-items: flex-start; padding: 16px 18px; border-bottom: 1px solid var(--border); }.modal-head h2 { margin: 3px 0 0; font-size: 1rem; }.modal-head .icon-button { margin-left: auto; }.modal-body { padding: 17px 18px; display: grid; gap: 12px; }.modal-note { margin: 0 0 2px; color: var(--muted); font-size: .72rem; }.drop-zone { min-height: 92px; display: grid; grid-template-columns: 50px 1fr; align-content: center; gap: 2px 12px; padding: 13px; border: 1px dashed #3b5875; background: #0c1825; cursor: pointer; }.drop-zone:hover, .drop-zone.dragover { border-color: var(--blue-2); background: #10243a; }.drop-zone > span { grid-row: 1/3; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #3d5874; background: #152b42; color: var(--blue-2); font-size: .68rem; font-weight: 850; }.drop-zone strong { font-size: .77rem; }.drop-zone small { color: var(--muted); font-size: .65rem; }.drop-zone input { display: none; }.upload-progress { display: none; grid-template-columns: 1fr; gap: 5px; }.upload-progress i { height: 5px; background: linear-gradient(90deg,var(--blue) 50%,#26384b 50%); background-size: 200% 100%; animation: progress 1.2s infinite linear; }.upload-progress span { color: var(--muted); font-size: .65rem; }.modal-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 13px 18px; border-top: 1px solid var(--border); }.modal-spacer { flex: 1; }.form-grid { grid-template-columns: 1fr 1fr; }
.toast { position: fixed; right: 18px; bottom: 18px; z-index: 50; max-width: min(420px,calc(100vw - 36px)); padding: 10px 13px; border: 1px solid #3b5875; border-radius: 7px; background: #12253a; color: #ddecfb; box-shadow: var(--shadow); font-size: .74rem; opacity: 0; transform: translateY(8px); pointer-events: none; transition: .2s; }.toast.show { opacity: 1; transform: none; }.toast.error { border-color: #723340; background: #321923; color: #ffc3c9; }
@keyframes progress { to { background-position: -200% 0; } }

@media (max-width: 1180px) { .workspace-grid { grid-template-columns: 1fr; }.workspace-side { position: static; grid-template-columns: repeat(3,1fr); }.detail-card { min-height: 0; }.direction-card { min-width: 0; } }
@media (max-width: 900px) { .app-shell { grid-template-columns: 1fr; }.sidebar { position: fixed; left: 0; transform: translateX(-100%); width: 248px; transition: transform .2s; box-shadow: 20px 0 60px rgb(0 0 0 / 45%); }.sidebar.open { transform: none; }.menu-button { display: grid; }.project-picker label { display: none; }.project-picker select { min-width: 0; max-width: 43vw; }.workspace-side { grid-template-columns: 1fr; }.template-layout { grid-template-columns: 1fr; }.topbar { padding: 0 10px; }.button { padding-inline: 10px; } }
@media (max-width: 650px) { #analysisView { padding: 8px; }.notice { font-size: .69rem; }.workspace-grid { grid-template-columns: minmax(0,1fr); }.heading-actions .pill { display: none; }.panel-heading p { display: none; }.canvas-wrap { height: 310px; }.trace-toolbar .metric { display: none; }.trace-hint { display: none !important; }.trace-legend { flex-wrap: wrap; }.event-table th:nth-child(4),.event-table td:nth-child(4),.event-table th:nth-child(5),.event-table td:nth-child(5),.event-table th:nth-child(7),.event-table td:nth-child(7) { display: none; }.simple-view { padding: 20px 10px; }.page-heading { align-items: flex-start; }.page-heading h1 { font-size: 1.3rem; }.settings-form { grid-template-columns: 1fr; }.settings-form .wide { grid-column: auto; }.form-grid { grid-template-columns: 1fr; }.form-grid .wide { grid-column: auto; }.top-actions .secondary { display: none; }.project-picker select { max-width: 48vw; }.preview-page { padding: 18px; } }
