:root{color:#222733;font-synthesis:none;--blue:#365fdf;--ink:#242833;--line:#dfe2e8;background:#f7f8fa;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,textarea{font:inherit}button{color:inherit;cursor:pointer}button:disabled{opacity:.35;cursor:default}button:focus-visible,textarea:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline-offset:3px;outline:3px solid #7595fa}[hidden]{display:none!important}[data-icon]{flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.app-header{border-bottom:1px solid var(--line);background:#fff;align-items:center;gap:25px;height:66px;padding:0 2.4vw;display:flex}.brand{letter-spacing:-.95px;color:#20232c;align-items:center;gap:9px;font-size:21px;font-weight:700;line-height:1;display:flex}.brand-mark{color:#fff;background:linear-gradient(145deg,#6482ff,#3456d6);border:1px solid #3f61db;border-radius:9px;width:32px;height:32px;box-shadow:inset 0 1px 1px #ffffff50}.brand-mark svg{width:22px;height:22px}.diagram-choice{border-left:1px solid var(--line);color:#667080;align-items:center;gap:9px;min-width:0;padding-left:24px;font-size:13px;display:flex}#diagram-picker{width:100%;min-width:0;max-width:22rem;color:var(--ink);font:inherit;text-overflow:ellipsis;background:#fff;border:1px solid #d4dbe7;border-radius:7px;padding:7px 8px}.file-actions{align-items:center;gap:12px;margin-left:auto;display:flex}.button,.icon-button,.modes button,.flow-selector,.play-button{justify-content:center;align-items:center;gap:8px;display:inline-flex}.button{white-space:nowrap;border:1px solid var(--line);background:#fff;border-radius:7px;min-height:36px;padding:9px 13px;font-size:13px;font-weight:550}.button:hover{background:#f1f3f8}.button.plain{border-color:#0000}.button.primary{color:#fff;background:#282c37;border:1px solid #20242e;box-shadow:0 1px 2px #141a271c,inset 0 1px 1px #ffffff1c}.button.primary:hover{background:#3d4554}.button svg{width:16px;height:16px}main{flex-direction:column;height:calc(100dvh - 66px);min-height:660px;padding:0 2.4vw 22px;display:flex}.intro{justify-content:space-between;align-items:center;gap:22px;padding:24px 1px 23px;display:flex}h1,h2,p{margin:0}h1{letter-spacing:-1.3px;font-size:clamp(26px,2.4vw,36px);font-weight:640;line-height:1.15}.intro p{color:#626d7d;margin-top:7px;font-size:14px;line-height:1.5}.modes{background:#eaecf1;border:1px solid #dfe2e8;border-radius:9px;align-self:center;gap:3px;padding:3px;display:flex}.modes button{color:#677181;background:0 0;border:1px solid #0000;border-radius:6px;padding:7px 11px;font-size:13px;font-weight:550}.modes button svg{width:15px;height:15px}.modes button[aria-pressed=true]{color:#252b38;background:#fff;border-color:#dce0e7;box-shadow:0 1px 3px #14213a12}.modes button[aria-pressed=true] svg{color:#4265d8}.board{background-color:#fff;background-image:radial-gradient(#dce0e8 .7px,#0000 .9px);background-position:7px 7px;background-size:16px 16px;border:1px solid #d5dae3;border-radius:15px;flex-direction:column;flex:1;min-height:0;display:flex;position:relative;overflow:hidden;box-shadow:0 2px 5px #202d4710}.board-tools{justify-content:space-between;align-items:flex-start;gap:12px;padding:17px 18px 5px;display:flex}.view-heading{align-items:center;gap:9px;padding:5px 2px;display:flex}.view-heading h2{letter-spacing:-.25px;font-size:14px;font-weight:600}.view-icon{color:#536074}.zoom-tools{border:1px solid var(--line);background:#fff;border-radius:8px;align-items:center;gap:1px;padding:3px;display:flex;box-shadow:0 1px 3px #222d4310}.icon-button,#scale{background:0 0;border:0;border-radius:4px;height:26px;padding:0}.icon-button{width:28px}.icon-button svg{width:15px;height:15px}.icon-button:hover:not(:disabled),#scale:hover{background:#edf0f6}#scale{font-variant-numeric:tabular-nums;min-width:43px;font-size:12px;font-weight:600}.divider{background:var(--line);width:1px;height:17px;margin:0 3px}.drawing-area{flex:1;min-height:0;position:relative}.viewport{scrollbar-width:thin;scrollbar-color:#cbd2e0 transparent;overscroll-behavior:contain;position:absolute;inset:0 8px;overflow:auto}.paper{place-content:center;width:max-content;min-width:100%;height:max-content;min-height:100%;display:grid}#diagram{-webkit-user-select:none;user-select:none;display:block;overflow:visible}.boundary rect{fill:#f4f7ff;fill-opacity:.9;stroke:#95acf4;stroke-width:1.2px;stroke-dasharray:6 5}.boundary{color:#4e6cb5}.boundary text{fill:#455f9f;font-size:11.8px;font-weight:620}.boundary-type{fill:#7586ab;font-weight:440}.node{cursor:pointer;color:#476bd3;outline:none!important}.node .card{fill:#fff;stroke:#9eafe0;stroke-width:1.25px;filter:drop-shadow(0 2px 1px #283e8011)}.node .icon-tile{fill:#edf2ff}.node.person{color:#6856a7}.node.person .card{fill:#fbfaff;stroke:#b5accd}.node.person .icon-tile{fill:#ece8f8}.node.service{color:#4162c8}.node.service .card{fill:#eff3ff;stroke:#8ca4e8}.node.service .icon-tile{fill:#dfe8ff}.node.store{color:#2d7e74}.node.store .card{fill:#f5fbfa;stroke:#93bcb7}.node.store .rim{fill:none;stroke:#93bcb7;stroke-width:1.1px}.node.store .icon-tile{fill:#e1f1ed}.node.external{color:#647286}.node.external .card{fill:#fafbfc;stroke:#a7b2c3;stroke-dasharray:5 4}.node.external .icon-tile{fill:#ecf0f5}.node .node-name{fill:#273247;letter-spacing:-.16px;font-size:14px;font-weight:600}.node .node-sub{fill:#647188;font-size:11.5px}.node:hover .card,.node:focus-visible .card{stroke:#3865ee;stroke-width:2px}.node.on-path .card{stroke:#6989eb}.node.selected .card{stroke:#3563ef;stroke-width:2.3px;filter:drop-shadow(0 0 3px #3767ef50)}.step-badge circle{fill:#3563ef;stroke:#fff;stroke-width:2px}.step-badge text{fill:#fff;font-size:11px;font-weight:650}.edge .wire{fill:none;stroke:#8b99af;stroke-width:1.4px}.edge text{fill:#64728b;stroke:#fafbff;stroke-width:3px;stroke-linejoin:round;paint-order:stroke;font-size:11px}.edge.active .wire{stroke:#3563ef;stroke-width:2.6px}.edge.active text{fill:#325dcb}.edge.muted{opacity:.34}.node.muted{opacity:.48}.node,.edge{transition:opacity .18s}.detail{z-index:3;color:#fff;background:#272c39;border:1px solid #3f4758;border-radius:10px;width:min(258px,100% - 24px);padding:11px 14px 14px;position:absolute;box-shadow:0 8px 24px #1b24332a}.detail-head{justify-content:space-between;align-items:center;margin-bottom:4px;display:flex}.detail-head>span{color:#b4c6ff;font-size:11px;font-weight:600}.detail-head .icon-button{color:#c7ccd4;width:20px;height:20px}.detail-head .icon-button:hover{background:#404758}.detail strong{letter-spacing:-.25px;font-size:15px;display:block}.detail p{color:#d4d9e2;margin:5px 0 0;font-size:13px;line-height:1.45}.player-area{z-index:4;align-self:center;max-width:calc(100% - 16px);padding:8px 0 15px;position:relative}.player{color:#fff;background:linear-gradient(#313846,#252b37);border:1px solid #171d29;border-radius:11px;align-items:center;gap:10px;padding:7px;display:flex;box-shadow:0 3px 6px #19223320,0 8px 20px #19223314,inset 0 1px #ffffff17}.play-button{color:#fff;background:#5577ec;border:1px solid #7797ff;border-radius:7px;flex-shrink:0;width:30px;height:30px;box-shadow:inset 0 1px #fff2}.play-button:hover{background:#6c89f0}.play-button svg{width:13px;height:13px}.flow-selector{color:#fff;background:0 0;border:0;min-width:0;padding:3px 0;font-size:13px;font-weight:560}.flow-selector span:first-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.flow-selector svg{color:#afb9cc;width:14px;height:14px}.player-divider{background:#4b5262;width:1px;height:18px}.dots{scrollbar-width:none;align-items:center;max-width:110px;display:flex;overflow:auto}.dots button{background:0 0;border:0;flex:none;place-items:center;width:12px;height:24px;padding:0;display:grid}.dots button:before{content:"";background:#737e91;border-radius:50%;width:5px;height:5px}.dots button.current:before{background:#adc1ff;box-shadow:0 0 0 2px #526181}.dots button.past:before{background:#b1baca}.counter{color:#c8cfdb;white-space:nowrap;font-variant-numeric:tabular-nums;font-size:12px}.step-controls{gap:1px;display:flex}.step-controls button{color:#e7eaf3;width:23px}.step-controls .icon-button:hover:not(:disabled){background:#495365}.flow-menu{border:1px solid var(--line);background:#fff;border-radius:9px;min-width:215px;max-width:100%;max-height:240px;padding:5px;position:absolute;bottom:calc(100% - 2px);left:0;overflow:auto;box-shadow:0 5px 24px #1d2b4521}.flow-menu button{text-align:left;background:#fff;border:0;border-radius:5px;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:9px;font-size:13px;display:flex}.flow-menu button:hover{background:#f1f4fb}.flow-menu svg{color:var(--blue)}.board-footer{border-top:1px solid var(--line);background:#fcfdff;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;min-height:44px;padding:9px 20px;display:flex}.legend,.legend-item{align-items:center;display:flex}.legend{flex-wrap:wrap;gap:16px}.legend-item{color:#596476;gap:6px;font-size:12px}.legend-item svg{color:#5272bf;width:14px;height:14px}.legend-item.person svg{color:#7d69ac}.legend-item.store svg{color:#38867e}.legend-item.external svg{color:#7c8798}#stats{color:#717d8f;font-size:12px}dialog{border:1px solid var(--line);width:min(690px,100vw - 28px);color:var(--ink);background:#fff;border-radius:14px;padding:0;box-shadow:0 20px 80px #121c3440}dialog::backdrop{background:#19223665}.dialog-head,.dialog-actions{justify-content:space-between;align-items:center;gap:14px;padding:18px 20px;display:flex}.dialog-head h2{letter-spacing:-.6px;font-size:21px}#editor-file{color:#6b7483;font-size:13px;line-height:1.8}#json-editor{resize:vertical;color:#35435a;tab-size:2;background:#f7f9fc;border:1px solid #d5dbe6;border-radius:7px;width:calc(100% - 40px);height:min(51dvh,450px);margin:0 20px;padding:13px;font:13px/1.5 ui-monospace,monospace;display:block}#editor-error{color:#ac3539;margin:12px 20px 0;font-size:13px}#notice{color:#fff;z-index:10;background:#2b3040;border-radius:8px;max-width:calc(100vw - 24px);padding:12px 18px;font-size:14px;position:fixed;bottom:18px;left:50%;transform:translate(-50%);box-shadow:0 4px 15px #1e29472a}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}@media (width>=1600px){.intro{padding-top:31px;padding-bottom:29px}}@media (width<=760px){.app-header{gap:14px;height:55px;padding:0 15px}.diagram-choice{border:0;padding:0}.diagram-choice label{display:none}main{height:calc(100dvh - 55px);min-height:610px;padding:0 10px 10px}.intro{flex-wrap:wrap;align-items:flex-start;gap:12px;padding:18px 4px 13px}.intro p{margin-top:4px;font-size:13px}.modes button{padding:5px 8px;font-size:12px}.board-tools{padding:10px 10px 5px}.board-footer{gap:7px;min-height:38px;padding:8px 12px}.legend{gap:6px 12px}.legend-item{font-size:11px}#stats{display:none}.viewport{inset:0 3px}}@media (width<=510px){.app-header{gap:8px;padding:0 10px}.brand-name,.button.plain .action-text{display:none}.file-actions{gap:3px}.board{border-radius:11px}.player{gap:7px}.dots{display:none}.player-area{padding-bottom:10px}.flow-selector{max-width:47vw}.brand{font-size:20px}.button{padding:8px 10px}.intro p{max-width:43em}.legend{column-gap:10px}}@media (prefers-reduced-motion:reduce){*,:before{transition:none!important}}@media (width>=761px) and (height<=950px){.board-tools{z-index:1;pointer-events:none;margin-bottom:-20px;position:relative}.zoom-tools{pointer-events:auto}}@media (width<=510px){.dialog-actions{flex-wrap:wrap}.dialog-actions #apply{margin-left:auto}}#detail-catalog{color:#fff;background:#343d4e;border:1px solid #626c82;border-radius:5px;align-items:center;gap:7px;margin:11px 0 0;padding:5px 8px;font-size:12px;font-weight:560;display:flex}#detail-catalog:hover{background:#46526a}#detail-catalog svg{width:14px;height:14px}.catalog{background:#fff;border:1px solid #d5dae3;border-radius:15px;flex:1;grid-template-columns:clamp(240px,24vw,345px) minmax(0,1fr);min-height:0;display:grid;overflow:hidden;box-shadow:0 2px 5px #202d4710}.catalog-nav{border-right:1px solid var(--line);background:#fafbfd;flex-direction:column;min-width:0;min-height:0;display:flex}.catalog-tabs{border-bottom:1px solid var(--line);gap:8px;padding:11px 12px 0;display:flex}.catalog-tabs button{color:#647184;background:0 0;border:0;border-bottom:2px solid #0000;align-items:center;gap:7px;margin-bottom:-1px;padding:8px 6px 11px;font-size:14px;font-weight:600;display:flex}.catalog-tabs button[aria-pressed=true]{border-bottom-color:var(--blue);color:#344ea4}.catalog-tabs button span,.count{color:#59667d;background:#e9edf4;border-radius:5px;padding:2px 5px;font-size:11px;font-weight:550;line-height:1.2}#catalog-scope{color:#334c92;background:#eff3ff;border:1px solid #d9e3ff;border-radius:6px;justify-content:space-between;align-items:center;gap:8px;margin:12px 12px 0;padding:8px 10px;font-size:13px;display:flex}#catalog-scope span{overflow-wrap:anywhere}#all-definitions{color:#3456b9;white-space:nowrap;background:0 0;border:0;padding:2px 0;font-size:12px;text-decoration:underline}.catalog-search{color:#7a879c;background:#fff;border:1px solid #d4dbe7;border-radius:7px;align-items:center;gap:7px;margin:14px 12px 11px;padding:7px 9px;display:flex}.catalog-search svg{width:15px;height:15px}.catalog-search input{font:inherit;width:100%;min-width:0;color:var(--ink);background:0 0;border:0;outline:0;font-size:13px}.catalog-search:focus-within{outline-offset:1px;outline:2px solid #7595fa}:is(#catalog-list,#ui-list){scrollbar-width:thin;min-height:0;padding:0 7px 10px;overflow:auto}.browse-group+.browse-group{border-top:1px solid #e4e8ef}.browse-group>summary{color:#40506a;cursor:pointer;border-radius:5px;align-items:center;gap:7px;min-height:36px;padding:7px 9px;font-size:13px;font-weight:600;list-style:none;display:flex}.browse-group>summary::-webkit-details-marker{display:none}.browse-group>summary:hover{background:#eff3f9}.browse-group>summary:focus-visible{outline-offset:-2px;outline:2px solid #7595fa}.browse-group>summary svg{color:#6b7991;flex:none;transform:rotate(-90deg)}.browse-group[open]>summary svg{transform:none}.browse-group>summary .count{margin-left:auto}.browse-group .catalog-entry{padding-left:23px}.catalog-entry{text-align:left;color:#455167;background:0 0;border:1px solid #0000;border-radius:6px;align-items:baseline;gap:7px;width:100%;padding:9px 7px;display:flex}.catalog-entry code{overflow-wrap:anywhere;font-size:12px;line-height:1.5}.catalog-entry svg{color:#52817d;flex:none;align-self:center}.catalog-entry:hover{background:#f0f3f8}.catalog-entry[aria-current=true]{color:#284498;background:#eaf0ff;border-color:#d1ddfc}:is(#catalog-select,#ui-select){display:none}:is(#definition,#ui-definition){outline-offset:-4px;min-width:0;padding:clamp(18px,2.3vw,36px);overflow:auto}.record-meta{color:#5c6c84;align-items:center;gap:7px;margin-bottom:8px;font-size:13px;font-weight:550;display:flex}.record-title{letter-spacing:-.65px;flex-wrap:wrap;align-items:baseline;gap:10px;margin:0;font-size:clamp(19px,1.65vw,27px);display:flex}.record-title code{overflow-wrap:anywhere}.catalog code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.http-method{letter-spacing:.01em;color:#536078;background:#e9edf4;border-radius:4px;flex:none;padding:1px 5px;font:600 10px/1.4 ui-monospace,monospace;display:inline-block}.http-method[data-method=GET]{color:#305bb6;background:#e5edff}.http-method[data-method=POST]{color:#226b5c;background:#dff1e9}.http-method[data-method=PATCH],.http-method[data-method=PUT]{color:#825b1f;background:#f9ecd6}.http-method[data-method=DELETE]{color:#9c3b48;background:#fbe5e7}.record-title .http-method{padding:3px 7px;font-size:13px}.record-summary,.catalog-note{color:#606e81;margin:7px 0;font-size:14px;line-height:1.55}.catalog h3{letter-spacing:-.25px;align-items:center;gap:8px;margin:0 0 11px;font-size:16px;font-weight:620;display:flex}.catalog-links,.field-section{margin-top:24px}.catalog-links h3{color:#546279;font-size:13px}.catalog-links h4{color:#59677a;margin:11px 0 5px;font-size:12px;font-weight:600}.record-links{flex-wrap:wrap;gap:6px;display:flex}.record-links button{text-align:left;overflow-wrap:anywhere;color:#465671;background:#f5f8fc;border:1px solid #dde4ed;border-radius:5px;align-items:center;gap:6px;max-width:100%;padding:4px 7px;font:12px/1.5 ui-monospace,monospace;display:inline-flex}.record-links button:hover{background:#edf2fc;border-color:#9caed8}.record-links svg{color:#4c817d;flex:none}.content-type{color:#66758c;margin:21px 0 0;font:12px ui-monospace,monospace}.content-type+.field-section{margin-top:7px}.table-wrap{border:1px solid #dce2eb;border-radius:8px;width:100%;overflow-x:auto}.catalog table{border-collapse:collapse;text-align:left;color:#485568;width:100%;font-size:13px;line-height:1.5}.catalog th,.catalog td{vertical-align:top;border-bottom:1px solid #e6eaf0;padding:9px 11px}.catalog thead th{color:#5e6b7f;background:#f6f8fb;font-size:12px;font-weight:600}.catalog tbody th{color:#283749;font-weight:500}.catalog tbody tr:last-child>*{border-bottom:0}.catalog tbody tr:hover{background:#fafbff}.catalog td code,.catalog th code{font-size:12px}.column-name{align-items:baseline;gap:6px;display:inline-flex}.primary-key{color:#405eab;background:#ecf0ff;border-radius:3px;padding:1px 4px;font:600 10px/1.4 ui-monospace,monospace;text-decoration:none}.presence{color:#344b78;font-weight:550}.optional-field{color:#6e798a}.modes button{white-space:nowrap}#ui-platforms{background:#edf0f5;border:1px solid #dee4ec;border-radius:7px;gap:3px;margin:12px 12px 0;padding:3px;display:flex}#ui-platforms button{color:#536175;background:0 0;border:1px solid #0000;border-radius:4px;flex:1;justify-content:center;align-items:center;gap:6px;padding:5px 8px;font-size:13px;font-weight:550;line-height:1.35;display:inline-flex}#ui-platforms button[aria-pressed=true]{color:#284498;background:#fff;border-color:#d5ddea;box-shadow:0 1px 2px #14213a10}#ui-platforms svg{width:15px;height:15px}#ui-page-label{font-weight:inherit}#ui-filter{color:#43506a;cursor:pointer;align-items:center;gap:7px;padding:0 13px 12px;font-size:13px;display:flex}#ui-filter input{accent-color:var(--blue);margin:0}.ui-nav-count,.tree-usage{white-space:nowrap;color:#62708a;margin-left:auto;font-size:11px}.page-entry{gap:2px;font-size:13px;font-weight:550;display:grid}.page-entry code{color:#61708a;font-size:11px;font-weight:400}.ui-section{margin-top:24px}.ui-route,.ui-source{overflow-wrap:anywhere;font-size:12px;line-height:1.6;display:block}.ui-route{color:#34496a;margin:6px 0 0}.ui-source{color:#65738a;margin-top:5px}.ui-note{color:#45536a;background:#f4f7fc;border-left:3px solid #b9c9ed;margin:14px 0 0;padding:8px 11px;font-size:13px;line-height:1.5}.ui-link,.ui-back{color:#3456a8;text-align:left;background:0 0;border:0}.ui-link{overflow-wrap:anywhere;padding:2px 0;font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}.ui-link:hover,.ui-back:hover{text-decoration:underline}.ui-back{align-items:center;gap:4px;margin:0 0 15px;padding:2px 0;font-size:12px;display:flex}.component-tree,.component-tree ul{margin:0;list-style:none}.component-tree{background:#fbfcfe;border:1px solid #dce2eb;border-radius:8px;padding:5px 12px;overflow:auto}.component-tree ul{border-left:1px solid #d7dfec;margin-left:12px;padding-left:14px}.component-tree li{min-width:min-content}.tree-row{align-items:center;gap:6px;min-height:34px;display:flex}.tree-row .ui-link{font-weight:550}.tree-toggle,.tree-leaf{flex:none;place-items:center;width:24px;height:24px;display:grid}.tree-toggle{color:#4a5e81;background:0 0;border:1px solid #0000;border-radius:4px}.tree-toggle:hover{background:#eaf0fb;border-color:#d6e0f7}.tree-toggle[aria-expanded=false] svg{transform:rotate(-90deg)}.tree-leaf:before{content:"";background:#a5b4ce;border-radius:50%;width:5px;height:5px}.usage-label{color:#657188;font-size:11px}@media (width<=760px){.catalog{flex-direction:column;display:flex}.catalog-nav{border:0;border-bottom:1px solid var(--line);flex-shrink:0}.catalog-tabs{padding-top:3px}.catalog-search{margin:9px 12px 6px}:is(#catalog-list,#ui-list){display:none}:is(#catalog-select,#ui-select){color:#354665;background:#fff;border:1px solid #d4dbe7;border-radius:6px;max-width:calc(100% - 24px);margin:0 12px 10px;padding:6px;font:13px/1.4 ui-monospace,monospace;display:block}:is(#definition,#ui-definition){flex:1;min-height:0;padding:15px}.catalog th,.catalog td{padding:7px 8px}.table-wrap table{min-width:550px}.record-title{font-size:18px}.intro .modes{flex-wrap:wrap}#ui-reference .table-wrap table{min-width:0}#ui-reference td{overflow-wrap:anywhere}#ui-reference td:nth-child(2){min-width:60px}}@media (width<=510px){.modes:has(#ui-mode:not([hidden])){grid-template-columns:repeat(2,minmax(0,1fr));width:100%;display:grid}}
