html,body,#app{height:100%;margin:0;padding:0;overflow:hidden}body{background:#fff;color:#17171a;font-family:"PingFang SC",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:14px}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible{outline:2px solid #7265f3;outline-offset:2px}button{color:inherit}a{color:#6555d3;text-decoration:none}button svg{flex:none;width:16px;height:16px}h1,h2,h3,p{margin:0}.platform{display:flex;flex-direction:column;height:100%;background:#fff}.notice{position:relative;flex:none;height:64px;padding:8px 36px 8px 12px;line-height:24px;background:#eeedfc}.notice strong{display:block;font-weight:600}.notice .notice-close{position:absolute;right:10px;top:8px}.icon-button{display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;width:28px;height:28px;padding:0;border-radius:6px}.icon-button:hover{background:#f2f1f8}.shell{display:flex;flex:1;min-height:0}.sidebar{width:240px;flex:none;border-right:1px solid #ebebef;display:flex;flex-direction:column;background:#fff}.brand{height:56px;padding:10px 14px;display:flex;align-items:center;flex:none}.brand img{width:91px;height:auto}.side-scroll{flex:1;overflow:auto;padding:0 6px 12px;scrollbar-width:thin;scrollbar-color:#e6e6e9 transparent}.nav-group-heading{height:36px;padding:0 12px;display:flex;align-items:center;gap:12px;font-weight:500;width:100%;border:0;background:#fff;text-align:left;border-radius:8px}.nav-group-heading svg{width:14px;height:14px;color:#88888d}.nav-group-heading .chevron{margin-left:auto;width:12px}.nav-group-heading:hover{background:#f7f7f9}.nav-items{display:grid;gap:4px;margin:4px 0 10px}.nav-item{height:40px;width:100%;padding:0 14px 0 44px;display:flex;align-items:center;gap:8px;border:0;border-radius:8px;background:transparent;text-align:left;font-size:14px;color:#414149}.nav-item:hover{background:#f6f6f8}.nav-item.active{background:#efedfc;color:#29292e}.badge{display:inline-block;background:#e8f5ef;color:#5e9a80;font-size:10px;border-radius:2px;padding:1px 4px;line-height:14px;font-weight:400}.prototype-note{font-size:11px;line-height:18px;padding:6px 12px;border-top:1px solid #efeff2;color:#92929c;display:flex;align-items:center;justify-content:space-between;gap:8px;flex:none}.prototype-note .icon-button{width:22px;height:22px}.prototype-note svg{width:12px;height:12px}.platform-main{min-width:0;flex:1;display:flex;flex-direction:column}.header{height:56px;flex:none;border-bottom:1px solid #ebebef;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:12px}.breadcrumb{display:flex;align-items:center;gap:8px;white-space:nowrap;color:#9999a2;font-size:14px}.breadcrumb svg{width:14px;height:14px}.breadcrumb strong{color:#27272d;font-weight:600}.header-tools{display:flex;align-items:center;gap:14px}.workspace{border:1px solid #e5e5e9;border-radius:8px;height:32px;padding:0 10px;display:flex;align-items:center;gap:7px;background:#fff;font-size:12px}.workspace>svg:first-child{color:#6659d7}.workspace>svg:last-child{width:12px;color:#93939d}.header-link{display:flex;align-items:center;gap:6px;border:0;background:transparent;padding:0;color:#6451d4;font-weight:600;white-space:nowrap}.header-link svg{width:16px}.header-tools .icon-button{width:20px;height:28px;color:#55555f}.language{font-weight:600;font-size:14px;background:transparent;border:0;padding:0}.avatar{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#383329,#8f856f);color:#fff;font-size:11px}.bell-wrap{position:relative}.bell-wrap:after{content:"1";position:absolute;top:-2px;right:-7px;background:#d44d56;color:white;width:15px;height:15px;line-height:15px;text-align:center;border-radius:50%;font-size:10px}.page{display:flex;flex-direction:column;flex:1;min-height:0;padding:20px 24px 17px}.page-heading{display:flex;justify-content:space-between;align-items:center;flex:none;height:28px;margin-bottom:11px}.page-heading h1{font-size:18px;font-weight:600;line-height:28px}.platform-btn{border:1px solid #e5e5e9;background:#fff;border-radius:8px;display:inline-flex;align-items:center;gap:6px;padding:0 12px;height:32px;font-size:13px;white-space:nowrap}.platform-btn:hover{background:#f7f7f9}.platform-btn.primary{background:#5146ff;border-color:#5146ff;color:#fff}.platform-btn svg{width:14px}.tabs-row{display:flex;align-items:center;min-height:43px;border-bottom:1px solid #e5e5e9;flex:none;margin-bottom:16px;position:relative}.board-tabs{display:flex;gap:16px;min-width:0;flex:1;overflow:auto;scrollbar-width:none;align-items:stretch}.board-tabs::-webkit-scrollbar{display:none}.board-tab{display:flex;align-items:center;gap:8px;height:43px;position:relative;flex:none;color:#77777e;border-bottom:2px solid transparent}.board-tab.active{color:#17171a;border-color:#6753da}.board-tab .board-name{border:0;padding:0;background:transparent;color:inherit;white-space:nowrap;max-width:212px;overflow:hidden;text-overflow:ellipsis;text-align:left}.board-tab .icon-button{height:22px;width:20px}.board-tab .icon-button svg{height:12px;width:12px}.board-tab:not(.active) .tab-operations{display:none}.tab-operations{display:flex;gap:2px;align-items:center}.updated{white-space:nowrap;display:flex;align-items:center;gap:4px;color:#9b9b9f;font-size:11px;background:#fff;padding-left:12px;flex:none}.updated svg{width:12px;height:12px}.tab-menu{position:absolute;top:39px;right:0;background:white;border:1px solid #e7e7eb;box-shadow:0 5px 18px #00000016;border-radius:8px;z-index:90;width:120px;padding:4px}.tab-menu button{display:flex;align-items:center;gap:8px;width:100%;padding:7px 10px;border:0;border-radius:5px;background:white;font-size:13px}.tab-menu button:hover{background:#f5f4fc}.tab-menu svg{width:14px;height:14px}.tab-menu .danger{color:#d34c54}.board-frame{flex:1;min-height:0;overflow:auto;position:relative;border:1px solid #e5e7eb;border-radius:12px;background:#f8fafc;scrollbar-width:thin;scrollbar-color:#c4c4c4 #f3f4f6}.board-inner{padding:24px;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"PingFang SC","Microsoft YaHei",sans-serif;color:#111827;min-height:100%;font-size:16px;--line:#e5e7eb;--head:#334155;--head2:#475569;--accent:#2563eb}.board-inner .tabs-layout{align-items:flex-start}.board-inner .tab-bar{max-height:calc(100dvh - 282px)}.board-inner .dash-filter{top:-24px;padding-top:0}.board-inner .table-wrap{max-height:82vh;width:100%}.board-inner .tab-panel{scroll-margin-top:72px}.board-inner table{min-width:100%}.board-inner .table-wrap th:first-child{min-width:378px;max-width:378px;width:378px;white-space:nowrap}.board-inner .table-wrap td:first-child{min-width:378px;max-width:378px;width:378px;overflow:hidden;text-overflow:ellipsis}.board-inner .table-wrap td{line-height:15px}.board-inner td.gcell{display:table-cell;height:34px;padding:9px 12px;font-size:13px}.board-inner .gcaret{width:14px;height:14px;margin-right:4px;vertical-align:middle}.board-inner .glabel{vertical-align:middle;font-weight:700}.board-inner .table-wrap th{height:64px;min-width:84px;max-width:180px}.board-inner th .th-main{min-height:36px;align-items:flex-end}.board-inner .meta{line-height:20px;margin-bottom:14px}.board-inner .panel-title{line-height:23px;margin-bottom:12px}.board-inner .dash-filter{margin-bottom:14px;padding-bottom:12px}.board-inner .filter-btn{font:13px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;height:37px}.board-inner .panel{width:360px}.board-inner .panel .ops button{border:0;background:none;color:#2563eb;cursor:pointer;font-size:13px;font-weight:600;padding:0}.board-inner .panel .search{font:13px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.board-inner .panel .actions button{font:600 13px -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.board-inner .panel .list .opt{font-size:13px}.board-inner .panel .opt-custom{margin-left:0}.board-inner .table-empty{padding:32px;text-align:center;background:#fff;border:1px solid #e5e7eb;border-radius:10px;font-size:13px;color:#9ca3af}.board-inner .table-empty p{margin:4px 0}.board-inner .total-rows{font-size:15px;font-weight:600;color:#111827}.chart-card{background:#fff;padding:28px;border:1px solid #e8edf3;border-radius:18px;box-shadow:0 4px 24px #24304405}.chart-card h2{font-size:24px;font-weight:650;letter-spacing:-.6px;color:#26344b}.chart-controls{padding:16px;background:#f7f9fc;border:1px solid #edf0f5;border-radius:12px;display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 10px}.chart-control{display:flex;flex-direction:column;flex:1;min-width:155px;background:#fff;border:1px solid #dfe5ed;border-radius:8px;padding:8px 12px;gap:3px}.chart-control>span{font-size:10px;color:#8591a3}.chart-control select{border:0;outline:none;padding:0;width:100%;font-size:13px;min-height:20px;color:#26344b;background:#fff}.chart-options{width:100%;display:flex;gap:14px;flex-wrap:wrap;align-items:center;font-size:12px;color:#66758d}.chart-options label{display:flex;align-items:center;gap:5px}.chart-options input{accent-color:#2563eb}.chart-options select{font-size:12px;border:1px solid #dfe5ed;border-radius:6px;background:white;padding:5px 8px;color:#66758d}.chart-options button{margin-left:auto;font-size:12px;color:#66758d;border:0;background:transparent;padding:4px}.vendor-list{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px;margin:16px 0;color:#66758d}.vendor-list>span{color:#8491a4;flex:none}.vendor-list label{display:flex;gap:4px;align-items:center}.vendor-list input{accent-color:#2563eb;width:12px;height:12px}.vendor-dot{width:7px;height:7px;border-radius:50%;display:inline-block}.chart-svg{display:block;width:100%;min-height:340px;overflow:visible}.chart-svg text{font-family:inherit;font-size:11px;fill:#8190a5}.chart-svg .point-label{font-size:9px;fill:#596b83}.chart-footer{font-size:11px;color:#8996a8;margin-top:10px}.chart-empty{padding:64px;text-align:center;color:#939fac;font-size:13px}.loading-cover{position:sticky;top:0;height:calc(100dvh - 270px);margin-bottom:calc(-100dvh + 270px);inset-inline:0;z-index:70;display:flex;align-items:center;justify-content:center;gap:10px;background:#ffffffbf;font-size:14px;color:#334155}.loading-cover .dyn-spin{flex:none}.toast{position:fixed;top:85px;left:50%;transform:translateX(-50%);z-index:220;background:#fff;border:1px solid #e4e4eb;box-shadow:0 4px 20px #00000015;border-radius:9px;padding:10px 16px;font-size:13px;display:flex;align-items:center;gap:8px;max-width:70vw}.toast svg{width:16px;height:16px;color:#5b9b73}.modal-shade{position:fixed;inset:0;background:#0006;z-index:200;display:flex;align-items:center;justify-content:center}.modal{width:680px;max-width:90vw;max-height:85vh;background:white;border:1px solid #eee;border-radius:14px;display:flex;flex-direction:column;box-shadow:0 12px 60px #0002;color:#17171a;font-size:14px;overflow:hidden}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px 16px}.modal-header h2{font-size:20px;font-weight:600}.modal-body{overflow:auto;padding:0 24px 24px;min-height:0}.modal-help{font-size:13px;line-height:22px;color:#90909a;margin-bottom:16px}.modal-field{margin-top:20px}.modal-field>label{display:block;font-weight:500;margin-bottom:8px;font-size:14px}.modal-field>label span{color:#d34951}.modal-input{width:100%;border:1px solid #e5e5e9;background:white;border-radius:8px;min-height:34px;padding:6px 12px;outline:none}.modal-input:focus{border-color:#6554de}.modal-footer{padding:12px 24px;display:flex;justify-content:flex-end;gap:8px;border-top:1px solid #ebebef}.radio-row{display:flex;gap:20px;font-size:14px}.radio-row label{display:flex;align-items:center;gap:6px}.radio-row input{accent-color:#6654da}.code-editor{width:100%;min-height:240px;resize:vertical;padding:16px;border:1px solid #e5e5e9;border-radius:8px;background:#fbfbfc;font:12px/21px SFMono-Regular,Consolas,monospace;color:#454551;outline:none}.editor-toolbar{display:flex;gap:8px;justify-content:flex-end;padding:6px 0}.editor-toolbar button{font-size:12px;border:0;background:none;color:#6e6e77;padding:2px 5px}.modal-error{font-size:12px;color:#c94550;margin-top:8px}.info-lines{line-height:24px;color:#61616b;font-size:13px}.info-lines p{margin:12px 0}.info-lines code{font-size:12px;background:#f4f4f7;padding:2px 5px;border-radius:4px}.hidden{display:none!important}@media(max-width:1050px){.header-tools{gap:10px}.header-link{font-size:12px}.header-tools .optional{display:none}.breadcrumb{font-size:12px}.sidebar{width:210px}.board-inner .table-wrap th:first-child,.board-inner .table-wrap td:first-child{min-width:340px;max-width:340px;width:340px}}@media(max-width:820px){.sidebar{width:180px}.header{padding:0 18px}.header-link{display:none}.page{padding:18px}.updated{font-size:10px}.board-inner{padding:18px}.board-inner .tab-bar{width:144px}.board-tab .board-name{max-width:170px}.board-inner .tabs-layout{gap:12px}}

