/* Public Landing — canvas-first warehouse outline tool */

@font-face {
    font-family: 'Source Sans 3';
    src: url('../Brand/Source_Sans_3/static/SourceSans3-Regular.ttf') format('truetype');
    font-weight: 400; font-style: normal;
}
@font-face {
    font-family: 'Source Sans 3';
    src: url('../Brand/Source_Sans_3/static/SourceSans3-Medium.ttf') format('truetype');
    font-weight: 500; font-style: normal;
}
@font-face {
    font-family: 'Source Sans 3';
    src: url('../Brand/Source_Sans_3/static/SourceSans3-SemiBold.ttf') format('truetype');
    font-weight: 600; font-style: normal;
}
@font-face {
    font-family: 'Source Sans 3';
    src: url('../Brand/Source_Sans_3/static/SourceSans3-Bold.ttf') format('truetype');
    font-weight: 700; font-style: normal;
}

:root {
    --lc-accent: #ceff1a;
    --lc-dark: #383b53;
    --lc-grey: #66717e;
    --lc-light: #cedada;
    --lc-darker: #2a1a2f;
    --lc-darkgray: #1a1a1a;
}

* { box-sizing: border-box; }
html, body { height: 100%; }

body.lc-root {
    margin: 0;
    background: #000;
    color: var(--lc-light);
    font-family: 'Source Sans 3', sans-serif;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100vh;
    /* Shared top-nav is position:fixed (60px); offset the flow so the
       canvas/progress/panel sit below it instead of behind it. */
    padding-top: var(--top-nav-height, 60px);
}

/* Background layers */
.lc-bg-canvas {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    opacity: .6;
    z-index: 0;
}
.lc-sat-layer {
    position: absolute; inset: 0;
    z-index: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .7s;
    overflow: hidden;
}
.lc-sat-img { width: 100%; height: 100%; object-fit: cover; display: block; will-change: transform; }
body.lc-has-sat .lc-sat-layer { opacity: 1; }
body.lc-has-sat .lc-bg-canvas { opacity: .12; }
body.lc-has-sat #lc-grid-rect { opacity: .35; }
body.lc-has-sat .lc-svg:not(.lc-crosshair):not(.lc-panning) { cursor: grab; }
body.lc-has-sat .lc-svg.lc-panning { cursor: grabbing; }

/* On the data-entry (read-only) steps the outline is moved off its traced map
   position, so hide the now-misaligned satellite and restore the normal grid. */
body.lc-hide-sat .lc-sat-layer { opacity: 0; pointer-events: none; }
body.lc-hide-sat .lc-bg-canvas { opacity: .6; }
body.lc-hide-sat #lc-grid-rect { opacity: 1; }
body.lc-hide-sat .lc-svg:not(.lc-crosshair) { cursor: default; }

/* Shared top-nav utilities.
   The landing page uses the shared `partials/top_nav.html` component (styled by
   custom.css) but does NOT load the full Bootstrap CSS. The nav markup relies on
   a handful of Bootstrap utility classes, so they are replicated here. These
   names aren't used by any landing-specific markup, so scoping isn't needed. */
.me-1 { margin-right: 0.25rem !important; }
.ms-auto { margin-left: auto !important; }
.d-none { display: none !important; }
.collapse:not(.show) { display: none; }
@media (min-width: 992px) {
    .d-lg-none { display: none !important; }
    .d-lg-inline-block { display: inline-block !important; }
}
@media (min-width: 1200px) {
    .d-xl-flex { display: flex !important; }
}

/* Workspace */
.lc-main { position: relative; z-index: 10; flex: 1 1 auto; min-height: 0; }
.lc-canvas-wrap { position: absolute; inset: 0; background: rgba(0,0,0,.2); }
.lc-svg { width: 100%; height: 100%; display: block; cursor: default; touch-action: none; }
.lc-svg.lc-crosshair { cursor: crosshair; }

/* Dimension labels */
.lc-labels { position: absolute; inset: 0; pointer-events: none; }
.lc-label { position: absolute; transform: translate(-50%, -50%); pointer-events: auto; }
.lc-dim {
    padding: 2px 8px; border-radius: 4px;
    font-size: 12px; font-weight: 700; white-space: nowrap;
    cursor: pointer;
    border: 1px solid var(--lc-accent);
    background: rgba(206,255,26,0.1);
    color: var(--lc-light);
    box-shadow: 0 1px 2px rgba(0,0,0,.4);
    transition: background .15s;
}
.lc-dim.lc-dim-set { background: var(--lc-darker); color: var(--lc-accent); border-color: var(--lc-dark); }
/* Unset wall length: a loud, filled accent chip that pulses so it's obvious
   the user is meant to enter a real length for every wall (wizard parity). */
