@import url("../vigas/styles.css?v=13");
@import url("../shared/ep-como-usar.css");

.slab-shell { min-width: 1040px; }
#slab-model { display: block; width: 100%; height: 100%; touch-action: none; user-select: none; }
#slab-model.tool-pan { cursor: grab; }
#slab-model.tool-edge { cursor: cell; }
#slab-model.tool-load { cursor: copy; }
.slab-panel { fill: #edf5f2; stroke: #101715; stroke-width: 4; filter: drop-shadow(0 9px 14px rgb(16 23 21 / 10%)); cursor: pointer; }
.slab-panel.selected { stroke: var(--green-dark); stroke-width: 6; }
.slab-edge { stroke-width: 7; cursor: pointer; }
.slab-edge.simple { stroke: #101715; }
.slab-edge.continuous { stroke: var(--green-dark); }
.slab-edge.fixed { stroke: #101715; }
.slab-edge.free { stroke: #aab8b3; stroke-dasharray: 3 8; }
.slab-edge.selected { stroke: #65d6b0; stroke-width: 12; }
.slab-label, .slab-dim, .slab-note { font-family: var(--ep-fonte); font-weight: 300; }
.slab-label { fill: var(--black); font-size: 13px; font-weight: 600; }
.slab-dim { fill: var(--muted); font-size: 11px; }
.slab-note { fill: var(--green-dark); font-size: 10px; font-weight: 650; letter-spacing: .08em; }
.slab-edge-label { fill: #52615c; font-size: 10px; font-weight: 600; letter-spacing: .03em; pointer-events: none; }
.slab-support { fill: white; stroke: #101715; stroke-width: 2; pointer-events: none; }
.slab-support.continuous { fill: none; stroke: var(--green-dark); stroke-width: 2.2; }
.slab-fixed { fill: none; stroke: #101715; stroke-width: 1.8; pointer-events: none; }
.slab-dimension { stroke: #87958f; stroke-width: 1; }
.slab-dimension-arrow { fill: none; stroke: #87958f; stroke-width: 1; }
.slab-extension { stroke: #a7b4af; stroke-width: 1; }
.slab-view-title { fill: var(--green-dark); font-size: 12px; font-weight: 650; letter-spacing: .08em; }
.slab-view-subtitle { fill: var(--muted); font-size: 10px; }
.slab-view-concrete { fill: #edf5f2; stroke: #101715; stroke-width: 3; }
.slab-view-bar-x { stroke: #d33f49; stroke-width: 2.5; }
.slab-view-bar-y { stroke: #246bce; stroke-width: 2.5; }
.slab-view-load { stroke: var(--green); stroke-width: 1.6; marker-end: url(#arrow-green); }
.slab-view-edge { stroke: transparent; stroke-width: 18; cursor: pointer; }
.slab-view-simple { fill: white; stroke: #101715; stroke-width: 1.7; }
.slab-view-continuous { fill: none; stroke: var(--green-dark); stroke-width: 3; }
.slab-view-fixed { fill: none; stroke: #101715; stroke-width: 2.4; stroke-linecap: square; }
.slab-view-free { stroke: #aab8b3; stroke-width: 2; stroke-dasharray: 3 4; }
.slab-view-label { fill: #52615c; font-size: 10px; font-weight: 600; }
.load-profile { stroke: var(--green-dark); stroke-width: 1.5; }
.load-cloud { fill: none; stroke: var(--green); stroke-width: 2; opacity: .9; }
.load-arrow { stroke: var(--green); stroke-width: 1.8; marker-end: url(#arrow-green); }
.moment-band-x { stroke: #df4242; stroke-width: 1.25; opacity: .56; }
.moment-band-y { stroke: #2268c7; stroke-width: 1.25; opacity: .56; }
.moment-band-neg { stroke: var(--green-dark); stroke-width: 3.5; stroke-dasharray: 6 4; }
.negative-strip { fill: rgb(8 127 91 / 10%); stroke: var(--green-dark); stroke-width: 1.25; stroke-dasharray: 5 4; pointer-events: none; }
.legend-arm-x { background: #df4242 !important; }
.legend-arm-y { background: #2268c7 !important; }
.legend-arm-neg { background: var(--green-dark) !important; }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.property-card { padding: 14px 0; border-bottom: 1px solid var(--line); }
.property-card-title { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 8px; min-height: 34px; margin-bottom: 8px; }
.property-card-title strong { flex: 1 1 160px; min-width: 0; font-size: 13px; line-height: 1.15; }
.property-card-title > span { flex: 0 1 auto; color: var(--muted); font-size: 10px; text-align: right; white-space: nowrap; }
.property-card-title .small-button { flex: 0 0 auto; min-height: 29px; padding: 0 10px; white-space: nowrap; }
.load-editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfc; }
.load-editor .wide { grid-column: 1 / -1; }
.load-editor .small-button { justify-self: start; align-self: end; min-height: 28px; padding: 0 10px; }
.optimization-rejected td { background: #fffafa; }
.status-ok, .status-fail { white-space: normal; }
.status-ok strong, .status-fail strong { display: block; font-size: 10px; letter-spacing: .06em; }
.status-ok small, .status-fail small { display: block; margin-top: 3px; font-size: 9px; line-height: 1.3; color: var(--muted); }
.mini-plan-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.slab-detail-card { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fbfcfc; }
.slab-detail-card h3 { margin: 14px 16px 0; color: var(--green-dark); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.slab-detail-card svg { display: block; width: 100%; height: auto; }
.slab-section-line { stroke: #101715; stroke-width: 4; fill: #eef5f2; }
.bar-x { stroke: #df4242; stroke-width: 5; }
.bar-y { stroke: #2268c7; stroke-width: 5; }
.bar-neg { stroke: var(--green-dark); stroke-width: 5; }
.slab-check-list { display: grid; gap: 8px; }

#detailing-preview { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; background: #fafcfb; }
.slab-preview-titleblock rect, .detail-table { fill: #fafcfb; stroke: #9eaca7; stroke-width: 1; }
.slab-preview-titleblock line, .detail-divider { stroke: #9eaca7; stroke-width: 1; }
.slab-preview-titleblock text { fill: #42524c; font-size: 10px; font-weight: 500 !important; }
.detail-concrete { fill: #e7ecea; stroke: #101715; stroke-width: 3; }
.detail-bar-bottom { fill: none; stroke: #d33f49; stroke-width: 4; }
.detail-bar-top { fill: none; stroke: #246bce; stroke-width: 4; }
.detail-bar-perimeter { fill: none; stroke: var(--green-dark); stroke-width: 4; }
.detail-negative-strip { fill: rgb(8 127 91 / 10%); stroke: #087b59; stroke-width: 1.2; stroke-dasharray: 5 4; }
.detail-dimension { fill: none; stroke: #87958f; stroke-width: 1; }
.detail-extension { fill: none; stroke: #a7b4af; stroke-width: 1; }
.detail-cut line { fill: none; stroke: #64736d; stroke-width: 1.3; stroke-dasharray: 7 4; }
.detail-cut-bubble { fill: white; stroke: #101715; stroke-width: 1.5; }
.detail-cut text { fill: #101715; font-size: 12px; font-weight: 650 !important; }
.detail-note { fill: #52615c; font-size: 11px; }
.detail-label { fill: #26332f; font-size: 12px; }
.detail-subtitle { fill: #087f5b; font-size: 13px; font-weight: 650 !important; letter-spacing: .04em; }
.detail-callout { font-size: 11px; font-weight: 600 !important; }
.detail-bar-bottom-text { fill: #b92f39; }
.detail-bar-top-text { fill: #1f5ba9; }
.detail-bar-skin-text { fill: #087b59; }
.detail-position-card { fill: white; stroke: #d4deda; stroke-width: 1; rx: 7px; }
.detail-position-title { fill: #101715; font-size: 12px; font-weight: 650 !important; }
.detail-position-note, .detail-dimension-text { fill: #53635d; font-size: 11px; }

@media (max-width: 1100px) {
  .slab-shell { min-width: 0; }
}

@media (max-width: 900px) {
  .load-editor { grid-template-columns: 1fr; }
  .load-editor .wide { grid-column: auto; }
}
