:root{color:#29354d;font-synthesis:none;background:#f6f5f1;font-family:Noto Sans SC,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}body{margin:0}.demo{box-sizing:border-box;max-width:1680px;margin:0 auto;padding:28px 32px 18px;font-size:13px}.demo *,.demo :before,.demo :after{box-sizing:border-box}.demo [hidden]{display:none!important}.demo button,.demo input,.demo select{font:inherit}.demo button,.demo select{color:#35433d;background:#fff;border:1px solid #dadfdc;border-radius:7px;min-height:34px;padding:6px 10px}.demo button{cursor:pointer;white-space:nowrap;transition:background .12s,border-color .12s}.demo button:hover:not(:disabled){background:#f0f4ef;border-color:#a3b8a9}.demo button:focus-visible,.demo select:focus-visible,.demo input:focus-visible{outline-offset:2px;outline:3px solid #91bfa1}.demo button:disabled{opacity:.4;cursor:not-allowed}.demo button[aria-pressed=true]{color:#245b42;background:#e7f0e8;border-color:#a8c3ae}.demo button.primary{color:#fff;background:#2e654d;border-color:#2e654d}.demo button.primary:hover:not(:disabled){background:#214c39}.demo h1,.demo h2,.demo p{margin:0}.demo h1{letter-spacing:-.5px;font-size:24px;font-weight:650;line-height:1.5}.demo h2{font-size:14px;font-weight:600}.demo .muted{color:#7b857f}.demo .page-header{justify-content:space-between;align-items:center;gap:24px;margin-bottom:24px;display:flex}.demo .identity{flex-shrink:0;align-items:center;gap:13px;display:flex}.demo .brand-mark{color:#f5e4ba;background:#2e654d;border-radius:11px;place-items:center;width:48px;height:48px;font-size:34px;line-height:1;display:grid}.demo .eyebrow{color:#879088;letter-spacing:1.7px;margin-bottom:2px;font-size:9px;font-weight:600}.demo .file-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:7px;display:flex}.demo .file-actions select{max-width:240px}.demo .workspace{grid-template-columns:280px minmax(0,1fr);align-items:start;gap:20px;display:grid}.demo .sidebar{background:#fff;border:1px solid #e1e4de;border-radius:12px;overflow:hidden}.demo .panel-section{border-bottom:1px solid #edf0eb;padding:19px 18px}.demo .section-description{margin-top:5px;margin-bottom:13px;font-size:11px;line-height:1.8}.demo .field{align-items:center;gap:9px;margin-top:8px;display:flex}.demo .field-label{color:#69776e;flex:0 0 50px;font-size:12px}.demo .field select{flex:1;width:100%;min-width:0;font-size:12px}.demo .region-buttons{flex-wrap:wrap;gap:6px;margin-top:12px;display:flex}.demo .region-buttons button{flex-grow:1;padding:5px 8px;font-size:11px}.demo .region-summary{color:#6e7f72;margin-top:12px;font-size:11px;line-height:1.7}.demo .text-button{width:100%;margin:0 0 10px;font-size:12px}.demo .palette-head{color:#88938b;justify-content:space-between;gap:8px;margin-bottom:8px;font-size:10px;display:flex}.demo .palette-head span:first-child{flex:1}.demo .palette-head span:last-child{text-align:center;width:28px}.demo .palette-list{overscroll-behavior-y:contain;gap:5px;max-height:360px;display:grid;overflow-y:auto}.demo .palette-row{border:1px solid #0000;border-radius:8px;align-items:center;gap:6px;min-width:0;padding:3px;display:flex}.demo .palette-row.is-highlighted{background:#f7faf4;border-color:#cbdaca}.demo button.color-pick{text-align:left;background:0 0;border-color:#0000;flex:1;align-items:center;gap:8px;min-width:0;padding:3px;display:flex}.demo button.color-pick[aria-pressed=true]{background:#edf4eb;border-color:#b5c9b5}.demo .swatch{border:1px solid #00000014;border-radius:5px;flex-shrink:0;width:27px;height:27px}.demo .color-description{gap:2px;display:grid;overflow:hidden}.demo .color-description strong{font-size:11px;font-weight:650}.demo .color-description .muted{text-overflow:ellipsis;white-space:nowrap;font-size:9px;overflow:hidden}.demo .color-count{font-variant-numeric:tabular-nums;color:#69776e;white-space:nowrap;font-size:10px}.demo .highlight-button{border-color:#0000;width:28px;min-height:28px;padding:0;font-size:17px}.demo .usage-summary{color:#657d6b;border-top:1px solid #edf0eb;margin-top:13px;padding-top:12px;font-size:11px;line-height:1.8}.demo .wide{width:100%;margin-top:12px}.demo .help-text{color:#8a928b;white-space:pre-line;padding:16px 18px;font-size:10px;line-height:1.9}.demo .canvas-panel{background:#fff;border:1px solid #e0e3dd;border-radius:12px;min-width:0;overflow:hidden}.demo .canvas-header{justify-content:space-between;align-items:center;gap:12px;padding:18px 20px;display:flex}.demo h2.document-name{font-size:15px}.demo .document-meta{margin-top:5px;font-size:11px}.demo .segmented{background:#f3f5f1;border:1px solid #e6e9e3;border-radius:8px;gap:2px;padding:3px;display:flex}.demo .segmented button{background:0 0;border-color:#0000;min-height:29px;padding:4px 16px;font-size:12px}.demo .segmented button[aria-pressed=true]{color:#2b6047;background:#fff;border-color:#e1e6dc;box-shadow:0 1px 3px #3246300a}.demo .toolbar{border-top:1px solid #edf0eb;border-bottom:1px solid #e4e8e0;justify-content:space-between;align-items:center;gap:12px;min-height:56px;padding:10px 16px;display:flex}.demo .tool-group,.demo .history-group{gap:5px;display:flex}.demo .toolbar button{min-height:32px;padding:5px 9px;font-size:12px}.demo .view-hint{font-size:11px}.demo .editor-container{background:#eceee8;height:clamp(430px,100vh - 295px,820px);min-height:250px;position:relative;overflow:hidden}.demo .viewport-controls{border-top:1px solid #e4e8e0;flex-wrap:wrap;align-items:center;gap:6px;padding:12px 16px;display:flex}.demo .viewport-controls button{padding:5px 10px;font-size:11px}.demo .viewport-controls button:first-child,.demo .viewport-controls button:nth-child(2){width:33px;padding:5px;font-size:19px;line-height:1}.demo .view-options{gap:15px;margin-left:auto;display:flex}.demo .checkbox{color:#6e7a72;cursor:pointer;align-items:center;gap:4px;font-size:11px;display:flex}.demo input[type=checkbox]{accent-color:#3f7658;width:13px;height:13px}.demo .status-bar{color:#7c897f;font-variant-numeric:tabular-nums;background:#f9faf7;border-top:1px solid #edf0eb;gap:18px;padding:11px 16px;font-size:10px;display:flex}.demo .status-bar span:first-child{flex:1}.demo .error{color:#953b28;overflow-wrap:anywhere;background:#fff1ec;border:1px solid #f3c5b7;border-radius:8px;margin:0 0 16px;padding:12px 16px;line-height:1.6}.demo .page-footer{text-align:right;color:#949c94;padding-top:17px;font-size:10px}@media (width<=1100px){.demo{padding:20px}.demo .page-header{align-items:flex-start}.demo .file-actions{max-width:480px}.demo .workspace{grid-template-columns:250px minmax(0,1fr);gap:14px}.demo .toolbar{flex-wrap:wrap;gap:6px;padding:8px}.demo .toolbar button{padding:5px 7px;font-size:11px}.demo .panel-section{padding:16px 13px}.demo .view-options{gap:9px}}@media (width<=700px){.demo{padding:16px 12px}.demo .page-header{margin-bottom:14px;display:block}.demo .brand-mark{width:39px;height:39px;font-size:28px}.demo h1{font-size:20px}.demo .eyebrow{font-size:8px}.demo .file-actions{justify-content:flex-start;gap:6px;max-width:none;margin-top:15px}.demo .file-actions select{flex:1;max-width:none}.demo .file-actions button{font-size:11px}.demo .workspace{flex-direction:column;gap:14px;display:flex}.demo .canvas-panel{order:-1;width:100%}.demo .sidebar{width:100%}.demo .canvas-header{padding:13px 12px}.demo h2.document-name{font-size:13px}.demo .document-meta{font-size:10px}.demo .segmented button{padding:4px 11px}.demo .editor-container{height:55vh;min-height:300px;max-height:560px}.demo .view-hint{font-size:10px}.demo .viewport-controls{gap:5px;padding:9px}.demo .view-options{justify-content:flex-end;width:100%;padding-top:4px}.demo .status-bar{flex-wrap:wrap;gap:7px 14px;padding:9px}.demo .status-bar span:first-child{flex-basis:100%}.demo .panel-section{padding:18px}.demo .palette-row{padding:5px}.demo .color-description strong{font-size:12px}.demo .color-description .muted{font-size:11px}.demo .color-count{font-size:12px}.demo .highlight-button{width:34px;min-height:34px}.demo .page-footer{text-align:center;line-height:1.8}}
