:root{--ink:#142b32;--muted:#607079;--teal:#0f766e;--teal-dark:#115e59;--teal-soft:#e8f5f1;--bg:#f5f8f8;--line:#dce5e5;--surface:#fff;--yellow:#fff0a3;--red:#b42338;--red-soft:#ffe4e8;--shadow:0 10px 36px #12302b09;font-family:"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",system-ui,sans-serif;color:var(--ink);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--bg);font-size:16px;line-height:1.6}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:underline}button svg,a svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #53aaa2;outline-offset:3px}input,select{width:100%;min-height:44px;border:1px solid #c8d5d5;border-radius:8px;padding:9px 12px;background:#fff;color:var(--ink)}input::placeholder{color:#71818a}input[type=checkbox]{appearance:auto;width:17px;min-height:17px;height:17px;accent-color:var(--teal);padding:0;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.35}h1{font-size:28px;margin-bottom:0;letter-spacing:-.4px}h2{font-size:22px;margin-bottom:8px}h3{font-size:18px}p{margin-bottom:12px}strong{font-weight:650}[hidden]{display:none!important}.muted{color:var(--muted);font-size:14px}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;top:-70px;left:16px;background:var(--teal-dark);color:#fff;padding:10px 20px;border-radius:6px;z-index:100}.skip-link:focus{top:12px}.notice{position:fixed;top:18px;left:50%;transform:translateX(-50%);z-index:80;background:#153f3b;color:white;padding:12px 20px;border-radius:10px;box-shadow:0 8px 25px #163d3733;max-width:min(90vw,600px);font-size:14px}.notice.error{background:#922b3e}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 17px;border:1px solid transparent;border-radius:8px;font-size:14px;font-weight:600;white-space:nowrap;line-height:1.5;transition:background .15s,border-color .15s;vertical-align:middle}.button:hover{text-decoration:none}.button.primary{background:var(--teal);color:#fff}.button.primary:hover{background:var(--teal-dark)}.button.secondary{background:#fff;border-color:#cbd9d9;color:#28474b}.button.secondary:hover{background:#eff6f5;border-color:#9dbdb8}.button.wide{width:100%}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:0;border-radius:8px;background:transparent;color:inherit}.icon-button:hover{background:#ffffff17}.back-button{min-height:44px;background:none;border:0;padding:8px 0;color:var(--teal);font-weight:600;margin-bottom:14px}.segmented{display:flex;padding:4px;border:1px solid var(--line);background:#edf3f2;border-radius:10px;gap:2px}.segmented button{border:0;background:transparent;padding:9px 16px;border-radius:7px;min-height:40px;color:#52676c;font-size:14px;white-space:nowrap}.segmented button[aria-pressed=true]{background:#fff;color:var(--teal-dark);font-weight:650;box-shadow:0 1px 4px #153d3610}.check-label{display:flex;align-items:center;gap:9px;color:#425960;font-size:14px;min-height:44px;white-space:nowrap}.field{margin-bottom:17px}.field label{display:block;font-size:14px;font-weight:600;margin-bottom:7px}.field-note{color:var(--muted);font-size:13px;margin:7px 0 0}.form-error,.inline-error{color:#9e1e38;background:#fff0f2;border:1px solid #f2cbd2;border-radius:8px;padding:10px 12px;font-size:14px;margin-bottom:15px}.auth-view{min-height:100vh;display:flex;justify-content:center;align-items:center;padding:32px 20px;background:radial-gradient(ellipse at 50% 0,#e5f3ef 0,transparent 60%),var(--bg)}.auth-card{width:430px;max-width:100%;padding:34px;background:white;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:12px;background:var(--teal);color:#fff;margin-bottom:18px}.brand-mark svg{width:32px;height:32px;fill:currentColor}.brand-mark.small{width:32px;height:32px;border-radius:8px;margin:0;flex-shrink:0}.brand-mark.small svg{width:23px;height:23px}.auth-card h1{font-size:28px;margin-bottom:9px}.auth-intro{font-size:15px;color:var(--muted);margin-bottom:20px}.auth-card .segmented{margin:18px 0 22px}.auth-card .segmented button{flex:1}.auth-footnote{color:#75858b;font-size:12px;margin:22px 0 0;text-align:center}.workspace{display:flex;min-height:100vh}.sidebar{width:234px;background:#103f3d;color:#e9f3f0;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;padding:30px 18px 16px}.brand{color:#fff;display:flex;align-items:center;gap:10px;padding:0 6px;font-weight:700;font-size:18px;letter-spacing:.2px}.brand:hover{text-decoration:none}.workspace-label{font-size:11px;letter-spacing:2px;text-transform:uppercase;color:#9dbeba;margin:32px 13px 11px}.navigation{display:flex;flex-direction:column;gap:7px}.nav-item{display:flex;align-items:center;gap:11px;width:100%;min-height:48px;padding:10px 13px;border:0;border-radius:8px;background:transparent;color:#c1d6d1;text-align:left;font-size:15px}.nav-item svg{width:19px;height:19px}.nav-item:hover{background:#ffffff0d}.nav-item.active{background:#ffffff16;color:#fff;font-weight:600}.nav-count{margin-left:auto;font-size:12px;min-width:24px;padding:0 6px;border-radius:5px;text-align:center;background:#ffffff13}.sidebar-note{border-top:1px solid #ffffff1b;margin:30px 12px 0;padding-top:20px;color:#a8c4be;font-size:12px}.sidebar-note strong{color:#dbeae6;display:block;margin-bottom:7px;font-size:13px}.sidebar-note p{line-height:1.8}.user-panel{margin-top:auto;display:flex;align-items:center;gap:10px;border-top:1px solid #ffffff20;padding:18px 5px 0}.avatar{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:36px;height:36px;background:#ffffff20;border-radius:50%;color:white;font-size:14px;font-weight:600}.user-copy{min-width:0;flex:1;display:flex;flex-direction:column;line-height:1.5}.user-copy strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}.user-copy span{font-size:11px;color:#b5cdc6}.user-panel .icon-button{min-width:32px}.main{margin-left:234px;flex:1;min-width:0;padding:32px 40px 60px}.topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:17px}.eyebrow{font-size:12px;color:var(--teal);font-weight:600;margin-bottom:5px}.topbar .button{font-weight:500}.page-description{color:var(--muted);font-size:14px;max-width:800px;margin-bottom:25px}.record-summary{display:flex;gap:30px;align-items:center;padding:20px 24px;background:white;border:1px solid var(--line);border-radius:12px;margin-bottom:24px}.record-summary>div{min-width:140px;display:flex;flex-direction:column;border-right:1px solid var(--line);padding-right:30px}.record-summary span{font-size:13px;color:var(--muted)}.record-summary strong{font-size:28px;line-height:1.4;color:var(--ink);margin-top:2px}.record-summary>p{font-size:13px;color:var(--muted);margin:0;line-height:1.8}.record-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.search-field{position:relative;width:min(440px,100%)}.search-field svg{position:absolute;top:13px;left:13px;width:19px;height:19px;fill:none;stroke:#718589;stroke-width:1.8}.search-field input{padding-left:41px;background:white;font-size:14px}.table-wrap{border:1px solid var(--line);border-radius:11px;overflow:auto;background:white}.record-table{border-collapse:collapse;width:100%;font-size:14px;text-align:left}.record-table th{color:#65767e;font-weight:500;font-size:12px;white-space:nowrap;background:#f9fbfb;padding:13px 18px;border-bottom:1px solid var(--line)}.record-table td{padding:19px 18px;border-bottom:1px solid #ebf0ef;vertical-align:middle}.record-table tr:last-child td{border-bottom:0}.record-table td:first-child{min-width:240px}.record-table tbody tr:hover{background:#fcfefd}.record-title{background:transparent;border:0;padding:0;color:var(--ink);font-weight:650;text-align:left;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.record-title:hover{color:var(--teal);text-decoration:underline}.record-subtitle{font-size:12px;color:#6b7c82;margin-top:5px}.cell-time{white-space:nowrap;font-size:12px;color:var(--muted)}.table-actions{display:flex;align-items:center;gap:13px;white-space:nowrap}.text-button{background:none;border:0;color:var(--teal);padding:7px 0;min-height:36px;font-weight:600;font-size:13px}.table-actions a{font-size:13px;display:inline-flex;align-items:center;min-height:36px;gap:3px}.status-pill{font-size:12px;font-weight:500;border-radius:5px;padding:4px 7px;white-space:nowrap;display:inline-block;background:#edf3f2;color:#566c6b}.status-pill.changed{background:#fff3c4;color:#805b0f}.status-pill.off{background:#f4eeee;color:#835e64}.empty-state{text-align:center;background:white;border:1px dashed #cbd9d7;border-radius:12px;padding:65px 20px}.empty-symbol{display:flex;align-items:center;justify-content:center;margin:0 auto 18px;background:#ecf5f1;width:48px;height:48px;color:#56887a;border-radius:12px;font-size:26px;font-weight:300}.empty-state h2{font-size:17px;color:#344f54;margin-bottom:8px}.empty-state p{font-size:14px;color:var(--muted);margin-bottom:0}.loading-state{text-align:center;padding:45px 20px;color:var(--muted);font-size:14px}.detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:15px}.detail-heading h2{font-size:24px;overflow-wrap:anywhere;max-width:850px}.detail-heading p{margin-bottom:0}.detail-status{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:25px}.count-tags{display:flex;gap:9px;flex-wrap:wrap}.count-tags span{font-size:12px;border:1px solid #d9e4e0;padding:3px 9px;border-radius:5px;color:#526b69;background:#f9fcfa}.change-banner{display:flex;justify-content:space-between;align-items:center;gap:24px;border:1px solid #d1e4de;background:#eef7f3;padding:18px 20px;border-radius:11px;margin-bottom:21px}.change-banner strong{font-size:15px;color:#245e54}.change-banner p{font-size:12px;color:#57766f;margin:5px 0 0;line-height:1.8;max-width:760px}.preview-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:12px}.preview-tabs button{font-size:13px}.preview-meta{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:16px;font-size:12px}.preview-meta .muted{font-size:12px}.legend{display:flex;gap:18px;color:#647679;font-size:12px}.legend span{display:inline-flex;align-items:center;gap:6px}.legend i{display:inline-block;width:12px;height:12px;border-radius:3px;border:1px solid #00000010}.legend-insert{background:var(--yellow)}.legend-delete{background:var(--red-soft)}.document-preview{max-width:1000px;margin:0 auto;background:white;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);padding:36px 48px 70px;min-height:300px;overflow-wrap:anywhere}.chat-paragraph{margin:0 0 9px;white-space:pre-wrap;font-size:15px;line-height:1.75;color:#182c33;position:relative}.chat-paragraph.header{border-top:1px solid #e9eeee;padding-top:16px;margin-top:19px;margin-bottom:6px;font-size:12px;line-height:1.6;color:#7d8c96}.chat-paragraph.header:first-child{border-top:0;margin-top:0;padding-top:0}.chat-paragraph.title{font-size:23px;font-weight:700;margin-bottom:16px;line-height:1.5}.chat-paragraph.photo,.chat-paragraph.video-preview{margin-top:8px;margin-bottom:13px}.chat-image{display:inline-block;max-width:100%;height:auto;vertical-align:middle;border-radius:4px}.chat-image.emoji{width:1.07em!important;height:1.07em!important;max-width:none;border-radius:0;vertical-align:-.1em;object-fit:contain}.media-link{display:inline-block;max-width:100%;line-height:0}.chat-link{color:#176b99;text-decoration:underline;text-underline-offset:3px}.image-failed{display:inline-block;padding:6px 10px;background:#f1f4f4;border:1px dashed #ced9d7;color:#748582;font-size:12px;white-space:normal}.chat-paragraph.added{border-left:3px solid #d3ac22;padding-left:13px;margin-left:-16px}.chat-paragraph.removed{border-left:3px solid #d5919c;padding-left:13px;margin-left:-16px}.text-insert,.chat-paragraph.added .plain-run{background:var(--yellow);box-shadow:0 0 0 2px var(--yellow);border-radius:2px}.text-delete,.chat-paragraph.removed .plain-run{background:var(--red-soft);color:var(--red);text-decoration:line-through;text-decoration-thickness:1px;text-underline-offset:3px}.media-insert{outline:3px solid #e5c957;outline-offset:2px}.media-delete{opacity:.55;outline:2px solid #d5919c;outline-offset:2px}.preview-empty{text-align:center;padding:60px 15px;color:var(--muted);font-size:14px;white-space:normal}.removed-label{display:inline-block;font-size:10px;line-height:1.5;color:var(--red);background:#fff0f3;padding:1px 4px;border-radius:3px;margin-right:7px;vertical-align:middle}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:23px 26px;margin-bottom:25px}.panel-heading h2{font-size:18px}.panel-heading p{font-size:13px;color:var(--muted);margin-bottom:20px}.invite-form{display:flex;align-items:flex-end;gap:15px}.invite-form .field{margin-bottom:0;min-width:180px;flex:1}.invite-form .button{margin-bottom:0}.invite-result{margin-top:20px;padding:17px 18px;background:#f3f8f6;border:1px solid #d6e5de;border-radius:8px}.invite-result>label{display:block;font-size:12px;color:#5c746b;margin-bottom:8px}.invite-result>div{display:flex;gap:10px}.invite-result input{font-family:ui-monospace,monospace;font-size:14px;background:white;min-width:0}.invite-result p{font-size:12px;margin:8px 0 0}.panel .form-error{margin:18px 0 0}.simple-note{border:1px solid var(--line);border-radius:9px;padding:16px 20px;background:#fff;margin-bottom:23px;color:var(--muted);font-size:14px}.member-name{font-weight:600}.member-role{font-size:13px}.profile-caption{font-size:12px;color:#71817d;margin-top:3px}
.sync-state{margin:-7px 0 20px;padding:12px 16px;border:1px solid #d1e4de;border-radius:8px;background:#f7fbf9;color:#42665f;font-size:13px;line-height:1.8}
.topbar-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px}.password-dialog{width:min(440px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow:auto;padding:28px;border:1px solid var(--line);border-radius:14px;color:var(--ink);background:white;box-shadow:0 24px 80px #103f3d33}.password-dialog::backdrop{background:#102f3b66}.password-dialog h2{margin-bottom:8px}.password-dialog>.muted{margin-bottom:24px}.password-dialog .field:last-of-type{margin-bottom:0}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}
@media(min-width:1600px){.main{padding-left:60px;padding-right:60px}.record-table td{padding-top:22px;padding-bottom:22px}}
@media(max-width:1100px){.sidebar{width:205px;padding-left:13px;padding-right:13px}.brand{font-size:16px;gap:8px}.main{margin-left:205px;padding:28px 26px 45px}.record-summary{gap:20px;padding:18px 20px}.record-summary>div{min-width:125px;padding-right:20px}.record-summary>p{display:none}.record-table th,.record-table td{padding-left:14px;padding-right:14px}.document-preview{padding:28px 32px 60px}.change-banner{align-items:flex-start}.change-banner .button{margin-top:3px}.preview-toolbar{gap:12px}.segmented button{padding-left:12px;padding-right:12px}}
@media(max-width:760px){.workspace{display:block}.sidebar{position:relative;width:100%;padding:16px 18px 0;display:grid;grid-template-columns:1fr auto;gap:15px}.brand{font-size:17px}.workspace-label,.sidebar-note{display:none}.navigation{grid-column:1/-1;grid-row:2;flex-direction:row;gap:8px}.nav-item{width:auto;min-width:130px;min-height:44px;padding:9px 13px;border-bottom-left-radius:0;border-bottom-right-radius:0}.nav-count{margin-left:10px}.user-panel{margin:0;padding:0;border:0;gap:7px}.user-copy{display:none}.avatar{width:31px;height:31px}.main{margin-left:0;padding:23px 18px 40px}.topbar{margin-bottom:14px}.topbar h1{font-size:24px}.topbar .button{padding-left:11px;padding-right:11px;font-size:12px}.topbar .button svg{display:none}.page-description{font-size:13px;margin-bottom:18px}.record-summary{padding:15px 20px;margin-bottom:18px;gap:24px}.record-summary>div{min-width:0;flex:1;border:0;padding:0}.record-summary span{font-size:12px}.record-summary strong{font-size:25px}.record-toolbar{gap:12px;align-items:stretch;flex-direction:column}.record-toolbar .check-label{min-height:26px}.search-field{width:100%}.record-table th:nth-child(3),.record-table td:nth-child(3){display:none}.record-table td:first-child{min-width:180px}.record-table th,.record-table td{padding:14px 12px}.record-subtitle{font-size:11px}.table-actions{flex-direction:column;gap:0;align-items:flex-start}.table-actions>*{min-height:30px}.detail-heading{gap:13px;flex-direction:column;margin-bottom:14px}.detail-heading h2{font-size:21px}.detail-heading .button{font-size:13px;align-self:flex-start}.detail-meta{font-size:12px}.detail-status{gap:10px;margin-bottom:17px}.detail-status>.muted{font-size:12px}.change-banner{padding:15px;gap:13px;flex-direction:column}.change-banner .button{align-self:flex-start;margin:0;font-size:12px;min-height:39px}.change-banner p{font-size:12px}.preview-toolbar{flex-direction:column;align-items:stretch;gap:8px}.preview-tabs{justify-content:space-between}.preview-tabs button{padding:8px 7px;flex:1;font-size:12px}.preview-toolbar .check-label{min-height:32px}.preview-meta{flex-direction:column;align-items:flex-start;gap:6px}.document-preview{padding:24px 20px 45px;border-radius:8px}.chat-paragraph{font-size:14px;line-height:1.8}.chat-paragraph.header{font-size:11px}.chat-paragraph.title{font-size:20px}.chat-paragraph.added,.chat-paragraph.removed{margin-left:-10px;padding-left:7px}.panel{padding:20px 17px}.invite-form{align-items:stretch;flex-direction:column;gap:13px}.invite-form .field{min-width:0}.invite-form .button{align-self:flex-start}.invite-result{padding:13px}.invite-result>div{flex-direction:column}.invite-result button{align-self:flex-start}.auth-card{padding:28px 24px}.auth-card h1{font-size:25px}.auth-view{padding:22px 16px}.notice{width:max-content;max-width:calc(100vw - 32px)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
