/* Scene 1, »Pregled odmikov« — app styles, extracted from app/shared/app.css (only
   rules the distance table uses) and scoped under .app-frame. Regenerate from the
   app instead of editing by hand. Tokens come from scene1-app.css. */

.app-frame *, .app-frame ::before, .app-frame ::after { box-sizing: border-box; }
.app-frame button { font: inherit; }
.app-frame p { margin: 0px; }
.app-frame p { font-size: 14px; line-height: 1.58; }
.app-frame .btn-text { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 6px; border: 0px; border-radius: var(--radius-control); padding: 4px 8px; background: transparent; color: var(--teal); font-size: 12px; font-weight: 700; line-height: 1.2; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background 0.15s, color 0.15s; }
.app-frame .btn-text svg { width: 14px; height: 14px; flex-shrink: 0; }
.app-frame .btn-text:hover:not(:disabled) { background: rgba(var(--teal-rgb), 0.08); }
.app-frame .btn-text:disabled { opacity: 0.48; cursor: default; }
.app-frame .icon-button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 28px; height: 28px; padding: 0px; border: 0px; border-radius: var(--radius-control); background: transparent; color: var(--muted); cursor: pointer; transition: background 0.15s, color 0.15s; }
.app-frame .icon-button svg { width: 16px; height: 16px; transition: transform 0.15s; }
.app-frame .icon-button--sm { width: 24px; height: 24px; }
.app-frame .icon-button--sm svg { width: 14px; height: 14px; }
.app-frame .icon-button:hover:not(:disabled) { background: rgba(var(--navy-rgb), 0.06); color: var(--text); }
.app-frame .icon-button--danger:hover:not(:disabled) { background: rgba(var(--red-rgb), 0.08); color: var(--red); }
.app-frame .icon-button:disabled { opacity: 0.3; cursor: default; }
.app-frame .table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 14px; }
.app-frame .table th, .app-frame .table td { border-bottom: 1px solid var(--line-soft); padding: 12px 10px; text-align: left; vertical-align: middle; }
.app-frame .table th { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.app-frame .table td { color: var(--text); }
.app-frame .table tr:last-child td { border-bottom: 0px; }
.arh-app .panel-title { font-size: 22px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 5px; }
.arh-app .panel-title-row { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.arh-app .panel-title-row .panel-title { margin-bottom: 0px; }
.arh-app .panel-title-icon { display: inline-flex; align-items: center; justify-content: center; color: var(--teal); flex-shrink: 0; }
.arh-app .panel-title-icon svg { width: 22px; height: 22px; display: block; }
.arh-app .panel-desc { font-size: 13.5px; color: var(--muted); margin-bottom: 26px; line-height: 1.55; }
.arh-app .ie-value { cursor: text; border-radius: 3px; }
.arh-app .ie-value:hover, .arh-app .ie-value:focus-visible { background: rgba(var(--teal-rgb), 0.08); outline: none; }
.arh-app .ie-value.is-empty { display: inline-block; min-width: 64px; min-height: 16px; vertical-align: middle; border-bottom: 1px dashed rgb(187, 187, 187); }
.arh-app .ie-status { margin-left: 6px; font-size: 10.5px; font-weight: 400; font-style: italic; color: rgb(102, 102, 102); }
.arh-app .ie-status:empty { display: none; }
.arh-app .dist-matrix-wrap { overflow-x: auto; margin-top: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.arh-app .dist-matrix { min-width: 0px; font-size: 13.5px; }
.arh-app .dist-matrix th, .arh-app .dist-matrix td { padding: 8px 10px; vertical-align: top; }
.arh-app .dist-matrix thead th { white-space: nowrap; }
.arh-app .dist-matrix td.dist-cell { min-width: 96px; font-variant-numeric: tabular-nums; }
.arh-app .dist-matrix th.dist-obj { position: sticky; left: 0px; z-index: 1; background: var(--surface); color: var(--text); font-size: 13.5px; font-weight: 700; letter-spacing: 0px; text-transform: none; white-space: nowrap; }
.arh-app .dist-matrix thead th.dist-obj { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.arh-app .dist-obj-name { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.arh-app .dist-value-row { display: flex; align-items: center; gap: 4px; }
.arh-app .dist-remove { opacity: 0.55; }
.arh-app .dist-remove:hover, .arh-app .dist-remove:focus-visible { opacity: 1; }
.arh-app .dist-add { margin-top: 12px; }
.arh-app .dist-legend { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
