:root{color:#20262f;font-synthesis:none;-webkit-font-smoothing:antialiased;background:#f5f6f8;font-family:Segoe UI,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{min-width:0;margin:0}button,input,select,textarea{font:inherit;font-size:14px}button,select,a{-webkit-tap-highlight-color:transparent}button{color:#344054;cursor:pointer;background:#fff;border:1px solid #d9dde5;border-radius:5px;padding:8px 14px}button:hover{background:#f3f5f8}button:disabled{cursor:default;opacity:.55}button.primary{color:#fff;background:#2563eb;border-color:#2563eb}button.primary:hover{background:#1d4ed8}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:2px;outline:2px solid #2563eb}input,select,textarea{color:#20262f;background:#fff;border:1px solid #d9dde5;border-radius:5px;padding:9px 11px}input,select,textarea,label{min-width:0}body:has(.modal-mask){overflow:hidden}input[readonly]{color:#667085;background:#f5f6f8}textarea{resize:vertical;line-height:1.6}.projects-page{max-width:1400px;margin:auto;padding:38px 32px}.page-header,.page-header>div{align-items:center;gap:14px;display:flex}.page-header{justify-content:space-between;margin-bottom:28px}h1{margin:0;font-size:23px;font-weight:600}.count{color:#7b8494;font-size:13px}.toolbar{gap:10px;margin-bottom:18px;display:flex}.project-section{margin-bottom:24px}.group-header{background:#fff;border:1px solid #e2e5eb;border-bottom:0;border-radius:7px 7px 0 0;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:18px 20px;display:flex}.group-title,.group-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.group-title h2{font-size:17px}.group-title,.group-title>div{min-width:0}.group-title h2,.project-key,.client-identity strong{overflow-wrap:anywhere}.group-status-label{white-space:nowrap;flex-direction:row;align-items:center;margin:0}.group-status-label select{min-width:110px}.project-section .table-wrap{border-radius:0 0 7px 7px}.group-modal{width:450px}.empty-page{text-align:center;color:#98a0ad;padding:80px 20px;font-size:14px}.table-wrap{background:#fff;border:1px solid #e2e5eb;border-radius:7px;overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:14px}th{color:#667085;white-space:nowrap;background:#fafbfc;font-weight:500}td,th{border-bottom:1px solid #edf0f4;padding:17px 20px}tbody tr:last-child td{border-bottom:0}td strong{font-weight:500}.project-key{color:#8a93a2;margin-top:5px;font-size:12px;display:block}.status{white-space:nowrap;border-radius:4px;padding:4px 9px;font-size:12px;display:inline-block}.status-select{cursor:pointer;border:1px solid #0000;min-width:90px}.status-select:hover{border-color:currentColor}.status-select:disabled{cursor:wait;opacity:.65}.status-select option{color:#20262f;background:#fff}.status-saving{color:#88919e;margin-top:5px;font-size:12px;display:block}.normal{color:#247647;background:#ecf8ef}.updating{color:#9a6900;background:#fff5df}.message-cell{min-width:200px;max-width:450px}.message-cell span{-webkit-line-clamp:3;white-space:pre-wrap;overflow-wrap:anywhere;color:#5e6878;-webkit-box-orient:vertical;font-size:13px;line-height:1.7;display:-webkit-box;overflow:hidden}.date-cell{color:#88919e;white-space:nowrap;font-size:12px}.actions,.actions-heading{text-align:right;white-space:nowrap}.actions button,.actions a{color:#2563eb;background:0 0;border:0;padding:4px 5px;font-size:12px;text-decoration:none}.empty{text-align:center;color:#98a0ad;height:230px}.error{color:#b42318;background:#fff5f4;border:1px solid #fecdca;border-radius:5px;padding:12px 14px;font-size:13px}.notice{color:#247647;background:#ecf8ef;border-radius:5px;justify-content:space-between;align-items:center;padding:9px 14px;font-size:13px;display:flex}.notice button{background:0 0;border:0;padding:0 4px}.modal-mask{z-index:20;background:#10182866;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.modal{background:#fff;border-radius:8px;width:640px;max-height:92dvh;overflow-y:auto;box-shadow:0 20px 70px #10182833}.modal-header{border-bottom:1px solid #eaecf0;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}h2{margin:0;font-size:18px;font-weight:600}.modal-header button{border:0;padding:0 5px;font-size:22px}form{padding:22px 24px}fieldset{border:0;min-width:0;margin:0;padding:0}label{color:#475467;flex-direction:column;gap:8px;margin-bottom:18px;font-size:13px;display:flex}.form-row{grid-template-columns:1fr 1fr;gap:16px;display:grid}.form-row input{width:100%}.form-actions{justify-content:flex-end;gap:10px;padding-top:5px;display:flex}@media (width<=768px){.projects-page{padding:22px max(12px, env(safe-area-inset-right)) 24px max(12px, env(safe-area-inset-left))}button,input,select,.actions a{min-height:44px}input,select,textarea{max-width:100%;font-size:16px}.page-header{align-items:center;gap:12px;margin-bottom:20px}.page-header>div{flex-direction:column;align-items:flex-start;gap:6px;min-width:0}.page-header>button{flex-shrink:0}h1{font-size:21px}.count{font-size:12px}.toolbar>button{min-width:84px}.group-header{border-bottom:1px solid #e2e5eb;border-radius:7px;padding:16px}.group-title{flex-wrap:nowrap;justify-content:space-between;width:100%}.group-title .count{flex-shrink:0}.group-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%;display:grid}.group-status-label{grid-column:1/-1;justify-content:space-between;gap:16px}.group-status-label select{flex:1;max-width:200px}.group-actions>.status-saving{grid-column:1/-1;margin:0}.project-section{margin-bottom:24px}.project-section .table-wrap{background:0 0;border:0;border-radius:0;overflow:visible}.client-table{display:block}.client-table thead{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.client-table tbody{gap:10px;margin-top:10px;display:grid}.client-table tbody tr{background:#fff;border:1px solid #e2e5eb;border-radius:7px;grid-template-columns:minmax(0,1fr) auto;gap:14px 12px;padding:16px;display:grid}.client-table td{border:0;min-width:0;padding:0;display:block}.client-identity{align-self:center}.client-identity strong{font-size:15px}.client-status{text-align:right}.status-select{min-width:100px;padding:8px 10px}.message-cell,.date-cell,.client-table .actions{grid-column:1/-1}.client-table .message-cell{min-width:0;max-width:none}.message-cell:before,.date-cell:before{content:attr(data-label);color:#8a93a2;margin-bottom:6px;font-size:12px;display:block}.message-cell span{-webkit-line-clamp:unset;font-size:14px;display:block;overflow:visible}.date-cell{white-space:normal;overflow-wrap:anywhere}.client-table .actions{border-top:1px solid #edf0f4;flex-wrap:wrap;justify-content:flex-end;gap:6px;padding-top:8px;display:flex}.actions button,.actions a{justify-content:center;align-items:center;padding:8px 10px;font-size:14px;display:inline-flex}.empty-row .empty{grid-column:1/-1;height:auto;padding:28px 0}.error,.notice{overflow-wrap:anywhere}.notice{gap:8px;padding:4px 12px}.notice button{flex-shrink:0;min-width:44px}.modal-mask{padding:max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom))}.modal{width:100%;max-width:640px;max-height:calc(100dvh - max(12px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom)));flex-direction:column;display:flex;overflow:hidden}.modal.group-modal{max-width:450px}.modal-header{flex-shrink:0;padding:12px 16px}.modal-header>button{min-width:44px}form{overscroll-behavior:contain;min-height:0;padding:18px 16px;overflow-y:auto}.form-row{grid-template-columns:1fr;gap:0}.form-actions{background:#fff;border-top:1px solid #eaecf0;margin:0 -16px -18px;padding:12px 16px;position:sticky;bottom:-18px}.form-actions>button{flex:1}}
