/* Leo 3D Design — Room Designer (navy + gold) */
.leo3d-designer { max-width: 1180px; margin: 0 auto; }
.l3d-steps { display: flex; gap: 8px; margin-bottom: 16px; }
.l3d-step { flex: 1; background: #0d1b33; color: #9fb0cc; border: 1px solid #22345a; border-radius: 10px;
    padding: 12px; font-size: 15px; font-weight: 700; cursor: pointer; }
.l3d-step .n { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: #22345a;
    color: #fff; align-items: center; justify-content: center; margin-right: 8px; font-size: 13px; }
.l3d-step.active { background: #e8b93c; color: #0b2a5b; border-color: #e8b93c; }
.l3d-step.active .n { background: #0b2a5b; color: #e8b93c; }
.l3d-pane { display: none; }
.l3d-pane.active { display: block; }
.l3d-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
    background: #0d1b33; border-radius: 10px; padding: 10px 14px; margin-bottom: 8px; }
.l3d-tools button { background: #16294d; color: #fff; border: 1px solid #2c4470; border-radius: 8px;
    font-size: 20px; width: 46px; height: 42px; cursor: pointer; margin-right: 6px; }
.l3d-tools button.on { background: #e8b93c; border-color: #e8b93c; }
.l3d-opts { display: flex; gap: 10px; align-items: center; color: #cdd8ee; font-size: 13px; flex-wrap: wrap; }
.l3d-opts select, .l3d-opts button, .l3d-file { background: #16294d; color: #fff; border: 1px solid #2c4470;
    border-radius: 8px; padding: 8px 12px; font-size: 13px; cursor: pointer; }
.l3d-file { display: inline-block; }
.l3d-hint { color: #8a97b3; font-size: 13px; }
.l3d-hint.overlay { position: absolute; bottom: 8px; left: 12px; background: rgba(11,42,91,.7);
    color: #fff; padding: 4px 12px; border-radius: 20px; margin: 0; }
.l3d-canvas-wrap { background: #0d1b33; border-radius: 10px; padding: 10px; overflow-x: auto; }
#l3dPlan { width: 100%; height: auto; border-radius: 6px; cursor: crosshair; touch-action: none; }
.l3d-nav { margin-top: 14px; }
.l3d-nav.split { display: flex; justify-content: space-between; gap: 10px; }

/* 3D */
.l3d-3dwrap { display: grid; grid-template-columns: 230px 1fr; gap: 12px; }
.l3d-palette { background: #0d1b33; border-radius: 10px; padding: 14px; color: #dfe7f7; max-height: 640px; overflow-y: auto; }
.l3d-palette h4 { color: #e8b93c; margin: 10px 0 8px; font-size: 14px; }
.l3d-palette h4:first-child { margin-top: 0; }
.l3d-pal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.l3d-pal-item { background: #16294d; border: 1px solid #2c4470; border-radius: 8px; color: #fff;
    padding: 10px 4px; cursor: pointer; font-size: 11px; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.l3d-pal-item:hover { border-color: #e8b93c; }
.l3d-pal-item .ic { font-size: 22px; }
.l3d-palette label { display: block; font-size: 12px; margin: 8px 0; color: #9fb0cc; }
.l3d-palette select, .l3d-palette input[type=color] { width: 100%; margin-top: 4px; background: #16294d;
    color: #fff; border: 1px solid #2c4470; border-radius: 6px; padding: 6px; }
.l3d-selpanel { border-top: 1px solid #2c4470; margin-top: 10px; padding-top: 6px; }
.l3d-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.l3d-row button { background: #16294d; color: #fff; border: 1px solid #2c4470; border-radius: 8px;
    padding: 8px 14px; cursor: pointer; font-size: 16px; }
.l3d-viewport { position: relative; background: #000; border-radius: 10px; overflow: hidden; min-height: 420px; }
#l3dView { width: 100%; height: 100%; display: block; touch-action: none; }

/* render step */
.l3d-renderbox { background: #0d1b33; border-radius: 12px; padding: 28px; color: #dfe7f7; text-align: center; }
.l3d-renderbox h3 { color: #e8b93c; margin-top: 0; font-size: 22px; }
.l3d-renderbox .l3d-row { justify-content: center; margin: 16px 0; }
.l3d-renderbox select { background: #16294d; color: #fff; border: 1px solid #2c4470; border-radius: 8px; padding: 10px; }
@media (max-width: 860px) { .l3d-3dwrap { grid-template-columns: 1fr; } }
