:root{font-family:Inter,"Microsoft YaHei","PingFang SC",sans-serif;color:#233959;background:#f4f6fa;font-size:14px;font-synthesis:none;--blue:#4c66cc;--line:#dce3ef;--muted:#8290a7}*{box-sizing:border-box}body{margin:0;min-width:1080px}button,input,textarea,select{font:inherit}button{border:1px solid #cdd8ee;background:#fff;color:#304b85;border-radius:6px;padding:8px 14px;cursor:pointer;white-space:nowrap}button:hover{background:#f0f4ff;border-color:#97abe7}button:disabled{opacity:.5;cursor:default}button.primary{background:var(--blue);color:white;border-color:var(--blue);box-shadow:0 2px 5px #4c66cc18}button.primary:hover{background:#3c55b8}input,textarea,select{border:1px solid #cdd8ee;border-radius:5px;padding:9px 10px;color:#233959;background:#fff;outline:none}input:focus,textarea:focus,select:focus{border-color:#637eda;box-shadow:0 0 0 3px #4c66cc15}textarea{resize:vertical;min-height:78px}label{display:flex;flex-direction:column;gap:8px}h1,h2,p{margin:0}h1{font-size:21px;font-weight:650}h2{font-size:19px}[hidden]{display:none!important}.app-header{height:68px;background:#fff;border-bottom:1px solid var(--line);padding:0 26px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:10px;font-size:17px}.brand-mark{display:grid;place-items:center;border-radius:10px;width:48px;height:48px;background:#4c66cc;color:white;font-size:25px;font-weight:700}.brand-mark.small{width:32px;height:32px;border-radius:7px;font-size:19px}.env{font-size:11px;background:#fff4d5;color:#9e6c12;padding:4px 7px;border-radius:4px;font-weight:400}.account{display:flex;align-items:center;gap:12px;font-size:13px}.role{background:#edf1fb;color:#5f74a9;padding:4px 7px;border-radius:4px;font-size:12px}.text-button{border:0;background:transparent;padding:6px 3px;color:#6a7894}.connection{color:#929bb0;font-size:12px}.connection.online{color:#329472}.connection.online:before{content:'●';margin-right:5px;font-size:9px}.navigation{display:flex;align-items:center;padding:0 26px;height:51px;background:#fff;gap:22px;border-bottom:1px solid var(--line)}.navigation button{border:0;border-radius:0;padding:15px 5px 14px;background:transparent;color:#6c7890;font-weight:500;height:51px}.navigation button.active{color:#4560c4;border-bottom:3px solid var(--blue)}main{padding:22px 24px 16px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;min-height:40px}.section-heading>div{display:flex;align-items:baseline;gap:18px}.section-heading span{font-size:13px;color:var(--muted)}.toolbar{display:flex;gap:9px;padding:15px 16px;background:#fff;border:1px solid var(--line);border-bottom:0;border-radius:8px 8px 0 0;align-items:center}.search-box{width:450px;display:flex;align-items:center;border:1px solid #cdd8ee;border-radius:6px;padding-left:10px;gap:7px}.search-box input{border:0;box-shadow:none;flex:1;min-width:0;padding:9px 8px}.search-box span{font-size:23px;line-height:20px;color:#8495b6}.checkbox{flex-direction:row;align-items:center;margin-left:auto;font-size:13px;gap:6px;color:#687c9c}.checkbox input{accent-color:var(--blue)}.filters{display:flex;gap:12px;align-items:flex-end;padding:0 16px 16px;background:white;border-inline:1px solid var(--line)}.filters label{gap:5px;font-size:12px;color:var(--muted)}.table-scroll{height:calc(100vh - 304px);min-height:300px;overflow:auto;border:1px solid var(--line);background:white;scrollbar-color:#aebbd1 #f0f3f8;scrollbar-width:thin}table{border-spacing:0;border-collapse:separate;width:100%;font-size:12px}#player-table{table-layout:fixed;min-width:4220px}th{text-align:center;font-weight:600;color:#7183a2;background:#f7f9ff;border-bottom:1px solid var(--line);border-right:1px solid var(--line);padding:10px 12px;white-space:nowrap;height:40px}#player-table thead th{position:sticky;top:0;z-index:3}td{padding:10px 12px;border-bottom:1px solid #eaf0f6;color:#294777;height:43px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#fff}tr:nth-child(even) td{background:#f7f9fc}tr.unowned td{background:#fff8da}tr:hover td{background:#edf3ff}#player-table th:first-child,#player-table td:first-child{width:64px;position:sticky;left:0;z-index:2}#player-table th:nth-child(2),#player-table td:nth-child(2){width:84px;position:sticky;left:64px;z-index:2;box-shadow:2px 0 3px #23395908}#player-table th:first-child,#player-table th:nth-child(2){z-index:5}#player-table th:nth-child(3){width:184px}#player-table th{width:152px}#player-table th:nth-child(6){width:100px}.row-action{padding:6px 8px;font-size:12px;background:#edf2ff;color:#3559c7;border:0}.owner-empty{color:#986f12;background:#fff0ad;padding:4px 7px;border-radius:4px}.pagination{display:flex;gap:12px;align-items:center;justify-content:flex-end;padding:11px 14px;background:#fff;border:1px solid var(--line);border-top:0;border-radius:0 0 8px 8px;font-size:12px;color:#7285a4;min-height:54px}.pagination select{padding:4px 8px;font-size:12px}.pagination button{padding:5px 9px;font-size:12px}.empty-row{padding:65px 20px;color:#8b99ad;text-align:left}.panel{background:#fff;border:1px solid var(--line);border-radius:8px;padding:24px}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 24px}.form-grid label{font-size:13px}.form-grid label span{color:#8b9ab2;font-size:11px}.form-grid .wide{grid-column:span 2}.form-footer{display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid var(--line);padding-top:20px;margin-top:26px}.form-footer>span{font-size:12px;color:#8390a7}.editor{max-width:1280px}.inline-form{display:flex;align-items:flex-end;gap:16px;margin:20px 0 26px}.inline-form>span{padding-bottom:9px;color:#8290a7;font-size:13px}.name-rule{padding:14px 16px;background:#edf2ff;border-left:3px solid var(--blue);color:#3b58b6;font-size:16px;font-weight:600}.simple-table th{text-align:left}.simple-table td{text-align:left;font-size:13px}.simple-table tr:last-child td{border-bottom:0}.simple-table .link{padding:0;border:0;background:transparent;color:#4966cb}dialog{width:960px;max-height:88vh;border:1px solid var(--line);border-radius:10px;padding:0;box-shadow:0 18px 80px #17294640;color:#233959}dialog::backdrop{background:#14254055}.dialog-header{position:sticky;top:0;z-index:3;display:flex;align-items:center;justify-content:space-between;padding:19px 24px;border-bottom:1px solid var(--line);background:#fff}.dialog-header button{border:0;background:transparent;font-size:24px;color:#7b8ba5;padding:0 6px}#dialog-body{padding:24px}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 24px}.detail-item{min-width:0;display:flex;flex-direction:column;gap:7px}.detail-item>span{color:#8a97ac;font-size:12px}.detail-item>div{white-space:pre-wrap;word-break:break-all;line-height:1.6;min-height:24px}.detail-meta{font-size:12px;line-height:1.9;color:#8290a7;margin-bottom:20px;padding:12px;background:#f6f8fc;border-radius:5px}.image-list{display:flex;gap:8px;flex-wrap:wrap}.image-list img{width:85px;height:64px;object-fit:cover;border:1px solid var(--line);border-radius:4px}.image-list a{color:var(--blue)}.upload-field{margin-top:8px;font-size:12px;padding:6px;width:100%}.action-menu{position:fixed;z-index:40;min-width:132px;display:flex;flex-direction:column;background:white;border:1px solid var(--line);border-radius:6px;box-shadow:0 7px 24px #23395925;padding:5px}.action-menu button{border:0;text-align:left;font-size:13px;padding:9px 13px}.action-menu button:hover{background:#edf2ff}.toasts{position:fixed;top:83px;right:22px;z-index:90;display:flex;flex-direction:column;gap:8px;pointer-events:none}.toast{background:#fff;color:#365581;padding:14px 20px;border:1px solid #d8e2f2;border-left:3px solid #5b7bd7;border-radius:6px;box-shadow:0 6px 24px #23395920;max-width:430px;line-height:1.6}.toast.error{border-left-color:#cc5d5d;color:#a34444}.login-screen{min-height:100vh;display:grid;place-items:center;background:radial-gradient(ellipse at 22% 18%,#e4ebff,transparent 52%),#f4f6fb}.login-card{width:400px;background:white;padding:35px;border:1px solid var(--line);border-radius:12px;box-shadow:0 15px 55px #283b6b0a}.login-card h1{margin:20px 0 9px;font-size:26px}.login-card>p{color:#8a97ad;font-size:13px;margin-bottom:25px}.login-card label{margin-bottom:18px;font-size:13px}.large{width:100%;padding:12px}.login-card .error{min-height:20px;margin:0 0 10px;color:#b74d4d}.error{color:#b74d4d}.muted{color:#8a97ad}.pending-note{margin-bottom:18px;font-size:13px;color:#9c7427}.attachment-item{position:relative}.attachment-item button{font-size:10px;padding:3px 5px}.inline-message{font-size:13px;color:#966522;line-height:1.7;margin:12px 0}@media(max-height:720px){main{padding-top:15px}.section-heading{margin-bottom:12px}.table-scroll{height:calc(100vh - 290px)}}
:root{color-scheme:light}
#submission-fields input[readonly]{background:#f1f4fb;color:#405a83}#create-user-form select{min-width:240px}#submission-fields .field-label>span{font-size:11px;color:#8290a7}
#player-table th{overflow:hidden;text-overflow:ellipsis}
#directory-view{display:flex;flex-direction:column;height:calc(100vh - 157px);min-height:480px}
#directory-view .table-scroll{height:auto;min-height:200px;flex:1}
#directory-view .section-heading,#directory-view .toolbar,#directory-view .pagination,#directory-view .filters{flex-shrink:0}
.form-grid .field-label{font-size:13px;color:#526781;line-height:18px}.field-label em{font-size:11px;font-style:normal;color:#b56830;margin-left:5px}.compact-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 18px}.compact-grid label{gap:6px}.compact-grid textarea{height:58px;min-height:58px}.submission-meta{font-size:12px;color:#8290a7;margin-bottom:16px}#submission-form{max-width:none;padding:20px}#submission-form .form-footer{padding-top:14px;margin-top:18px}#submission-form input{height:38px}#submission-fields label:last-child{grid-column:span 4}#submission-fields label:last-child textarea{height:52px;min-height:52px}.editor-dialog{width:1180px}.editor-dialog .detail-meta{margin-bottom:16px}.form-section-title{font-size:14px;color:#4c66a0;margin:22px 0 12px;padding-top:16px;border-top:1px solid #e5eaf3}.form-section-title small{font-size:12px;font-weight:400;color:#8290a7;margin-left:8px}.record-fields{gap:14px 18px}.record-fields input[readonly]{background:#f6f8fc;color:#8491a6}.edit-footer{position:sticky;bottom:0;background:white;padding:14px 0;margin-bottom:0;z-index:2}.evidence-grid label{align-content:start}.evidence-grid .image-list{min-height:0}.evidence-grid .upload-field{font-size:11px;margin-top:2px}.editor-dialog .form-grid label{min-width:0}.editor-dialog input,.editor-dialog select,.editor-dialog textarea{min-width:0;width:100%}
@media(max-height:740px){#submission-form{padding:16px}#submission-form .compact-grid{gap:10px 16px}#submission-form .submission-meta{margin-bottom:12px}#submission-form .form-footer{margin-top:12px;padding-top:10px}}
