:root{--font-sans:"IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--font-heading:"Sora", sans-serif;--font-mono:"JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;--ref-bg:#f8fafc;--ref-surface:#fff;--ref-surface-subtle:#f1f5f9;--ref-surface-hover:#f1f5f9;--ref-border:#e2e8f0;--ref-border-subtle:#edf2f7;--ref-text:#0f172a;--ref-text-muted:#64748b;--ref-text-subtle:#94a3b8;--ref-brand:#0d9488;--ref-brand-hover:#0f766e;--ref-brand-light:#f0fdfa;--ref-brand-subtle:#ccfbf1;--ref-brand-border:#99f6e4;--ref-brand-text:#0f766e;--con-bg:#090e11;--con-surface:#0e151a;--con-surface-subtle:#141e24;--con-border:#1a2730;--con-code-bg:#05080a;--con-text:#f1f5f9;--con-text-muted:#8b9ea8;--header-height:56px;--sidebar-width:320px;--console-width:440px}:root[data-theme=dark]{--ref-bg:#090e11;--ref-surface:#0e151a;--ref-surface-subtle:#141f24;--ref-surface-hover:#19272f;--ref-border:#1e2c33;--ref-border-subtle:#152228;--ref-text:#f1f5f9;--ref-text-muted:#94a3b8;--ref-text-subtle:#64748b;--ref-brand:#14b8a6;--ref-brand-hover:#2dd4bf;--ref-brand-light:#132a2c;--ref-brand-subtle:#115e59;--ref-brand-border:#134e4a;--ref-brand-text:#2dd4bf}:root[data-theme=dark] img[src*=logo-prositia],html[data-theme=dark] img[src*=logo-prositia],[data-theme=dark] img[src*=logo-prositia],:root[data-theme=dark] .topbar-brand img{transition:filter .2s;filter:brightness(0)invert()!important}*{box-sizing:border-box;margin:0;padding:0}html,body{width:100%;height:100%;font-family:var(--font-sans);color:var(--ref-text);background-color:var(--ref-bg);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow:hidden}.ref-topbar{height:var(--header-height);background:var(--ref-surface);border-bottom:1px solid var(--ref-border);z-index:50;-webkit-backdrop-filter:blur(12px);justify-content:space-between;align-items:center;padding:0 1.25rem;display:flex;position:relative}.topbar-left{align-items:center;gap:.85rem;display:flex}.topbar-brand{color:var(--ref-text);align-items:center;gap:.65rem;text-decoration:none;display:flex}.topbar-brand img{object-fit:contain;width:26px;height:26px}.brand-title{font-family:var(--font-heading);letter-spacing:-.02em;color:var(--ref-text);font-size:.98rem;font-weight:700}.topbar-divider{color:var(--ref-border);font-weight:300}.topbar-subtitle{color:var(--ref-text-muted);font-size:.82rem;font-weight:500}.badge-status{color:#059669;background:#10b9811a;border:1px solid #10b98140;border-radius:9999px;align-items:center;gap:.4rem;padding:.15rem .55rem;font-size:.72rem;font-weight:600;display:inline-flex}:root[data-theme=dark] .badge-status{color:#34d399;background:#10b9812e;border-color:#34d39959}.status-dot{background-color:#10b981;border-radius:50%;width:6px;height:6px;box-shadow:0 0 6px #10b981}.topbar-actions{align-items:center;gap:.75rem;display:flex}.topbar-link{color:var(--ref-text-muted);border-radius:6px;align-items:center;gap:.4rem;padding:.35rem .65rem;font-size:.84rem;font-weight:500;text-decoration:none;transition:all .15s;display:inline-flex}.topbar-link:hover{color:var(--ref-brand);background:var(--ref-surface-subtle)}.btn-dashboard-link{background:var(--ref-brand);border-radius:6px;align-items:center;gap:.45rem;padding:.4rem .8rem;font-size:.82rem;font-weight:600;text-decoration:none;transition:opacity .15s;display:inline-flex;color:#fff!important}.btn-dashboard-link:hover{opacity:.92}.theme-toggle-btn{background:var(--ref-surface-subtle);border:1px solid var(--ref-border);cursor:pointer;color:var(--ref-text);border-radius:6px;justify-content:center;align-items:center;padding:.35rem .55rem;transition:all .15s;display:flex}.theme-toggle-btn:hover{border-color:var(--ref-brand);color:var(--ref-brand)}.ref-layout{height:calc(100vh - var(--header-height));width:100%;display:flex;overflow:hidden}.ref-sidebar{width:var(--sidebar-width);background:var(--ref-surface);border-right:1px solid var(--ref-border);flex-direction:column;flex-shrink:0;display:flex;overflow:hidden}.sidebar-header{border-bottom:1px solid var(--ref-border);background:var(--ref-surface);padding:.85rem 1rem}.search-wrapper{align-items:center;display:flex;position:relative}.search-icon{color:var(--ref-text-subtle);pointer-events:none;position:absolute;left:.75rem}.search-input{border:1px solid var(--ref-border);background:var(--ref-surface-subtle);width:100%;color:var(--ref-text);border-radius:8px;outline:none;padding:.5rem 2rem .5rem 2.2rem;font-family:inherit;font-size:.82rem;transition:all .15s}.search-input:focus{border-color:var(--ref-brand);background:var(--ref-surface);box-shadow:0 0 0 3px #0d948826}.search-clear{color:var(--ref-text-subtle);cursor:pointer;background:0 0;border:none;padding:.2rem;font-size:.8rem;position:absolute;right:.6rem}.search-clear:hover{color:var(--ref-text)}.sidebar-stats{color:var(--ref-text-subtle);justify-content:space-between;align-items:center;margin-top:.5rem;padding:0 .2rem;font-size:.72rem;display:flex}.sidebar-nav{scrollbar-width:thin;scrollbar-color:var(--ref-border) transparent;flex:1;padding:.75rem .65rem;overflow-y:auto}.sidebar-category{margin-bottom:1.25rem}.cat-header{cursor:pointer;width:100%;color:inherit;text-align:left;user-select:none;background:0 0;border:none;border-radius:6px;justify-content:space-between;align-items:center;margin-bottom:.2rem;padding:.45rem .55rem;transition:background .15s;display:flex}.cat-header:hover{background:var(--ref-surface-hover)}.cat-header-left{align-items:center;gap:.45rem;min-width:0;display:flex}.cat-chevron{color:var(--ref-text-subtle);flex-shrink:0;transition:transform .2s cubic-bezier(.4,0,.2,1)}.sidebar-category.is-collapsed .cat-chevron{transform:rotate(-90deg)}.cat-title{text-transform:uppercase;letter-spacing:.06em;color:var(--ref-text-muted);white-space:nowrap;text-overflow:ellipsis;font-size:.72rem;font-weight:700;overflow:hidden}.cat-header:hover .cat-title{color:var(--ref-text)}.cat-count{color:var(--ref-text-subtle);background:var(--ref-surface-subtle);border:1px solid var(--ref-border-subtle);border-radius:9999px;flex-shrink:0;padding:.08rem .4rem;font-size:.68rem;font-weight:600}.cat-items{flex-direction:column;display:flex}.sidebar-category.is-collapsed .cat-items{display:none}.btn-toggle-all{color:var(--ref-brand);cursor:pointer;text-underline-offset:2px;background:0 0;border:none;padding:0;font-size:.72rem;font-weight:600;text-decoration:underline}.btn-toggle-all:hover{color:var(--ref-brand-hover)}.endpoint-nav-item{cursor:pointer;color:var(--ref-text);border:1px solid #0000;border-radius:6px;flex-direction:column;gap:.2rem;margin-bottom:.2rem;padding:.5rem .65rem;text-decoration:none;transition:all .12s;display:flex;position:relative}.endpoint-nav-item:hover{background:var(--ref-surface-hover);border-color:var(--ref-border-subtle)}.endpoint-nav-item.active{background:var(--ref-brand-light);border-color:var(--ref-brand-border)}.endpoint-nav-item.active:before{content:"";background:var(--ref-brand);border-radius:0 4px 4px 0;width:3px;height:70%;position:absolute;top:15%;left:-.65rem}.ep-nav-top{align-items:center;gap:.45rem;display:flex}.ep-nav-title{color:var(--ref-text);white-space:nowrap;text-overflow:ellipsis;flex:1;font-size:.8rem;font-weight:500;overflow:hidden}.endpoint-nav-item.active .ep-nav-title{color:var(--ref-brand-text);font-weight:600}.ep-nav-path{font-family:var(--font-mono);color:var(--ref-text-muted);white-space:nowrap;text-overflow:ellipsis;padding-left:2.6rem;font-size:.72rem;overflow:hidden}.endpoint-nav-item.active .ep-nav-path{color:var(--ref-brand-text);opacity:.85}.badge-method{font-family:var(--font-mono);letter-spacing:.03em;text-transform:uppercase;text-align:center;border-radius:4px;flex-shrink:0;justify-content:center;align-items:center;min-width:44px;padding:.12rem .4rem;font-size:.65rem;font-weight:700;line-height:1;display:inline-flex}.badge-method.GET{color:#059669;background:#ecfdf5;border:1px solid #a7f3d0}:root[data-theme=dark] .badge-method.GET{color:#34d399;background:#10b98126;border-color:#34d39959}.badge-method.POST{color:#0284c7;background:#f0f9ff;border:1px solid #bae6fd}:root[data-theme=dark] .badge-method.POST{color:#38bdf8;background:#0ea5e926;border-color:#38bdf859}.badge-method.PATCH{color:#d97706;background:#fffbeb;border:1px solid #fde68a}:root[data-theme=dark] .badge-method.PATCH{color:#fbbf24;background:#f59e0b26;border-color:#fbbf2459}.badge-method.DELETE{color:#dc2626;background:#fef2f2;border:1px solid #fecaca}:root[data-theme=dark] .badge-method.DELETE{color:#f87171;background:#ef444426;border-color:#f8717159}.badge-method.badge-lg{border-radius:6px;min-width:58px;padding:.25rem .65rem;font-size:.78rem}.ref-doc{background:var(--ref-bg);scrollbar-width:thin;scrollbar-color:var(--ref-border) transparent;flex:1;padding:2.25rem 3rem;overflow-y:auto}.doc-container{max-width:820px;margin:0 auto}.doc-breadcrumbs{color:var(--ref-text-subtle);align-items:center;gap:.45rem;margin-bottom:.75rem;font-size:.78rem;display:flex}.doc-breadcrumbs a{color:var(--ref-text-muted);text-decoration:none}.doc-breadcrumbs a:hover{color:var(--ref-brand)}.bc-sep{color:var(--ref-border)}.bc-current{color:var(--ref-text);font-weight:500}.doc-title{font-family:var(--font-heading);letter-spacing:-.02em;color:var(--ref-text);margin-bottom:1.25rem;font-size:1.75rem;font-weight:700;line-height:1.25}.doc-route-box{background:var(--ref-surface);border:1px solid var(--ref-border);border-radius:10px;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;padding:.75rem 1rem;display:flex;box-shadow:0 1px 3px #00000008}.doc-route-main{flex-wrap:wrap;align-items:center;gap:.75rem;min-width:0;display:flex}.doc-route-path{font-family:var(--font-mono);color:var(--ref-text);word-break:break-all;font-size:.95rem;font-weight:600}.doc-auth-badge{border-radius:9999px;align-items:center;gap:.3rem;padding:.2rem .55rem;font-size:.72rem;font-weight:600;display:inline-flex}.doc-auth-badge.auth-required{color:#92400e;background:#fef3c7;border:1px solid #fde68a}:root[data-theme=dark] .doc-auth-badge.auth-required{color:#fbbf24;background:#f59e0b26;border-color:#fbbf244d}.doc-auth-badge.auth-public{color:#065f46;background:#ecfdf5;border:1px solid #a7f3d0}:root[data-theme=dark] .doc-auth-badge.auth-public{color:#34d399;background:#10b98126;border-color:#34d3994d}.btn-action-copy{background:var(--ref-surface-subtle);border:1px solid var(--ref-border);color:var(--ref-text-muted);cursor:pointer;border-radius:6px;flex-shrink:0;align-items:center;gap:.35rem;padding:.35rem .65rem;font-size:.75rem;font-weight:500;transition:all .15s;display:inline-flex}.btn-action-copy:hover{color:var(--ref-brand);border-color:var(--ref-brand);background:var(--ref-surface)}.doc-desc{color:var(--ref-text-muted);margin-bottom:2rem;font-size:.95rem;line-height:1.65}.doc-section{margin-bottom:2rem}.doc-section-header{justify-content:space-between;align-items:center;margin-bottom:.85rem;display:flex}.doc-section-title{font-family:var(--font-heading);color:var(--ref-text);align-items:center;gap:.5rem;font-size:1rem;font-weight:700;display:flex}.table-card{background:var(--ref-surface);border:1px solid var(--ref-border);border-radius:10px;overflow:hidden;box-shadow:0 1px 3px #00000005}.doc-table{border-collapse:collapse;text-align:left;width:100%;font-size:.85rem}.doc-table th{background:var(--ref-surface-subtle);text-transform:uppercase;letter-spacing:.04em;color:var(--ref-text-muted);border-bottom:1px solid var(--ref-border);padding:.65rem .95rem;font-size:.75rem;font-weight:600}.doc-table td{border-bottom:1px solid var(--ref-border);vertical-align:top;color:var(--ref-text);padding:.75rem .95rem}.doc-table tr:last-child td{border-bottom:none}.param-badge-name{font-family:var(--font-mono);color:var(--ref-brand-text);font-size:.82rem;font-weight:600}.param-badge-type{font-family:var(--font-mono);color:var(--ref-text-muted);background:var(--ref-surface-subtle);border:1px solid var(--ref-border-subtle);border-radius:4px;padding:.1rem .4rem;font-size:.72rem;display:inline-block}.param-badge-required{color:#dc2626;background:#fef2f2;border-radius:4px;margin-left:.35rem;padding:.08rem .35rem;font-size:.68rem;font-weight:700}:root[data-theme=dark] .param-badge-required{color:#f87171;background:#ef444426}.code-card{background:var(--con-bg);border:1px solid var(--ref-border);border-radius:10px;overflow:hidden}.code-card-header{background:var(--con-surface);border-bottom:1px solid var(--con-border);justify-content:space-between;align-items:center;padding:.65rem .95rem;display:flex}.code-card-title{color:var(--con-text-muted);align-items:center;gap:.5rem;font-size:.78rem;font-weight:600;display:flex}.code-card-badge{font-family:var(--font-mono);color:#cbd5e1;background:#ffffff14;border-radius:4px;padding:.1rem .45rem;font-size:.68rem}.btn-code-copy{color:#cbd5e1;cursor:pointer;background:#ffffff0f;border:1px solid #ffffff1f;border-radius:5px;align-items:center;gap:.35rem;padding:.25rem .55rem;font-size:.72rem;transition:all .15s;display:inline-flex}.btn-code-copy:hover{color:#fff;background:#ffffff1f}.code-pre{font-family:var(--font-mono);color:#e2e8f0;background:var(--con-code-bg);margin:0;padding:1rem;font-size:.82rem;line-height:1.55;overflow-x:auto}.ref-console{width:var(--console-width);background:var(--con-bg);border-left:1px solid var(--ref-border);color:var(--con-text);flex-direction:column;flex-shrink:0;display:flex;overflow:hidden}.console-topbar{background:var(--con-surface);border-bottom:1px solid var(--con-border);justify-content:space-between;align-items:center;padding:.85rem 1rem;display:flex}.console-title-wrap{align-items:center;gap:.45rem;display:flex}.console-title{text-transform:uppercase;letter-spacing:.05em;color:var(--con-text-muted);font-size:.78rem;font-weight:700}.console-live-dot{background-color:#10b981;border-radius:50%;width:6px;height:6px;box-shadow:0 0 6px #10b981}.lang-tabs{border:1px solid var(--con-border);background:#0000004d;border-radius:6px;padding:2px;display:flex}.lang-tab{color:var(--con-text-muted);cursor:pointer;background:0 0;border:none;border-radius:4px;padding:.25rem .55rem;font-size:.72rem;font-weight:600;transition:all .12s}.lang-tab.active{background:var(--ref-brand);color:#fff}.console-body{scrollbar-width:thin;scrollbar-color:var(--con-border) transparent;flex-direction:column;flex:1;gap:1.15rem;padding:1.15rem;display:flex;overflow-y:auto}.console-snippet-card{border:1px solid var(--con-border);background:var(--con-code-bg);border-radius:8px;overflow:hidden}.console-snippet-header{background:var(--con-surface);border-bottom:1px solid var(--con-border);justify-content:space-between;align-items:center;padding:.5rem .85rem;display:flex}.console-snippet-label{color:var(--con-text-muted);font-size:.72rem;font-weight:600}.console-snippet-pre{font-family:var(--font-mono);color:#38bdf8;max-height:220px;margin:0;padding:.85rem;font-size:.78rem;line-height:1.5;overflow-x:auto}.btn-execute-call{color:#fff;cursor:pointer;background:linear-gradient(135deg,#0d9488,#0f766e);border:1px solid #ffffff26;border-radius:8px;justify-content:center;align-items:center;gap:.5rem;width:100%;padding:.75rem 1rem;font-size:.88rem;font-weight:600;transition:all .15s;display:flex;box-shadow:0 2px 8px #0d94884d}.btn-execute-call:hover{background:linear-gradient(135deg,#0f766e,#115e59);transform:translateY(-1px);box-shadow:0 4px 12px #0d948866}.btn-execute-call:active{transform:translateY(0)}.btn-execute-call:disabled{opacity:.6;cursor:not-allowed;transform:none}.console-response-card{border:1px solid var(--con-border);background:var(--con-code-bg);border-radius:8px;flex-direction:column;display:flex;overflow:hidden}.console-response-header{background:var(--con-surface);border-bottom:1px solid var(--con-border);justify-content:space-between;align-items:center;padding:.55rem .85rem;font-size:.75rem;display:flex}.response-meta{align-items:center;gap:.65rem;display:flex}.console-status-pill{color:#34d399;background:#10b98133;border:1px solid #34d39966;border-radius:4px;padding:.12rem .45rem;font-size:.72rem;font-weight:700}.console-latency{font-family:var(--font-mono);color:var(--con-text-muted);font-size:.72rem}.console-response-pre{font-family:var(--font-mono);color:#a7f3d0;max-height:280px;margin:0;padding:.85rem;font-size:.78rem;line-height:1.5;overflow-y:auto}@media (width<=1200px){.ref-console{display:none}}@media (width<=820px){.ref-sidebar{width:100%}.ref-doc{display:none}}
