/* =========================================================
   GUADESK — DYNAMICZNY RYSUNEK TECHNICZNY BLATU
   Widok z góry
   ========================================================= */

.desk-technical {
    position: relative;
    padding: clamp(18px, 2vw, 26px);
    overflow: hidden;
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-radius-lg);
    background: var(--sw-surface-1);
}

.desk-technical__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.desk-technical__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--sw-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.desk-technical h3 {
    margin: 0;
    color: var(--sw-text);
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.15;
}

.desk-technical__unit {
    flex: 0 0 auto;
    padding: 7px 10px;
    border: 1px solid var(--sw-border);
    border-radius: 999px;
    color: var(--sw-muted);
    background: var(--sw-surface-2);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    white-space: nowrap;
    text-transform: uppercase;
}

.desk-technical__stage {
    position: relative;
    width: 100%;
    min-height: 390px;
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 18px;
    overflow: hidden;
    background:
        linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px),
        #0d0f13;
    background-size: 28px 28px;
}

.desk-technical__svg {
    display: block;
    width: 100%;
    min-height: 390px;
    height: auto;
    aspect-ratio: 1000 / 650;
    overflow: visible;
}

.desk-technical__note {
    margin: 14px 0 0;
    color: var(--sw-muted);
    font-size: 11px;
    line-height: 1.55;
}

.desk-technical .tech-board {
    fill: rgba(255, 255, 255, .035);
    stroke: #e9edf4;
    stroke-width: 2.3;
    vector-effect: non-scaling-stroke;
}

.desk-technical .tech-board-centerline {
    fill: none;
    stroke: rgba(255, 255, 255, .13);
    stroke-width: 1;
    stroke-dasharray: 7 8;
    vector-effect: non-scaling-stroke;
}

.desk-technical .tech-accessory {
    fill: rgba(255, 107, 0, .13);
    stroke: #ff8124;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

.desk-technical .tech-accessory-detail {
    fill: none;
    stroke: rgba(255, 255, 255, .42);
    stroke-width: 1.1;
    vector-effect: non-scaling-stroke;
}

.desk-technical .tech-led {
    fill: rgba(255, 107, 0, .23);
    stroke: #ff8124;
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

.desk-technical .tech-dim,
.desk-technical .tech-extension,
.desk-technical .tech-leader {
    fill: none;
    stroke: rgba(230, 235, 243, .68);
    stroke-width: 1.15;
    vector-effect: non-scaling-stroke;
}

.desk-technical .tech-extension {
    stroke: rgba(230, 235, 243, .34);
}

.desk-technical .tech-leader {
    stroke: rgba(255, 129, 36, .75);
}

.desk-technical .tech-dim-text,
.desk-technical .tech-label,
.desk-technical .tech-small {
    fill: #edf0f5;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    paint-order: stroke;
    stroke: #0d0f13;
    stroke-width: 4px;
    stroke-linejoin: round;
}

.desk-technical .tech-dim-text {
    font-size: 18px;
    font-weight: 700;
    text-anchor: middle;
}

.desk-technical .tech-label {
    font-size: 14px;
    font-weight: 700;
}

.desk-technical .tech-small {
    fill: rgba(237, 240, 245, .72);
    font-size: 12px;
}

.desk-technical .tech-radius {
    fill: none;
    stroke: #ff8124;
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

@media (max-width: 640px) {
    .desk-technical {
        padding: 16px;
    }

    .desk-technical__header {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .desk-technical__stage,
    .desk-technical__svg {
        min-height: 310px;
    }
}
