/* Developerské projekty (developer-projects.js, developer-space.js) */
.dp-screen h3 { margin: 6px 0 10px; font-size: 16px; }
.dp-screen h4 { margin: 12px 0 6px; font-size: 14px; }
.dp-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0 16px; }
.dp-summary div { border: 1px solid var(--line, #dfe4e0); border-radius: 12px; padding: 10px 14px; background: #fff; display: grid; gap: 2px; }
.dp-summary span { font-size: 12px; color: #6a776f; text-transform: uppercase; letter-spacing: .05em; }
.dp-summary strong { font-size: 24px; }
.dp-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.dp-card { display: grid !important; grid-template-rows: 150px auto; padding: 0 !important; height: auto !important; min-height: 0 !important; text-align: left; border: 1px solid var(--line, #dfe4e0) !important; border-radius: 14px; overflow: hidden; background: #fff !important; color: inherit !important; box-shadow: none !important; cursor: pointer; }
.dp-card:hover { border-color: var(--brand, #1f6f5b) !important; }
.dp-card-image { display: grid; place-items: center; background: #eef1ee; overflow: hidden; }
.dp-card-image img { width: 100%; height: 150px; object-fit: cover; }
.dp-card-body { display: grid; gap: 4px; padding: 12px 14px; font-weight: 400; }
.dp-card-body strong { font-size: 16px; }
.dp-mini { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; }
.dp-chip { white-space: nowrap; }
.dp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 12px; }
.dp-head > div:nth-child(2) { flex: 1 1 260px; }
.dp-head h2 { margin: 0; }
.dp-head p { margin: 2px 0 0; }
.dp-head-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dp-link { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border: 1px solid var(--line, #dfe4e0); border-radius: 10px; text-decoration: none; color: inherit; }
.dp-tabs { position: sticky; top: 0; z-index: 2; background: var(--bg, #f6f7f5); padding: 6px 0; }
.dp-box { border: 1px solid var(--line, #dfe4e0); border-radius: 14px; background: #fff; padding: 14px 16px; margin: 0 0 14px; }
.dp-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 14px; align-items: start; }
.dp-progress { height: 10px; border-radius: 999px; background: #e7ece8; overflow: hidden; }
.dp-progress span { display: block; height: 100%; background: var(--brand, #1f6f5b); }
.dp-checklist { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.dp-checklist li { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: center; padding: 8px 10px; border-radius: 10px; background: #fbf6ec; }
.dp-checklist li.is-done { background: #eef7f0; }
.dp-checklist li > span { font-weight: 700; color: var(--brand, #1f6f5b); }
.dp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dp-table th, .dp-table td { padding: 7px 8px; border-bottom: 1px solid var(--line, #e4e8e5); text-align: left; vertical-align: middle; }
.dp-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #6a776f; white-space: nowrap; }
.dp-table input, .dp-table select, .dp-table textarea { min-width: 70px; height: 34px; min-height: 34px; }
.dp-table textarea { height: auto; min-width: 180px; }
.dp-units tbody tr { cursor: pointer; }
.dp-units tbody tr:hover { background: #f3f7f4; }
.dp-total td { font-weight: 700; }
.dp-error td { background: #fdecea; }
.dp-preview { max-height: 45vh; overflow: auto; }
.dp-inline { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: 8px 0; }
.dp-inline label { display: grid; gap: 4px; font-size: 13px; }
.dp-filters label select { min-width: 120px; }
.dp-tools button.active { outline: 3px solid rgba(31, 111, 91, .35); }
.dp-check { display: flex !important; align-items: center; gap: 8px; }
.dp-upload { position: relative; display: inline-flex !important; align-items: center; height: 38px; padding: 0 14px; border: 1px dashed var(--brand, #1f6f5b); border-radius: 10px; color: var(--brand, #1f6f5b); font-weight: 600; cursor: pointer; margin: 4px 8px 8px 0; }
.dp-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dp-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-top: 6px; }
.dp-media figure { margin: 0; border: 1px solid var(--line, #e4e8e5); border-radius: 10px; overflow: hidden; background: #fafbfa; }
.dp-media img { display: block; width: 100%; height: 120px; object-fit: cover; background: #eef1ee; cursor: zoom-in; }
.dp-file { display: grid; place-items: center; height: 120px; font-weight: 700; color: #6a776f; background: #eef1ee; }
.dp-media figcaption { display: grid; gap: 2px; padding: 6px 8px; font-size: 12px; }
.dp-media figcaption span:first-child { font-weight: 600; overflow-wrap: anywhere; }
.dp-media-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dp-media .linklike, .dp-room .linklike, .dp-table .linklike { padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; color: var(--brand, #1f6f5b) !important; text-decoration: underline; height: auto; min-height: 0; font-size: 12px; }
.dp-media .linklike.danger, .dp-room .linklike.danger, .dp-table .linklike.danger { color: #b42318 !important; }
.dp-stage { position: relative; display: inline-block; max-width: 100%; border: 1px solid var(--line, #dfe4e0); border-radius: 10px; overflow: hidden; background: #fff; }
.dp-stage img { display: block; max-width: 100%; height: auto; cursor: crosshair; user-select: none; touch-action: none; }
.dp-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dp-price { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 10px 12px; border-radius: 10px; background: #f3f7f4; font-size: 13px; }
.dp-price strong { flex-basis: 100%; }
.dp-next { display: flex; justify-content: flex-end; margin: 6px 0 20px; }
.dp-room { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px; padding: 8px; border-radius: 10px; border: 1px solid var(--line, #e4e8e5); margin-bottom: 6px; cursor: pointer; }
.dp-room.is-selected { border-color: var(--brand, #1f6f5b); background: #f3f7f4; }
.dp-room small { grid-column: 1 / -1; color: #6a776f; }
.dp-render { margin: 8px 0; }
.dp-canvas { width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line, #dfe4e0); }
.dp-list { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.dp-dialog.dp-wide { width: min(1100px, 96vw); }
@media (max-width: 700px) {
  .dp-summary { grid-template-columns: 1fr; }
  .dp-grid2 { grid-template-columns: 1fr; }
}
.dp-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.dp-table select { height: auto !important; min-height: 36px; padding: 4px 30px 4px 10px; line-height: 1.3; font-size: 13px; }
.dp-table select.dp-st-Available { background-color: #eef7f0; }
.dp-table select.dp-st-Reserved { background-color: #fff4e0; }
.dp-table select.dp-st-Sold { background-color: #eef0f2; }
/* Nový projekt z podkladov, výber obrázka s nahratím (21. 10. 2026) */
.dp-primary { font-weight: 700; }
.dp-start { display: grid; gap: 10px; }
.dp-start p { margin: 4px 0 0; }
.dp-secondary-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dp-drop { position: relative; display: grid !important; gap: 4px; place-items: center; text-align: center; padding: 22px 16px; border: 2px dashed var(--brand, #1f6f5b); border-radius: 14px; background: #f3f8f5; color: var(--brand, #1f6f5b); cursor: pointer; }
.dp-drop.is-over { background: #e2f0e8; }
.dp-drop span { color: #5d6b63; font-size: 13px; font-weight: 400; }
.dp-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dp-file-list { max-height: 160px; overflow: auto; margin: 4px 0; padding-left: 18px; font-size: 13px; }
.dp-file-list .linklike { padding: 0 !important; border: 0 !important; background: none !important; height: auto; min-height: 0; color: #b42318 !important; text-decoration: underline; font-size: 12px; }
.dp-ai-extra { border: 1px solid var(--line, #dfe4e0); border-radius: 10px; padding: 8px 12px; }
.dp-ai-extra summary { cursor: pointer; color: #5d6b63; }
.dp-ai-extra label { display: grid; gap: 4px; margin-top: 8px; }
.dp-sources-preview h3 { margin: 16px 0 8px; }
.dp-ai-note { margin: 0 0 8px; }
.dp-warnings { margin: 0 0 10px; padding: 8px 12px 8px 28px; border-radius: 10px; background: #fbf6ec; font-size: 13px; }
.dp-found { display: flex; flex-wrap: wrap; gap: 8px; }
.dp-found span { padding: 6px 10px; border-radius: 999px; background: #eef7f0; font-size: 13px; }
.dp-tag-found { color: var(--brand, #1f6f5b); font-weight: 600; }
.dp-tag-missing { color: #a15c00; }
.dp-src-units input { min-width: 56px; }
.dp-pick-field { display: grid; gap: 4px; font-size: 13px; }
.dp-pick { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.dp-pick select { min-width: 220px; }
.dp-pick .dp-upload { margin: 0; }
.dp-pick-empty { padding: 8px 10px; border-radius: 10px; background: #fbf6ec; color: #7a4b00; }
.dp-tag-draft { color: #7a4b00; background: #fff1d6; border-radius: 6px; padding: 1px 6px; font-weight: 600; }
.dp-drafts { border: 1px solid #f0d9a8; border-radius: 10px; padding: 8px 12px; margin: 10px 0; background: #fffaf0; }
.dp-drafts summary { cursor: pointer; font-weight: 600; }
.dp-drafts label { display: grid; gap: 4px; margin-top: 8px; }
.dp-faq-draft { display: grid; gap: 4px; margin-top: 8px; }
.dp-checklist li.dp-draft-item { background: #fff1d6; }
.dp-checklist li.dp-draft-item > span:first-child { color: #a15c00; }
.dp-draft-actions { display: flex; flex-wrap: wrap; gap: 6px; }
/* Technická špecifikácia (záložka Štandard a holobyt) */
.dp-spec .dp-empty { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dp-spec-sec { border: 1px solid var(--line, #e4e8e5); border-radius: 10px; margin: 8px 0; padding: 6px 10px; background: #fff; }
.dp-spec-sec > summary { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; }
.dp-spec-sec > summary input { flex: 1 1 260px; font-weight: 700; }
.dp-spec-sec textarea { width: 100%; min-width: 260px; }
.dp-spec-sec td:first-child input { min-width: 150px; }

/* ---- Auto fill: „Jeden klik. Celý projekt.“ ---- */
.dp-af-launch { background: linear-gradient(135deg, #1f4d3f, #2f6b57); color: #fff; box-shadow: 0 6px 18px rgba(31, 77, 63, .35); }
dialog.dp-af-dialog { width: min(1080px, 96vw); }
dialog.dp-af-dialog > .editor-card { background: #10201a; color: #eef3ef; }
dialog.dp-af-dialog .editor-heading h2 { color: #fff; }
dialog.dp-af-dialog .icon-button { color: #fff; }
dialog.dp-af-dialog .muted { color: #a9bab1; }
.dp-af-steps { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.dp-af-steps span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 99px; background: rgba(255, 255, 255, .06); color: #8fa59a; font-size: 13px; font-weight: 700; }
.dp-af-steps span b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.dp-af-steps span.on { color: #e6c27a; } .dp-af-steps span.on b { background: #c9a04d; color: #10201a; }
.dp-af-steps span.now { background: rgba(201, 160, 77, .16); }
.dp-af-hero { text-align: center; padding: 10px 0 18px; }
.dp-af-kicker { margin: 0; color: #c9a04d; letter-spacing: .2em; font-weight: 800; font-size: 12px; }
.dp-af-hero h2 { margin: 8px 0 10px; font: 800 clamp(30px, 5vw, 52px)/1.05 Manrope, sans-serif; color: #fff; }
.dp-af-hero h2 em { font-family: 'Playfair Display', serif; font-weight: 500; color: #e6c27a; }
.dp-af-hero p { max-width: 720px; margin: 0 auto; color: #c7d4cd; line-height: 1.6; }
.dp-af .dp-drop { background: rgba(255, 255, 255, .04); border: 2px dashed rgba(201, 160, 77, .55); color: #eef3ef; min-height: 150px; }
.dp-af .dp-drop:hover { background: rgba(201, 160, 77, .08); }
.dp-af-count { margin: 14px 0 6px; } .dp-af-chips { display: flex; flex-wrap: wrap; gap: 6px; max-height: 120px; overflow: auto; }
.dp-af-chips span { padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .08); font-size: 12px; }
.dp-af .form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.dp-af .secondary { background: transparent; color: #eef3ef; border-color: rgba(255, 255, 255, .25); }
.dp-af-proc h2, .dp-af-ask h2, .dp-af-make h2, .dp-af-eval h2 { margin: 0 0 10px; color: #fff; font: 800 26px Manrope, sans-serif; }
.dp-af-tasks { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; }
.dp-af-tasks li { padding-left: 28px; position: relative; color: #c7d4cd; }
.dp-af-tasks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #c9a04d; border-right-color: transparent; animation: dp-af-spin .8s linear infinite; }
.dp-af-tasks li.ok::before { content: '✓'; border: 0; animation: none; color: #6fd39a; font-weight: 800; top: 0; }
@keyframes dp-af-spin { to { transform: rotate(360deg); } }
.dp-af-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 6px; max-height: 46vh; overflow: auto; }
.dp-af-file { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); animation: dp-af-in .35s ease both; font-size: 13px; }
.dp-af-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #c7d4cd; }
.dp-af-file b { flex: none; padding: 3px 9px; border-radius: 99px; background: rgba(201, 160, 77, .18); color: #f0d9a4; font-size: 11px; }
.dp-af-file b[data-k=table] { background: rgba(111, 211, 154, .18); color: #9ae6bd; } .dp-af-file b[data-k=floorplan], .dp-af-file b[data-k=keyplan], .dp-af-file b[data-k=drawing] { background: rgba(120, 170, 255, .18); color: #b9d2ff; }
@keyframes dp-af-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.dp-af-qs { display: grid; gap: 10px; margin-top: 12px; }
.dp-af-q { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid transparent; transition: border-color .2s; }
.dp-af-q.done { border-color: rgba(111, 211, 154, .45); } .dp-af-q.listening { border-color: #c9a04d; box-shadow: 0 0 0 4px rgba(201, 160, 77, .18); }
.dp-af-q p { margin: 0 0 10px; font-weight: 700; color: #fff; }
.dp-af-a { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.dp-af-a input { flex: 1 1 200px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); color: #fff; border-radius: 10px; padding: 8px 12px; }
.dp-af-chip { border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #eef3ef; border-radius: 99px; padding: 6px 14px; cursor: pointer; font-weight: 700; }
.dp-af-chip.active { background: #c9a04d; border-color: #c9a04d; color: #10201a; }
.dp-af-mic { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #c9a04d; color: #10201a; font-size: 18px; cursor: pointer; }
.dp-af-heard { display: block; margin-top: 6px; color: #9ae6bd; min-height: 1em; }
.dp-af-voice { color: #c7d4cd; }
.dp-af-eval { display: grid; gap: 16px; }
.dp-af-score { display: flex; align-items: center; gap: 22px; }
.dp-af-ringbox { position: relative; width: 120px; height: 120px; flex: none; display: grid; place-items: center; text-align: center; }
.dp-af-ringbox strong { position: absolute; top: 34px; left: 0; right: 0; font: 800 38px Manrope, sans-serif; color: #fff; }
.dp-af-ringbox small { position: absolute; top: 76px; left: 0; right: 0; color: #a9bab1; font-size: 12px; }
.dp-af-ring { width: 120px; height: 120px; transform: rotate(-90deg); }
.dp-af-ring circle { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 10; }
.dp-af-ring circle.val { stroke: #c9a04d; stroke-linecap: round; transition: stroke-dasharray 1.2s ease; }
.dp-af-crit { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 8px; }
.dp-af-crit li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border-left: 3px solid #6fd39a; }
.dp-af-crit li.warn { border-left-color: #e6a23c; }
.dp-af-crit b { color: #fff; } .dp-af-crit span { grid-column: 1; color: #c7d4cd; font-size: 13px; } .dp-af-crit em { grid-row: 1; grid-column: 2; font-style: normal; color: #f0d9a4; font-weight: 800; }
.dp-af-brief { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .04); }
.dp-af-brief h3 { margin: 0 0 12px; color: #fff; }
.dp-af-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.dp-af-kpis div { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
.dp-af-kpis b { display: block; font: 800 22px Manrope, sans-serif; color: #e6c27a; } .dp-af-kpis span { font-size: 12px; color: #a9bab1; }
.dp-af-mix { display: grid; gap: 6px; margin: 14px 0 6px; }
.dp-af-mix div { display: grid; grid-template-columns: 110px 1fr 30px; align-items: center; gap: 10px; font-size: 13px; }
.dp-af-mix i { height: 10px; border-radius: 99px; background: linear-gradient(90deg, #2f8f57, #c9a04d); }
.dp-af-out { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
.dp-af-out li { padding: 10px 14px 10px 40px; position: relative; border-radius: 12px; background: rgba(255, 255, 255, .05); color: #c7d4cd; }
.dp-af-out li::before { content: ''; position: absolute; left: 14px; top: 13px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid #c9a04d; border-right-color: transparent; animation: dp-af-spin .8s linear infinite; }
.dp-af-out li.ok { color: #fff; } .dp-af-out li.ok::before { content: '✓'; border: 0; animation: none; color: #6fd39a; font-weight: 800; top: 9px; }
.dp-af-done { margin-top: 16px; padding: 18px; border-radius: 16px; background: linear-gradient(135deg, rgba(201, 160, 77, .2), rgba(47, 143, 87, .2)); }
.dp-af-done h3 { margin: 0 0 6px; color: #fff; font: 800 22px Manrope, sans-serif; }
@media (prefers-reduced-motion: reduce) { .dp-af-file { animation: none; } .dp-af-tasks li::before, .dp-af-out li::before { animation: none; } }
dialog.dp-af-dialog .editor-heading { background: #10201a; border: 0; }  /* hlavička je prilepená — obsah pod ňou nesmie presvitať */
.dp-af-voice { display: inline-flex !important; align-items: center; gap: 8px; width: auto !important; }
.dp-af-voice input { width: auto; margin: 0; }
.dp-af-mic { display: grid; place-items: center; }
