:root{font-family:"Microsoft YaHei","Segoe UI",sans-serif;color:#243a38;background:#f3f4ef;font-size:14px}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button,.button{border:1px solid #ced8d1;background:white;border-radius:7px;padding:10px 16px;cursor:pointer;color:inherit;text-decoration:none;display:inline-block}button:hover,.button:hover{border-color:#2d6757;background:#edf4ef}button.primary,.primary{background:#285f50;color:#fff;border-color:#285f50}button:disabled{opacity:.5;cursor:wait}input,select,textarea{padding:10px;border:1px solid #d1dbd4;border-radius:6px;background:white;min-width:0;width:100%;color:inherit}textarea{min-height:90px}label{display:grid;gap:7px;font-size:13px;color:#51635d}h1,h2,h3,p{margin-top:0}h1{font-size:30px;font-weight:600;letter-spacing:1px}h2{font-size:20px}h3{font-size:16px}p{line-height:1.8}.muted,small{color:#75847d}.shell{display:grid;grid-template-columns:220px 1fr;min-height:100vh}.sidebar{background:#193f36;color:#d7e7df;padding:34px 22px;display:flex;flex-direction:column;gap:8px}.logo{font-size:23px;font-weight:600;letter-spacing:3px;margin-bottom:4px}.subtitle{font-size:10px;letter-spacing:2px;color:#a8c3b5;margin-bottom:40px}.nav{color:inherit;text-align:left;border:0;background:none;padding:13px 15px}.nav.active,.nav:hover{background:#31594d;color:white}.sidebar footer{margin-top:auto;padding-top:35px;color:#a8c3b5;font-size:12px;line-height:1.8}.main{padding:32px 42px;max-width:1600px;width:100%;margin:auto}.top{display:flex;align-items:center;justify-content:space-between;margin-bottom:36px;gap:16px}.eyebrow{font-size:11px;letter-spacing:2px;color:#74847a;margin-bottom:10px}.hero{background:#e4eadf;border:1px solid #d7e0d2;border-radius:12px;padding:30px;margin-bottom:30px;display:flex;justify-content:space-between;align-items:center;gap:25px}.hero h1{margin-bottom:12px}.hero p{margin-bottom:0}.line{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.grow{flex:1}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px}.card{background:#fff;border:1px solid #dce2db;border-radius:10px;overflow:hidden}.card-body{padding:18px}.card h3{overflow-wrap:anywhere;margin-bottom:10px}.card button{padding:7px 12px}.thumb{height:160px;background:#e8ece6;display:flex;align-items:center;justify-content:center;font-size:28px;color:#7c9386;position:relative;overflow:hidden}.thumb img{width:100%;height:100%;object-fit:cover}.thumb .badge{position:absolute;top:12px;left:12px}.badge{font-size:11px;padding:5px 8px;border-radius:4px;background:#edf3eb;color:#44664e;display:inline-block}.badge.warn{background:#f7ebd6;color:#886128}.badge.history{background:#eee9e4;color:#776453}.panel{background:#fff;border:1px solid #dce2db;border-radius:10px;padding:24px;margin-bottom:20px}.filters{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.filters .search{grid-column:span 2}.section-head{display:flex;justify-content:space-between;align-items:center;margin:28px 0 18px;gap:12px}.section-head h2{margin:0}.empty{border:1px dashed #c7d3c8;border-radius:12px;text-align:center;padding:60px 20px;color:#7a897e;background:#f8f9f5}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.full{grid-column:1/-1}.notice{padding:14px 18px;border-left:3px solid #b28b50;background:#faf3e5;color:#765d38;line-height:1.8;margin:18px 0}.login{max-width:440px;margin:12vh auto;padding:35px}.login form{display:grid;gap:20px}.login .logo{color:#285f50}.auth-sub{margin:15px 0 30px}.detail{display:grid;grid-template-columns:1.3fr 1fr;gap:25px}.preview{min-height:340px;background:#e8ece6;border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden}.preview img{max-width:100%;max-height:600px}.preview iframe{width:100%;height:580px;border:0}.preview p{padding:35px}.kv{display:grid;grid-template-columns:80px 1fr;gap:12px;margin:24px 0;overflow-wrap:anywhere}.kv dt{color:#849187}.kv dd{margin:0}.version{padding:15px 0;border-top:1px solid #e1e6df;display:flex;gap:12px;justify-content:space-between;align-items:center}.upload-zone{border:2px dashed #ccd8ce;padding:25px;text-align:center;border-radius:9px;background:#f7faf5}.upload-zone input{margin:10px 0;background:white}progress{width:100%;accent-color:#285f50;height:12px}.queue-item{padding:12px;border-bottom:1px solid #e2e8e0;overflow-wrap:anywhere}.error{color:#aa4336}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#203f35;color:white;padding:13px 25px;border-radius:8px;display:none;z-index:10;max-width:80vw}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:12px;text-align:left;border-bottom:1px solid #e5e8e2}.link{color:#285f50;cursor:pointer}.upload-status{white-space:pre-line}.safety{font-size:12px;background:#e9ede5;padding:9px;border-radius:5px;margin-top:15px}@media(max-width:900px){.shell{grid-template-columns:170px 1fr}.main{padding:25px}.filters{grid-template-columns:1fr 1fr}.detail{grid-template-columns:1fr}.hero{display:block}}@media(max-width:600px){.shell{display:block}.sidebar{padding:15px;display:flex;flex-direction:row;flex-wrap:wrap}.sidebar .logo{width:100%;font-size:18px}.subtitle,.sidebar footer{display:none}.nav{padding:8px}.main{padding:18px}.form-grid{grid-template-columns:1fr}.full{grid-column:auto}.top{margin-bottom:20px}.hero{padding:20px}h1{font-size:24px}}
:is(button,.button).primary:hover{background:#1c4d40;color:#fff;border-color:#1c4d40}
.floorplan-workspace{display:grid;grid-template-columns:320px minmax(0,1fr);gap:22px;align-items:stretch}
.floorplan-workspace>.panel{margin-bottom:0;min-width:0;padding:22px}
.floorplan-panel-heading{display:flex;gap:12px;align-items:center;margin-bottom:24px}
.floorplan-panel-heading h2{margin:0 0 5px;font-size:18px}
.floorplan-step{display:flex;align-items:center;justify-content:center;width:35px;height:35px;flex-shrink:0;border:1px solid #d5e1d8;border-radius:8px;background:#edf3eb;color:#426b55;font-size:12px}
.floorplan-fields{display:grid;gap:17px}
.floorplan-fields textarea{min-height:100px;resize:vertical}
.floorplan-dimensions{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.floorplan-generation{display:flex;flex-direction:column}
.floorplan-canvas{flex:1;min-height:460px;display:flex;align-items:center;justify-content:center;border:1px solid #dce4dc;border-radius:9px;background-color:#f8faf6;background-image:linear-gradient(#e8eee666 1px,transparent 1px),linear-gradient(90deg,#e8eee666 1px,transparent 1px);background-size:24px 24px}
.floorplan-placeholder{text-align:center;padding:28px;max-width:410px}
.floorplan-placeholder h3{margin-bottom:10px;font-size:20px}
.floorplan-placeholder p{margin-bottom:8px}
.floorplan-placeholder-icon{font-size:48px;line-height:1;color:#92aa99;margin-bottom:24px}
.floorplan-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0 12px}
.floorplan-actions button:disabled{cursor:not-allowed;opacity:.55}
@media(max-width:1050px){.floorplan-workspace{grid-template-columns:280px minmax(0,1fr)}.floorplan-workspace>.panel{padding:18px}.floorplan-panel-heading{flex-wrap:wrap}}
@media(max-width:850px){.floorplan-workspace{grid-template-columns:1fr}.floorplan-canvas{min-height:350px}}
.floorplan-zone-row{display:grid;grid-template-columns:minmax(0,1fr) 65px 30px;gap:8px;align-items:end;margin:0 0 12px}
.floorplan-zone-row button{padding:10px 5px}
.floorplan-hint{font-size:12px;line-height:1.7;margin-bottom:12px}
.floorplan-output{display:block;width:100%;height:auto;max-height:760px;object-fit:contain}
.floorplan-generation .floorplan-canvas{flex:0 0 auto;min-height:400px}
.floorplan-metrics{display:flex;flex-wrap:wrap;gap:20px;margin-top:18px;color:#627869}
.floorplan-area-table{overflow:auto;margin-top:12px}
.floorplan-history{margin:14px 0 20px;max-height:320px;overflow:auto}
.floorplan-history-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #e4e9e2}
.floorplan-history-row strong{overflow-wrap:anywhere}
.floorplan-history-row button{flex-shrink:0}
#floorplan-error:empty{display:none}
#floorplan-details output{line-height:1.8}
.floorplan-run{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:18px}
.model-filters{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:24px;border:0;margin:0;padding:8px 0}
.model-filters legend{font-size:13px;color:#51635d;margin-bottom:6px}
.model-filters label{display:flex;align-items:center;gap:8px;cursor:pointer}
.model-filters input{width:17px;height:17px;margin:0;accent-color:#285f50}
.resource-sections{margin:28px 0 24px}.section-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:18px}.section-heading h2{margin:0}.section-heading .eyebrow{font-size:10px;margin-bottom:8px}.section-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}.section-card{text-align:left;padding:18px;border-radius:12px;background:#fff;position:relative;transition:background .15s,border-color .15s,transform .15s}.section-card:hover{transform:translateY(-2px)}.section-card.selected{background:#e3eee7;border:1px solid #356d56;box-shadow:inset 0 -3px #356d56}.section-card-top{display:flex;justify-content:space-between;color:#879487;font-size:11px;letter-spacing:1px}.section-count{letter-spacing:0;color:#53715f}.section-card svg{width:42px;height:42px;margin:19px 0 13px;display:block;fill:none;stroke:#698673;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.section-card strong{display:block;font-size:19px;margin-bottom:8px;color:#294a3c}.section-card small{font-size:11px;display:block;line-height:1.6}.section-card:nth-child(2) svg{stroke:#a38c62}.section-card:nth-child(3) svg{stroke:#92787a}.section-card:nth-child(4) svg{stroke:#718594}.section-card:nth-child(5) svg{stroke:#788a5f}.section-all strong{margin-left:10px}.section-subnav{display:flex;gap:9px;align-items:center;flex-wrap:wrap;padding:18px 0 8px}.section-subnav>span{font-size:12px;color:#77867b;margin-right:7px}.section-subnav button{border-radius:25px;padding:8px 15px;font-size:12px}.section-subnav button span{margin-left:9px;opacity:.65}.resource-sections button.selected:not(.section-card){background:#285f50;border-color:#285f50;color:#fff}.other-sections{margin-top:16px}.other-sections summary{cursor:pointer;font-size:12px;color:#78857d;display:list-item;list-style-position:inside}.other-sections .line{margin-top:12px}.other-sections button{font-size:12px;padding:7px 12px}.section-count-note{display:block;margin-top:12px;font-size:11px}.context-note{margin-bottom:18px}.compact .section-card{padding:14px 17px}.compact .section-card svg{height:30px;width:30px;margin:10px 0}.compact .section-card strong{font-size:17px}.compact .section-card small{display:none}.card{transition:box-shadow .15s}.card:hover{box-shadow:0 5px 18px #2144320d}.card-body h3{line-height:1.5}.thumb{background:#e9ede6}.filters{box-shadow:0 2px 8px #193f3603}.section-cards button:focus-visible{outline:2px solid #285f50;outline-offset:3px}
.brand-parts{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0 4px}.brand-parts button{border-radius:20px;padding:6px 13px;font-size:12px}.brand-parts button:hover{border-color:#2d6757;background:#e3eee7}.brand-parts button strong{margin-left:5px;color:#356d56}@media(max-width:1000px){.section-cards{gap:8px}.section-card{padding:12px}.section-card small{display:none}.section-card strong{font-size:16px}}@media(max-width:650px){.section-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.section-card:last-child{grid-column:1/-1}.section-heading{align-items:flex-end}.section-card svg{margin:10px 0}.section-subnav{gap:7px}}

.proposal-workspace > .panel { min-width: 0; }
.proposal-template { display: grid; gap: 5px; padding: 14px; margin: 16px 0; background: #f7f0e8; border-radius: 8px; color: #642722; }
.proposal-preview { display: grid; place-items: center; aspect-ratio: 16 / 9; background: #fbf8f3; border: 1px solid #e1dbd2; }
.proposal-preview canvas { width: 100%; height: auto; }
.card-delete{color:#a33d35;border-color:#dfc6c2}.card-delete:hover{background:#fcf0ee;border-color:#a33d35}
.resource-sections .section-cards{grid-template-columns:repeat(7,minmax(0,1fr))}@media(max-width:1100px){.resource-sections .section-cards{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:650px){.resource-sections .section-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
.thumb img.model-thumbnail{object-fit:contain;background:#fff}

.auth-management{max-width:1280px;margin:32px auto;padding:28px}.auth-table-wrap{overflow:auto}.auth-management table{width:100%;border-collapse:collapse}.auth-management th,.auth-management td{text-align:left;padding:10px;border-bottom:1px solid #e0e6e0;vertical-align:top}.auth-management input[type=checkbox]{width:auto}.auth-dept-node{margin-left:20px;padding:8px;border-left:1px solid #d1dbd4}#auth-message{white-space:pre-wrap;color:#8c3f21}

.team-record-tabs{margin-bottom:14px}.team-record-filters{display:grid;grid-template-columns:2fr 1.3fr 1fr 1fr auto;gap:12px;align-items:end;margin:16px 0}.team-record-id{display:block;overflow-wrap:anywhere;margin-top:4px}.team-record-pagination{justify-content:flex-end;margin-top:14px}.team-record-pagination>span{margin-right:auto}.team-record-filters .line{flex-wrap:nowrap}@media(max-width:1000px){.team-record-filters{grid-template-columns:1fr 1fr}}@media(max-width:600px){.team-record-filters{grid-template-columns:1fr}}
