*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{background:#f6f7f9;color:#12151b;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}.app-shell{display:flex;height:100vh;overflow:hidden;background:#f6f7f9}.sidebar{display:flex;width:256px;flex:0 0 256px;flex-direction:column;border-right:1px solid #e6e8ec;background:#fff}.logo-bar{display:flex;height:64px;align-items:center;padding:0 22px;border-bottom:1px solid #eef0f3}.logo-bar img{height:19px;width:auto}.sidebar nav{display:flex;flex:1;flex-direction:column;gap:2px;overflow-y:auto;padding:14px 12px}.sidebar nav button,.workspace-link,.partner-link{display:flex;width:100%;align-items:center;gap:12px;border:0;background:transparent;color:#4a5160;cursor:pointer;font-size:14px;font-weight:500;padding:9px 12px;text-align:left;border-radius:9px}.sidebar nav button:hover,.partner-link:hover{background:#f2f4f7;color:#12151b}.sidebar nav button.active{background:#eaf2fe;color:#0a66f0;font-weight:700}.material-symbols-rounded{color:#8a909e;font-family:Material Symbols Rounded;font-size:20px;font-style:normal;font-weight:500;line-height:1}.sidebar nav button.active .material-symbols-rounded{color:#0a66f0}.nav-divider{margin:18px 0 6px;color:#8a909e;font-size:11px;font-weight:800;letter-spacing:0}.sidebar footer{display:flex;flex-direction:column;gap:8px;padding:12px;border-top:1px solid #eef0f3}.workspace-link{border:1px solid #cfe0fa;background:#eaf2fe;color:#0d47a1;font-size:13px;font-weight:700}.workspace-link .material-symbols-rounded{margin-left:auto;color:#5b8de8;font-size:17px}.partner-link{border:1px dashed #e1e4e9;background:#fbfcfd;font-size:13px;font-weight:700}.plan-card{margin-top:6px;padding:14px;border:1px solid #e9edf3;border-radius:12px;background:#f6f8fb}.plan-card div{display:flex;align-items:center;justify-content:space-between;gap:10px}.plan-card strong{color:#0d47a1;font-size:12px}.plan-card span{color:#6a7180;font-size:11px;font-weight:600;text-align:right}.plan-card span.enabled{color:#16a34a}.plan-card p{margin:8px 0 11px;color:#6a7180;font-size:13px}.plan-card button{width:100%;border:1px solid #d6e3f7;border-radius:8px;background:#fff;color:#0a66f0;cursor:pointer;font-size:13px;font-weight:600;padding:7px}.main-shell{display:flex;min-width:0;flex:1;flex-direction:column}.topbar{display:flex;height:64px;flex:0 0 64px;align-items:center;justify-content:space-between;border-bottom:1px solid #e6e8ec;background:#ffffffd9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:0 28px}.topbar-left,.topbar-right{display:flex;align-items:center;gap:14px;min-width:0}.topbar h1{margin:0;font-size:17px;font-weight:700}.divider{display:block;width:1px;height:26px;background:#e6e8ec}.org-switcher,.language-menu{position:relative}.org-button,.language-button{display:flex;align-items:center;border:1px solid #e1e4e9;background:#fff;color:#3a4150;cursor:pointer}.org-button{height:44px;gap:9px;border-radius:11px;padding:0 12px 0 10px}.org-icon{display:grid;width:30px;height:30px;place-items:center;border-radius:8px;background:#eaf2fe;color:#0a66f0}.org-text{display:flex;max-width:170px;min-width:0;flex-direction:column;text-align:left}.org-text strong,.profile strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.org-text strong{color:#12151b;font-size:14px;font-weight:700}.org-text span,.profile em{color:#9aa1ae;font-size:11px;font-style:normal}.menu{position:absolute;top:50px;z-index:20;border:1px solid #e6e8ec;border-radius:13px;background:#fff;box-shadow:0 14px 38px #12151b24;padding:8px}.org-menu{left:0;width:300px}.lang-menu{right:0;width:150px}.menu button{display:flex;width:100%;align-items:center;justify-content:space-between;border:0;border-radius:9px;background:transparent;color:#4a5160;cursor:pointer;padding:9px 10px;text-align:left}.menu button.active{background:#eaf2fe;color:#0a66f0}.menu span{display:flex;min-width:0;flex-direction:column}.menu strong{overflow:hidden;color:#12151b;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.menu em{color:#8a909e;font-size:11px;font-style:normal}.language-button{height:38px;gap:7px;border-radius:9px;font-size:13px;font-weight:600;padding:0 12px;white-space:nowrap}.profile{display:flex;min-width:0;align-items:center;gap:10px}.avatar{display:grid;width:36px;height:36px;flex:0 0 36px;place-items:center;border-radius:50%;background:#0a66f0;color:#fff;font-size:14px;font-weight:700}.profile span:last-child{display:flex;min-width:0;flex-direction:column}.icon-action-button{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border:1px solid #e1e4e9;border-radius:9px;background:#fff;color:#596273;cursor:pointer}.icon-action-button:hover{border-color:#cdd3dc;background:#f8fafc;color:#12151b}main{min-height:0;flex:1;overflow-y:auto;padding:28px 32px 64px}.content{width:min(100%,1140px);margin:0 auto}.page-stack{display:flex;flex-direction:column;gap:22px}.usage-card,.section,.settings-card{border:1px solid #e6e8ec;border-radius:14px;background:#fff}.usage-card{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(280px,1fr) auto;gap:18px;align-items:center;padding:18px 20px}.usage-card h2,.section-header h2,.settings-card h2{margin:0;color:#12151b;font-size:16px;font-weight:800}.usage-card p{margin:5px 0 0;color:#6a7180;font-size:13px}.usage-row{display:flex;flex-direction:column;gap:7px}.usage-row span{display:flex;justify-content:space-between;color:#4a5160;font-size:13px}.progress{height:8px;overflow:hidden;border-radius:20px;background:#edf1f7}.progress i{display:block;height:100%;border-radius:inherit;background:#0a66f0}.progress.warn i{background:#d97706}.progress.danger i{background:#dc2626}.progress.neutral i{background:#cfe0fa}.section{overflow:hidden}.section-header{display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:14px;padding:12px 18px;border-bottom:1px solid #eef0f3}.list-card{background:#fff}.project-row{display:flex;align-items:center;gap:18px;padding:14px 18px;border-bottom:1px solid #f2f3f5}.project-row:last-child{border-bottom:0}.project-copy{min-width:200px;flex:1 1 260px}.project-copy div{display:flex;align-items:center;gap:8px}.project-copy strong{overflow:hidden;color:#12151b;font-size:14px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.project-copy p{margin:4px 0;color:#6a7180;font-size:13px}.project-copy em{color:#9aa1ae;font-size:12px;font-style:normal}.badge{flex:0 0 auto;border-radius:20px;font-size:11px;font-weight:800;padding:3px 8px}.badge.local{background:#e9f7f5;color:#0d9488}.badge.remote{background:#eaf2fe;color:#0a66f0}.row-actions{display:flex;flex-shrink:0;align-items:center;gap:4px}.row-actions button,.row-actions a{display:grid;width:32px;height:32px;place-items:center;border:0;border-radius:8px;background:transparent;color:#6a7180;cursor:pointer;text-decoration:none}.row-actions .open-link{display:inline-flex;width:auto;min-width:56px;min-height:32px;padding:0 9px;gap:5px;font-size:12px;font-weight:700}.row-actions .primary-link{background:#0a66f0;color:#fff}.row-actions button:hover,.row-actions a:hover{background:#eaf2fe;color:#0a66f0}.row-actions .primary-link:hover{background:#0a52c4;color:#fff}.row-actions button:disabled{cursor:progress;opacity:.65}.primary-button,.secondary-button,.outline-button,.danger-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;cursor:pointer;font-size:13px;font-weight:700;min-height:38px;padding:0 14px;text-decoration:none}.primary-button{border:1px solid #0a66f0;background:#0a66f0;color:#fff}.primary-button:hover{background:#0a52c4}.primary-button:disabled,.secondary-button:disabled,.outline-button:disabled,.danger-button:disabled{cursor:not-allowed;opacity:.55}.primary-button.compact{min-height:36px}.secondary-button,.outline-button{border:1px solid #d6e3f7;background:#fff;color:#0a66f0}.danger-button{border:1px solid #e11d48;background:#e11d48;color:#fff}.danger-button:hover{background:#be123c}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px}.search-box{display:flex;width:min(320px,100%);height:38px;align-items:center;gap:8px;border:1px solid #d5d9e0;border-radius:9px;background:#fff;color:#8a909e;padding:0 11px}.search-box input{min-width:0;flex:1;border:0;outline:none}.admin-toolbar{justify-content:flex-start}.admin-toolbar .search-box{width:min(420px,100%)}.filter-select{width:160px;height:38px;border:1px solid #d5d9e0;border-radius:9px;background:#fff;color:#4a5160;font-size:13px;font-weight:700;padding:0 11px}.filter-input{width:160px;height:38px;border:1px solid #d5d9e0;border-radius:9px;background:#fff;color:#4a5160;font-size:13px;font-weight:700;outline:none;padding:0 11px}.filter-input:focus{border-color:#0a66f0;box-shadow:0 0 0 3px #0a66f01f}.admin-list{overflow:hidden;border:1px solid #e6e8ec;border-radius:13px;background:#fff}.admin-row{display:grid;grid-template-columns:1.2fr 1.1fr 1.8fr 1fr 160px;min-height:66px;align-items:center;gap:16px;border-top:1px solid #eef0f3;padding:12px 18px;color:#4a5160;font-size:13px}.admin-row:first-child{border-top:0}.admin-head{min-height:44px;background:#f7f8fa;color:#6a7180;font-size:12px;font-weight:800}.org-row{grid-template-columns:1.4fr 1.5fr 1.2fr 1.4fr .8fr .8fr 104px}.document-row{grid-template-columns:1.1fr 1.5fr .55fr .55fr 1.4fr 112px}.release-row{grid-template-columns:1.35fr .7fr 1fr .75fr .9fr 160px}.mcp-observer-header{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px}.mcp-observer-header h2{margin:0;color:#12151b;font-size:17px;font-weight:800}.mcp-observer-header p{margin:5px 0 0;color:#6a7180;font-size:13px}.mcp-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.mcp-stat-card{gap:8px;padding:16px}.mcp-stat-card span{color:#6a7180;font-size:12px;font-weight:800}.mcp-stat-card strong{color:#12151b;font-size:24px;font-weight:800}.mcp-toolbar{flex-wrap:wrap}.mcp-board-layout{display:grid;grid-template-columns:minmax(780px,1fr) 360px;gap:16px;align-items:start}.mcp-review-list{overflow-x:auto}.mcp-review-row{grid-template-columns:.75fr .65fr .95fr 1.05fr 1.15fr minmax(220px,1.7fr) .65fr .9fr .8fr;min-width:1160px}.mcp-review-button{width:100%;border-right:0;border-bottom:0;border-left:0;background:#fff;cursor:pointer;text-align:left}.mcp-review-button:hover{background:#f7faff}.mcp-review-row small{display:block;margin-top:4px;color:#8a909e;font-size:11px;font-weight:700}.mcp-summary{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mcp-agent-cell,.mcp-agent-inline{display:flex;min-width:0;flex-wrap:wrap;align-items:center;gap:5px}.mcp-agent-cell strong{width:100%;overflow:hidden;color:#12151b;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.mcp-agent-cell small{width:100%}.mcp-agent-inline{margin-top:8px;color:#6a7180;font-size:12px;font-weight:700}.trust-badge{display:inline-flex;min-height:21px;align-items:center;border-radius:999px;font-size:10.5px;font-style:normal;font-weight:800;margin-left:6px;padding:0 7px;white-space:nowrap}.trust-badge.reporter{background:#f2f4f7;color:#4a5160}.trust-badge.maintainer{background:#eaf2fe;color:#0a66f0}.trust-badge.admin{background:#fff7ed;color:#b45309}.trust-badge.unverified{background:#f2f4f7;color:#8a909e}.mcp-detail-panel{display:grid;max-height:calc(100vh - 190px);overflow-y:auto;border:1px solid #e6e8ec;border-radius:13px;background:#fff}.mcp-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;border-bottom:1px solid #eef0f3;padding:14px}.mcp-detail-head strong{display:block;color:#12151b;font-size:14px;line-height:1.45}.mcp-detail-head small{display:block;margin-top:5px;color:#8a909e;font-size:11px;font-weight:700}.mcp-detail-head button{display:grid;width:32px;height:32px;flex:0 0 32px;place-items:center;border:0;border-radius:8px;background:#f2f4f7;color:#4a5160;cursor:pointer}.mcp-detail-section{border-bottom:1px solid #eef0f3;padding:14px}.mcp-detail-section:last-child{border-bottom:0}.mcp-detail-section h3{margin:0 0 12px;color:#12151b;font-size:13px;font-weight:800}.mcp-timeline,.mcp-compact-rows{display:grid;gap:10px}.mcp-timeline article,.mcp-compact-rows article{border:1px solid #eef0f3;border-radius:10px;background:#fbfcfd;padding:10px}.mcp-timeline span,.mcp-compact-rows small{color:#8a909e;font-size:11px;font-weight:800}.mcp-timeline strong,.mcp-compact-rows strong{display:block;margin-top:4px;color:#12151b;font-size:12px;font-weight:800;overflow-wrap:anywhere}.mcp-timeline p,.mcp-compact-rows p{margin:5px 0 0;color:#6a7180;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.document-list .admin-row>span{min-width:0}.strong-cell{min-width:0;overflow:hidden;color:#12151b;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.strong-cell small{display:block;overflow:hidden;margin-top:4px;color:#8a909e;font-size:11px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.status-pill{display:inline-flex;min-height:24px;align-items:center;border-radius:999px;background:#edf6ff;color:#0a66f0;font-size:11px;font-style:normal;font-weight:800;margin-right:6px;padding:0 9px;text-transform:capitalize}.status-pill.terminated,.status-pill.banned{background:#fff1f4;color:#e11d48}.status-pill.inactive,.status-pill.pending,.status-pill.invited{background:#fff7ed;color:#b45309}.role-pill{background:#eef2ff;color:#4338ca}.admin-actions{display:inline-flex;justify-content:flex-end;gap:6px}.admin-actions button,.admin-actions .icon-link{display:grid;width:32px;height:32px;place-items:center;border:0;border-radius:8px;background:transparent;color:#6a7180;cursor:pointer}.admin-actions button:hover,.admin-actions .icon-link:hover{background:#eaf2fe;color:#0a66f0}.admin-actions button:last-child:hover{background:#fff1f4;color:#e11d48}.admin-actions button:disabled{cursor:not-allowed;opacity:.45}.sample-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.sample-card{overflow:hidden;border:1px solid #e6e8ec;border-radius:13px;background:#fff}.thumb{height:88px;background:linear-gradient(135deg,rgba(10,102,240,.14) 25%,transparent 25%) 0 0 / 18px 18px,linear-gradient(135deg,transparent 75%,rgba(13,71,161,.12) 75%) 0 0 / 18px 18px,#f7faff}.sample-body{padding:13px 14px}.sample-body h2{margin:0;color:#12151b;font-size:13.5px;font-weight:700}.sample-body p{min-height:34px;margin:6px 0 10px;color:#9aa1ae;font-size:12px;line-height:1.45}.sample-body em{color:#6a7180;font-size:12px;font-style:normal}.sample-actions{display:grid;grid-template-columns:1fr auto 1fr auto;align-items:center;gap:8px;border-top:1px solid #f2f3f5;padding:9px 10px}.sample-actions button,.sample-actions a{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:8px;background:transparent;color:#4a5160;cursor:pointer;font-size:12px;font-weight:700;text-decoration:none}.sample-actions .delete-action{width:32px;height:32px;padding:0}.sample-actions button:hover{background:#fff1f4;color:#e11d48}.sample-actions a:hover{background:#eaf2fe;color:#0a66f0}.sample-actions .delete-action:hover{background:#fff1f4;color:#e11d48}.sample-actions span{border-left:1px solid #f2f3f5;border-right:1px solid #f2f3f5;color:#6a7180;font-size:12px;font-weight:700;padding:0 8px;text-align:center}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.settings-card{display:flex;flex-direction:column;gap:14px;padding:20px}.settings-card.wide{grid-column:1 / -1}.settings-card>div:first-child{display:flex;align-items:center;gap:10px;color:#0a66f0}.settings-card label{color:#6a7180;font-size:12px;font-weight:700}.detail-list{display:grid;gap:12px;margin:2px 0 0}.detail-list.columns{grid-template-columns:repeat(3,minmax(0,1fr))}.detail-list div{min-width:0}.detail-list dt{margin:0 0 4px;color:#8a909e;font-size:12px;font-weight:700}.detail-list dd{overflow:hidden;margin:0;color:#12151b;font-size:14px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.segmented{display:inline-grid;width:fit-content;grid-template-columns:repeat(3,1fr);gap:3px;border-radius:9px;background:#f1f3f6;padding:3px}.segmented button{min-width:90px;border:0;border-radius:7px;background:transparent;color:#4a5160;cursor:pointer;font-size:13px;font-weight:700;padding:8px 12px}.segmented button.active{background:#fff;box-shadow:0 1px 3px #0000001f;color:#0a66f0}.empty{display:grid;min-height:96px;place-items:center;color:#8a909e;font-size:13px;font-weight:700}.notice{display:flex;align-items:center;gap:8px;margin:12px 18px;border:1px dashed #d9dde3;border-radius:11px;background:#f7f8fa;color:#6a7180;font-size:13px;font-weight:700;padding:11px 15px}.notice.error{margin:0 0 18px;border-color:#fecaca;background:#fef2f2;color:#dc2626}.auth-state{display:grid;min-height:100%;place-items:center;background:#f6f7f9}.auth-card{width:min(420px,calc(100vw - 36px));border:1px solid #e6e8ec;border-radius:18px;background:#fff;box-shadow:0 24px 60px #12151b1f;padding:28px;text-align:center}.auth-card svg{color:#0a66f0}.auth-card h1{margin:14px 0 8px;font-size:22px}.auth-card p{margin:0 0 22px;color:#6a7180;font-size:14px;line-height:1.6}.toast{position:fixed;bottom:26px;left:50%;display:inline-flex;align-items:center;gap:8px;transform:translate(-50%);border-radius:11px;background:#12151b;color:#fff;font-size:13.5px;font-weight:600;padding:12px 20px}.toast svg{color:#5fd08a}.modal-backdrop{position:fixed;inset:0;z-index:50;display:grid;place-items:center;background:#12151b6b;padding:24px}.modal-card{width:min(560px,100%);max-height:calc(100vh - 48px);overflow-y:auto;border:1px solid #e6e8ec;border-radius:14px;background:#fff;box-shadow:0 24px 80px #12151b38}.document-modal{width:min(860px,100%)}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #eef0f3;padding:16px 18px}.modal-header h2{margin:0;font-size:16px}.confirm-card{max-width:420px}.confirm-message{margin:0;padding:18px 18px 0;color:#4a5160;font-size:14px;line-height:1.5}.icon-button{display:grid;width:34px;height:34px;place-items:center;border:0;border-radius:8px;background:transparent;color:#6a7180;cursor:pointer}.icon-button:hover{background:#f2f4f7;color:#12151b}.upload-form{display:grid;gap:14px;padding:18px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.upload-form label{display:grid;gap:7px}.upload-form label span{color:#4a5160;font-size:12px;font-weight:800}.upload-form input,.upload-form textarea,.upload-form select{width:100%;border:1px solid #d5d9e0;border-radius:9px;background:#fff;color:#12151b;outline:none;padding:9px 11px}.upload-form input:disabled,.upload-form textarea:read-only{background:#f7f8fa;color:#4a5160}.toggle-row{display:flex;flex-wrap:wrap;gap:18px}.toggle-row label{display:inline-flex;align-items:center;gap:8px;color:#4a5160;font-size:13px;font-weight:800}.toggle-row input{width:16px;height:16px}.document-textarea{min-height:320px;resize:vertical;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;line-height:1.55}.upload-form input:focus,.upload-form textarea:focus,.upload-form select:focus{border-color:#0a66f0;box-shadow:0 0 0 3px #0a66f01f}.form-hint{overflow-wrap:anywhere;color:#6a7180;font-size:12px;font-weight:700}.form-error{border:1px solid #fecaca;border-radius:9px;background:#fef2f2;color:#dc2626;font-size:13px;font-weight:700;padding:10px 12px}.form-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:4px}.confirm-actions{padding:18px}.spin{animation:spin .9s linear infinite;color:#0a66f0}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:920px){.sidebar{width:220px;flex-basis:220px}.usage-card,.settings-grid,.detail-list.columns{grid-template-columns:1fr}.sample-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mcp-stats-grid,.mcp-board-layout{grid-template-columns:1fr}.mcp-detail-panel{max-height:none}}@media(max-width:680px){.app-shell{flex-direction:column}.sidebar{width:100%;flex:0 0 auto}.sidebar nav,.sidebar footer{display:none}.topbar{padding:0 14px}.profile{display:none}main{padding:18px 16px 40px}.toolbar,.section-header,.project-row{align-items:stretch;flex-direction:column}.admin-row,.org-row,.mcp-review-row{grid-template-columns:1fr;gap:8px;min-width:0}.admin-head{display:none}.form-grid,.sample-grid{grid-template-columns:1fr}.form-actions{flex-direction:column-reverse}}
