:root{font-family:Inter,"Microsoft YaHei","PingFang SC",Arial,sans-serif;color:#1c292b;background:#f6f7f5;letter-spacing:0;font-size:14px}
*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}[hidden]{display:none!important}
.eyebrow{font-size:10px;font-weight:700;color:#63807a;letter-spacing:1.2px}.brand-mark{width:42px;height:42px;display:grid;place-items:center;background:#0e7569;color:#fff;font-size:22px;font-weight:800;border-radius:6px}.brand-mark.small{width:28px;height:28px;font-size:15px;border-radius:4px}
.login-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(90deg,#f6f7f5 0 68%,#e7eeea 68%)}.login-panel{width:min(100%,380px);background:#fff;border:1px solid #dae2de;border-radius:6px;padding:34px;box-shadow:0 10px 28px rgba(26,48,43,.08)}.login-heading{margin:22px 0 34px}.login-heading h1{font-size:27px;line-height:1.25;margin:7px 0 0;font-weight:680}.login-form{display:grid;gap:9px}.login-form label,.analysis-form>label,.project-control label{font-size:12px;font-weight:650;color:#475e59}.login-form input{height:43px;border:1px solid #cbd8d2;border-radius:4px;padding:0 12px;background:#fff;margin-bottom:10px;outline:none}.login-form input:focus,.analysis-form textarea:focus,.project-control select:focus{border-color:#0e7569;box-shadow:0 0 0 3px rgba(14,117,105,.12)}.primary-button{height:42px;border:1px solid #0e7569;border-radius:4px;background:#0e7569;color:#fff;font-weight:650;padding:0 20px}.primary-button:hover:not(:disabled){background:#0b6159}.login-form .primary-button{width:100%;margin-top:6px}.form-error{margin:6px 0 0;color:#ad433c;font-size:12px;line-height:1.5}
.topbar{height:58px;background:#fff;border-bottom:1px solid #dde5e1}.topbar-inner{max-width:1440px;height:100%;padding:0 30px;margin:auto;display:flex;align-items:center;justify-content:space-between}.app-brand{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:700}.account-actions{display:flex;align-items:center;gap:18px;color:#657b75;font-size:12px}.text-button{border:0;background:none;color:#0b6c62;padding:6px 0}.text-button:hover{text-decoration:underline}
.workspace{max-width:1440px;margin:auto;padding:31px 30px 50px}.workspace-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:27px}.workspace-head h1{margin:6px 0 0;font-size:23px;line-height:1.35;font-weight:680}.project-control{display:flex;align-items:center;gap:10px}.project-control select{min-width:185px;max-width:280px;height:36px;padding:0 28px 0 10px;border:1px solid #ccd9d3;border-radius:4px;background:#fff;color:#243532;outline:none}.workspace-grid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);border-top:2px solid #243a35;background:#fff;min-height:620px}.editor-region,.result-region{min-width:0;padding:26px 30px 34px}.editor-region{border-right:1px solid #e1e8e4}.section-heading{height:35px;display:flex;align-items:start;justify-content:space-between;gap:12px}.section-heading h2{font-size:15px;margin:0;font-weight:700}.branch-badge,.commit-label{font-size:11px;color:#667b75;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:50%}.branch-badge{background:#e7f0ec;color:#2e695e;padding:4px 7px;border-radius:3px}
.mode-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid #dce5e0;margin:4px 0 25px}.mode-tabs button{min-height:39px;border:0;border-bottom:2px solid transparent;background:none;color:#697b76;font-size:12px;font-weight:600;padding:7px 4px;white-space:nowrap}.mode-tabs button[aria-selected=true]{border-bottom-color:#0e7569;color:#075f55}.mode-tabs button:hover{color:#0e7569}.analysis-form{display:flex;flex-direction:column;gap:12px}.analysis-form textarea{width:100%;min-height:300px;resize:vertical;border:1px solid #cdd9d3;border-radius:4px;padding:14px;background:#fbfcfb;color:#20302d;line-height:1.65;outline:none}.analysis-form textarea::placeholder{color:#9aaca5}.file-row{min-height:35px;display:flex;align-items:center;gap:12px;flex-wrap:wrap;color:#6d827b;font-size:11px}.file-row>label{font-weight:600}.file-row input{max-width:240px;font-size:11px}.file-row input::file-selector-button{background:#fff;border:1px solid #cbd8d2;border-radius:3px;color:#32665c;padding:5px 9px;margin-right:8px;cursor:pointer}.file-row span{max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.form-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:2px}.muted{color:#84948e;font-size:11px}
.result-empty,.result-loading{height:420px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#91a19a;font-size:12px}.empty-rule{width:50px;height:2px;background:#d5e3dc;margin-bottom:12px}.loading-bar{width:100px;height:3px;background:linear-gradient(90deg,#d5e5dd,#0e7569,#d5e5dd);background-size:200% 100%;animation:slide 1.2s linear infinite}@keyframes slide{to{background-position:-200% 0}}.result-summary{background:#eaf3ee;border-left:3px solid #0e7569;padding:16px 18px;margin:6px 0 24px}.result-kicker{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#286e62;font-weight:700}.result-kicker span{color:#6a8279;font-weight:500}.result-summary p{margin:10px 0 0;font-size:14px;line-height:1.7;font-weight:600;white-space:pre-wrap;overflow-wrap:anywhere}.result-block{border-top:1px solid #e5ebe7;padding:17px 0 15px}.result-block h3{margin:0 0 10px;font-size:12px;color:#526961}.result-block p,.result-block li{font-size:12px;line-height:1.7;color:#354743;overflow-wrap:anywhere}.result-block p{margin:0;white-space:pre-wrap}.result-block ul,.result-block ol{margin:0;padding-left:20px}.result-block li+li{margin-top:6px}.secondary-button{height:34px;border:1px solid #b6cbc1;border-radius:4px;background:#fff;color:#0d6b60;font-size:12px;font-weight:600;padding:0 13px;margin-top:10px}.secondary-button:hover{background:#f0f7f3}
@media(max-width:900px){.workspace-grid{grid-template-columns:1fr}.editor-region{border-right:0;border-bottom:1px solid #e1e8e4}.result-empty,.result-loading{height:190px}.analysis-form textarea{min-height:230px}}@media(max-width:560px){.login-shell{background:#f6f7f5}.login-panel{box-shadow:none;padding:28px 22px}.topbar-inner{padding:0 16px}.workspace{padding:22px 16px 35px}.workspace-head{align-items:start;flex-direction:column;margin-bottom:20px}.project-control{width:100%;justify-content:space-between}.project-control select{flex:1;max-width:none}.editor-region,.result-region{padding:21px 17px 27px}.mode-tabs button{font-size:11px;white-space:normal;line-height:1.25}.branch-badge{max-width:56%}.account-actions{gap:10px}.app-brand{font-size:12px}}
.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;background:#fff;border-top:2px solid #243a35}.admin-section{min-width:0;padding:25px 30px 34px}.admin-section:first-child{border-right:1px solid #e1e8e4}.admin-section h2{font-size:15px;margin:0 0 22px}.admin-section>label,.admin-form>label,.admin-label{display:block;font-size:12px;font-weight:650;color:#475e59;margin-bottom:7px}.admin-section select,.admin-form input:not([type=checkbox]){width:100%;height:38px;background:#fff;border:1px solid #cbd8d2;border-radius:4px;padding:0 10px;outline:none}.admin-section select:focus,.admin-form input:not([type=checkbox]):focus{border-color:#0e7569;box-shadow:0 0 0 3px rgba(14,117,105,.12)}.admin-form{display:grid;gap:0;margin-top:21px}.admin-form input:not([type=checkbox]){margin-bottom:17px}.admin-form .primary-button{justify-self:start;margin-top:6px}.project-checks{display:flex;flex-wrap:wrap;gap:8px 15px;margin:2px 0 17px}.project-checks label{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:#40534d}.project-checks input{width:15px;height:15px;margin:0;accent-color:#0e7569;flex:none}.issued-password{margin:22px 0;padding:13px;background:#fff5df;border-left:3px solid #bb8a2d;display:flex;flex-direction:column;align-items:start;gap:7px;font-size:11px;color:#655128}.issued-password strong{font-size:14px;color:#26312e;overflow-wrap:anywhere}.issued-password button{margin-top:2px}.user-list{margin-top:26px;border-top:1px solid #dce5e0}.user-row{padding:14px 0;border-bottom:1px solid #e5ebe7}.user-row-head{display:flex;justify-content:space-between;gap:12px;margin-bottom:10px}.user-row-head strong{font-size:12px}.user-row-head span{font-size:11px;color:#789087}.user-row-actions{display:flex;flex-wrap:wrap;gap:8px}.user-row-actions button{margin-top:0}.user-row .project-checks{margin-bottom:11px}
@media(max-width:900px){.admin-grid{grid-template-columns:1fr}.admin-section:first-child{border-right:0;border-bottom:1px solid #e1e8e4}}@media(max-width:560px){.admin-section{padding:21px 17px 27px}}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.file-row .file-button{display:inline-flex;align-items:center;min-height:28px;padding:0 9px;border:1px solid #b6cbc1;border-radius:3px;color:#0d6b60;font-size:11px;font-weight:600;cursor:pointer}.file-row .file-button:hover{background:#f0f7f3}.file-row .file-button:has(+ input:focus-visible){outline:2px solid #0e7569;outline-offset:2px}.file-row #file-name{max-width:240px}
.login-language{display:flex;align-items:center;justify-content:flex-end;gap:8px;font-size:11px;color:#657b75}.language-select{height:30px;max-width:115px;border:1px solid #cbd8d2;border-radius:4px;background:#fff;color:#243532;padding:0 5px;font-size:11px;cursor:pointer}.language-select:focus-visible{outline:2px solid #0e7569;outline-offset:2px}
@media(max-width:560px){.topbar{height:auto;min-height:58px}.topbar-inner{min-height:58px;flex-wrap:wrap;gap:4px;padding-top:10px;padding-bottom:10px}.account-actions{width:100%;justify-content:flex-end;flex-wrap:wrap;gap:8px 12px}.account-actions #account-name{overflow:hidden;text-overflow:ellipsis;max-width:100px}.mode-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.mode-tabs button{white-space:normal;overflow-wrap:normal}}
