:root{color-scheme:light;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#17202a;background:#f5f7fb;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:#f5f7fb}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled,input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;opacity:.58}.shell{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;gap:24px;padding:24px 18px;color:#f8fbff;background:#19324d}.brand,.login-heading{display:flex;align-items:center;gap:12px}.brand strong,.login-heading h1{display:block;margin:0;font-size:18px;line-height:1.2}.brand span,.login-heading p{display:block;margin:4px 0 0;color:#ffffffb8;font-size:13px}.login-heading p{color:#687789}.brand-mark,.brand-logo{width:42px;height:42px;flex:0 0 auto;border-radius:8px}.brand-mark{display:grid;place-items:center;background:#12b981;color:#fff;font-weight:800}.brand-logo{display:block;object-fit:contain;background:#fff;padding:4px}.login-heading .brand-logo{width:48px;height:48px;border:1px solid #edf1f6}.nav{display:grid;gap:6px}.nav button,.logout{min-height:42px;display:flex;align-items:center;gap:10px;width:100%;border:0;border-radius:8px;padding:0 12px;color:#ffffffc7;background:transparent;text-align:left}.nav button.active,.nav button:hover,.logout:hover{color:#fff;background:#ffffff1f}.logout{margin-top:auto}.content{min-width:0;padding:26px}.topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.topbar.titleless{justify-content:flex-end}.topbar.actionbar{align-items:center}.topbar-back{min-height:40px;display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.topbar h1{margin:0;font-size:28px;line-height:1.2;letter-spacing:0}.topbar p{margin:7px 0 0;color:#657386}input,select,textarea{min-height:40px;border:1px solid #d7dee9;border-radius:8px;padding:0 11px;color:#17202a;background:#fff}textarea{padding:10px 11px;resize:vertical}.primary{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:8px;padding:0 13px;color:#fff;background:#2563eb}.stack{display:grid;gap:18px}.panel,.login-panel{border:1px solid #e1e7f0;border-radius:8px;background:#fff;box-shadow:0 8px 24px #1a283a0f}.panel{min-width:0;padding:18px}.panel h2{margin:0 0 14px;font-size:16px;line-height:1.25;letter-spacing:0}.table-wrap{width:100%;overflow-x:auto}.search-filter,.compact-select{min-height:36px;display:inline-flex;align-items:center;gap:7px;border:1px solid #e1e7f0;border-radius:8px;background:#fff}.search-filter{flex:1 1 210px;max-width:270px;padding:0 10px;color:#657386}.search-filter input{width:100%;min-height:34px;border:0;padding:0;background:transparent;outline:none}.compact-select{flex:0 1 auto;padding:0 8px 0 10px;color:#657386;font-size:13px}.compact-select span{white-space:nowrap}.compact-select select{min-width:72px;min-height:34px;border:0;padding:0 22px 0 0;color:#17202a;background-color:transparent;outline:none}.reset-filter{min-height:36px;border:0;border-radius:8px}.reset-filter{padding:0 10px;color:#657386;background:transparent}table{width:100%;min-width:820px;border-collapse:collapse;font-size:13px}th,td{padding:12px 10px;border-bottom:1px solid #edf1f6;text-align:left;vertical-align:top}th{color:#657386;font-weight:600;background:#f8fafc}.sort-button{display:inline-flex;align-items:center;gap:5px;border:0;padding:0;color:inherit;background:transparent;font-weight:700}.sort-button span{color:#9aa7b8;font-size:12px}.sort-button.active{color:#2563eb}.badge{display:inline-flex;align-items:center;min-height:24px;border-radius:999px;padding:0 9px;color:#486078;background:#edf2f7;font-size:12px;font-weight:700}.badge.active,.badge.success,.ok{color:#08734f}.badge.active,.badge.success{background:#dff7ec}.badge.failed,.warn{color:#b54708}.badge.failed{background:#fff1d6}.badge.running,.badge.pending,.badge.developing{color:#1d4ed8;background:#e1ecff}.badge.reviewing{color:#92400e;background:#fff7ed}.badge.published{color:#08734f;background:#dff7ec}.badge.promoting{color:#6d28d9;background:#ede9fe}.badge.offline{color:#64748b;background:#e2e8f0}.profile{display:grid;gap:8px}.profile strong{font-size:18px}.profile span{width:fit-content;border-radius:999px;padding:4px 10px;color:#1d4ed8;background:#e1ecff;font-weight:700}.profile p{margin:0;color:#657386}.permission-summary-grid{display:grid;grid-template-columns:minmax(260px,1.4fr) minmax(220px,1fr) minmax(220px,1fr);gap:14px}.permission-summary-card{min-height:96px;display:grid;align-content:center;gap:8px;border:1px solid #e1e7f0;border-radius:8px;padding:16px;background:#fff;box-shadow:0 8px 24px #1a283a0f}.permission-summary-card span,.permission-summary-card small{color:#657386;font-size:13px}.permission-summary-card strong{font-size:18px;line-height:1.3}.account-card{grid-template-columns:46px minmax(0,1fr) auto;align-items:center;align-content:center}.profile-avatar{width:46px;height:46px;display:grid;place-items:center;border-radius:8px;color:#fff;background:#2563eb;font-weight:800}.profile-main{min-width:0;display:grid;gap:3px}.profile-main strong,.profile-main span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-main span{color:#657386;font-size:13px}.account-info-grid{display:block}.detail-profile dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0}.detail-profile div{min-height:66px;display:grid;align-content:center;gap:6px;border:1px solid #edf1f6;border-radius:8px;padding:10px 12px;background:#fbfcfe}.detail-profile dt,.detail-profile dd{margin:0}.detail-profile dt{color:#657386;font-size:12px}.detail-profile dd{color:#17202a;font-weight:700;line-height:1.35}.module-picker{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.module-picker label{min-height:34px;display:inline-flex;align-items:center;gap:6px;border:1px solid #d7dee9;border-radius:999px;padding:0 10px;color:#17202a;background:#fff;font-size:12px}.module-picker input{width:14px;height:14px;min-height:14px;padding:0;flex:0 0 14px}.compact-module-picker{gap:14px}.compact-module-picker label{min-height:24px;border:0;border-radius:0;padding:0;background:transparent}.permission-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:14px;padding:8px;border:1px solid #edf1f6;border-radius:8px;background:#f8fafc}.permission-create-button{margin-left:auto}.user-table{min-width:920px}.user-table th,.user-table td{vertical-align:middle}.user-table tbody tr.current-user-row{background:#f3fbf7}.user-table tbody tr.current-user-row td{border-bottom-color:#dff3e8}.user-table th:first-child,.user-table td:first-child{width:230px}.user-table th:nth-child(2),.user-table td:nth-child(2),.user-table th:nth-child(3),.user-table td:nth-child(3){width:140px}.user-table th:nth-child(5),.user-table td:nth-child(5){width:180px;text-align:center}.user-table th:last-child,.user-table td:last-child{width:132px;text-align:right}.user-table select{width:100%;min-height:36px}.user-table .module-picker{flex-wrap:nowrap;gap:7px}.user-table .module-picker label{min-height:34px;padding:0 12px;white-space:nowrap}.user-table .compact-module-picker label{min-height:24px;padding:0}.user-cell{display:grid;gap:3px}.user-cell strong,.user-cell span,.user-cell small{display:block}.user-cell span,.user-cell small{color:#657386;font-size:12px}.user-cell small{width:fit-content;border-radius:999px;padding:2px 7px;color:#08734f;background:#dff7ec;font-weight:700}.compact-danger{min-height:36px;padding:0 10px;font-size:13px}.icon-danger{width:36px;height:36px;border-radius:8px;padding:0;flex:0 0 36px}.user-row-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px}.current-user-check{width:34px;height:34px;display:inline-grid;place-items:center;border-radius:999px;color:#08734f;background:#dff7ec}.nickname-dialog{width:min(460px,100%)}.nickname-dialog-form{display:grid;gap:14px;margin-top:18px}.nickname-dialog-form label{display:grid;gap:7px;color:#4f5f72;font-size:13px}.user-create-dialog{width:min(680px,100%)}.user-create-dialog-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.user-create-dialog-form>label,.dialog-module-field{display:grid;gap:7px;color:#4f5f72;font-size:13px}.dialog-module-field,.user-create-dialog-form .column-dialog-actions{grid-column:1 / -1}.dialog-module-field>span{color:#4f5f72}.user-create-dialog-form .column-dialog-actions{margin-top:2px}.danger-button{min-height:40px;display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:8px;padding:0 13px;color:#fff;background:#dc2626}.text-button,.link-button{border:0;color:#2563eb;background:transparent;font-weight:700}.text-button{width:fit-content;padding:0}.link-button{padding:0}.danger-link{margin-left:10px;color:#dc2626}.form-message{margin-top:12px;color:#486078}.project-list-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.project-list-head-main{min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px}.project-list-head h2{margin:0;font-size:16px;line-height:1.25}.project-list-head>.primary{flex:0 0 auto}.project-hub-tabs button{min-width:72px}.project-add-form{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(180px,1fr) minmax(260px,2fr) auto;gap:12px;align-items:end}.project-add-form label{display:grid;gap:7px;color:#4f5f72;font-size:13px}.project-add-actions{display:flex;align-items:center;gap:12px}.project-repo-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.project-repo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:12px}.project-repo-card{min-width:0;display:grid;gap:12px;border:1px solid #e1e7f0;border-radius:8px;padding:14px;color:#17202a;background:#fbfcfe;text-align:left;cursor:pointer}.project-repo-card:hover,.project-repo-card:focus{border-color:#2563eb;background:#f4f8ff;outline:none}.project-repo-card strong,.project-repo-card span,.project-repo-card code{display:block}.project-repo-card strong{font-size:16px}.project-repo-card span{margin-top:4px;color:#657386}.project-repo-card code{overflow-wrap:anywhere;border-radius:8px;padding:9px 42px 9px 10px;color:#486078;background:#eef2f7;font-size:12px}.project-repo-address{position:relative;min-width:0}.project-repo-address button{position:absolute;top:50%;right:6px;transform:translateY(-50%);width:34px;height:30px;min-height:30px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:8px;padding:0;color:#2563eb;background:#e8f0ff}.project-module-record-wrap{border:1px solid #edf1f6;border-radius:8px;background:#fbfcfe}.project-module-record-table{min-width:980px;table-layout:auto}.project-module-record-table th,.project-module-record-table td{min-width:110px;vertical-align:middle}.project-module-record-table th:first-child,.project-module-record-table td:first-child{min-width:180px}.project-module-record-table th:last-child,.project-module-record-table td:last-child{min-width:180px}.project-module-record-table .clickable-row{cursor:pointer}.project-module-record-table .clickable-row:hover{background:#f4f8ff}.project-module-record-table strong,.project-module-record-table span{display:block}.project-module-record-table span{margin-top:4px;color:#657386}.project-module-project-cell strong{color:#17202a}.project-module-project-cell span{overflow-wrap:anywhere}.project-detail-summary-panel{display:grid;align-content:center;align-items:center;padding:8px 16px}.project-detail-head{width:100%;min-height:42px;display:flex;align-items:center;justify-content:space-between;gap:18px}.project-detail-summary-panel .project-detail-head{margin-bottom:0}.project-detail-title{min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px}.project-detail-head h2{margin:0;font-size:16px;line-height:1.2;white-space:nowrap}.project-detail-head span{display:inline;color:#657386;line-height:1.2}.project-detail-address{min-width:0;flex:0 1 560px}.project-detail-address code{min-height:34px;display:flex;align-items:center;overflow:hidden;border-radius:8px;padding:0 46px 0 12px;color:#17202a;background:#f7f9fc;text-overflow:ellipsis;white-space:nowrap}.project-detail-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start}.record-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.record-section-head h2{margin:0;font-size:16px;line-height:1.25}.record-section-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.record-section-head .primary{min-height:34px;padding:0 10px}.column-customize-button{min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #d7dee9;border-radius:8px;padding:0 10px;color:#19324d;background:#fff;font-weight:700}.project-record-form{display:grid;gap:12px;margin-bottom:14px;padding:12px;border:1px solid #edf1f6;border-radius:8px;background:#fbfcfe}.project-record-form label{display:grid;gap:7px;color:#4f5f72;font-size:13px}.project-record-note textarea{min-height:84px}.project-record-actions,.record-card-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.project-record-table-wrap{border:1px solid #edf1f6;border-radius:8px;background:#fbfcfe}.project-record-table{min-width:920px;table-layout:fixed}.project-record-table th,.project-record-table td{vertical-align:middle}.project-record-table th:first-child,.project-record-table td:first-child{width:170px}.project-record-table th:nth-child(2),.project-record-table td:nth-child(2){width:190px}.project-record-table th:nth-last-child(3),.project-record-table td:nth-last-child(3){width:118px}.project-record-table th:nth-last-child(2),.project-record-table td:nth-last-child(2){width:180px}.project-record-table th:last-child,.project-record-table td:last-child{width:92px;text-align:right}.project-record-table strong{display:block;overflow-wrap:anywhere}.project-record-table td{color:#657386;font-size:13px;line-height:1.45;overflow-wrap:anywhere}.project-record-table td:first-child{color:#17202a;font-size:14px}.project-record-table .badge{min-height:26px;border-radius:999px;padding:0 10px}.project-record-status-block{display:inline-flex;flex-direction:column;align-items:flex-start;gap:6px}.project-current-status-time{color:#657386;font-size:12px;line-height:1.3;white-space:nowrap}.project-record-table .clickable-row{cursor:pointer}.project-record-table .clickable-row:hover{background:#f4f8ff}.custom-record-table{min-width:max(760px,100%);table-layout:auto}.custom-record-table th,.custom-record-table td{min-width:96px}.custom-record-table .project-record-index-cell{width:64px;text-align:center}.custom-record-table .project-record-name-cell{width:180px}.custom-record-table .project-record-note-display-cell{min-width:180px;width:220px}.wechat-record-table{min-width:max(920px,100%);table-layout:auto}.wechat-record-table .wechat-index-cell{width:64px;text-align:center}.wechat-record-table th,.wechat-record-table td{min-width:96px}.wechat-record-table .wechat-name-cell{width:160px}.wechat-record-table .wechat-note-cell{min-width:180px;width:220px}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:20px;background:#0f172a57}.column-dialog{width:min(560px,100%);border:1px solid #edf1f6;border-radius:8px;padding:18px;background:#fff;box-shadow:0 18px 50px #0f172a2e}.column-dialog-head,.column-dialog-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.column-dialog-head h3{margin:0;font-size:18px;line-height:1.25}.column-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.column-picker label{min-height:38px;display:flex;align-items:center;gap:8px;border:1px solid #edf1f6;border-radius:8px;padding:0 10px;color:#344256;background:#fbfcfe;font-size:13px}.column-picker input{min-height:auto;width:16px;height:16px;padding:0}.column-dialog-actions{justify-content:flex-end;border-top:1px solid #edf1f6;padding-top:14px}.project-detail-head,.wechat-detail-head{margin-bottom:18px}.project-detail-head h3,.wechat-detail-head h3{margin:0;font-size:18px;line-height:1.25}.project-detail-form,.wechat-detail-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.project-detail-form label,.wechat-detail-form label{display:grid;gap:8px;color:#4f5f72;font-size:13px}.wechat-switch-field{align-content:start}.switch-control{min-height:40px;width:fit-content;display:inline-flex;align-items:center;gap:10px;border:1px solid #d7dee9;border-radius:8px;padding:0 12px;color:#17202a;background:#fff}.switch-control input{min-height:auto;width:18px;height:18px;padding:0}.project-detail-note,.project-detail-actions,.project-status-time-editor,.wechat-detail-note,.wechat-detail-actions{grid-column:1 / -1}.project-status-time-editor{display:grid;gap:10px}.project-status-time-title{color:#4f5f72;font-size:13px}.project-status-time-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.project-status-time-grid label{min-width:0}.project-detail-note textarea,.wechat-detail-note textarea{min-height:130px}.project-detail-actions,.wechat-detail-actions{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid #edf1f6;padding-top:14px}.project-record-note-cell{white-space:pre-wrap}.project-record-list{display:grid;gap:10px}.project-record-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;border:1px solid #edf1f6;border-radius:8px;padding:12px;background:#fbfcfe}.project-record-card strong,.project-record-card span{display:block}.project-record-card span,.project-record-card p{margin:5px 0 0;color:#657386;font-size:13px;line-height:1.45}.project-record-card p{white-space:pre-wrap;overflow-wrap:anywhere}.project-status-times{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.project-status-times span{min-height:24px;display:inline-flex;align-items:center;border-radius:999px;padding:0 8px;color:#657386;background:#edf1f6;font-size:12px}.project-record-card .record-card-actions{grid-column:1 / -1}.segmented{display:inline-flex;min-height:36px;border:1px solid #d7dee9;border-radius:8px;overflow:hidden;background:#fff}.segmented button{min-width:58px;border:0;padding:0 12px;color:#657386;background:transparent}.segmented button.active{color:#fff;background:#2563eb}.empty{display:grid;place-items:center;min-height:112px;color:#7a8797;border:1px dashed #d7dee9;border-radius:8px;background:#fbfcfe}.alert{margin-bottom:18px;border:1px solid #ffd9b0;border-radius:8px;padding:12px 14px;color:#92400e;background:#fff7ed}.login-layout{min-height:100vh;display:grid;place-items:center;padding:24px;background:#eef4fa}.login-panel{width:min(100%,420px);display:grid;gap:16px;padding:28px}.login-panel label{display:grid;gap:7px;color:#4f5f72;font-size:13px}.login-panel .primary{width:100%}@media(max-width:980px){.shell{grid-template-columns:1fr}.sidebar{position:static;height:auto}.nav{grid-template-columns:repeat(2,minmax(0,1fr))}.logout{margin-top:0}.topbar,.permission-summary-grid,.account-info-grid{grid-template-columns:1fr;display:grid}.detail-profile dl{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar.actionbar{display:flex;flex-wrap:wrap}.project-status-time-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-detail-head{align-items:stretch;flex-direction:column}.project-detail-address{flex-basis:auto;width:100%}}@media(max-width:620px){.content{padding:18px}.nav,.project-status-time-grid,.detail-profile dl{grid-template-columns:1fr}.project-add-form,.project-status-time-grid,.permission-toolbar{align-items:stretch}.project-add-form>*,.permission-toolbar>*{width:100%}.project-add-form,.user-create-dialog-form,.wechat-detail-form,.project-detail-grid{grid-template-columns:1fr}}
