.demo-page{background:#f4f7fc;min-width:0;padding:49px 0 68px}.demo-container{max-width:1160px}.demo-page h1,.demo-page h2,.demo-page h3,.demo-page p,.demo-page dl,.demo-page dd{margin:0}.demo-page h1,.demo-page h2,.demo-page h3{color:var(--ink);line-height:1.45}.demo-page h1{font-size:clamp(1.55rem,3.35vw,2.55rem);font-weight:750;letter-spacing:-.045em}.demo-nowrap{white-space:nowrap}.demo-page h2{font-size:clamp(1.13rem,2.4vw,1.45rem);font-weight:720;letter-spacing:-.025em}.demo-page h3{font-size:.98rem;font-weight:720}.demo-page :focus-visible{outline:3px solid #5076e5;outline-offset:3px}.demo-page section{scroll-margin-top:100px}.demo-page .btn{line-height:1.4;min-height:40px;white-space:nowrap}.demo-page .btn:disabled{background:#edf0f5;border-color:#e3e8f0;box-shadow:none;color:#59657b;cursor:default;opacity:1;transform:none}.demo-heading,.demo-section-heading{align-items:center;display:flex;gap:16px;justify-content:space-between}.demo-heading{align-items:end;margin-bottom:26px}.demo-heading .demo-scope{align-items:center;color:#3a5285;display:flex;font-size:.74rem;font-weight:700;gap:8px;letter-spacing:.03em;margin-bottom:11px}.demo-scope span{background:#5674ca;border-radius:50%;flex:0 0 7px;height:7px}.demo-heading .demo-lede,.demo-section-heading p{color:var(--muted);font-size:.88rem;line-height:1.75;margin-top:6px;overflow-wrap:anywhere}.demo-reset{align-self:end;font-size:.82rem}.demo-steps{background:#fff;border:1px solid var(--line);border-radius:12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:18px}.demo-steps a{align-items:center;color:var(--ink);display:flex;gap:12px;min-height:71px;padding:10px 16px;position:relative;text-decoration:none}.demo-steps a:first-child{border-radius:11px 0 0 11px}.demo-steps a:last-child{border-radius:0 11px 11px 0}.demo-steps a+a{border-left:1px solid var(--line)}.demo-steps a[href]:hover{background:#f7f9ff}.demo-steps a[aria-disabled=true]{color:var(--muted)}.demo-steps a[data-current=true]{background:#edf2ff;box-shadow:inset 0 -2px #4263cd;color:#2145a6}.demo-steps a:focus-visible{z-index:1}.demo-step-number{align-items:center;background:#f0f3f9;border-radius:8px;color:#506085;display:inline-flex;flex:0 0 35px;font-family:var(--mono, ui-monospace, monospace);font-size:.78rem;font-weight:650;height:35px;justify-content:center}.demo-steps [data-current=true] .demo-step-number{background:#2d51bf;color:#fff}.demo-steps strong,.demo-steps small{display:block;line-height:1.55}.demo-steps strong{font-size:.9rem}.demo-steps small{color:var(--muted);font-size:.71rem}.demo-card{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 2px 8px #142d5306;min-width:0}.demo-input{padding:17px 20px}.demo-page .demo-input-intro{color:var(--muted);font-size:.88rem;margin-top:6px}.demo-page .demo-source{align-items:baseline;background:#f1f5fc;border-radius:7px;display:flex;flex-wrap:wrap;font-size:.86rem;gap:2px 10px;margin-top:9px;overflow-wrap:anywhere;padding:6px 10px;width:fit-content}.demo-source strong{color:#334e87;font-size:.75rem}.demo-edit label,.demo-notification-target{color:var(--ink);display:block;font-size:.78rem;font-weight:680;margin-bottom:6px}.demo-file-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.demo-page select,.demo-page input[type=text]{background:#fff;border:1px solid #cfd8e9;border-radius:7px;color:var(--ink);font-size:.85rem;min-height:40px;min-width:0;padding:6px 9px;width:100%}.demo-page select{padding-right:4px}.demo-file-button{display:inline-flex;max-width:100%;position:relative}.demo-file-button input{cursor:pointer;height:100%;inset:0;opacity:0;position:absolute;width:100%}.demo-file-button:focus-within{border-radius:7px;outline:3px solid #5076e5;outline-offset:3px}.demo-file-button:hover .btn{background:var(--accent-dark)}.demo-file-button .btn{pointer-events:none}.demo-page .demo-hint{color:var(--muted);font-size:.75rem;line-height:1.65;margin-top:6px}.demo-page summary{cursor:pointer;font-weight:650;line-height:1.6;width:fit-content}.demo-input-details{border-top:1px solid #edf0f6;margin-top:13px;padding-top:10px}.demo-input-details summary,.demo-raw summary{color:#334e87;font-size:.78rem}.demo-input-reference{color:var(--muted);display:grid;font-size:.81rem;gap:16px;grid-template-columns:1fr 1fr;padding-top:9px}.demo-input-reference p+code,.demo-input-reference code+p{margin-top:6px}.demo-input-reference code{color:#283f72;display:inline-block;font-size:.83rem;overflow-wrap:anywhere}.demo-master{list-style:none;margin:0;padding:0}.demo-master code{display:inline-block;min-width:64px}.demo-review,.demo-result{margin-top:30px}.demo-review-heading,.demo-result-heading{margin-bottom:14px}.demo-counts{display:flex;flex-wrap:wrap;gap:6px;justify-content:end}.demo-count,.demo-badge{background:#edf0f5;border-radius:5px;color:#40506b;display:inline-block;font-size:.72rem;font-weight:680;line-height:1.45;padding:4px 7px;white-space:nowrap}.demo-count{background:#fff;border:1px solid var(--line);color:var(--muted);font-weight:540;padding:5px 8px}.demo-count strong{color:var(--ink);font-variant-numeric:tabular-nums;margin-left:2px}.demo-count[data-state=review]{background:#fff7e8;border-color:#f1dfb9;color:#744f1e}.demo-badge[data-state=ready]{background:#eaf2ff;color:#28509f}.demo-badge[data-state=review]{background:#fff1d7;color:#785014}.demo-badge[data-state=approved],.demo-badge[data-state=previewed]{background:#e5f3eb;color:#256147}.demo-badge[data-state=failed]{background:#fcebe8;color:#982d2d}.demo-review-grid,.demo-result-grid{align-items:stretch;display:grid;gap:14px;grid-template-columns:minmax(0,1.85fr) minmax(0,1fr)}.demo-queue,.demo-ledger{padding:14px 0 0}.demo-queue>h3,.demo-ledger>h3{padding-inline:16px}.demo-table-scroll{margin-top:10px;max-height:344px;overflow:auto;overscroll-behavior:contain}.demo-table{border-collapse:separate;border-spacing:0;color:var(--ink);font-size:.78rem;line-height:1.5;min-width:575px;text-align:left;width:100%}.demo-table th,.demo-table td{border-bottom:1px solid #edf0f6;padding:9px 8px;vertical-align:middle}.demo-table th:first-child{padding-left:16px}.demo-table td:last-child,.demo-table th:last-child{padding-right:16px}.demo-table thead th{background:#f2f5fb;color:#465678;font-size:.7rem;font-weight:650;position:sticky;top:0;white-space:nowrap;z-index:1}.demo-table tbody tr[data-selected=true]{background:#f1f5ff}.demo-table tbody tr[data-selected=true] th{box-shadow:inset 3px 0 #4d6bd4}.demo-queue tbody tr{cursor:pointer}.demo-table tbody tr:not([data-selected=true]):hover{background:#fbfcff}.demo-code{font-family:var(--mono, ui-monospace, monospace);overflow-wrap:anywhere}.demo-table .demo-order{display:block;max-width:110px}.demo-line{color:var(--muted);display:block;font-size:.67rem;font-weight:520;max-width:110px;overflow-wrap:anywhere}.demo-request{max-width:245px;min-width:109px;overflow-wrap:anywhere}.demo-table .demo-numeric{font-variant-numeric:tabular-nums;text-align:right}.demo-compact-state{display:none}.demo-row-button{background:#fff;border:1px solid #cbd6ee;border-radius:6px;color:#2b4f9b;cursor:pointer;font-size:.72rem;font-weight:690;min-height:32px;min-width:3.9em;padding:4px 7px;white-space:nowrap}.demo-row-button:hover,.demo-row-button[aria-pressed=true]{background:#e7eeff;border-color:#a9bcea;color:#1e3e96}.demo-inspector,.demo-notification{padding:14px 16px}.demo-inspector-heading,.demo-notification-heading{align-items:start;display:flex;gap:8px;justify-content:space-between}.demo-inspector-heading .demo-code{color:var(--muted);font-size:.77rem;margin-top:3px}.demo-match{background:#f3f6fd;border:1px solid #e3eaf8;border-radius:7px;color:#344768;font-size:.78rem;line-height:1.6;margin-top:11px;overflow-wrap:anywhere;padding:7px 9px}.demo-match[data-state=review]{background:#fdf7ec;border-color:#f1e3c9;color:#624722}.demo-match strong{display:block;font-size:.72rem}.demo-match .demo-candidates{font-size:.71rem;margin-top:3px}.demo-raw{margin:8px 0}.demo-raw dl{color:var(--muted);display:grid;font-size:.75rem;gap:3px 6px;grid-template-columns:auto 1fr;margin-top:5px}.demo-raw dt{font-weight:650}.demo-raw dd{overflow-wrap:anywhere;white-space:pre-wrap}.demo-edit{border-bottom:1px solid var(--line);display:grid;justify-items:start;padding-bottom:9px}.demo-edit-fields{display:grid;gap:8px;grid-template-columns:minmax(0,2.45fr) minmax(0,1fr);width:100%}.demo-edit-fields>div{margin-bottom:6px;min-width:0}.demo-edit-fields label{margin-bottom:2px}.demo-edit .btn{font-size:.76rem;min-height:32px;padding:5px 9px}.demo-approval{margin-top:10px}.demo-approval .btn{font-size:.82rem;width:100%}.demo-approval .demo-hint{font-size:.71rem}.demo-result-link{color:#264cb9;display:inline-block;font-size:.8rem;font-weight:670;margin-top:6px}.demo-page .demo-feedback{background:#eaf2ff;border:1px solid #d1def7;border-radius:7px;color:#244787;font-size:.8rem;font-weight:600;margin-top:10px;overflow-wrap:anywhere;padding:8px 10px}.demo-page .demo-feedback[data-kind=error]{background:#fff2ef;border-color:#f1d2ca;color:#8a3030}.demo-ledger h3 span,.demo-history summary span{color:var(--muted);font-size:.76rem;font-weight:550;margin-left:6px}.demo-page .demo-empty{color:var(--muted);font-size:.82rem;line-height:1.7;margin-top:6px}.demo-ledger .demo-empty{padding:0 16px 16px}.demo-ledger-table{min-width:346px}.demo-notification-target{margin:8px 0 0}.demo-notification-target select{margin-top:3px}.demo-notification-actions{align-items:start;display:grid;gap:7px;justify-items:start;margin-top:8px}.demo-notification-actions .btn{font-size:.78rem;min-height:35px}.demo-check{align-items:center;color:var(--ink);cursor:pointer;display:flex;font-size:.78rem;gap:7px;min-height:27px}.demo-check input{accent-color:#2c51bd;height:16px;margin:0;width:16px}.demo-page .demo-preview-body{background:#f2f5fb;border:1px solid #e3eaf8;border-radius:7px;color:#334568;font-size:.79rem;line-height:1.6;margin-top:6px;overflow-wrap:anywhere;padding:8px;white-space:pre-wrap}.demo-page .demo-preview-body[data-state=failed]{background:#fff2ef;border-color:#f1d2ca;color:#8a3030}.demo-technical,.demo-history{margin-top:14px;padding:12px 16px}.demo-technical{scroll-margin-top:100px}.demo-technical summary,.demo-history summary{color:var(--ink);font-size:.91rem;padding-block:4px}.demo-history ol{display:grid;list-style:none;margin:6px 0 0;max-height:260px;overflow:auto;padding:0}.demo-history li{align-items:baseline;border-top:1px solid #edf0f6;color:#394967;display:grid;font-size:.78rem;gap:9px;grid-template-columns:64px minmax(50px,max-content) minmax(0,1fr);padding:6px 0}.demo-history li>:last-child{overflow-wrap:anywhere}.demo-history time{color:var(--muted);font-size:.72rem;font-variant-numeric:tabular-nums}.demo-history-type{color:#294989;font-weight:660}.demo-technical dl{color:var(--muted);display:grid;font-size:.83rem;gap:7px 17px;grid-template-columns:minmax(175px,max-content) minmax(0,1fr);line-height:1.75;margin-top:9px}.demo-technical dt{color:var(--ink);font-weight:660}.demo-technical dd+dt,.demo-technical dd+dt+dd{border-top:1px solid #edf0f6;padding-top:7px}.demo-page .demo-scroll-hint{display:none;padding-inline:16px}.demo-visually-hidden{clip:rect(0,0,0,0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media(max-width:1035px){.demo-review-grid,.demo-result-grid{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)}.demo-queue .demo-scroll-hint{display:block}.demo-queue .demo-table :is(th,td):last-child{box-shadow:-1px 0 #e5eaf4;position:sticky;right:0}.demo-queue .demo-table td:last-child{background:#fff}.demo-queue .demo-table tr[data-selected=true] td:last-child{background:#f1f5ff}}@media(max-width:755px){.demo-page{padding:30px 0 46px}.demo-heading{align-items:start;flex-direction:column;gap:9px;margin-bottom:16px}.demo-reset{align-self:start}.demo-steps a{gap:7px;min-height:60px;padding:7px 8px}.demo-step-number{flex-basis:26px;height:26px}.demo-steps small{display:none}.demo-steps strong{font-size:.82rem}.demo-input{padding:15px 14px}.demo-input-reference{gap:8px;grid-template-columns:1fr}.demo-review,.demo-result{margin-top:24px}.demo-review-heading,.demo-result-heading{align-items:start;flex-direction:column;gap:8px}.demo-counts{justify-content:start}.demo-review-grid,.demo-result-grid{grid-template-columns:minmax(0,1fr)}.demo-table-scroll{margin-top:5px;max-height:390px}.demo-queue .demo-table{min-width:405px}.demo-table th,.demo-table td{padding-inline:5px}.demo-table th:first-child{padding-left:12px}.demo-table td:last-child,.demo-table th:last-child{padding-right:12px}.demo-table .demo-order,.demo-line{max-width:85px}.demo-table .demo-request{max-width:132px;min-width:88px}.demo-table .demo-table-state{display:none}.demo-table .demo-compact-state{display:inline-block}.demo-table tbody .demo-compact-state{margin-top:3px}.demo-row-button{min-height:36px}.demo-page input[type=text],.demo-page select{font-size:1rem}.demo-inspector{scroll-margin-top:78px}.demo-technical dl{gap:3px;grid-template-columns:1fr}.demo-technical dd+dt+dd{border-top:0;padding-top:0}}@media(max-width:420px){.demo-file-actions{flex-direction:column}.demo-file-button .btn{width:100%}.demo-steps a{gap:5px;padding-inline:6px}.demo-step-number{flex-basis:21px;height:23px}.demo-steps strong{font-size:.75rem}.demo-page .demo-scroll-hint{display:block}}