.lc-dim.lc-dim-empty {
    background: var(--lc-accent); color: #000; border-color: var(--lc-accent);
    font-weight: 700; display: inline-flex; align-items: center; gap: 5px;
    box-shadow: 0 1px 8px rgba(206,255,26,.45);
    animation: lc-dim-pulse 1.6s ease-in-out infinite;
}
.lc-dim.lc-dim-empty:hover { filter: brightness(1.06); }
.lc-dim.lc-dim-empty i { font-size: 12px; }
@keyframes lc-dim-pulse {
    0%, 100% { box-shadow: 0 1px 8px rgba(206,255,26,.40); }
    50% { box-shadow: 0 1px 14px rgba(206,255,26,.85); }
}
@media (prefers-reduced-motion: reduce) {
    .lc-dim.lc-dim-empty { animation: none; }
}
.lc-dim:focus-visible { outline: 2px solid var(--lc-accent); outline-offset: 1px; }
.lc-label-editor {
    display: flex; align-items: center;
    border-radius: 4px; overflow: hidden;
    border: 1px solid var(--lc-dark);
    background: var(--lc-darkgray);
    box-shadow: 0 6px 16px rgba(0,0,0,.5);
}
.lc-label-input {
    width: 64px; padding: 4px 8px;
    background: transparent; border: none; outline: none;
    text-align: right; color: var(--lc-light);
    font-size: 12px; font-family: inherit;
}
.lc-label-input.lc-ft { width: 46px; }
.lc-label-input.lc-in { width: 38px; }
.lc-label-input::-webkit-outer-spin-button,
.lc-label-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lc-label-unit { font-size: 10px; padding: 0 6px 0 2px; color: var(--lc-grey); }
.lc-label-ok {
    padding: 4px 8px; border: none; cursor: pointer;
    background: var(--lc-dark); color: var(--lc-accent);
    display: flex; align-items: center;
}

/* Prompt overlay */
.lc-prompt { position: absolute; top: 24px; left: 24px; z-index: 20; pointer-events: none; max-width: 60%; }
.lc-prompt h1 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--lc-accent); }
.lc-prompt p { margin: 4px 0 0; font-size: 14px; color: var(--lc-light); opacity: .8; }

