/* ════════════════════════════════════════════════════════════════════════════
   Modelul structural (/ro/bim/model-structural) — după macheta „FEM Model Editor"
   (Desktop\Frontend FEM, 2026-10-01) și schema modelului geotehnic: antet · ribbon ·
   trei coloane (explorator | desen și consolă | proprietăți) · bara de stare.
   Paleta e cea a programului geotehnic (--gm-*), plus câteva culori de obiect (--sm-*).
   Încărcat doar de pagina asta (HeadContent).
   ════════════════════════════════════════════════════════════════════════════ */
:root, [data-bs-theme="dark"] {
    --gm-bg:#0b0e14; --gm-card:#131722; --gm-card2:#1b2030; --gm-border:#262c3d;
    --gm-accent:#8b7cf8; --gm-text:#dde3ee; --gm-muted:#7d8799; --gm-faint:#3c4459;
    --gm-input-bg:#0b0e14; --gm-loadc:#fb923c; --gm-ok:#4ade80; --gm-warn:#fbbf24;
    --gm-err-bg:#2a0f0f; --gm-err-text:#fca5a5;
    --gm-acc-soft:rgba(139,124,248,.14); --gm-acc-ring:rgba(139,124,248,.45); --gm-on-acc:#0b0e14;
    --gm-hdr:#080a0f; --gm-hdr-text:#dde3ee; --gm-hdr-muted:#7d8799; --gm-hdr-hover:#161b26;
    --gm-hdr-border:#1c2230; --gm-line:#1e2433; --gm-hdr-btn:#c4c9d3;
    --sm-bara:#7c9cff; --sm-stalp:#a5b4fc; --sm-supr:#34d399; --sm-reazem:#22d3ee; --sm-aux:#64748b;
    --sm-ax:#4b5568; --sm-poz:#f87171; --sm-neg:#60a5fa; --sm-ax-x:#f87171; --sm-ax-y:#4ade80; --sm-ax-z:#60a5fa;
}
[data-bs-theme="light"] {
    --gm-bg:#f6f8fb; --gm-card:#ffffff; --gm-card2:#eef2f8; --gm-border:#d3dbe8;
    --gm-accent:#5b5be6; --gm-text:#1a2130; --gm-muted:#5d6779; --gm-faint:#a8b2c4;
    --gm-input-bg:#ffffff; --gm-loadc:#c2410c; --gm-ok:#15803d; --gm-warn:#a16207;
    --gm-err-bg:#fff1f1; --gm-err-text:#b91c1c;
    --gm-acc-soft:rgba(91,91,230,.10); --gm-acc-ring:rgba(91,91,230,.40); --gm-on-acc:#ffffff;
    --gm-hdr:#12161c; --gm-hdr-text:#e7e9ee; --gm-hdr-muted:#8a93a3; --gm-hdr-hover:#1f252e;
    --gm-hdr-border:#2a313b; --gm-line:#e6ebf2; --gm-hdr-btn:#c4c9d3;
    --sm-bara:#2c4a86; --sm-stalp:#1f3563; --sm-supr:#2f9a74; --sm-reazem:#0e8a8c; --sm-aux:#94a3b8;
    --sm-ax:#b9c1cc; --sm-poz:#dc2626; --sm-neg:#2563eb; --sm-ax-x:#d6453b; --sm-ax-y:#2f9a74; --sm-ax-z:#2f6bd8;
}

.sm-app { display:grid; grid-template-columns:minmax(0,1fr); min-width:0; grid-template-rows:46px auto minmax(0,1fr) 28px; height:calc(100vh - 3.5rem - 20px); min-height:620px;
    border:1px solid var(--gm-border); border-radius:12px; overflow:hidden; background:var(--gm-bg); color:var(--gm-text);
    font-family:var(--font-calc); container-type:inline-size; container-name:sm; position:relative; }
html.gm-focus .sm-app { height:100vh; border-radius:0; border:none; }
.sm-app > * { min-width:0; }
/* app.css ascunde programul până se încarcă foaia asta (fără iconițe uriașe la prima vizită). */
.sm-app { visibility:visible; }
.sm-app .ic { width:18px; height:18px; flex:none; display:block; }
.sm-app .ic.ic-lg { width:24px; height:24px; }
.sm-app button { font-family:inherit; }

/* 1. antet */
.sm-hdr { display:flex; align-items:center; gap:10px; padding:0 12px 0 14px; background:var(--gm-hdr); color:var(--gm-hdr-text);
    border-bottom:1px solid var(--gm-hdr-border); min-width:0; font-family:var(--font-ui, inherit); }
.sm-brand { display:flex; align-items:center; gap:7px; white-space:nowrap; font-size:13px; }
.sm-brand b { font-weight:600; }
.sm-crumb { color:var(--gm-hdr-muted); }
.sm-hdr-nav { display:flex; align-items:center; gap:2px; margin-left:6px; }
.sm-hdr-btn { height:30px; padding:0 10px; border:none; background:none; border-radius:6px; color:var(--gm-hdr-btn);
    display:flex; align-items:center; gap:7px; white-space:nowrap; cursor:pointer; font-size:12.5px; }
