/* Scene 1, »Podatki o gradnji« + odškodnina — app styles, extracted from
   app/shared/app.css (only rules these cards 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 textarea { 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:disabled { opacity: 0.48; cursor: default; }
.app-frame input:where(:not([type="checkbox"], [type="radio"], [type="range"], [type="file"], [type="color"], [type="button"], [type="submit"], [type="reset"], [type="hidden"])), .app-frame textarea { 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 input:where(:not([type="checkbox"], [type="radio"], [type="range"], [type="file"], [type="color"], [type="button"], [type="submit"], [type="reset"], [type="hidden"])):focus, .app-frame textarea:focus { border-color: rgba(var(--vivid-rgb), 0.55); box-shadow: 0 0 0 3px rgba(var(--vivid-rgb), 0.13); }
.app-frame input:where(:not([type="checkbox"], [type="radio"], [type="range"], [type="file"], [type="color"], [type="button"], [type="submit"], [type="reset"], [type="hidden"])):disabled, .app-frame textarea: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 textarea { resize: vertical; }
.app-frame .panel { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 22px; }
.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"]:hover:not(:disabled):not(:checked) { border-color: rgba(var(--navy-rgb), 0.26); }
.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 .panel-foot { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.arh-app .panel-foot > .btn-secondary:first-child { margin-right: auto; }
.arh-app .dgd-save-status { color: var(--muted); font-size: 12px; min-height: 18px; }
.arh-app .dgd-save-status:empty { display: none; }
.arh-app .form-full { grid-column: 1 / -1; }
.arh-app .form-field { margin-bottom: 16px; }
.arh-app .objekt-grid > .form-field, .arh-app .objekt-grid-2 > .form-field { margin-bottom: 0px; }
.arh-app .form-field.form-full { margin-top: 14px; }
.arh-app .form-field.form-full:first-child { margin-top: 0px; }
.arh-app .form-field label { display: block; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 6px; }
.arh-app .form-field input:not([type="checkbox"]), .arh-app .form-field textarea { width: 100%; box-sizing: border-box; padding: 0px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-size: 13px; font-weight: 500; font-family: inherit; color: var(--text); background: var(--surface); outline: none; transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s; }
.arh-app .form-field input:not([type="checkbox"]) { height: 42px; }
.arh-app .form-field textarea { padding: 12px 14px; resize: vertical; line-height: 1.55; min-height: 110px; }
.arh-app .form-field input:not([type="checkbox"])::placeholder, .arh-app .form-field textarea::placeholder { color: var(--muted); opacity: 0.65; }
.arh-app .form-field input:not([type="checkbox"]):hover, .arh-app .form-field textarea:hover { border-color: rgba(var(--navy-rgb),0.26); }
.arh-app .form-field input:not([type="checkbox"]):focus, .arh-app .form-field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(var(--teal-rgb),0.14); background-color: var(--surface); }
.arh-app .app-main .panel.active { overflow: visible; border: none; }
.arh-app textarea { font-family: inherit; font-size: 13px; font-weight: 500; line-height: 1.65; color: var(--text); width: 100%; box-sizing: border-box; padding: 12px 14px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; outline: none; transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s; }
.arh-app textarea:hover { border-color: rgba(var(--navy-rgb),0.26); }
.arh-app textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(var(--teal-rgb),0.14); background: var(--surface); }
.arh-app textarea::placeholder { color: var(--muted); opacity: 0.65; }
.arh-app .step-actions-row { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.arh-app .idz-actions-msg { font-size: 12px; color: var(--muted); }
.arh-app .objekt-card { border: 1px solid var(--line-soft); border-radius: 12px; padding: 20px; margin-bottom: 16px; background: var(--surface); }
.arh-app .objekt-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.arh-app .objekt-card-title { font-size: 14px; font-weight: 700; color: var(--text); }
.arh-app .objekt-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px 16px; }
.arh-app .objekt-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.arh-app .objekt-grid > .form-field, .arh-app .objekt-grid-2 > .form-field { display: flex; flex-direction: column; }
.arh-app .objekt-grid > .form-field > label, .arh-app .objekt-grid-2 > .form-field > label { flex: 1 0 auto; display: flex; align-items: flex-end; }
.arh-app .objekt-section-label { font-size: 13px; font-weight: 700; letter-spacing: 0px; text-transform: none; color: var(--text); margin: 22px 0px 12px; padding-bottom: 6px; border-bottom: 1px solid var(--line-soft); }
.arh-app .objekt-section-hint { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.arh-app .idz-zazidana { padding: 0px 12px; height: 42px; display: flex; align-items: center; font-size: 13px; color: var(--muted); background: var(--app-bg); border: 1.5px solid var(--line-soft); border-radius: 8px; }
.arh-app .idz-derived { padding: 11px 12px; min-height: 42px; font-size: 13px; color: var(--muted); background: var(--app-bg); border: 1.5px solid var(--line-soft); border-radius: 8px; white-space: pre-wrap; line-height: 1.55; }
.arh-app .idz-derived:empty::before { content: "—"; }
@media (max-width: 860px) { .arh-app .objekt-grid, .arh-app .objekt-grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .arh-app .step-actions-row { flex-direction: column; align-items: stretch; } }
.arh-app .dgd-root { font-family: var(--font); color: var(--text); }
.arh-app .dgd-root .tech-check { display: flex; align-items: center; gap: 9px; min-height: 38px; padding: 8px 11px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); font-size: 12px; line-height: 1.35; }
.arh-app .dgd-root .tech-check span { min-width: 0px; }
.arh-app .dgd-root .tech-check:has(input:checked) { border-color: rgba(37, 99, 235, 0.35); background: rgba(var(--teal-rgb), 0.04); }
.arh-app .dgd-root .tech-check:has(input:not(:disabled)) { cursor: pointer; }
.arh-app .dgd-root .tech-check:has(input:not(:disabled)):hover { border-color: var(--navy); background: var(--white); }
.arh-app .dgd-root .form-field label.tech-check { display: flex; align-items: center; gap: 9px; margin: 0px; text-transform: none; letter-spacing: 0px; color: var(--text); font-size: 12px; font-weight: 600; }
.arh-app .dgd-root .objekt-card { border: 1px solid var(--line); padding: 20px; margin-bottom: 16px; background: var(--surface); }
.arh-app .dgd-root .objekt-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.arh-app .dgd-root .objekt-card-title { font-size: 14px; font-weight: 700; }
.arh-app .dgd-root .objekt-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px 16px; }
.arh-app .dgd-root .objekt-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.arh-app .od-facts { display: flex; flex-direction: column; gap: 6px; }
.arh-app .od-fact { font-size: 13px; color: var(--text); }
.arh-app .od-total { font-size: 16px; font-weight: 800; color: var(--teal); }
