.workspace-v4{display:flex;flex-direction:column;height:100dvh;min-height:480px;background:#f9f9f7}.workspace-v4 .focus-header{padding:12px 24px;border:0;min-height:60px;flex-shrink:0}.workspace-v4 .drawing{flex:1;min-height:0;display:flex;flex-direction:column;border:0;border-radius:0;background:transparent}.view-tabs{display:flex;justify-content:center;gap:8px;background:white;border-bottom:1px solid #ebece7;padding:0 16px 10px}.view-tabs .btn{background:transparent;border:0;color:#7d8071;font-weight:600;padding:10px 20px}.view-tabs .btn.active{color:#526022;background:#eef1e6;border-radius:10px}.context-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 24px}.surface-current{display:flex;align-items:center;gap:12px;background:transparent;border:0;text-align:left;color:#373d24;min-width:0;cursor:pointer}.surface-current strong{font-size:16px}.surface-current span{font-size:12px;color:#848778}.surface-actions{display:flex;justify-content:center;gap:10px;padding:12px 16px 6px;flex-shrink:0}.surface-actions .btn{min-width:150px;background:#fff;border-color:#e7e9e2;border-radius:12px;padding:14px 20px}.surface-actions .btn:first-child{background:#596925;color:#fff;border-color:#596925}.canvas-v4{flex:1;min-height:100px;overflow:hidden}.workspace-v4 .plan-svg{width:100%;height:100%;min-height:100px}.workspace-v4 .focus-status{background:transparent;border:0;justify-content:center;gap:20px;padding:6px 20px 12px;min-height:34px}.workspace-v4 .focus-status span{color:#86897c;font-size:12px}.workspace-v4 .zoom-controls{right:18px;bottom:18px;border-radius:12px;background:white;box-shadow:0 2px 12px #32381e0b}.workspace-v4 .zoom-controls .btn{width:38px;height:38px;justify-content:center;font-size:20px}.surface-list{display:grid;gap:8px}.surface-list-row{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:15px 16px;border:1px solid #e9ebe4;background:#fff;border-radius:12px;width:100%;text-align:left;color:#373d24;cursor:pointer}.surface-list-row small{display:block;color:#86897a;margin-top:4px;font-size:12px}.surface-list-row.active{border-color:#687a2b;background:#f4f6ee}.surface-family{display:grid;gap:4px;border-left:2px solid #e6e9dc;padding-left:10px;margin-top:8px}.surface-family .surface-list-row:not(:first-child){border:0;border-radius:6px;padding-left:26px;background:#f8f8f6}.action-list{display:grid;gap:8px}.action-list .btn{justify-content:flex-start;min-height:48px}.action-list details{margin-top:8px;padding:12px 0;color:#7e8172}.action-list summary{cursor:pointer;margin-bottom:12px}.input-guide{display:block;width:100%;max-height:190px;margin:10px auto;font-family:Gilroy,sans-serif;font-size:12px;color:#4c5335}.geometry-preview{padding:12px}.element-caption{font-family:Gilroy,sans-serif;font-size:11px;font-weight:600;fill:#6d7357;paint-order:stroke;stroke:#f7f8f3;stroke-width:4px;stroke-linejoin:round;pointer-events:none}.workspace-v4 .measure-line{stroke:#a1a986;stroke-dasharray:4 4;opacity:.7;pointer-events:none}.workspace-v4 .dimension{font-weight:500;font-size:13px;pointer-events:none}.workspace-v4 .vertex{r:5}.face-drawing .dimension{font-size:15px}.scope-choice{padding:14px;background:#f5f6f0;border-radius:12px;margin:14px 0}.form-section{margin-top:12px}.form-section summary{padding:10px 0;cursor:pointer}.item-copy p{color:#86897b}.chat-card{margin-top:18px}.chat-messages{height:min(48dvh,440px);overflow:auto;background:#f7f8f5;border-radius:14px;padding:14px;display:flex;flex-direction:column;gap:12px}.chat-message{background:white;border:1px solid #e9ebe4;border-radius:12px;padding:12px;max-width:90%;align-self:flex-start;overflow-wrap:anywhere}.chat-message.mine{align-self:flex-end;background:#ecefe1;border-color:#e2e6d4}.chat-message header{display:flex;gap:18px;justify-content:space-between;font-size:12px;color:#7a7f6b}.chat-message p{white-space:pre-wrap;margin:6px 0;line-height:1.5}.chat-attachment{display:block;padding:8px;border-radius:6px;background:#ffffff88;margin-top:6px;overflow-wrap:anywhere}.chat-toolbar{display:flex;gap:8px;align-items:center;justify-content:space-between;margin:10px 0}.chat-status{font-size:12px;color:#7b8165}.chat-composer{display:grid;gap:10px;margin-top:12px}.chat-composer textarea{min-height:74px}.chat-scope-tabs{display:flex;gap:6px;overflow:auto;padding-bottom:8px}.chat-scope-tabs .btn{white-space:nowrap}.chat-link{width:100%;font-size:12px;padding:10px;border:1px solid #e1e4d7;border-radius:8px}.chat-error{color:#a44131;font-size:13px}.chat-files{font-size:12px;color:#6f745f}.chat-file-input{width:100%}
@media(max-width:700px){.workspace-v4 .focus-header{padding:10px 12px;min-height:54px;display:flex;flex-wrap:nowrap}.workspace-v4 .focus-header>.row{min-width:0;gap:4px}.workspace-v4 .room-switcher{min-width:0;max-width:200px}.workspace-v4 .room-switcher strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px}.view-tabs{gap:2px;padding:0 8px 8px}.view-tabs .btn{font-size:13px;padding:9px 14px;flex:1;justify-content:center;white-space:nowrap}.context-toolbar{padding:10px 12px;gap:4px}.context-toolbar>.row{gap:4px}.context-toolbar .btn{font-size:12px;min-height:36px;padding:8px}.context-toolbar .undo-icon{display:none}.context-toolbar .icon{width:15px;height:15px}.surface-current{display:grid;gap:3px;max-width:48%;padding:0}.surface-current strong{font-size:13px}.surface-current span{font-size:11px}.surface-actions{padding:10px 10px 2px;gap:6px}.surface-actions .btn{min-width:0;flex:1;padding:12px 7px;justify-content:center;font-size:12px;gap:6px}.workspace-v4 .focus-status{padding:3px 10px 10px;gap:8px;align-items:center;justify-content:space-between}.workspace-v4 .focus-status span{font-size:10px;max-width:74%;line-height:1.4}.workspace-v4 .focus-status .btn{font-size:11px;padding:6px 8px;min-height:30px}.workspace-v4 .dimension{font-size:16px}.workspace-v4 .element-caption{font-size:13px}.chat-message{max-width:95%}.chat-messages{padding:8px}.model-controls{max-width:calc(100% - 80px);flex-wrap:wrap}.model-controls .btn{font-size:11px}.input-guide{max-height:155px}}

[hidden]{display:none!important}.workspace-v4 .focus-header>.row{width:auto;justify-content:flex-start}.workspace-v4 .element-caption{font-size:11px}.workspace-v4 .vertex{r:6px}@media(max-width:700px){.workspace-v4{min-height:0}.workspace-v4 .element-caption{font-size:13px}.workspace-v4 .vertex{r:8px}}

.workspace-v4 .element-caption{font-size:14px}@media(max-width:700px){.workspace-v4 .dimension{font-size:20px}.workspace-v4 .element-caption{font-size:17px}}