.sm-hdr-btn:hover { background:var(--gm-hdr-hover); color:#fff; }
.sm-hdr-btn.icon { width:30px; padding:0; justify-content:center; }
.sm-hdr-btn.on { color:var(--gm-accent); background:var(--gm-hdr-hover); }
.sm-hdr-btn:disabled { opacity:.35; cursor:default; background:none; }
.sm-hdr-sep { width:1px; height:20px; background:var(--gm-hdr-border); margin:0 4px; flex:none; }
.sm-hdr-mid { flex:1; display:flex; justify-content:center; align-items:center; gap:10px; min-width:0; }
.sm-proj { font-weight:500; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size:13px; }
.sm-saved { display:flex; align-items:center; gap:5px; color:var(--gm-hdr-muted); font-size:11.5px; white-space:nowrap; }
.sm-dot { display:inline-block; width:6px; height:6px; border-radius:50%; background:var(--gm-ok); flex:none; }
.sm-dot.lucru { background:var(--gm-warn); animation:sm-pulsa 1s ease-in-out infinite; }
.sm-dot.nu { background:var(--gm-faint); }
@keyframes sm-pulsa { 50% { opacity:.3; } }
.sm-btn-ghost { height:30px; padding:0 12px; border-radius:7px; border:1px solid var(--gm-hdr-border); background:#141922;
    color:var(--gm-hdr-text); display:flex; align-items:center; gap:7px; white-space:nowrap; cursor:pointer; font-size:12.5px; }
.sm-btn-ghost:hover { background:#1b212c; border-color:#3a4352; }
.sm-btn-run { height:30px; padding:0 14px 0 11px; border-radius:7px; border:none; background:var(--gm-accent); color:var(--gm-on-acc);
    font-weight:600; display:flex; align-items:center; gap:7px; white-space:nowrap; cursor:pointer; font-size:12.5px;
    box-shadow:0 1px 0 rgba(255,255,255,.18) inset, 0 4px 14px var(--gm-acc-ring); }
.sm-btn-run:disabled, .sm-btn-ghost:disabled { opacity:.55; cursor:default; }

/* 2. ribbon */
.sm-ribbon { position:relative; z-index:6; background:var(--gm-card); border-bottom:1px solid var(--gm-border); font-family:var(--font-ui, inherit); }
.sm-modes { display:flex; align-items:center; gap:8px; padding:6px 10px; border-bottom:1px solid var(--gm-border); background:var(--gm-bg); }
.sm-seg { display:flex; padding:3px; gap:2px; border-radius:9px; background:var(--gm-card); border:1px solid var(--gm-border); }
.sm-seg button { height:26px; padding:0 12px; border:none; border-radius:6px; background:none; color:var(--gm-muted);
    font-weight:500; font-size:12px; display:flex; align-items:center; gap:6px; cursor:pointer; }
.sm-seg button:hover:not(.on):not(:disabled) { color:var(--gm-text); }
.sm-seg button.on { background:var(--gm-acc-soft); color:var(--gm-accent); box-shadow:inset 0 0 0 1px var(--gm-acc-ring); }
.sm-seg button:disabled { opacity:.4; cursor:default; }
.sm-seg .ic { width:15px; height:15px; }
.sm-modes-right { margin-left:auto; display:flex; align-items:center; gap:8px; }
.sm-chip-r { font-family:var(--font-calc); font-size:10.5px; padding:3px 8px; border-radius:6px; border:1px solid var(--gm-border);
    background:var(--gm-card); color:var(--gm-muted); white-space:nowrap; }
.sm-caz-sel { display:flex; align-items:center; gap:6px; font-size:11px; color:var(--gm-muted); }
.sm-caz-sel select { height:26px; }
.sm-rtools { display:flex; align-items:stretch; padding:6px 6px 0; min-height:88px; overflow-x:auto; overflow-y:visible; }
.sm-grp { display:flex; flex-direction:column; padding:0 8px; border-right:1px solid var(--gm-line); position:relative; }
.sm-grp:last-child { border-right:none; }
.sm-grp-body { flex:1; display:flex; align-items:center; gap:2px; }
.sm-grp-cap { height:22px; display:flex; align-items:center; justify-content:center; font-family:var(--font-calc);
    font-size:9.5px; letter-spacing:1.2px; text-transform:uppercase; color:var(--gm-faint); white-space:nowrap; }
.sm-tb-big { min-width:60px; height:60px; border:none; border-radius:8px; background:none; color:var(--gm-text); cursor:pointer;
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px;
    font-size:11px; font-weight:500; line-height:1.1; text-align:center; padding:0 6px; }
.sm-tb-sm { height:28px; min-width:28px; padding:0 8px; border:none; border-radius:7px; background:none; color:var(--gm-text);
    display:flex; align-items:center; justify-content:center; gap:7px; font-size:11.5px; cursor:pointer; white-space:nowrap; }
.sm-tb-big:hover, .sm-tb-sm:hover { background:var(--gm-card2); }
.sm-tb-big.on, .sm-tb-sm.on { background:var(--gm-acc-soft); color:var(--gm-accent); box-shadow:inset 0 0 0 1px var(--gm-acc-ring); }
.sm-tb-big:disabled, .sm-tb-sm:disabled { opacity:.4; cursor:default; background:none; }
.sm-grila2 { display:grid; grid-template-columns:repeat(2, 30px); grid-template-rows:repeat(2, 28px); gap:2px; align-content:center; }
.sm-grila2 .sm-tb-sm { padding:0; }
.sm-col { display:flex; flex-direction:column; align-items:stretch; justify-content:center; gap:3px; }
/* butonul despărțit: iconița = unealta implicită, eticheta = lista de tipuri */
.sm-split { position:relative; display:flex; flex-direction:column; align-items:stretch; border-radius:8px; }
.sm-split.on { background:var(--gm-acc-soft); box-shadow:inset 0 0 0 1px var(--gm-acc-ring); }
.sm-split-ic { height:36px; min-width:64px; border:none; background:none; color:var(--gm-text); border-radius:8px 8px 0 0;
    display:flex; align-items:center; justify-content:center; cursor:pointer; }
.sm-split-lst { border:none; background:none; color:var(--gm-text); font-size:11px; font-weight:500; padding:2px 6px 5px;
    border-radius:0 0 8px 8px; display:flex; align-items:center; justify-content:center; gap:3px; cursor:pointer; white-space:nowrap; }
.sm-split-ic:hover, .sm-split-lst:hover { background:var(--gm-card2); }
.sm-split.on .sm-split-ic, .sm-split.on .sm-split-lst { color:var(--gm-accent); }
.sm-split-lst svg { width:9px; height:9px; }
/* fixă pe ecran: rândul de unelte derulează pe orizontală și ar tăia lista; poziția o pune smEditor.dd() */
.sm-dd { position:fixed; top:-9999px; left:0; z-index:90; min-width:220px; background:var(--gm-card); border:1px solid var(--gm-border);
    border-radius:9px; padding:4px; box-shadow:0 14px 34px rgba(0,0,0,.35); }
.sm-dd button { display:flex; width:100%; justify-content:space-between; gap:10px; align-items:center; border:none; background:none;
    color:var(--gm-text); padding:7px 10px; border-radius:6px; font-size:12px; cursor:pointer; text-align:left; }
.sm-dd button:hover { background:var(--gm-card2); }
.sm-dd button.on { color:var(--gm-accent); background:var(--gm-acc-soft); font-weight:600; }
.sm-dd .tag { font-family:var(--font-calc); font-size:10px; color:var(--gm-muted); }
.sm-dd-fundal { position:fixed; inset:0; z-index:5; }
.sm-slider { display:grid; grid-template-columns:auto 96px; gap:3px 8px; align-items:center; font-size:10.5px; color:var(--gm-muted); }
.sm-slider input[type=range] { accent-color:var(--gm-accent); width:96px; }
.sm-pill-seg { display:flex; gap:2px; padding:3px; background:var(--gm-bg); border:1px solid var(--gm-border); border-radius:9px; }
.sm-pill-seg button { height:28px; min-width:30px; padding:0 9px; border:none; border-radius:6px; background:none; color:var(--gm-muted);
    font-family:var(--font-calc); font-size:11px; white-space:nowrap; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:5px; }
.sm-pill-seg button:hover:not(.on) { color:var(--gm-text); }
.sm-pill-seg button.on { background:var(--gm-card2); color:var(--gm-accent); box-shadow:inset 0 0 0 1px var(--gm-acc-ring); }
.sm-pill-seg button:disabled { opacity:.35; cursor:default; }

/* 3. corpul: trei coloane */
.sm-corp { display:grid; grid-template-columns:268px minmax(0,1fr) 316px; gap:8px; padding:8px; min-height:0; }
.sm-st, .sm-dr { display:flex; flex-direction:column; min-height:0; background:var(--gm-card); border:1px solid var(--gm-border); border-radius:10px; overflow:hidden; }
.sm-centru { display:grid; grid-template-rows:minmax(0,1fr) 168px; gap:8px; min-width:0; min-height:0; }
.sm-centru.consola-inchisa { grid-template-rows:minmax(0,1fr) 36px; }

/* explorator */
.sm-st-cap { padding:8px 8px 6px; border-bottom:1px solid var(--gm-border); display:flex; flex-direction:column; gap:7px; }
.sm-st-cap .sm-seg { width:100%; }
.sm-st-cap .sm-seg button { flex:1; justify-content:center; }
.sm-cauta { display:flex; align-items:center; gap:7px; height:30px; border:1px solid var(--gm-border); border-radius:7px; padding:0 8px; background:var(--gm-input-bg); }
.sm-cauta input { flex:1; min-width:0; border:none; outline:none; background:none; color:var(--gm-text); font-size:12px; font-family:var(--font-ui, inherit); }
.sm-cauta .kbd { font-size:9.5px; color:var(--gm-muted); border:1px solid var(--gm-border); border-radius:4px; padding:0 4px; }
.sm-cauta svg { width:14px; height:14px; color:var(--gm-muted); }
.sm-arbore { flex:1; overflow:auto; padding:4px 4px 10px; font-size:12px; font-family:var(--font-ui, inherit); }
.sm-cat { display:flex; align-items:center; gap:7px; padding:7px 6px 5px; cursor:pointer; color:var(--gm-muted); border-radius:6px;
    font-family:var(--font-calc); font-size:10.5px; letter-spacing:1.2px; text-transform:uppercase; user-select:none; }
.sm-cat:hover { color:var(--gm-text); }
.sm-cat .n { margin-left:auto; color:var(--gm-faint); letter-spacing:0; }
.sm-cat .chev { width:10px; height:10px; transition:transform .12s; }
.sm-cat.deschis .chev { transform:rotate(90deg); }
.sm-cat .plus { border:none; background:none; color:var(--gm-muted); padding:0 3px; cursor:pointer; font-size:14px; line-height:1; }
.sm-cat .plus:hover { color:var(--gm-accent); }
.sm-rand { display:flex; align-items:center; gap:7px; padding:4px 6px 4px 18px; border-radius:6px; cursor:pointer; position:relative; min-height:26px; }
.sm-rand:hover { background:var(--gm-card2); }
.sm-rand.on { background:var(--gm-acc-soft); color:var(--gm-accent); }
.sm-rand.on::before { content:""; position:absolute; left:0; top:4px; bottom:4px; width:2px; border-radius:2px; background:var(--gm-accent); }
.sm-rand.grup { padding-left:12px; font-weight:500; }
.sm-rand.adanc { padding-left:30px; }
.sm-rand .nume { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sm-rand .det { margin-left:auto; color:var(--gm-muted); font-family:var(--font-calc); font-size:10.5px; white-space:nowrap; }
.sm-rand .chip { font-family:var(--font-calc); font-size:9.5px; padding:0 5px; border-radius:4px; background:var(--gm-acc-soft); color:var(--gm-accent); }
.sm-rand .ochi { border:none; background:none; padding:0 2px; color:var(--gm-faint); cursor:pointer; display:flex; }
.sm-rand .ochi:hover { color:var(--gm-text); }
.sm-rand .ochi svg { width:14px; height:14px; }
.sm-rand.ascuns .nume { opacity:.45; }
.sm-sw { width:10px; height:10px; border-radius:3px; flex:none; }
.sm-mai { padding-left:30px; color:var(--gm-muted); font-size:11px; }
.sm-analiza { padding:8px 10px; display:flex; flex-direction:column; gap:10px; overflow:auto; font-size:12px; font-family:var(--font-ui, inherit); }
.sm-sec-t { font-family:var(--font-calc); font-size:10px; letter-spacing:1.3px; text-transform:uppercase; color:var(--gm-muted); margin:2px 0 4px; }
.sm-bifa { display:flex; align-items:center; gap:8px; cursor:pointer; padding:3px 0; }
.sm-bifa input { accent-color:var(--gm-accent); margin:0; }
.sm-bifa .det { margin-left:auto; color:var(--gm-muted); font-size:10.5px; font-family:var(--font-calc); }
.sm-nota { font-size:11px; color:var(--gm-muted); line-height:1.45; }

/* desenul */
.sm-canvas { position:relative; background:var(--gm-card); border:1px solid var(--gm-border); border-radius:10px; overflow:hidden; min-height:0; }
.sm-canvas svg.sm-desen { position:absolute; inset:0; width:100%; height:100%; display:block; touch-action:none; cursor:crosshair;
    font-family:var(--font-calc); user-select:none; }
.sm-canvas.unealta-select svg.sm-desen { cursor:default; }
.sm-3d { position:absolute; inset:0; }
.sm-3d canvas { display:block; }
.sm-puncte { stroke:var(--gm-faint); stroke-width:1.6; stroke-linecap:round; opacity:.7; }
.sm-ax { stroke:var(--sm-ax); stroke-width:.8; stroke-dasharray:10 4 2 4; }
.sm-ax-niv { stroke-dasharray:6 4; }
.sm-bula { fill:var(--gm-card); stroke:var(--gm-muted); stroke-width:1; }
.sm-bula-t { fill:var(--gm-text); font-size:11px; font-weight:500; text-anchor:middle; dominant-baseline:central; }
.sm-niv-t { fill:var(--gm-muted); font-size:10.5px; dominant-baseline:central; }
.sm-cota { stroke:var(--gm-muted); stroke-width:.9; fill:none; }
.sm-cota-t { fill:var(--gm-muted); font-size:10.5px; text-anchor:middle; }
.sm-aux { stroke:var(--sm-aux); stroke-width:1; stroke-dasharray:5 3; fill:none; }
.sm-aux.on { stroke:var(--gm-accent); stroke-width:1.6; }
.sm-supr { fill:var(--sm-supr); stroke:var(--sm-supr); stroke-width:1.2; }
.sm-supr.on { fill:var(--gm-accent); stroke:var(--gm-accent); stroke-width:2; fill-opacity:.25 !important; }
/* panoul (fără rigiditate) și golul: doar conturul, prind clicul pe contur */
.sm-solid { fill:rgba(176,141,106,.14); stroke:#b08d6a; stroke-width:1.2; pointer-events:none; }
.sm-et-solid { display:none; }
.sm-panou { fill:rgba(251,146,60,.05); stroke:var(--gm-loadc); stroke-width:1.2; stroke-dasharray:8 4 2 4; pointer-events:visibleStroke; }
.sm-panou.on { stroke:var(--gm-accent); stroke-width:2; }
.sm-gol { fill:var(--gm-card); fill-opacity:.9; stroke:var(--gm-text); stroke-width:1.2; stroke-dasharray:5 3; }
.sm-gol.on { stroke:var(--gm-accent); stroke-width:2; }
.sm-et-panou, .sm-et-gol { fill:var(--gm-muted); text-anchor:middle; dominant-baseline:central; pointer-events:none; }
.sm-perete { stroke:var(--sm-supr); stroke-opacity:.75; stroke-linecap:butt; }
.sm-perete.on { stroke:var(--gm-accent); }
.sm-bara-c { stroke:var(--sm-bara); stroke-linecap:butt; pointer-events:none; }
.sm-bara-c.on { stroke:var(--gm-accent); }
.sm-bara { stroke:var(--sm-bara); stroke-width:1.6; }
.sm-bara:hover { stroke-width:3; }
.sm-bara.on { stroke:var(--gm-accent); stroke-width:2.6; }
.sm-art { fill:var(--gm-card); stroke:var(--sm-bara); stroke-width:1.2; pointer-events:none; }
.sm-stalp { fill:var(--sm-stalp); stroke:var(--gm-card); stroke-width:1.2; }
.sm-stalp-sus { fill:none; stroke:var(--sm-stalp); stroke-width:1.2; stroke-dasharray:3 2; }
.sm-stalp.on, .sm-stalp-sus.on { fill:var(--gm-accent); stroke:var(--gm-accent); }
.sm-nod { fill:var(--gm-muted); }
.sm-nod.on { fill:var(--gm-card); stroke:var(--gm-accent); stroke-width:2; }
.sm-et { fill:var(--sm-bara); paint-order:stroke; stroke:var(--gm-card); stroke-width:3; stroke-linejoin:round; text-anchor:middle; pointer-events:none; }
.sm-et.on { fill:var(--gm-accent); }
.sm-et-st { text-anchor:start; fill:var(--sm-stalp); }
.sm-reazem path, .sm-reazem circle { fill:var(--sm-reazem); stroke:var(--sm-reazem); stroke-width:1.4; }
.sm-reazem.el path { stroke-dasharray:3 2; }
.sm-reazem.on path { fill:var(--gm-accent); stroke:var(--gm-accent); }
.sm-rl { stroke:var(--sm-reazem); stroke-width:1.2; fill:none; }
.sm-rl.el { stroke-dasharray:4 2; }
.sm-rl.on { stroke:var(--gm-accent); stroke-width:2; }
.sm-inc line, .sm-inc path { stroke:var(--gm-loadc); stroke-width:1.2; fill:none; }
.sm-inc circle { fill:none; stroke:var(--gm-loadc); stroke-width:1.2; }
.sm-inc .sm-varf { fill:var(--gm-loadc); stroke:none; }
.sm-inc .sm-inc-zona { fill:var(--gm-loadc); fill-opacity:.08; stroke:none; }
.sm-inc.on line, .sm-inc.on path { stroke:var(--gm-accent); }
.sm-inc.on .sm-varf { fill:var(--gm-accent); }
/* doar conturul prinde clicul: poligonul acoperă tot planșeul, cu barele de dedesubt */
.sm-inc-supr { fill:rgba(251,146,60,.07); stroke:var(--gm-loadc); stroke-width:1; stroke-dasharray:6 3; pointer-events:visibleStroke; }
.sm-inc-supr.on { stroke:var(--gm-accent); }
.sm-inc-t { fill:var(--gm-loadc); font-size:10px; paint-order:stroke; stroke:var(--gm-card); stroke-width:3; stroke-linejoin:round; pointer-events:none; }
.sm-slab { opacity:.45; }
.sm-prins { fill:none; stroke:var(--gm-warn); stroke-width:1.6; pointer-events:none; }
.sm-cruce { stroke:var(--gm-text); stroke-width:1; opacity:.55; pointer-events:none; }
.sm-gest { fill:var(--gm-acc-soft); stroke:var(--gm-accent); stroke-width:1.6; stroke-dasharray:6 4; pointer-events:none; }
.sm-gest-p { fill:var(--gm-accent); stroke:var(--gm-card); stroke-width:2; pointer-events:none; }
.sm-eticheta { pointer-events:none; }
.sm-eticheta rect { fill:var(--gm-hdr); }
.sm-eticheta text { fill:#fff; font-size:11px; dominant-baseline:central; }
.sm-eticheta text.u { fill:#a5b4fc; }
.sm-fereastra { fill:rgba(96,165,250,.08); stroke:#60a5fa; stroke-width:1; pointer-events:none; }
.sm-fereastra.traversare { fill:rgba(74,222,128,.08); stroke:#4ade80; stroke-dasharray:5 3; }
.sm-fereastra3 { position:absolute; z-index:3; pointer-events:none; background:rgba(96,165,250,.08); border:1px solid #60a5fa; }
.sm-fereastra3.traversare { background:rgba(74,222,128,.08); border:1px dashed #4ade80; }
.sm-canvas.rotire .sm-3d canvas { cursor:grab; }
.sm-canvas.rotire::after { content:"Rotire · Alt+R sau Esc pentru selecție"; position:absolute; left:50%; top:10px; transform:translateX(-50%);
    z-index:4; padding:4px 10px; border-radius:8px; background:var(--gm-accent); color:var(--gm-on-acc); font-size:11px; pointer-events:none; }
.sm-fantoma { fill:var(--gm-acc-soft); stroke:var(--gm-accent); stroke-width:1.4; stroke-dasharray:6 4; pointer-events:none; }
.sm-def { fill:none; stroke:var(--gm-accent); stroke-width:1.8; }
.sm-def-pl { fill:none; stroke:var(--gm-accent); stroke-width:.7; opacity:.7; }
.sm-diag { fill:var(--sm-poz); fill-opacity:.22; stroke:var(--sm-poz); stroke-width:1.2; }
.sm-diag-l { stroke:var(--sm-poz); stroke-width:.6; opacity:.6; }
.sm-diag-t { fill:var(--gm-text); font-size:10px; text-anchor:middle; paint-order:stroke; stroke:var(--gm-card); stroke-width:3; }
.sm-cont { stroke:rgba(0,0,0,.15); stroke-width:.4; }
.sm-reac-t { fill:var(--sm-reazem); font-size:10px; paint-order:stroke; stroke:var(--gm-card); stroke-width:3; }

/* suprapunerile de pe desen */
.sm-ov-st { position:absolute; left:10px; top:10px; display:flex; align-items:center; gap:8px; z-index:2; }
.sm-cota-lucru { display:flex; align-items:center; gap:7px; height:32px; padding:0 4px 0 10px; border:1px solid var(--gm-border); border-radius:9px;
    background:var(--gm-bg); font-size:11px; color:var(--gm-muted); }
.sm-cota-lucru select { height:24px; border:none; background:var(--gm-card2); color:var(--gm-text); border-radius:6px; font-family:var(--font-calc); font-size:11px; padding:0 6px; }
.sm-unelte-vedere { position:absolute; right:10px; top:10px; display:flex; flex-direction:column; gap:2px; padding:3px; background:var(--gm-bg);
    border:1px solid var(--gm-border); border-radius:8px; z-index:2; }
.sm-unelte-vedere button { width:30px; height:28px; border:1px solid transparent; border-radius:6px; background:none; color:var(--gm-muted);
    display:flex; align-items:center; justify-content:center; cursor:pointer; padding:0; }
.sm-unelte-vedere button:hover { color:var(--gm-text); background:var(--gm-card); }
.sm-unelte-vedere button.on { color:var(--gm-accent); border-color:var(--gm-acc-ring); background:var(--gm-acc-soft); }
.sm-unelte-vedere svg { width:16px; height:16px; }
.sm-pastila { position:absolute; left:50%; bottom:12px; transform:translateX(-50%); display:flex; align-items:center; gap:9px; z-index:2;
    height:34px; padding:0 6px 0 7px; border-radius:10px; background:var(--gm-hdr); color:#e7e9ee; font-size:12px;
    box-shadow:0 8px 24px rgba(0,0,0,.35); max-width:calc(100% - 330px); font-family:var(--font-ui, inherit); }
.sm-pastila .ico { width:22px; height:22px; border-radius:6px; background:var(--gm-accent); display:grid; place-items:center; flex:none; }
.sm-pastila .ico svg { width:14px; height:14px; }
.sm-pastila b { font-weight:600; white-space:nowrap; }
.sm-pastila .h { color:#a6adba; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.sm-pastila button { height:24px; padding:0 8px; border-radius:6px; border:1px solid #3a4352; background:#1f252e; color:#e7e9ee; font-size:11px; cursor:pointer; flex:none; }
.sm-triada { position:absolute; left:8px; bottom:6px; width:84px; height:84px; pointer-events:none; z-index:1; font-family:var(--font-calc); font-size:11px; font-weight:600; }
.sm-readout { position:absolute; right:10px; bottom:10px; display:flex; gap:10px; align-items:center; z-index:2; height:28px; padding:0 10px;
    border:1px solid var(--gm-border); border-radius:8px; background:var(--gm-bg); font-size:11px; color:var(--gm-text); font-variant-numeric:tabular-nums; }
.sm-readout i { font-style:normal; color:var(--gm-muted); margin-right:3px; }
.sm-readout .u { color:var(--gm-muted); }
.sm-scara { position:absolute; right:10px; bottom:46px; width:220px; background:var(--gm-bg); border:1px solid var(--gm-border); border-radius:8px;
    padding:5px 9px 6px; font-size:10.5px; z-index:2; pointer-events:none; }
.sm-scara-cap b { color:var(--gm-accent); font-weight:600; }
.sm-scara-bara { height:9px; border-radius:3px; margin:4px 0 2px; background:linear-gradient(90deg,#1e46ff,#00d2ff,#32e65a,#ffe119,#ff281e); }
.sm-scara-val { display:flex; justify-content:space-between; color:var(--gm-muted); font-variant-numeric:tabular-nums; }
.sm-rez-info { position:absolute; left:10px; top:52px; z-index:2; background:var(--gm-bg); border:1px solid var(--gm-border); border-radius:8px;
    padding:6px 10px; font-size:11px; color:var(--gm-muted); max-width:340px; line-height:1.55; }
.sm-rez-info b { color:var(--gm-text); font-weight:600; }

/* consola */
.sm-consola { display:flex; flex-direction:column; min-height:0; background:var(--gm-card); border:1px solid var(--gm-border); border-radius:10px; overflow:hidden; }
.sm-consola-cap { display:flex; align-items:center; gap:8px; height:34px; padding:0 6px 0 10px; border-bottom:1px solid var(--gm-border); flex:none; font-size:12px; font-family:var(--font-ui, inherit); }
.sm-consola-cap .t { font-weight:600; }
.sm-consola-cap .cnt { font-family:var(--font-calc); font-size:10.5px; padding:1px 7px; border-radius:6px; }
.sm-consola-cap .cnt.warn { color:var(--gm-warn); background:rgba(251,191,36,.12); }
.sm-consola-cap .cnt.err { color:var(--gm-err-text); background:rgba(248,113,113,.12); }
.sm-consola-cap button { margin-left:auto; width:26px; height:26px; border:none; background:none; color:var(--gm-muted); border-radius:6px; cursor:pointer; display:grid; place-items:center; }
.sm-consola-cap button:hover { background:var(--gm-card2); color:var(--gm-text); }
.sm-consola-cap button svg { width:12px; height:12px; }
.sm-jurnal { flex:1; min-height:0; overflow:auto; padding:5px 10px; font-size:11px; display:flex; flex-direction:column-reverse; }
.sm-j { display:flex; gap:10px; line-height:1.6; white-space:pre-wrap; }
.sm-j .ora { color:var(--gm-faint); flex:none; }
.sm-j.cmd .m { color:var(--gm-text); }
.sm-j.ok .m { color:var(--gm-ok); }
.sm-j.warn .m { color:var(--gm-warn); }
.sm-j.err .m { color:var(--gm-err-text); }
.sm-j.info .m { color:var(--gm-muted); }
.sm-consola-rand { display:flex; align-items:center; gap:8px; height:32px; padding:0 10px; border-top:1px solid var(--gm-border); flex:none; }
.sm-consola-rand span { color:var(--gm-accent); }
.sm-consola-rand input { flex:1; min-width:0; border:none; outline:none; background:none; color:var(--gm-text); font-family:var(--font-calc); font-size:12px; }
.sm-consola-rand .kbd { font-size:9.5px; color:var(--gm-muted); border:1px solid var(--gm-border); border-radius:4px; padding:0 4px; }
.sm-centru.consola-inchisa .sm-jurnal, .sm-centru.consola-inchisa .sm-consola-rand { display:none; }
.sm-centru.consola-inchisa .sm-consola-cap { border-bottom:none; }

/* panoul de proprietăți */
.sm-dr-cap { display:flex; align-items:center; gap:10px; padding:10px 12px; border-bottom:1px solid var(--gm-border); flex:none; font-family:var(--font-ui, inherit); }
.sm-dr-ico { width:34px; height:34px; border-radius:9px; background:var(--gm-acc-soft); display:grid; place-items:center; flex:none; color:var(--gm-accent); }
.sm-dr-ico svg { width:20px; height:20px; }
.sm-dr-tt { display:flex; flex-direction:column; min-width:0; }
.sm-dr-tt b { font-size:13px; font-weight:600; }
.sm-dr-tt span { font-family:var(--font-calc); font-size:11px; color:var(--gm-muted); }
.sm-dr-grup { margin-left:auto; font-size:10.5px; color:var(--gm-muted); background:var(--gm-card2); border-radius:6px; padding:2px 7px; white-space:nowrap; max-width:110px; overflow:hidden; text-overflow:ellipsis; }
.sm-dr-corp { flex:1; overflow:auto; padding:4px 12px 12px; font-size:12px; font-family:var(--font-ui, inherit); }
.sm-sec { padding:10px 0 4px; border-bottom:1px solid var(--gm-line); }
.sm-sec:last-child { border-bottom:none; }
.sm-sec > .t { font-family:var(--font-calc); font-size:10px; letter-spacing:1.3px; text-transform:uppercase; color:var(--gm-muted); margin-bottom:7px; }
.sm-camp { display:grid; grid-template-columns:96px minmax(0,1fr); gap:8px; align-items:center; margin-bottom:6px; }
.sm-camp > span:first-child { color:var(--gm-muted); }
.sm-camp .val { font-family:var(--font-calc); text-align:right; }
.sm-camp .val u { text-decoration:none; color:var(--gm-muted); margin-left:4px; }
.sm-in, .sm-sel { height:28px; border:1px solid var(--gm-border); border-radius:6px; background:var(--gm-input-bg); color:var(--gm-text); padding:0 8px;
    font-family:var(--font-calc); font-size:12px; width:100%; min-width:0; outline:none; }
.sm-in:focus, .sm-sel:focus { border-color:var(--gm-accent); box-shadow:0 0 0 3px var(--gm-acc-soft); }
.sm-in.num { text-align:right; }
.sm-sel { color-scheme:dark; }
[data-bs-theme="light"] .sm-sel { color-scheme:light; }
.sm-in-u { display:flex; align-items:center; gap:4px; }
.sm-in-u u { text-decoration:none; color:var(--gm-muted); font-size:10.5px; width:34px; flex:none; font-family:var(--font-calc); }
.sm-xyz { display:grid; grid-template-columns:18px repeat(3, minmax(0,1fr)); gap:4px; align-items:center; margin-bottom:5px; }
.sm-xyz .h { text-align:center; color:var(--gm-muted); font-family:var(--font-calc); font-size:10px; }
.sm-xyz b { font-family:var(--font-calc); color:var(--gm-muted); font-weight:500; }
.sm-sect-viz { display:grid; grid-template-columns:86px minmax(0,1fr); gap:10px; align-items:start; margin:4px 0 6px; }
.sm-sect-viz svg { width:86px; height:100px; background:var(--gm-bg); border:1px solid var(--gm-border); border-radius:8px; }
.sm-sect-viz .sm-camp { grid-template-columns:44px minmax(0,1fr); }
.sm-prop-tab { display:grid; grid-template-columns:1fr 1fr; gap:2px 12px; font-family:var(--font-calc); font-size:11px; margin-top:4px; }
.sm-prop-tab span { color:var(--gm-muted); }
.sm-prop-tab b { font-weight:500; text-align:right; }
.sm-grade { display:grid; grid-template-columns:repeat(6, 1fr); gap:3px; }
.sm-grade label { display:flex; flex-direction:column; align-items:center; gap:2px; font-family:var(--font-calc); font-size:10px; color:var(--gm-muted); cursor:pointer;
    border:1px solid var(--gm-border); border-radius:6px; padding:4px 0; }
.sm-grade label.on { color:var(--gm-accent); border-color:var(--gm-acc-ring); background:var(--gm-acc-soft); }
.sm-grade input { display:none; }
.sm-cmd-activa { border:1px dashed var(--gm-acc-ring); border-radius:8px; padding:7px 9px; background:var(--gm-acc-soft); }
.sm-cmd-activa b { display:block; color:var(--gm-accent); font-size:12px; margin-bottom:2px; }
.sm-cmd-activa span { color:var(--gm-muted); font-size:11px; }
.sm-dr-jos { display:flex; gap:6px; padding:10px 12px; border-top:1px solid var(--gm-border); flex:none; }
.sm-dr-jos button { flex:1; height:32px; border:1px solid var(--gm-border); border-radius:8px; background:var(--gm-card); color:var(--gm-text);
    font-weight:500; display:flex; align-items:center; justify-content:center; gap:6px; cursor:pointer; font-size:12px; font-family:var(--font-ui, inherit); }
.sm-dr-jos button:hover { background:var(--gm-card2); }
.sm-dr-jos button.danger { color:var(--gm-err-text); }
.sm-dr-jos button:disabled { opacity:.4; cursor:default; }
.sm-dr-jos svg { width:14px; height:14px; }
.sm-tab-mic { width:100%; border-collapse:collapse; font-family:var(--font-calc); font-size:11px; }
.sm-tab-mic th { color:var(--gm-muted); font-weight:500; text-align:left; padding:3px 4px; border-bottom:1px solid var(--gm-border); }
.sm-tab-mic td { padding:3px 4px; border-bottom:1px solid var(--gm-line); }
.sm-tab-mic td.n { text-align:right; font-variant-numeric:tabular-nums; }
.sm-err { background:var(--gm-err-bg); color:var(--gm-err-text); border-radius:8px; padding:8px 10px; font-size:12px; white-space:pre-wrap; margin-top:6px; }

/* 4. bara de stare */
.sm-statusbar { display:flex; align-items:center; gap:12px; padding:0 14px; background:var(--gm-card); border-top:1px solid var(--gm-border);
    font-size:11px; color:var(--gm-muted); white-space:nowrap; overflow:hidden; min-width:0; font-family:var(--font-ui, inherit); }
.sm-statusbar b { color:var(--gm-text); font-weight:500; }
.sm-vsep { color:var(--gm-faint); }
.sm-unit { font-family:var(--font-calc); font-size:10.5px; padding:1px 6px; border-radius:5px; background:var(--gm-card2); color:var(--gm-text); }

/* ferestrele: Copiere / Deplasare (nemodale) */
.dlg { position:absolute; z-index:60; width:412px; max-height:calc(100% - 16px); background:var(--gm-card); border:1px solid var(--gm-border);
    border-radius:12px; box-shadow:0 18px 50px rgba(0,0,0,.45); display:flex; flex-direction:column; font-size:12.5px; color:var(--gm-text);
    user-select:none; transition:opacity .15s; font-family:var(--font-ui, inherit); }
.dlg.picking { opacity:.3; pointer-events:none; }
.dlg-hd { display:flex; align-items:center; gap:10px; padding:9px 8px 9px 11px; border-bottom:1px solid var(--gm-line); cursor:move; flex:none; }
.dlg-ico { width:32px; height:32px; border-radius:8px; display:grid; place-items:center; background:var(--gm-acc-soft); flex:none; color:var(--gm-accent); }
.dlg-ico svg { width:20px; height:20px; }
.dlg-ttl { display:flex; flex-direction:column; gap:1px; min-width:0; }
.dlg-title { font-weight:600; font-size:13.5px; }
.dlg-sub { font-family:var(--font-calc); font-size:10.5px; color:var(--gm-muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dlg-x { margin-left:auto; width:28px; height:28px; border:none; border-radius:7px; background:none; color:var(--gm-muted); display:grid; place-items:center; flex:none; cursor:pointer; }
.dlg-x:hover { background:var(--gm-card2); color:var(--gm-text); }
.dlg-body { padding:2px 12px; overflow:auto; min-height:0; }
.dlg-sec { padding:9px 0; border-bottom:1px solid var(--gm-line); }
.dlg-sec:last-child { border-bottom:none; }
.dlg-chk { display:flex; align-items:center; gap:9px; cursor:pointer; font-weight:500; min-height:22px; }
.dlg-chk .box { width:16px; height:16px; border-radius:4px; border:1.5px solid var(--gm-faint); display:grid; place-items:center; flex:none; }
.dlg-chk:hover .box { border-color:var(--gm-accent); }
.dlg-sec.on .dlg-chk .box { background:var(--gm-accent); border-color:var(--gm-accent); }
.dlg-sec.on .dlg-chk .box::after { content:""; width:7px; height:4px; border-left:1.6px solid var(--gm-on-acc); border-bottom:1.6px solid var(--gm-on-acc); transform:rotate(-45deg) translate(1px,-1px); }
.dlg-chk svg { width:16px; height:16px; color:var(--gm-accent); }
.dlg-chk .hint { margin-left:auto; font-size:10.5px; color:var(--gm-muted); font-weight:400; font-family:var(--font-calc); }
.dlg-fields { display:none; flex-direction:column; gap:6px; margin-top:9px; padding-left:25px; }
.dlg-sec.on .dlg-fields { display:flex; }
.dlg-row { display:grid; grid-template-columns:58px minmax(0,1fr) 30px; gap:6px; align-items:center; }
.dlg-row > label { color:var(--gm-muted); white-space:nowrap; }
.dlg-row.noPick { grid-template-columns:58px minmax(0,1fr); }
.vec { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:4px; }
.vin { display:flex; align-items:center; height:30px; border:1px solid var(--gm-border); border-radius:7px; background:var(--gm-input-bg); padding:0 7px; gap:4px; min-width:0; }
.vin:focus-within { border-color:var(--gm-accent); box-shadow:0 0 0 3px var(--gm-acc-soft); }
.vin.bad { border-color:var(--gm-err-text); }
.vin b { font-family:var(--font-calc); font-size:10px; font-weight:600; }
.vin b.x { color:var(--sm-ax-x); } .vin b.y { color:var(--sm-ax-y); } .vin b.z { color:var(--sm-ax-z); }
.vin input { flex:1; min-width:0; border:none; outline:none; background:none; text-align:right; font-family:var(--font-calc); font-size:12px; color:var(--gm-text); }
.vin u { text-decoration:none; color:var(--gm-muted); font-family:var(--font-calc); font-size:10.5px; }
.pick { width:30px; height:30px; border-radius:7px; border:1px solid var(--gm-border); background:var(--gm-card2); display:grid; place-items:center; color:var(--gm-muted); padding:0; cursor:pointer; }
.pick svg { width:16px; height:16px; }
.pick:hover { border-color:var(--gm-acc-ring); color:var(--gm-accent); }
.pick.on { background:var(--gm-acc-soft); color:var(--gm-accent); border-color:var(--gm-accent); }
.qchips { display:flex; gap:4px; padding-left:64px; }
.qchips button { height:22px; padding:0 8px; border-radius:6px; border:1px solid var(--gm-border); background:none; color:var(--gm-muted); font-family:var(--font-calc); font-size:10.5px; cursor:pointer; }
.qchips button:hover { color:var(--gm-accent); border-color:var(--gm-acc-ring); }
.dlg-note { font-size:11px; color:var(--gm-muted); line-height:1.4; padding-left:64px; }
.dlg-count { display:flex; align-items:center; gap:10px; }
.dlg-count > label { font-weight:500; }
.stepper { display:flex; align-items:center; height:30px; border:1px solid var(--gm-border); border-radius:7px; background:var(--gm-input-bg); overflow:hidden; margin-left:auto; }
.stepper button { width:28px; height:100%; border:none; background:none; color:var(--gm-muted); font-size:15px; cursor:pointer; }
.stepper button:hover { background:var(--gm-card2); color:var(--gm-accent); }
.stepper input { width:46px; border:none; outline:none; background:none; text-align:center; font-family:var(--font-calc); font-size:12px; color:var(--gm-text); }
.dlg-sum { margin:2px 12px 10px; padding:8px 10px; border-radius:8px; background:var(--gm-card2); font-family:var(--font-calc); font-size:11px; color:var(--gm-muted); line-height:1.55; flex:none; }
.dlg-sum b { color:var(--gm-text); font-weight:500; }
.dlg-sum.err { background:var(--gm-err-bg); color:var(--gm-err-text); }
.dlg-ft { display:flex; gap:6px; padding:10px 12px; border-top:1px solid var(--gm-line); flex:none; }
.dlg-ft button { flex:1; height:32px; border:1px solid var(--gm-border); border-radius:8px; background:var(--gm-card); font-weight:500; color:var(--gm-text);
    display:flex; align-items:center; justify-content:center; gap:6px; white-space:nowrap; cursor:pointer; }
.dlg-ft button:hover { background:var(--gm-card2); }
.dlg-ft button.on { color:var(--gm-accent); border-color:var(--gm-accent); background:var(--gm-acc-soft); }
.dlg-ft button.primary { background:var(--gm-accent); color:var(--gm-on-acc); border-color:var(--gm-accent); font-weight:600; }
.dlg-ft button:disabled { opacity:.45; cursor:default; }
.dlg-ft svg { width:14px; height:14px; }

/* ferestre modale (grilă și niveluri, tabele, combinații) */
.sm-modal-fundal { position:fixed; inset:0; background:#0008; z-index:70; }
.sm-modal { position:fixed; z-index:71; left:50%; top:50%; transform:translate(-50%,-50%); width:min(760px, 94vw); max-height:84vh;
    display:flex; flex-direction:column; background:var(--gm-card); border:1px solid var(--gm-border); border-radius:12px;
    box-shadow:0 18px 50px #0007; color:var(--gm-text); font-family:var(--font-ui, inherit); font-size:12.5px; }
.sm-modal-hd { display:flex; align-items:center; gap:10px; padding:12px 14px; border-bottom:1px solid var(--gm-border); }
.sm-modal-hd b { font-size:14px; }
.sm-modal .ic { width:18px; height:18px; flex:none; display:block; }  /* modalul e în afara .sm-app: fără asta, SVG-ul ia 300×150 */
.sm-modal-corp { padding:12px 14px; overflow:auto; min-height:0; }
.sm-modal-ft { display:flex; gap:8px; justify-content:flex-end; padding:10px 14px; border-top:1px solid var(--gm-border); }
.sm-modal-ft button, .sm-btn { height:30px; padding:0 14px; border-radius:7px; border:1px solid var(--gm-border); background:var(--gm-card2); color:var(--gm-text); cursor:pointer; font-size:12px; }
.sm-modal-ft button.primary, .sm-btn.primary { background:var(--gm-accent); border-color:var(--gm-accent); color:var(--gm-on-acc); font-weight:600; }
.sm-btn.mic { height:24px; padding:0 8px; font-size:11px; }
.sm-grila-ed { display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:14px; }
.sm-tabel { width:100%; border-collapse:collapse; font-family:var(--font-calc); font-size:11.5px; }
.sm-tabel th { position:sticky; top:0; background:var(--gm-card); color:var(--gm-muted); font-weight:500; text-align:left; padding:5px 6px; border-bottom:1px solid var(--gm-border); }
.sm-tabel td { padding:3px 6px; border-bottom:1px solid var(--gm-line); }
.sm-tabel td.n { text-align:right; font-variant-numeric:tabular-nums; }
.sm-tabel input { width:100%; }
.sm-tab-file { display:flex; gap:2px; border-bottom:1px solid var(--gm-border); margin-bottom:10px; flex-wrap:wrap; }
.sm-tab-file button { border:none; background:none; color:var(--gm-muted); padding:7px 11px; cursor:pointer; border-bottom:2px solid transparent; margin-bottom:-1px; font-size:12px; }
.sm-tab-file button.on { color:var(--gm-accent); border-bottom-color:var(--gm-accent); }
.sm-tab-filtre { display:flex; gap:6px; align-items:center; flex-wrap:wrap; margin-bottom:8px; }
.sm-tab-filtre .sm-sel, .sm-tab-filtre .sm-in { width:auto; min-width:140px; }

@container sm (max-width:1420px) {
    .sm-corp { grid-template-columns:236px minmax(0,1fr) 284px; }
    .sm-hdr-btn .t, .sm-btn-ghost .t { display:none; }
    .sm-tb-big { min-width:52px; font-size:10.5px; }
    .sm-grp { padding:0 5px; }
}
@container sm (max-width:1200px) {
    .sm-corp { grid-template-columns:212px minmax(0,1fr) 260px; }
    .sm-saved, .sm-chip-r { display:none; }
    .sm-slider { grid-template-columns:auto 70px; }
    .sm-slider input[type=range] { width:70px; }
}
@media (max-height:820px) {
    .sm-centru { grid-template-rows:minmax(0,1fr) 140px; }
    .sm-rtools { min-height:80px; }
    .sm-tb-big { height:52px; }
}
