/* Scene »Obrazci in DGD« (Pregled dokumentacije) — app styles, extracted from app/shared/app.css (only rules these
   screens use) 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, .app-frame input, .app-frame select { font: inherit; }
.app-frame .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; border: 1.5px solid var(--navy); border-radius: 999px; padding: 0px 22px; color: var(--navy); background: transparent; font-size: 14px; font-weight: 700; line-height: 1; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background 0.15s, border-color 0.15s, color 0.15s, opacity 0.15s; }
.app-frame .btn-primary { background: var(--navy); color: var(--white); }
.app-frame .btn-primary:hover { border-color: var(--navy-2); background: var(--navy-2); }
.app-frame .btn-secondary:hover { background: rgba(var(--navy-rgb), 0.06); }
.app-frame .btn-sm { min-height: 34px; padding: 0px 16px; font-size: 12px; }
.app-frame .btn:disabled { opacity: 0.48; cursor: default; }
.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 select { border: 1px solid var(--line); border-radius: var(--radius-input); background: var(--surface); color: var(--text); padding: 11px 12px; font-size: 14px; outline: none; }
.app-frame select:focus { border-color: rgba(var(--vivid-rgb), 0.55); box-shadow: 0 0 0 3px rgba(var(--vivid-rgb), 0.13); }
.app-frame select:disabled { border-color: rgba(var(--navy-rgb), 0.08); background: rgba(var(--navy-rgb), 0.045); color: rgba(35, 49, 42, 0.56); cursor: not-allowed; }
.app-frame .ui-select-host::after { content: none !important; }
.app-frame .ui-select-native { display: none !important; }
.app-frame .ui-select { position: relative; }
.app-frame .ui-select-trigger { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 42px; padding: 0px 14px; box-sizing: border-box; border-radius: 5px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font-size: 13px; font-weight: 500; font-family: inherit; transition: border-color 0.15s, box-shadow 0.15s; }
.app-frame .ui-select-trigger::-webkit-details-marker { display: none; }
.app-frame .ui-select-trigger::marker { content: ""; }
.app-frame .ui-select-trigger:hover { border-color: rgba(var(--navy-rgb), 0.28); }
.app-frame .ui-select-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-frame .ui-select-chevron { display: inline-flex; flex-shrink: 0; color: var(--muted); transition: transform 0.15s, color 0.15s; }
.app-frame .ui-select-menu { position: fixed; z-index: 1000; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: 0 16px 40px rgba(var(--navy-rgb),0.16); max-height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.app-frame .ui-select-option { text-align: left; border: 0px; background: transparent; cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 500; color: var(--text); padding: 9px 11px; border-radius: 8px; transition: background 0.12s, color 0.12s; }
.app-frame .ui-select-option:hover { background: rgba(var(--navy-rgb),0.05); }
.app-frame .ui-select-option.selected { background: rgba(var(--teal-rgb),0.10); color: var(--teal); font-weight: 700; }
.app-frame .ui-select-option:disabled { color: rgba(35, 49, 42, 0.56); background: transparent; cursor: not-allowed; }
.app-frame .panel { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 22px; }
.app-frame .badge { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 26px; border-radius: 999px; font-size: 12px; font-weight: 800; line-height: 1; text-align: center; }
.app-frame .badge { border: 1px solid rgba(var(--vivid-rgb), 0.22); background: rgba(var(--vivid-rgb), 0.08); color: var(--navy); padding: 0px 11px; }
.arh-app input[type="checkbox"] { appearance: none; display: inline-grid; place-content: center; flex: 0 0 auto; width: 16px; height: 16px; margin: 0px; padding: 0px; border: 1.5px solid var(--line); border-radius: 5px; background: var(--surface); cursor: pointer; transition: border-color 0.15s, background-color 0.15s; }
.arh-app input[type="checkbox"]:checked { border-color: var(--teal); background-color: var(--teal); background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='12'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='white'%20stroke-width='3.5'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Cpath%20d='M20%206L9%2017l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center center; background-size: 11px; }
.arh-app input[type="checkbox"]:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(var(--teal-rgb), 0.14); }
.arh-app input[type="checkbox"]:disabled { cursor: default; opacity: 0.55; }
.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 .dgd-section-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 0px 0px 24px; }
.arh-app .badge { display: inline-flex; align-items: center; justify-content: center; padding: 3px 9px; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; border-radius: 5px; line-height: 1; text-align: center; }
.arh-app .badge--green { background: rgba(111, 128, 88, 0.16); color: var(--vivid); }
.arh-app .badge--orange { background: rgba(180, 123, 38, 0.16); color: var(--orange); }
.arh-app .app-main .panel.active { overflow: visible; border: none; }
.arh-app .sec-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); margin: 26px 0px 14px; padding-bottom: 9px; border-bottom: 1px solid var(--line); }
.arh-app .sec-label:first-child { margin-top: 0px; }
.arh-app .cmp-summary { margin-bottom: 10px; font-size: 13px; font-weight: 600; color: var(--vivid); }
.arh-app .cmp-summary.is-open { color: var(--orange); }
.arh-app .cmp-list { display: flex; flex-direction: column; gap: 8px; }
.arh-app .cmp-item { display: flex; flex-direction: column; gap: 6px; padding: 12px 16px; border: 1px solid var(--line-soft); border-radius: 9px; background: var(--surface); }
.arh-app .cmp-item.is-open { border-color: rgba(var(--orange-rgb), 0.28); }
.arh-app .cmp-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.arh-app .cmp-label { flex: 1 1 200px; min-width: 0px; font-size: 14px; font-weight: 700; color: var(--text); }
.arh-app .cmp-problems { display: flex; flex-direction: column; gap: 4px; }
.arh-app .cmp-problem { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; font-size: 13px; color: var(--text); }
.arh-app .cmp-problem-msg { flex: 1 1 260px; min-width: 0px; overflow-wrap: anywhere; }
.arh-app .doc-checklist { margin-bottom: 16px; }
.arh-app .obr-layout { display: grid; grid-template-columns: 240px minmax(0px, 1fr); gap: 24px; align-items: start; }
.arh-app .obr-rail { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 4px; max-height: calc(-72px + 100vh); overflow-y: auto; }
.arh-app .obr-rail-item { display: flex; flex-direction: column; gap: 2px; padding: 9px 11px; border-radius: 8px; width: 100%; text-align: left; font: inherit; background: transparent; cursor: pointer; border: 1px solid transparent; }
.arh-app .obr-rail-item:hover { background: rgba(var(--navy-rgb),0.04); }
.arh-app .obr-rail-item.active { background: var(--card); border-color: var(--app-line); }
.arh-app .obr-rail-oznaka { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.arh-app .obr-rail-naslov { font-size: 13px; font-weight: 600; color: var(--text); }
.arh-app .obr-pane { max-width: 820px; min-width: 0px; }
.arh-app .obr-sheet { color: rgb(0, 0, 0); font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 1.35; }
.arh-app .obr-glava { margin-bottom: 32px; }
.arh-app .obr-glava-oznaka { font-size: 12px; font-weight: 700; margin-bottom: 10px; }
.arh-app .obr-glava-naslov { font-size: 20px; font-weight: 700; line-height: 1.25; }
.arh-app .obr-sek { margin-bottom: 26px; }
.arh-app .obr-sek-head { font-size: 12px; font-weight: 700; padding: 5px 0px 4px; border-top: 2px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); }
.arh-app .obr-blok-head { font-size: 12px; font-weight: 700; padding: 5px 0px 4px; margin-top: 16px; border-bottom: 1px solid rgb(0, 0, 0); }
.arh-app .obr-blok-dashed { border-top: 1px dashed rgb(0, 0, 0); margin-top: 22px; }
.arh-app .obr-namig { font-size: 11px; font-style: italic; color: rgb(85, 85, 85); padding: 3px 0px; border-bottom: 1px solid rgb(204, 204, 204); }
.arh-app .obr-podnaslov-row { font-size: 12px; padding: 4px 0px 3px; border-bottom: 1px solid rgb(204, 204, 204); }
.arh-app .obr-row { display: grid; grid-template-columns: 40% minmax(0px, 60%); border-bottom: 1px solid rgb(204, 204, 204); }
.arh-app .obr-row-l { padding: 4px 10px 3px 0px; color: rgb(0, 0, 0); overflow-wrap: anywhere; }
.arh-app .obr-row-v { padding: 4px 0px 3px; font-weight: 700; white-space: pre-wrap; overflow-wrap: anywhere; }
.arh-app .obr-row-textarea .obr-row-v { font-weight: 700; }
.arh-app .obr-row-podpis .obr-row-v { min-height: 48px; }
.arh-app .obr-row-check .obr-row-v { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0px 4px; }
.arh-app .obr-box { flex: 0 0 auto; width: 13px; height: 13px; margin-top: 1px; border: 1px solid rgb(0, 0, 0); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; line-height: 1; font-weight: 700; }
.arh-app .obr-box-label { font-weight: 700; overflow-wrap: anywhere; }
.arh-app .obr-sig-img { max-height: 44px; max-width: 150px; margin-right: 10px; vertical-align: middle; object-fit: contain; }
.arh-app .obr-rail-folder { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.arh-app .obr-rail-folder-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); padding: 4px 11px 2px; }
.arh-app .obr-rail-empty { font-size: 12.5px; color: var(--muted); padding: 2px 11px 4px; }
.arh-app .obr-rail-item.is-out .obr-rail-naslov { color: var(--muted); text-decoration: line-through; }
.arh-app .obr-rail-flag { display: inline-flex; align-items: center; justify-content: center; min-width: 16px; height: 16px; margin-left: 6px; padding: 0px 4px; border-radius: 8px; background: rgba(var(--orange-rgb), 0.16); color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: 0px; vertical-align: 1px; }
.arh-app .obr-item-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.arh-app .obr-composer-box { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--app-line); }
.arh-app .doc-tree { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px 24px; margin: 12px 0px 18px; }
.arh-app .doc-tree-group { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: var(--card); border: 1px solid var(--app-line); border-radius: 12px; min-width: 0px; }
.arh-app .doc-tree-folder { padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid var(--app-line); }
.arh-app .doc-tree-folder-name { font-size: 13px; font-weight: 800; color: var(--text); }
.arh-app .doc-tree-count { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--muted); }
.arh-app .doc-tree-item { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 3px 0px; }
.arh-app .doc-tree-label { display: flex; align-items: baseline; gap: 8px; flex: 1 1 0%; min-width: 0px; cursor: pointer; }
.arh-app .doc-tree-check { align-self: center; }
.arh-app .doc-tree-oznaka { flex: 0 0 auto; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.arh-app .doc-tree-naslov { font-size: 13px; color: var(--text); overflow-wrap: anywhere; }
.arh-app .doc-tree-item.is-out .doc-tree-naslov { color: var(--muted); }
.arh-app .doc-tree-place { min-width: 170px; }
.arh-app .doc-tree-empty { font-size: 12.5px; color: var(--muted); padding: 4px 0px; }
.arh-app .doc-export { margin-top: 18px; }
.arh-app .doc-export-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 14px; }
.arh-app .obr-mrow { display: grid; grid-template-columns: 40% 34px minmax(0px, 1fr); align-items: start; border-bottom: 1px solid rgb(204, 204, 204); }
.arh-app .obr-mrow-l { padding: 5px 10px 4px 0px; overflow-wrap: anywhere; }
.arh-app .obr-mrow-c { padding: 5px 0px 4px; }
.arh-app .obr-mrow-r { padding: 5px 0px 4px; font-weight: 700; overflow-wrap: anywhere; }
.arh-app .obr-mrow-vnos { font-weight: 700; }
.arh-app .obr-objekt-head { font-weight: 700; border-top: 2px solid rgb(0, 0, 0); border-bottom: 1px solid rgb(0, 0, 0); margin-top: 26px; padding: 6px 0px 5px; }
.arh-app .obr-tbl { margin: 2px 0px 6px; }
.arh-app .obr-tbl-row { display: grid; gap: 0px 16px; border-bottom: 1px solid rgb(204, 204, 204); }
.arh-app .obr-tbl-2 .obr-tbl-row { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
.arh-app .obr-tbl-3 .obr-tbl-row { grid-template-columns: repeat(3, minmax(0px, 1fr)); }
.arh-app .obr-tbl-4 .obr-tbl-row { grid-template-columns: repeat(4, minmax(0px, 1fr)); }
.arh-app .obr-tbl-c { padding: 4px 8px 3px 0px; font-weight: 700; overflow-wrap: anywhere; }
.arh-app .obr-tbl-head .obr-tbl-c { font-weight: 400; color: rgb(0, 0, 0); }
.arh-app .obr-tbl-c.is-empty { min-height: 17px; }
.arh-app .obr-edit-hint { font-size: 12px; color: var(--muted); }
.arh-app .ie-value { cursor: text; border-radius: 3px; }
.arh-app .ie-value:hover, .arh-app .ie-value:focus-visible, .arh-app .ie-toggle:hover, .arh-app .ie-toggle: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-toggle { display: inline-flex; cursor: pointer; border-radius: 3px; }
.arh-app .ie-toggle-box { display: inline-flex; align-items: center; }
.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; }
@media (max-width: 860px) { .arh-app .obr-layout { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .arh-app .obr-rail { position: static; flex-direction: row; overflow-x: auto; } }
@media (max-width: 860px) { .arh-app .obr-row { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .arh-app .obr-row-l { padding-bottom: 0px; color: rgb(85, 85, 85); } }
@media (max-width: 860px) { .arh-app .obr-mrow { grid-template-columns: minmax(0px, 1fr) 34px; } }
@media (max-width: 860px) { .arh-app .obr-mrow-r { grid-column: 1 / -1; padding-top: 0px; } }