/* Keep the filter's confirm action inside the dashboard viewport. */
.notice>.icon-button{position:absolute;right:10px;top:8px}
.tabs-row,.board-tab{min-height:41px;height:41px}
.board-inner .panel .list{max-height:min(320px,calc(100dvh - 475px))}
.board-inner .panel .actions{position:relative;background:#fff}
.board-inner .dash-filter{top:0}

/* The menu sits outside the horizontally scrolling tab strip. */
#board-menu-root .tab-menu{position:fixed;right:auto;width:132px;box-sizing:border-box;z-index:100}
.share-menu-item{position:relative}
.share-tooltip{display:none;position:absolute;bottom:calc(100% + 13px);left:50%;transform:translateX(-50%);padding:9px 12px;border-radius:6px;background:#272a31;color:#fff;white-space:nowrap;font-size:13px;line-height:20px;font-weight:400;pointer-events:none;box-shadow:0 3px 12px #00000012}
.share-tooltip:after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);border:6px solid transparent;border-top-color:#272a31}
.share-menu-item:hover .share-tooltip,.share-menu-item:focus-visible .share-tooltip{display:block}

/* Dashboard ownership and grants reuse the platform's tabs and dialog style. */
.category-tabs{display:flex;gap:26px;border-bottom:1px solid #e5e5e9;margin-bottom:8px;flex:none}
.category-tab{height:42px;padding:0 2px;border:0;border-bottom:2px solid transparent;background:#fff;font-size:14px;color:#73737c}
.category-tab.active{color:#6753da;border-bottom-color:#6753da;font-weight:500}
#board-menu-root .tab-menu{width:140px}
.source-strip{display:flex;align-items:center;gap:8px;margin:-3px 0 12px;font-size:12px;color:#86868f;line-height:20px;flex:none}
.source-dot{color:#b2b2ba}.readonly-label{color:#73737c}
.board-empty{min-height:330px;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#8b8b95;background:#fff;font-size:13px;text-align:center;padding:24px;box-sizing:border-box}
.board-empty>svg{width:40px;height:40px;stroke:#bbb8d2;stroke-width:1.3;margin-bottom:4px}
.board-empty h3{font-size:15px;color:#555561;font-weight:500}.board-empty .platform-btn{margin-top:4px}
.grant-modal{width:720px;border-radius:10px}.grant-modal .modal-header h2{font-size:18px}.grant-modal .modal-header{padding-bottom:8px}
.grant-modal .modal-help{line-height:22px;margin-bottom:12px}.grant-board-name{font-size:13px;color:#8a8a94;margin-bottom:24px;line-height:20px}
.grant-modal .modal-field>label{font-weight:600;margin-bottom:10px}.grant-modal .modal-input{box-sizing:border-box;height:36px;border-radius:8px;font-size:13px}
.grant-input-row{display:flex;gap:8px}.grant-input-row input{flex:1;min-width:0}.grant-input-row .platform-btn{height:36px}
.grant-item,.grant-candidate{display:flex;align-items:center;gap:20px;padding:12px;border:1px solid #e7e7eb;border-radius:8px;margin-top:8px;min-height:58px;box-sizing:border-box}
.grant-space{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.grant-space strong{font-size:14px;font-weight:500;color:#26262e;overflow:hidden;text-overflow:ellipsis}.grant-space small{color:#9a9aa3;font-size:12px}
.grant-permission{font-size:12px;color:#61616d;background:#f5f5f8;border-radius:4px;padding:4px 8px;white-space:nowrap}
.grant-time{font-size:11px;line-height:18px;color:#9999a3;max-width:155px}.grant-item .icon-button{width:22px;height:22px;color:#777780;flex:none}.grant-item .icon-button svg{width:14px;height:14px}
.grant-candidate{background:#faf9fe}.grant-candidate .platform-btn{font-size:12px}.grant-empty{padding:24px 12px;font-size:13px;color:#9999a3;text-align:center;border:1px solid #ededf0;border-radius:8px}
.space-modal{width:440px}.space-modal .modal-header h2{font-size:18px}.space-options{display:grid;gap:8px}.space-option{display:flex;gap:12px;align-items:center;padding:12px;border:1px solid #ebebef;background:white;border-radius:8px;text-align:left}.space-option:hover,.space-option.selected{background:#f6f4fe;border-color:#ddd7f4}.space-option>span{display:flex;flex:1;flex-direction:column;gap:5px}.space-option strong{font-size:14px;font-weight:500}.space-option small{font-size:12px;color:#93939e}.space-option>svg{width:18px;height:18px;color:#6753da}
.board-inner .tab-bar{max-height:calc(100dvh - 355px)}
.board-inner .panel .list{max-height:min(320px,calc(100dvh - 560px))}
@media(max-width:820px){.grant-item{gap:10px}.grant-time{max-width:120px}.category-tabs{gap:22px}}
