@media (min-width:769px){
  #page-content.fp-console-page{padding:0!important;overflow:auto!important;background:#f3f6fb!important}
  #page-content.fp-console-page~*{box-sizing:border-box}
  .fp-design-console,.fp-design-console *{box-sizing:border-box}
  .fp-design-console{min-width:1180px;min-height:calc(100vh - 62px);padding:10px 16px 16px;background:#f3f6fb;color:#15213a;font-family:inherit}
  .fp-design-head{height:70px;margin:-10px -16px 12px;padding:0 20px;display:flex;align-items:center;gap:16px;border-bottom:1px solid #d7e1ee;background:#fff}
  .fp-design-head>button{height:40px;padding:0 16px;border:1px solid #cad7e8;border-radius:7px;background:#fff;color:#34445e;font-family:inherit;font-size:13px;font-weight:700;cursor:pointer}
  .fp-design-head>div{display:flex;flex-direction:column;gap:5px}.fp-design-head strong{font-size:17px}.fp-design-head span{color:#65748b;font-size:12px}
  .fp-quote-tip{height:64px;padding:11px 13px;display:flex;flex-direction:column;justify-content:center;border:1px solid #aebfff;border-radius:8px;background:#f0f3ff}
  .fp-quote-tip strong{font-size:14px}.fp-quote-tip span{margin-top:5px;color:#7686a0;font-size:12px}
  .fp-scheme-fields{height:62px;margin-top:8px;padding:8px 12px;display:grid;grid-template-columns:1.15fr 1.1fr .9fr;gap:12px;align-items:center;border:1px solid #d7e1ee;border-radius:8px 8px 0 0;background:#fff}
  .fp-scheme-fields label{min-width:0;display:grid;grid-template-columns:72px minmax(0,1fr);gap:8px;align-items:center;color:#263650;font-size:13px;font-weight:700}
  .fp-scheme-fields input,.fp-scheme-fields select{width:100%;height:38px;padding:0 12px;border:1px solid #ccd8e8;border-radius:7px;background:#fff;color:#50617c;font-family:inherit;outline:0}
  .fp-scheme-fields input:focus,.fp-scheme-fields select:focus{border-color:#3d5df2;box-shadow:0 0 0 3px rgba(61,93,242,.1)}
  .fp-command-row{min-height:54px;padding:8px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #d7e1ee;border-top:0;border-radius:0 0 8px 8px;background:#fff}
  .fp-command-row>div{display:flex;align-items:center;gap:7px;white-space:nowrap}.fp-command-row button{height:36px;padding:0 13px;border:1px solid #cad7e8;border-radius:7px;background:#fff;color:#3b4b64;font-family:inherit;font-size:12px;font-weight:700;cursor:pointer}.fp-command-row button:hover{border-color:#3d5df2;color:#2f50e4}.fp-command-row button.primary{border-color:#3d5df2;background:#3d5df2;color:#fff}.fp-command-row button.danger{border-color:#ffc8c4;background:#fff3f2;color:#ef6760}
  .fp-main-workspace{height:calc(100vh - 342px);min-height:610px;margin-top:9px;display:grid;grid-template-columns:310px minmax(800px,1fr);gap:9px;align-items:stretch}
  .fp-left-panel{height:100%;padding:12px;display:flex;flex-direction:column;overflow-y:auto;border:1px solid #d4dfed;border-radius:8px;background:#fff;scrollbar-gutter:stable}
  .fp-left-panel section{padding:0 0 13px;margin:0 0 13px;border-bottom:1px solid #e2e9f2}.fp-side-title{height:29px;display:flex;align-items:center;justify-content:space-between;gap:8px}.fp-side-title strong{font-size:14px}.fp-side-title span{overflow:hidden;color:#7b899f;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
  .fp-drawing-card{padding:8px 10px;border:1px solid #3d5df2;border-radius:8px;background:#eef3ff}.fp-drawing-card>strong{height:34px;padding:0 11px;display:flex;align-items:center;overflow:hidden;border:1px solid #d2ddec;border-radius:6px;background:#fff;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.fp-drawing-card>div{margin-top:7px;display:grid;grid-template-columns:42px 1fr 28px;gap:6px;align-items:center}.fp-drawing-card input{width:100%;height:32px;padding:0 9px;border:1px solid #cbd7e7;border-radius:6px;background:#fff}.fp-drawing-card small,.fp-drawing-card>span{color:#7b899f;font-size:10px}.fp-drawing-card>span{display:block;margin-top:7px}.icon-danger{border:0!important;background:transparent!important;color:#ef6b64!important}.fp-add-drawing{width:100%;height:36px;margin-top:7px;border:1px solid #cad7e7;border-radius:6px;background:#fff;color:#3d4d67;font-family:inherit;font-weight:700;cursor:pointer}
  .fp-region-section{padding:11px!important;border:1px solid #dbe4ef!important;border-radius:8px;background:#f4f7fb}.fp-region-section strong{font-size:13px}.fp-region-section p,.fp-region-section small{display:block;margin:5px 0;color:#7d8ba0;font-size:10px;line-height:1.55}.fp-region-section>div{display:grid;grid-template-columns:1fr 68px;gap:7px}.fp-region-section select,.fp-region-section button{height:34px;border:1px solid #d0dbe9;border-radius:6px;background:#fff;color:#738198;font-family:inherit;font-size:11px}
  .fp-inline-switch,.fp-region-visibility{height:31px;display:flex;align-items:center;gap:8px;color:#273750;font-size:11px;font-weight:700}.fp-inline-switch label,.fp-region-visibility label{width:34px;height:19px}.fp-inline-switch input,.fp-region-visibility input{display:none}.fp-inline-switch i,.fp-region-visibility i{display:block;width:34px;height:19px;padding:2px;border-radius:11px;background:#bdc8d7;cursor:pointer}.fp-inline-switch i:after,.fp-region-visibility i:after{content:'';display:block;width:15px;height:15px;border-radius:50%;background:#fff;transition:.16s}.fp-inline-switch input:checked+i,.fp-region-visibility input:checked+i{background:#3d5df2}.fp-inline-switch input:checked+i:after,.fp-region-visibility input:checked+i:after{transform:translateX(15px)}.fp-inline-switch button{margin-left:auto;width:25px;height:25px;border:1px solid #efbd73;border-radius:6px;background:#fff8e9;color:#df7900}
  .fp-lights-section .plan-lighting-sidebar-grid{max-height:210px;padding:1px;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;overflow-y:auto}.fp-lights-section .plan-lighting-sidebar-button{min-width:0;height:43px;padding:0;border:1px solid #dbe4ef;border-radius:7px;background:#f6f8fc}.fp-lights-section .plan-lighting-sidebar-button.active{border-color:#3d5df2;background:#edf2ff;box-shadow:0 0 0 1px rgba(61,93,242,.12)}.fp-lights-section .plan-lighting-visual{width:34px;height:34px}.fp-lights-section .plan-lighting-visual .lighting-body{width:23px;height:23px;font-size:12px}.fp-lights-section .lighting-name{display:none}.fp-light-stats{height:40px;margin-top:8px;padding:0 11px;display:flex;align-items:center;justify-content:space-between;border:1px solid #e0e8f1;border-radius:8px;color:#3d5df2;font-size:11px}
  .fp-products-section>select,.fp-design-region>select,.fp-design-region>input{width:100%;height:38px;margin-top:8px;padding:0 11px;border:1px solid #ccd8e8;border-radius:7px;background:#fff;color:#687991;font-family:inherit}.fp-product-search{height:38px;margin-top:8px;padding:0 10px;display:flex;align-items:center;gap:8px;border:1px solid #ccd8e8;border-radius:7px;color:#90a0b5}.fp-product-search input{min-width:0;flex:1;border:0;background:transparent;outline:0;color:#34435b}.fp-product-list{max-height:260px;margin-top:9px;display:flex;flex-direction:column;gap:8px;overflow-y:auto}.fp-product-card{min-height:67px;padding:8px;display:flex;align-items:center;gap:8px;border:1px solid #dbe4ef;border-radius:8px;background:#f6f8fc}.fp-product-card.active{border-color:#3d5df2;background:#f0f3ff}.fp-product-card>i{width:27px;height:27px;display:grid;place-items:center;border:2px solid #3d5df2;border-radius:50%;background:#fff;font-style:normal}.fp-product-card>span{min-width:0;flex:1}.fp-product-card strong,.fp-product-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fp-product-card strong{font-size:12px}.fp-product-card small{margin-top:4px;color:#8391a5;font-size:9px}.fp-product-card button{height:32px;padding:0 11px;border:1px solid #d7e0eb;border-radius:6px;background:#fff;color:#7d8999;font-weight:700}
  .fp-design-region>div:last-of-type{margin-top:8px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.fp-design-region>div:last-of-type button{height:37px;border:1px solid #d4deeb;border-radius:6px;background:#fff;color:#78869b;font-weight:700}.fp-design-region>div:last-of-type button.primary{border-color:#3d5df2;background:#3d5df2;color:#fff}.fp-region-color{height:34px;margin-top:8px;padding:0 10px;border:1px solid #d7e1ed;border-radius:7px;background:#fff;color:#34435b;text-align:left}.fp-design-region p,.fp-design-region small{display:block;margin:8px 0 0;color:#8190a5;font-size:10px;line-height:1.55}
  .fp-canvas-stage{height:100%;min-width:0;overflow:hidden;border:1px solid #d4dfed;border-radius:8px;background:#fff}.fp-canvas-stage .floorplan-toolbar{height:45px;margin:0;padding:5px 9px;display:flex;align-items:center;gap:6px;border:0;border-bottom:1px solid #e1e8f1;border-radius:0;background:#fff}.fp-canvas-stage .tool-btn{height:32px;padding:0 11px;border:1px solid #d3deeb;border-radius:6px;background:#fff;color:#506078}.fp-canvas-stage .tool-btn.active{border-color:#3d5df2;background:#edf2ff;color:#3d5df2}.fp-canvas-stage .floorplan-toolbar input{width:170px;height:32px;margin-left:auto;padding:0 10px;border:1px solid #d1dce9;border-radius:6px;background:#fff;color:#34435b}.fp-canvas-stage .floorplan-canvas-wrapper{position:relative;height:calc(100% - 65px);margin:10px;padding:8px;overflow:auto;display:flex;align-items:flex-start;border:1px dashed #cbd7e6;border-radius:5px;background:#fbfcfe}.fp-canvas-stage canvas{display:block;width:auto!important;max-width:none;height:100%!important;min-height:540px;border:0;background:#fff;cursor:crosshair}.fp-empty-blueprint{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:8px;color:#7d899e;text-align:center}.fp-empty-blueprint:before{content:'▧';font-size:34px;color:#8f9aaf}.fp-empty-blueprint strong{color:#17223b;font-size:14px}.fp-empty-blueprint span{font-size:11px}.fp-empty-blueprint button{height:38px;padding:0 18px;border:0;border-radius:7px;background:#3d5df2;color:#fff;font-weight:700}
  .fp-design-console:fullscreen{padding:10px 16px;overflow:auto;background:#f3f6fb}.fp-design-console:fullscreen .fp-main-workspace{height:calc(100vh - 285px)}
}

/* 灯具视觉协议：三层结构与每种灯具独立外形 */
.plan-lighting-visual{--lighting-body-color:#ffdda0;--lighting-body-deep:#d6a56d;--lighting-hot-color:#ffecca;--lighting-glow-color:rgba(255,218,150,.7);--lighting-glow-soft:rgba(255,218,150,.22);--lighting-stroke-color:rgba(182,137,91,.44);--lighting-detail-color:#1e283c;--lighting-color:#ffda96;--lighting-rotation:0deg;position:relative;transform:rotate(var(--lighting-rotation))}
.plan-lighting-visual .lighting-glow{position:absolute;z-index:0;inset:-4px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,246,.82) 0 8%,var(--lighting-glow-color) 18%,var(--lighting-glow-soft) 46%,transparent 76%);filter:blur(.7px);opacity:.86;transform:scale(.94);transition:opacity .2s ease,transform .25s ease}
.plan-lighting-visual .lighting-glow:before,.plan-lighting-visual .lighting-glow:after{content:'';position:absolute;pointer-events:none;border-radius:50%}.plan-lighting-visual .lighting-glow:before{inset:7px;background:radial-gradient(circle,rgba(255,255,250,.9),var(--lighting-hot-color) 36%,transparent 72%);filter:blur(.4px)}.plan-lighting-visual .lighting-glow:after{inset:-3px;border:1px solid var(--lighting-glow-soft);box-shadow:0 0 7px var(--lighting-glow-soft);opacity:.42}
.plan-lighting-visual .lighting-body{position:relative;z-index:1;width:22px;height:22px;border:1px solid var(--lighting-stroke-color);border-radius:50%;background:radial-gradient(circle at 42% 35%,var(--lighting-hot-color) 0 15%,var(--lighting-body-color) 48%,var(--lighting-body-deep) 100%);box-shadow:inset 0 1px 2px rgba(255,255,255,.75)}
.plan-lighting-visual .lighting-detail{position:absolute;z-index:2;left:50%;top:50%;width:6px;height:6px;transform:translate(-50%,-50%);border-radius:50%;background:var(--lighting-detail-color);opacity:.72}
.plan-lighting-visual.is-ceiling .lighting-detail,.plan-lighting-visual.is-squarePanelLight .lighting-detail,.plan-lighting-visual.is-rectPanelLight .lighting-detail,.plan-lighting-visual.is-lightMembrane .lighting-detail,.plan-lighting-visual.is-ovalLightMembrane .lighting-detail,.plan-lighting-visual.is-roundLightMembrane .lighting-detail{opacity:.1}
.plan-lighting-visual.is-grille .lighting-body,.plan-lighting-visual.is-grille10 .lighting-body,.plan-lighting-visual.is-bathHeater .lighting-body,.plan-lighting-visual.is-squarePanelLight .lighting-body,.plan-lighting-visual.is-lightMembrane .lighting-body{border-radius:4px}.plan-lighting-visual.is-grille .lighting-detail,.plan-lighting-visual.is-grille10 .lighting-detail,.plan-lighting-visual.is-bathHeater .lighting-detail{width:12px;height:12px;border-radius:2px;background:repeating-linear-gradient(90deg,var(--lighting-detail-color) 0 1px,transparent 1px 4px)}
.plan-lighting-visual.is-rectPanelLight .lighting-body,.plan-lighting-visual.is-linear .lighting-body,.plan-lighting-visual.is-diningLinearPendant .lighting-body,.plan-lighting-visual.is-mirror .lighting-body,.plan-lighting-visual.is-track .lighting-body{width:29px;height:12px;border-radius:4px}.plan-lighting-visual.is-linear .lighting-detail,.plan-lighting-visual.is-track .lighting-detail{width:22px;height:3px;border-radius:1px;background:repeating-linear-gradient(90deg,var(--lighting-detail-color) 0 2px,transparent 2px 5px)}
.plan-lighting-visual.is-ovalLightMembrane .lighting-body,.plan-lighting-visual.is-ringLight .lighting-body{width:29px;height:18px}.plan-lighting-visual.is-ringLight .lighting-body,.plan-lighting-visual.is-circleRingLight .lighting-body,.plan-lighting-visual.is-rectRingLight .lighting-body{background:transparent;border:3px solid var(--lighting-color);box-shadow:0 0 7px var(--lighting-glow-color)}.plan-lighting-visual.is-rectRingLight .lighting-body{width:29px;height:18px;border-radius:4px}
.plan-lighting-visual.is-pendant .lighting-body,.plan-lighting-visual.is-wall .lighting-body,.plan-lighting-visual.is-adjustableSpotlight .lighting-body,.plan-lighting-visual.is-trackSpotlight .lighting-body{width:20px;height:15px;border-radius:10px 10px 4px 4px;transform:skewX(-8deg)}.plan-lighting-visual.is-pendant:before{content:'';position:absolute;z-index:2;left:50%;top:1px;width:1px;height:9px;background:var(--lighting-detail-color)}
.plan-lighting-visual.is-step .lighting-body{border-radius:4px}.plan-lighting-visual.is-mirror .lighting-body{width:30px;height:9px}.plan-lighting-visual.is-sensor .lighting-detail{width:4px;height:4px;box-shadow:0 0 0 3px var(--lighting-hot-color)}
.light-effect-on .plan-lighting-visual .lighting-glow{animation:floor-light-breathe 2.8s ease-in-out infinite}.light-effect-on .plan-lighting-visual .lighting-body{box-shadow:0 0 4px rgba(255,255,245,.85),0 0 9px var(--lighting-glow-soft),inset 0 1px 2px rgba(255,255,255,.82)}.plan-lighting-sidebar-button:hover .lighting-glow,.plan-lighting-sidebar-button.active .lighting-glow{opacity:1;transform:scale(1.08)}@keyframes floor-light-breathe{0%,100%{opacity:.78;transform:scale(.96)}50%{opacity:1;transform:scale(1.06)}}