/* Toolbar */
.lc-toolbar {
    position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
    z-index: 20;
    display: flex; align-items: center; gap: 4px;
    padding: 6px; border-radius: 8px;
    border: 1px solid var(--lc-dark);
    background: rgba(26,26,26,0.9);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 16px rgba(0,0,0,.4);
}
.lc-tool-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 12px; font-size: 12px; font-weight: 500;
    border-radius: 6px; border: none; background: transparent;
    color: var(--lc-light); cursor: pointer; font-family: inherit;
    white-space: nowrap; transition: background .15s, color .15s;
}
.lc-tool-btn:hover:not(:disabled) { background: var(--lc-dark); }
.lc-tool-btn.lc-active { background: rgba(206,255,26,0.15); color: var(--lc-accent); }
.lc-tool-btn:disabled { opacity: .4; cursor: not-allowed; }
.lc-tool-btn.lc-tool-primary { background: var(--lc-accent); color: #000; font-weight: 700; }
.lc-tool-btn.lc-tool-primary:hover { filter: brightness(1.08); background: var(--lc-accent); }
.lc-divider { width: 1px; align-self: stretch; margin: 4px 0; background: var(--lc-dark); }

/* Search address */
.lc-search { position: absolute; top: 24px; right: 24px; z-index: 20; display: flex; flex-direction: column; align-items: flex-end; }
.lc-search-btn {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 16px; font-size: 14px; font-weight: 500;
    border-radius: 6px; border: 1px solid var(--lc-dark);
    background: rgba(26,26,26,0.9); backdrop-filter: blur(8px);
    color: var(--lc-light); cursor: pointer; font-family: inherit;
    box-shadow: 0 1px 2px rgba(0,0,0,.4);
}
.lc-search-btn:hover { border-color: var(--lc-grey); }
.lc-search-form {
    display: flex; align-items: center; overflow: hidden;
    border-radius: 6px; border: 1px solid var(--lc-dark);
    background: var(--lc-darker); box-shadow: 0 6px 16px rgba(0,0,0,.5);
}
.lc-search-icon { padding: 0 12px; color: var(--lc-grey); display: flex; }
.lc-search-form input {
    background: transparent; border: none; outline: none;
    padding: 8px 0; width: 240px; font-size: 14px;
    color: var(--lc-light); font-family: inherit;
}
.lc-search-find {
    padding: 8px 16px; font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .06em;
    background: var(--lc-dark); color: var(--lc-accent);
    border: none; cursor: pointer; font-family: inherit;
}
.lc-search-note {
    margin-top: 12px; padding: 6px 12px;
    font-size: 12px; font-weight: 500; border-radius: 999px;
    display: flex; align-items: center; gap: 6px;
    max-width: 320px;
    border: 1px solid var(--lc-dark);
    background: rgba(26,26,26,0.9); color: var(--lc-accent);
}
.lc-search-note.lc-note-error { color: #ffb4b4; border-color: #5a3a3a; }
.lc-map-controls { margin-top: 10px; display: flex; align-items: center; gap: 6px; }
.lc-map-btn {
    display: flex; align-items: center; gap: 6px;
    padding: 6px 10px; font-size: 12px; font-weight: 600;
    border-radius: 6px; border: 1px solid var(--lc-dark);
    background: rgba(26,26,26,0.9); backdrop-filter: blur(8px);
    color: var(--lc-light); cursor: pointer; font-family: inherit;
    box-shadow: 0 1px 2px rgba(0,0,0,.4); transition: border-color .15s, color .15s;
}
.lc-map-btn:hover { border-color: var(--lc-grey); color: var(--lc-accent); }
.lc-map-clear { color: #ffb4b4; }
.lc-map-clear:hover { color: #ffd0d0; border-color: #5a3a3a; }

/* AI prompt footer */
.lc-ai {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    z-index: 30; width: 100%; max-width: 672px; padding: 0 16px;
    display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.lc-chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.lc-chip {
    padding: 6px 12px; font-size: 12px; font-weight: 500;
    border-radius: 999px; border: 1px solid var(--lc-dark);
    background: rgba(26,26,26,0.8); color: var(--lc-light);
    cursor: pointer; font-family: inherit; transition: background .15s, color .15s;
}
.lc-chip:hover { background: var(--lc-dark); color: var(--lc-accent); }
.lc-ai-box {
    width: 100%; display: flex; align-items: center; padding: 8px;
    border-radius: 8px; border: 1px solid var(--lc-dark);
    background: rgba(26,26,26,0.95); backdrop-filter: blur(16px);
    box-shadow: 0 12px 28px rgba(0,0,0,.5);
}
.lc-ai-bot { padding: 0 12px; color: var(--lc-accent); display: flex; flex-shrink: 0; }
.lc-ai-box input {
    flex: 1; background: transparent; border: none; outline: none;
    padding: 8px 0; font-size: 14px; color: var(--lc-light); font-family: inherit;
}
.lc-ai-send {
    padding: 8px; margin-left: 8px; border-radius: 6px; border: none;
    background: var(--lc-accent); color: #000; cursor: pointer;
    display: flex; align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
    .lc-prompt { max-width: 90%; }
    .lc-prompt h1 { font-size: 18px; }
    .lc-prompt p { display: none; }
    .lc-toolbar { top: 64px; flex-wrap: wrap; justify-content: center; max-width: 92vw; }
    .lc-search { top: 14px; right: 14px; }
    .lc-search-form input { width: 150px; }
}
@media (max-width: 480px) {
    .lc-prompt { top: 16px; left: 16px; }
    .lc-search-btn { padding: 6px 10px; font-size: 12px; }
    .lc-ai { bottom: 16px; }
}

/* ============================================================
   Single-page calculator flow (Task #70)
   ============================================================ */

/* Progress rail */
.lc-progress {
    position: relative; z-index: 20;
    display: flex; gap: 4px; align-items: center; justify-content: center;
    padding: 8px 16px;
    background: rgba(0,0,0,.55);
    border-bottom: 1px solid rgba(56,59,83,.5);
    overflow-x: auto; flex-wrap: nowrap;
    -ms-overflow-style: none; scrollbar-width: none;
}
.lc-progress::-webkit-scrollbar { display: none; }
.lc-pill {
    display: flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 600; letter-spacing: .03em;
    color: var(--lc-grey); padding: 4px 8px; border-radius: 999px;
    cursor: pointer; white-space: nowrap; background: transparent;
    border: none; font-family: inherit; transition: color .15s;
}
.lc-pill:disabled { cursor: not-allowed; }
.lc-pill-dot {
    width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--lc-dark); font-size: 10px; font-weight: 700;
    flex-shrink: 0;
}
.lc-pill-label { display: inline; }
.lc-pill.lc-pill-active { color: var(--lc-accent); }
.lc-pill.lc-pill-active .lc-pill-dot { border-color: var(--lc-accent); background: rgba(206,255,26,.15); color: var(--lc-accent); }
.lc-pill.lc-pill-done .lc-pill-dot { border-color: var(--lc-accent); background: var(--lc-accent); color: #000; }
.lc-pill.lc-pill-todo { opacity: .65; }

/* Bottom dock panel */
.lc-panel {
    position: absolute; left: 18px; top: 18px; bottom: 18px; transform: none;
    z-index: 30; width: min(340px, calc(100vw - 28px));
    display: flex; flex-direction: column;
    background: rgba(18,18,20,.93); backdrop-filter: blur(16px);
    border: 1px solid var(--lc-dark); border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,.6);
}
.lc-panel-head { padding: 16px 20px 6px; flex: 0 0 auto; }
.lc-panel-head h1 { margin: 0; font-size: 19px; font-weight: 600; color: var(--lc-accent); letter-spacing: -.01em; }
.lc-panel-head p { margin: 4px 0 0; font-size: 13px; color: var(--lc-light); opacity: .75; }
.lc-panel-section { padding: 8px 20px 6px; overflow-y: auto; flex: 1 1 auto; min-height: 0; }
.lc-panel-foot {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 20px; flex: 0 0 auto;
    border-top: 1px solid rgba(56,59,83,.5);
}
.lc-foot-right { margin-left: auto; display: flex; gap: 8px; }
.lc-foot-msg { font-size: 12px; color: var(--lc-grey); }

/* Footprint controls relocated into the dock */
#lc-sec-footprint { display: flex; flex-direction: column; gap: 10px; }
.lc-panel .lc-toolbar,
.lc-panel .lc-search {
    position: static; transform: none; top: auto; left: auto; right: auto;
    box-shadow: none; backdrop-filter: none; background: transparent;
    border: none; padding: 0; align-items: center;
}
.lc-panel .lc-toolbar { flex-wrap: wrap; justify-content: flex-start; gap: 4px; }
.lc-panel .lc-search { flex-direction: row; flex-wrap: wrap; gap: 8px; align-items: center; }
.lc-panel .lc-search-note { margin-top: 0; }
.lc-panel .lc-map-controls { margin-top: 0; }

/* Generic form controls */
.lc-field { margin-bottom: 14px; }
.lc-field-label { display: block; font-size: 12px; font-weight: 600; color: var(--lc-light); margin-bottom: 6px; letter-spacing: .02em; }
.lc-field-hint { font-size: 11px; color: var(--lc-grey); margin-top: 5px; line-height: 1.4; }
.lc-input, .lc-select {
    width: 100%; padding: 9px 12px; font-size: 14px; font-family: inherit;
    background: var(--lc-darkgray); color: var(--lc-light);
    border: 1px solid var(--lc-dark); border-radius: 8px; outline: none;
}
.lc-input:focus, .lc-select:focus { border-color: var(--lc-accent); }
.lc-input::-webkit-outer-spin-button, .lc-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.lc-row { display: flex; gap: 12px; }
.lc-row > .lc-field { flex: 1; }
.lc-inline-unit { display: flex; align-items: center; gap: 8px; }
.lc-inline-unit .lc-input { flex: 1; }
.lc-inline-unit span { font-size: 12px; color: var(--lc-grey); white-space: nowrap; }

/* Choice cards (presets, equipment, data mode) */
.lc-cards { display: flex; flex-direction: column; gap: 8px; }
.lc-card {
    text-align: left; width: 100%; padding: 12px 14px; cursor: pointer;
    background: var(--lc-darkgray); border: 1px solid var(--lc-dark); border-radius: 10px;
    color: var(--lc-light); font-family: inherit;
    transition: border-color .15s, background .15s;
    display: flex; flex-direction: column; gap: 3px;
}
.lc-card:hover { border-color: var(--lc-grey); }
.lc-card.lc-card-active { border-color: var(--lc-accent); background: rgba(206,255,26,.08); }
.lc-card-title { font-size: 14px; font-weight: 600; }
.lc-card.lc-card-active .lc-card-title { color: var(--lc-accent); }
.lc-card-desc { font-size: 12px; color: var(--lc-grey); line-height: 1.4; }

/* Checkbox / toggle rows */
.lc-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; padding: 6px 0; font-size: 13px; color: var(--lc-light); }
.lc-check input { width: 16px; height: 16px; margin-top: 1px; accent-color: var(--lc-accent); flex-shrink: 0; }
.lc-subfields { padding: 8px 0 2px 26px; }

/* Geometry helper UI */
.lc-geo-tools { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.lc-stat { font-size: 12px; color: var(--lc-light); }
.lc-stat b { color: var(--lc-accent); }
.lc-zone-list { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.lc-zone-chip {
    display: flex; align-items: center; gap: 8px; justify-content: space-between;
    padding: 7px 10px; font-size: 12px; border-radius: 8px;
    background: var(--lc-darkgray); border: 1px solid var(--lc-dark); color: var(--lc-light);
}
.lc-zone-chip button { background: transparent; border: none; color: #ffb4b4; cursor: pointer; font-size: 13px; }

/* Data upload pickers */
.lc-file-row {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: 8px; margin-bottom: 8px;
    background: var(--lc-darkgray); border: 1px solid var(--lc-dark);
}
.lc-file-row .lc-file-name { flex: 1; font-size: 13px; color: var(--lc-light); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lc-file-row .lc-file-name.lc-empty { color: var(--lc-grey); }
.lc-file-pick { padding: 6px 12px; font-size: 12px; font-weight: 600; border-radius: 6px; border: 1px solid var(--lc-dark); background: rgba(206,255,26,.1); color: var(--lc-accent); cursor: pointer; }
.lc-file-clear { background: transparent; border: none; color: #ffb4b4; cursor: pointer; }

/* SVG overlay primitives */
.lc-ibeam { fill: rgba(139,108,255,.3); stroke: #8b6cff; stroke-width: 1; cursor: pointer; }
.lc-ibeam:hover { fill: rgba(255,107,107,.45); stroke: #ff6b6b; }
.lc-zone-ceiling { fill: rgba(74,163,255,.16); stroke: #4aa3ff; stroke-width: 1.5; }
.lc-zone-unusable { fill: rgba(255,107,107,.16); stroke: #ff6b6b; stroke-width: 1.5; stroke-dasharray: 6 4; }
.lc-zone-draft { fill: rgba(206,255,26,.1); stroke: var(--lc-accent); stroke-width: 1.5; stroke-dasharray: 5 3; }
.lc-zone-vert { fill: var(--lc-accent); stroke: #000; stroke-width: .5; cursor: pointer; }
.lc-wall { cursor: pointer; }
.lc-wall-sel { stroke: var(--lc-accent); stroke-width: 5; stroke-linecap: round; }
.lc-wall-hot { stroke: #ff6b6b; }
.lc-ridge { stroke: var(--lc-accent); stroke-width: 2; stroke-dasharray: 8 4; }
.lc-ridge-pt { fill: var(--lc-accent); stroke: #000; stroke-width: 1.5; }
.lc-ridge-ghost { opacity: .55; }
.lc-ridge-label { fill: var(--lc-accent); font-size: 12px; font-weight: 700; paint-order: stroke; stroke: #000; stroke-width: 3px; }

/* Modals + overlays */
.lc-modal-backdrop {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(0,0,0,.72); backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center; padding: 20px;
}
.lc-modal {
    position: relative; width: min(440px, 100%);
    background: #121214; border: 1px solid var(--lc-dark); border-radius: 16px;
    padding: 28px; text-align: center; box-shadow: 0 30px 70px rgba(0,0,0,.7);
}
.lc-modal h2 { margin: 0 0 8px; font-size: 22px; color: var(--lc-accent); }
.lc-modal p { margin: 0 0 16px; font-size: 14px; color: var(--lc-light); opacity: .82; line-height: 1.5; }
.lc-modal-icon { font-size: 34px; color: var(--lc-accent); margin-bottom: 8px; }
.lc-modal-actions { display: flex; flex-direction: column; gap: 10px; }
.lc-modal-btn { justify-content: center; text-decoration: none; }
.lc-modal-close { position: absolute; top: 12px; right: 12px; background: transparent; border: none; color: var(--lc-grey); cursor: pointer; font-size: 16px; }
.lc-modal-close:hover { color: var(--lc-light); }
.lc-modal-note { font-size: 12px; color: var(--lc-grey); margin: 14px 0 0; }
.lc-modal-progress { text-align: center; }
.lc-submit-error { color: #ffb4b4; font-size: 13px; margin-top: 8px; }

/* Nav buttons */
.lc-nav-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 16px; font-size: 13px; font-weight: 600; font-family: inherit;
    border-radius: 8px; border: 1px solid var(--lc-dark);
    background: var(--lc-darkgray); color: var(--lc-light); cursor: pointer;
    transition: filter .15s, border-color .15s, background .15s;
}
.lc-nav-btn:hover:not(:disabled) { border-color: var(--lc-grey); }
.lc-nav-btn:disabled { opacity: .4; cursor: not-allowed; }
.lc-nav-primary { background: var(--lc-accent); color: #000; border-color: var(--lc-accent); }
.lc-nav-primary:hover:not(:disabled) { filter: brightness(1.08); }
.lc-nav-ghost { background: transparent; }

@media (max-width: 768px) {
    .lc-pill-label { display: none; }
    .lc-panel { left: 8px; right: 8px; top: auto; bottom: 8px; width: auto; height: 72vh; }
    .lc-panel-head h1 { font-size: 17px; }
}

/* ---- Flow controller additions ---------------------------------------- */
.lc-progress { display: flex; gap: 6px; flex-wrap: nowrap; }
.lc-prog-pill {
    display: flex; align-items: center; gap: 6px;
    flex: 0 0 auto;
}
.lc-prog-dot {
    width: 22px; height: 22px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 700;
    background: var(--lc-darkgray); color: var(--lc-grey);
    border: 1px solid var(--lc-dark);
}
.lc-prog-pill.lc-current .lc-prog-dot { background: var(--lc-accent); color: #000; border-color: var(--lc-accent); }
.lc-prog-pill.lc-done .lc-prog-dot { background: rgba(206,255,26,.15); color: var(--lc-accent); border-color: var(--lc-dark); }

.lc-input-suffix { display: flex; align-items: center; gap: 6px; }
.lc-input-suffix .lc-input { flex: 1; }
.lc-suffix { font-size: 12px; color: var(--lc-grey); }

.lc-card-line { font-size: 12px; color: var(--lc-light); line-height: 1.6; }
.lc-inline-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 6px; }

.lc-preset-grid { display: flex; flex-direction: column; gap: 8px; }
.lc-preset-card {
    text-align: left; padding: 12px 14px; border-radius: 8px;
    border: 1px solid var(--lc-dark); background: var(--lc-darkgray);
    color: var(--lc-light); cursor: pointer; font-family: inherit;
    transition: border-color .12s, background .12s;
}
.lc-preset-card:hover { border-color: var(--lc-grey); }
.lc-preset-card.lc-selected { border-color: var(--lc-accent); background: rgba(206,255,26,.08); }
.lc-preset-name { font-size: 14px; font-weight: 600; }
.lc-preset-card.lc-selected .lc-preset-name { color: var(--lc-accent); }
.lc-preset-desc { font-size: 12px; color: var(--lc-grey); line-height: 1.4; margin-top: 2px; }

.lc-seg { display: flex; gap: 6px; margin-bottom: 12px; }
.lc-seg-btn {
    flex: 1; padding: 9px 10px; border-radius: 8px; font-size: 13px; font-weight: 600;
    border: 1px solid var(--lc-dark); background: var(--lc-darkgray); color: var(--lc-light);
    cursor: pointer; font-family: inherit;
}
.lc-seg-btn.lc-active { background: var(--lc-accent); color: #000; border-color: var(--lc-accent); }

.lc-file-label { flex: 0 0 110px; font-size: 12px; font-weight: 600; color: var(--lc-light); }
.lc-file-input { flex: 1; font-size: 12px; color: var(--lc-light); }
.lc-file-input::file-selector-button {
    padding: 5px 10px; margin-right: 8px; font-size: 12px; font-weight: 600;
    border-radius: 6px; border: 1px solid var(--lc-dark);
    background: rgba(206,255,26,.1); color: var(--lc-accent); cursor: pointer;
}

.lc-scroll { overflow-y: auto; }
.lc-foot-err { color: #ffb4b4 !important; }

.lc-zone-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.lc-icon-btn { background: transparent; border: none; color: #ffb4b4; cursor: pointer; font-size: 18px; line-height: 1; padding: 0 4px; }

.lc-wall-sel.lc-wall-a { stroke: #4aa3ff; }
.lc-wall-sel.lc-wall-b { stroke: #10b981; }

.lc-note-error { color: #ffb4b4; font-size: 12px; margin-bottom: 8px; line-height: 1.4; }
