/* Studio application embedded below the existing shop header. */
.conceptbar,.guide-progress,.concept-description{display:none!important}.appheader{height:70px}.header-divider{display:none}.brand{width:177px}.workspace{height:calc(100dvh - 153px);min-height:550px}.production-loading #planner{visibility:hidden}.production-loading:after{content:'Badplaner wird geladen …';position:fixed;inset:0;display:grid;place-items:center;background:#f4f8fa;color:#5e7483;font-size:18px}.embedded .appheader .brand{display:none}.embedded .appheader{padding-left:22px}.embedded .project{display:grid!important}.project strong[contenteditable]{border-bottom:1px dashed #bfccd3;max-width:250px;white-space:nowrap;overflow:hidden}.studio-caption{background:#eff7fb;border-bottom:1px solid #dce8ef;display:flex;align-items:center;justify-content:space-between;padding:10px 20px;font-size:12px;line-height:1.6;gap:15px}.studio-caption button{font-size:12px;color:#007faa}.catalog-footer{min-height:60px}.footer-project small{line-height:1.4}.price-summary>span{max-width:180px}.price-summary small{font-size:10px;line-height:1.4}.scene-badge{display:none}.scene-bottom{font-size:11px}.inspector .object-price small{line-height:1.6}.room-button-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:15px 0}.room-button-grid button{font-size:12px;padding:10px 6px;white-space:normal;height:auto}.shape-grid{grid-template-columns:repeat(4,1fr)}.shape-grid button{font-size:11px;height:66px}.shape-grid svg{width:26px}.wall-editor{display:grid;grid-template-columns:1fr 1fr;gap:12px}.wall-editor label{font-size:13px;display:grid;gap:7px}.wall-editor input,.wall-editor select{width:100%;padding:10px;border:1px solid #cfdde6;border-radius:6px}.opening-list{margin:12px 0}.opening-row{display:flex;align-items:center;justify-content:space-between;gap:9px;padding:9px 0;border-bottom:1px solid #e6edf1;font-size:12px}.opening-row button{font-size:12px}.floor-draw{width:100%;height:310px;background:#f7fafc;border:1px solid #dce6ed;touch-action:none;cursor:crosshair}.draw-tools{display:flex;gap:10px;margin:12px 0}.draw-tools button{font-size:13px}.vertex-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;max-height:180px;overflow:auto;margin-top:15px}.vertex-list label{font-size:11px;display:flex;align-items:center;gap:4px}.vertex-list input{width:63px;min-width:0;border:1px solid #d8e3e9;border-radius:4px;padding:5px}.validation-bar{position:absolute;top:120px;left:20px;z-index:2;background:#fffbf0ed;border:1px solid #eadbb2;border-radius:6px;padding:8px 12px;font-size:11px;color:#806923;max-width:calc(100% - 40px);pointer-events:none}.saved-status{color:#7c929f;font-size:11px}.link-field{display:flex;gap:10px;margin:10px 0 17px}.link-field input{font:12px monospace;width:100%;min-width:0;padding:11px;border:1px solid #d8e2e9;border-radius:5px}.link-field button{font-size:12px}.account-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.zip-entries{display:grid;gap:8px;max-height:260px;overflow:auto;margin:16px 0}.zip-entry{padding:11px;border:1px solid #d8e4eb;border-radius:6px;display:flex;justify-content:space-between;gap:10px;font-size:12px;align-items:center}.zip-entry span{word-break:break-word}.zip-entry small{display:block;color:#8695a0;margin-top:4px}.zip-entry button{font-size:12px;flex-shrink:0}.zip-entry.unsupported{opacity:.6}.upload-zone{background:#f1f7fa;border:1px dashed #aac5d4;border-radius:8px;padding:20px;text-align:center}.upload-zone input{max-width:100%;font-size:13px}.import-preview-grid{display:grid;grid-template-columns:250px 1fr;gap:24px}.import-preview-grid img{width:100%;height:190px;object-fit:contain;background:#f3f7f9;border-radius:8px}.import-preview-grid label{display:grid;gap:7px;font-size:12px;margin:12px 0}.import-preview-grid select,.import-preview-grid input{padding:10px;width:100%;border:1px solid #d3e0e8;border-radius:5px}.draft-badge{font-size:11px;color:#997732;background:#fff8e4;padding:5px 9px;border-radius:4px}.admin-heading{margin-bottom:22px}.admin-callout p{font-size:12px}.admin-sidebar button{justify-content:flex-start;font-size:13px}.inquiry-card{background:white;border:1px solid #dce7ee;border-radius:9px;padding:20px;margin-bottom:14px}.inquiry-card header{display:flex;align-items:center;justify-content:space-between;gap:15px}.inquiry-card h3{font-size:17px}.inquiry-card p{font-size:13px;line-height:1.7;color:#69808e;white-space:pre-wrap;margin:12px 0}.inquiry-card small{font-size:12px;color:#81929d}.inquiry-card footer{display:flex;gap:12px;align-items:center}.inquiry-card select{padding:9px;border:1px solid #d3e1e9;border-radius:5px}.read-only .panel-content,.read-only .inspector,.read-only #undoButton,.read-only #roofToggle{pointer-events:none;opacity:.55}.read-only .project strong{pointer-events:none}.readonly-info{background:#e8f5fa;padding:10px 20px;font-size:12px;display:flex;align-items:center;justify-content:space-between}.readonly-info button{font-size:12px}.product-card .product-image{background:#eef3f6}.product-meta .maker{font-size:11px}.hidden-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.dirty-dot{width:5px;height:5px;border-radius:50%;background:#d2a141;display:inline-block;margin-right:6px}.error-start{max-width:650px;margin:12vh auto;background:white;padding:30px;border:1px solid #d5e1e9;border-radius:10px;line-height:1.8}.error-start h1{font-size:24px;margin-bottom:15px}.error-start a{color:#007da8}.admin-search{width:100%;padding:11px 13px;border:1px solid #d8e4eb;border-radius:6px;margin-bottom:15px;font:14px inherit}.plan-viewport svg text{user-select:none}.mobile-copy{display:none}
@media(max-width:1150px){.header-actions .primary,.header-actions .outline,.header-actions .quiet{font-size:12px}.workspace{grid-template-columns:252px minmax(0,1fr)}.inspector{display:none}.inspector.open{display:block;position:absolute;right:0;top:70px;bottom:83px;width:280px;z-index:5;box-shadow:-10px 0 50px #17374815}.scene-toolbar-inspect{display:inline-flex}.price-summary small{font-size:9px}.project{display:grid}.brand{width:150px}.appheader{gap:18px}.footer-project{min-width:180px}}
@media(max-width:600px){.appheader{height:64px;padding:0 12px}.appheader .brand,.project{display:none!important}.embedded .project{display:none!important}.header-actions{margin-left:0;width:100%;justify-content:space-between}.header-actions .primary{font-size:10px}.header-actions .outline .desktop-word{display:inline;font-size:10px}.mobile-notice{display:block}.workspace{height:calc(100dvh - 205px);min-height:430px;display:block}.inspector.open{display:none}.planning-footer{min-height:80px}.studio-caption{font-size:10px;padding:8px 13px}.validation-bar{top:100px;font-size:10px}.shape-grid{grid-template-columns:repeat(2,1fr)}.import-preview-grid{grid-template-columns:1fr}.wall-editor{grid-template-columns:1fr}.vertex-list{grid-template-columns:1fr 1fr}.admin-heading p{display:block;font-size:11px;line-height:1.6}.admin-heading{flex-wrap:wrap}.admin-heading .primary{font-size:12px}.admin-sidebar{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px}.admin-sidebar .admin-callout{display:none}.admin-sidebar button{font-size:12px;padding:8px}.inquiry-card header{display:block}.inquiry-card footer{flex-wrap:wrap}.link-field{flex-wrap:wrap}.mobile-copy{display:inline-flex}}
@media print{.studio-caption,.validation-bar,.readonly-info{display:none!important}.print-sheet table{break-inside:auto}.print-sheet tr{break-inside:avoid}.print-sheet thead{display:table-header-group}.print-sheet .elevation{height:145mm!important}.print-sheet .print-footer{margin-top:15px}.print-sheet .objectdim{font-size:10px}.print-sheet .print-note{font-size:9pt;margin:10px 0}}

@media print{.print-sheet svg.plan-print{height:130mm}.print-sheet .position-table{font-size:8pt;margin-top:10px}.print-sheet .position-table td,.print-sheet .position-table th{padding:5px 6px}.print-sheet .elevation{height:130mm!important}}
.shape-grid button{min-width:0;padding:4px}.read-only .view-bottom{display:none}
@media(max-width:600px){.view-bottom{display:none}}
/* Geteilte Planung (Ansichtslink): Die Hinweiszeile "Nur ansehen" ist 59 px hoch und gehört nicht zur Rechnung der Arbeitsfläche oben.
   Ohne diese Regel rutscht die Planungsleiste (Preis, "Beratung anfragen") aus dem Rahmen. */
.readonly-info~.workspace{height:calc(100dvh - 212px);min-height:460px}
@media(max-width:600px){.readonly-info~.workspace{height:calc(100dvh - 264px);min-height:380px}}
