/* 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; }
