:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;color:#263443;background:#f4f6f8;font-size:14px;line-height:1.5}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.62}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #80b3ed;outline-offset:2px}[hidden]{display:none!important}.topbar{background:#fff;border-bottom:1px solid #dce3ea}.top-inner{max-width:1220px;min-height:62px;margin:auto;padding:0 28px;display:flex;align-items:center;gap:12px}.brand-mark{width:32px;height:32px;display:grid;place-items:center;background:#235fa4;color:white;border-radius:4px;font-weight:700}.top-inner strong{font-size:16px}.top-spacer{flex:1}#account-name{color:#667789}.shell{max-width:1220px;margin:auto;padding:30px 28px 80px}.auth-view{width:min(100%,410px);margin:60px auto;background:white;border:1px solid #dce3ea;border-radius:6px;padding:30px}.auth-view h1{font-size:22px;margin:0 0 8px}.subtle,.help{color:#667789}.subtle{margin:4px 0 0}.help{font-size:12px;margin:5px 0 0;display:block}.form-stack{display:grid;gap:18px;margin-top:25px}label{display:block;font-weight:600}input:not([type=file]),select,textarea{display:block;width:100%;margin-top:6px;padding:9px 11px;border:1px solid #bdc9d4;border-radius:4px;background:white;color:#263443;min-height:40px}textarea{min-height:72px;resize:vertical}.primary,.quiet,.text-button,.action{border-radius:4px;min-height:38px;padding:8px 14px;border:1px solid #b9c9d9;background:white;color:#235fa4;font-weight:600}.primary{border-color:#235fa4;background:#235fa4;color:white}.primary:hover{background:#194e89}.quiet:hover,.action:hover{background:#edf4fb}.text-button{border:0;padding:4px 8px;min-height:30px}.identity{display:flex;justify-content:space-between;align-items:flex-end;gap:14px;padding:2px 0 24px}.identity-label{font-size:12px;font-weight:700;color:#235fa4}.identity h1{font-size:25px;line-height:1.2;margin:6px 0}.identity p{margin:0;color:#667789}.identity-time{font-size:12px;color:#667789;white-space:nowrap}.tabs{display:flex;gap:24px;border-bottom:1px solid #d2dce5}.tabs button{border:0;border-bottom:3px solid transparent;background:transparent;color:#667789;font-weight:600;padding:11px 2px;min-width:72px}.tabs button.active{border-bottom-color:#235fa4;color:#235fa4}.panel{padding:28px 0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px}.section-head h2,.panel>h2{font-size:19px;margin:0}.section-head .subtle{font-size:13px}.toolbar{display:flex;align-items:end;gap:12px;margin-bottom:18px}.toolbar label{font-size:12px;color:#667789}.search-label{width:min(100%,340px)}.filter-label{width:145px}.records-wrap{background:white;border:1px solid #dce3ea;border-radius:5px;overflow-x:auto}.records-table{width:100%;border-collapse:collapse;table-layout:fixed}.records-table th{text-align:left;background:#f8fafc;color:#627487;font-size:12px;font-weight:600}.records-table th,.records-table td{padding:16px 18px;border-bottom:1px solid #e4e9ee;vertical-align:top}.records-table tr:last-child td{border-bottom:0}.records-table th:nth-child(1){width:26%}.records-table th:nth-child(2){width:23%}.records-table th:nth-child(3){width:12%}.records-table th:nth-child(4){width:12%}.records-table th:nth-child(5){width:27%}.reason{font-weight:600;overflow-wrap:anywhere}.record-id{font-size:11px;color:#82919e;margin-top:5px}.time-range{font-size:13px;white-space:nowrap}.time-range span{display:block}.time-range span+span{color:#667789}.status-pill{display:inline-block;border-radius:3px;padding:2px 7px;background:#e9f2fa;color:#235fa4;font-weight:600;font-size:12px}.status-pill.pending{background:#fff4e7;color:#915317}.status-pill.rejected{background:#fcebec;color:#a44449}.sharing{color:#246b56;font-weight:600}.sharing.off{color:#8c5360}.actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.action{font-size:12px;min-height:30px;padding:4px 7px;white-space:nowrap}.action.danger{color:#9b4448}.empty{padding:40px 15px;text-align:center;color:#667789}.message{padding:10px 12px;border-left:3px solid #235fa4;background:#eaf2fa;color:#263443;margin:12px 0}.message.error,.form-error{border-left-color:#ac424b;background:#fff0f1;color:#922b35}.form-error{margin:0;padding:10px 12px;border-left:3px solid #ac424b;font-weight:500}.notice{padding:9px 12px;background:#fff5e9;border-left:3px solid #bb7727;color:#76450d}.form-actions{display:flex;justify-content:flex-end;padding:22px 0}#profile-fields{display:grid;gap:24px;max-width:920px}.field-section{padding-bottom:24px;border-bottom:1px solid #dce3ea}.field-section h3{font-size:15px;margin:0 0 14px}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.advanced{padding-top:12px}.advanced summary,.snapshot summary{cursor:pointer;font-weight:600;color:#235fa4}.advanced[open] summary,.snapshot[open] summary{margin-bottom:14px}dialog{border:1px solid #d5dfe8;border-radius:6px;box-shadow:0 18px 55px #26344338;width:min(690px,calc(100% - 24px));max-height:min(90vh,900px);padding:0;color:#263443}dialog::backdrop{background:#1b2b3d99}.editor-form{display:flex;flex-direction:column;max-height:min(90vh,900px)}.dialog-head,.dialog-actions{display:flex;align-items:center;justify-content:space-between;padding:15px 22px;background:#fff;flex:none}.dialog-head{border-bottom:1px solid #dce3ea}.dialog-head h2{margin:0;font-size:18px}.icon-button{width:34px;height:34px;display:grid;place-items:center;font-size:24px;line-height:1;color:#627487;border:0;background:transparent}.dialog-body{overflow:auto;display:grid;gap:17px;padding:22px}.dialog-actions{justify-content:flex-end;gap:10px;border-top:1px solid #dce3ea}.attachment-group{border:1px solid #dce3ea;border-radius:4px;margin:0;padding:14px}.attachment-group legend{font-weight:600;padding:0 4px}.attachments{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:10px}.attachment-item{display:grid;gap:5px;width:86px}.attachment-item img{width:86px;height:72px;object-fit:cover;border:1px solid #dce3ea;border-radius:3px}.attachment-item button{font-size:12px;background:white;border:1px solid #bdc9d4;border-radius:3px;color:#8d3e46}.upload-label input{margin-top:7px;max-width:100%}.snapshot{border-top:1px solid #dce3ea;padding-top:16px}.snapshot .profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#security-view>button{margin-top:24px}
@media(max-width:850px){.records-table{table-layout:auto;min-width:800px}.profile-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.top-inner{padding:0 16px}.shell{padding:18px 16px 55px}.identity{align-items:flex-start;flex-direction:column;gap:7px}.identity h1{font-size:22px}.tabs{gap:15px}.tabs button{min-width:66px}.section-head{align-items:flex-start}.section-head h2{font-size:18px}.toolbar{flex-wrap:wrap}.search-label{width:100%}.filter-label{flex:1}.records-wrap{background:transparent;border:0;overflow:visible}.records-table,.records-table tbody,.records-table tr,.records-table td{display:block;width:100%;min-width:0}.records-table thead{display:none}.records-table tr{background:#fff;border:1px solid #dce3ea;border-radius:5px;margin-bottom:10px;padding:12px}.records-table td{padding:5px 0;border:0;display:flex;gap:12px}.records-table td::before{content:attr(data-label);width:70px;flex:none;color:#667789;font-size:12px;padding-top:2px}.records-table td:last-child{padding-top:11px;border-top:1px solid #e4e9ee;margin-top:6px}.actions{gap:5px}.profile-grid,.snapshot .profile-grid,.field-grid{grid-template-columns:1fr}.auth-view{margin:35px auto;padding:24px}.dialog-body{padding:16px}.dialog-head,.dialog-actions{padding:13px 16px}}
