:root{color:#1f2937;background:#f5f7fb;font-family:Inter,-apple-system,BlinkMacSystemFont,PingFang SC,Microsoft YaHei,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{border:0;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.72}.login-page,.reserved-page{display:grid;min-height:100vh;place-items:center;padding:32px;background:#eef4f2}.login-panel,.reserved-page section{width:min(420px,100%);padding:28px;border:1px solid #dde5e2;border-radius:8px;background:#fff;box-shadow:0 16px 40px #1e292614}.login-panel{display:grid;gap:18px}.eyebrow{margin:0 0 8px;color:#55706a;font-size:13px;font-weight:700;letter-spacing:0;text-transform:uppercase}h1,p{margin-top:0}.login-panel h1,.reserved-page h1{margin-bottom:0;font-size:28px}label{display:grid;gap:8px;color:#41514d;font-size:14px;font-weight:700}input{width:100%;min-height:42px;border:1px solid #d7dde8;border-radius:6px;padding:8px 12px;color:#1f2937;background:#fff}select,textarea{width:100%;border:1px solid #d7dde8;border-radius:6px;padding:8px 12px;color:#1f2937;background:#fff}textarea{min-height:88px;resize:vertical}.login-panel button,.reserved-page button{min-height:42px;border-radius:6px;color:#fff;background:#126a5c;font-weight:700}.admin-shell{display:grid;grid-template-columns:236px 1fr;min-height:100vh}.sidebar{display:flex;flex-direction:column;gap:22px;padding:22px 18px;border-right:1px solid #e4e8ef;background:#fbfcfe}.brand{display:grid;gap:4px}.brand strong{font-size:21px;letter-spacing:0}.brand span{color:#6b7280;font-size:13px}nav{display:grid;gap:8px}nav button,.ghost-button{min-height:40px;border-radius:6px;padding:8px 12px;color:#4b5563;background:transparent;text-align:left}nav button.active{color:#155e75;background:#e6f4f7;font-weight:700}.ghost-button{margin-top:auto;border:1px solid #dfe5ee;text-align:center}.content{min-width:0;padding:30px 34px 44px}.page-header{margin-bottom:20px}.page-header h1{margin-bottom:7px;color:#111827;font-size:26px;line-height:1.2}.page-header p{max-width:760px;margin-bottom:0;color:#6b7280;font-size:14px;line-height:1.55}.metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}.metric-card,.notice,.empty-state,.table-shell{border:1px solid #e4e8ef;border-radius:8px;background:#fff}.metric-card{display:grid;gap:10px;padding:18px}.metric-card span{color:#6b7280;font-size:14px}.metric-card strong{font-size:28px}.notice,.empty-state{margin-bottom:16px;padding:14px 16px}.error-text{color:#ba1a1a}.table-shell{overflow:auto}.feedback-workbench{margin-bottom:14px}.user-summary-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}.user-filter{display:flex;min-height:66px;align-items:center;justify-content:space-between;gap:10px;border:1px solid #e4e8ef;border-radius:8px;padding:12px 14px;color:#4b5563;background:#fff;text-align:left}.user-filter span{font-size:13px;font-weight:700}.user-filter strong{color:#111827;font-size:24px;line-height:1}.user-filter.active{border-color:#8ed2df;color:#155e75;background:#eef9fb}.user-table-shell{border:1px solid #e4e8ef;border-radius:8px;background:#fff;box-shadow:0 10px 28px #0f172a0a}.user-table{min-width:1780px;table-layout:fixed}.user-table th:nth-child(1){width:150px}.user-table th:nth-child(2){width:150px}.user-table th:nth-child(3){width:110px}.user-table th:nth-child(4){width:110px}.user-table th:nth-child(5){width:90px}.user-table th:nth-child(6){width:110px}.user-table th:nth-child(7),.user-table th:nth-child(8),.user-table th:nth-child(9){width:150px}.user-table th:nth-child(10){width:120px}.user-table th:nth-child(11){width:90px}.user-table th:nth-child(12){width:180px}.user-table th:nth-child(13),.user-table th:nth-child(14),.user-table th:nth-child(15){width:86px}.user-table th:nth-child(16),.user-table th:nth-child(17){width:160px}.feedback-summary-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.feedback-filter{display:flex;min-height:68px;align-items:center;justify-content:space-between;gap:10px;border:1px solid #e4e8ef;border-radius:8px;padding:12px 14px;color:#4b5563;background:#fff;text-align:left;box-shadow:0 1px 2px #0f172a08}.feedback-filter span{font-size:13px;font-weight:700}.feedback-filter strong{color:#111827;font-size:24px;line-height:1}.feedback-filter.active{border-color:#8ed2df;color:#155e75;background:#eef9fb}.feedback-table-shell{border:1px solid #e4e8ef;border-radius:8px;background:#fff;box-shadow:0 10px 28px #0f172a0a}.feedback-table{table-layout:fixed}.feedback-col-message{width:30%}.feedback-col-context{width:16%}.feedback-col-status{width:9%}.feedback-col-user{width:12%}.feedback-col-contact{width:11%}.feedback-col-time{width:16%}.feedback-col-action{width:74px}.feedback-table th:last-child,.feedback-table td:last-child{text-align:right}.product-toolbar{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:14px}.product-search-form{display:grid;grid-template-columns:minmax(180px,240px) minmax(220px,320px) auto;gap:12px;align-items:end}.product-table-shell{border:1px solid #e4e8ef;border-radius:8px;background:#fff;box-shadow:0 10px 28px #0f172a0a}.product-table{min-width:980px;table-layout:fixed}.product-table th:nth-child(1){width:34%}.product-table th:nth-child(2){width:16%}.product-table th:nth-child(3),.product-table th:nth-child(4),.product-table th:nth-child(5){width:10%}.product-table th:nth-child(6){width:15%}.product-table th:nth-child(7){width:112px}.product-name-cell{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:center}.product-name-cell img,.product-image-placeholder{width:48px;height:48px;border-radius:8px;object-fit:cover;background:#eef2f7}.product-name-cell div{display:grid;gap:5px;min-width:0}.product-name-cell strong{color:#111827;line-height:1.4}.product-name-cell span{display:-webkit-box;overflow:hidden;color:#6b7280;font-size:12px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:2}.row-actions{display:flex;justify-content:flex-end;gap:8px}.row-action.danger{color:#991b1b;background:#fee2e2}.row-action.danger:hover{background:#fecaca}.pagination-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;color:#64748b;font-size:13px}.pagination-bar div{display:flex;gap:8px}.product-dialog-panel{width:min(840px,100%);padding:0}.product-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:4px 22px}.switch-row{display:flex;min-height:42px;align-items:center;gap:10px;align-self:end}.switch-row input{width:18px;min-height:18px}.product-description-field{grid-column:1 / -1}.feedback-message-cell{display:grid;gap:6px}.feedback-message-cell strong{color:#111827;font-size:14px;line-height:1.5}.feedback-message-cell span{color:#6b7280;font-size:12px;line-height:1.45}.context-cell{display:-webkit-box;max-width:240px;overflow:hidden;color:#374151;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}.muted-cell{color:#9ca3af}.id-cell{display:inline-flex;max-width:100%;overflow:hidden;border-radius:5px;padding:3px 7px;color:#374151;background:#f3f5f8;font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.contact-cell{color:#374151}.time-cell{display:grid;gap:4px;color:#6b7280;font-size:12px;line-height:1.35}.row-action,.secondary-button,.primary-button,.icon-button{min-height:36px;border-radius:6px;padding:7px 12px;font-weight:700;white-space:nowrap}.row-action,.secondary-button{color:#155e75;background:#e6f4f7}.row-action:hover,.secondary-button:hover{background:#d6edf3}.primary-button{color:#fff;background:#155e75}.icon-button{width:36px;padding:0;color:#64748b;background:#eef2f7;font-size:22px;line-height:1}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:24px;background:#0f172a6b}.dialog-panel{display:grid;gap:18px;width:min(720px,100%);max-height:min(720px,calc(100vh - 48px));overflow:auto;padding:22px;border-radius:8px;background:#fff;box-shadow:0 24px 80px #0f172a3d}.feedback-dialog-panel{gap:16px;width:min(980px,100%);max-height:calc(100vh - 48px);overflow:auto;padding:0}.dialog-header,.dialog-footer{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.dialog-header{align-items:center;padding:20px 22px 16px;border-bottom:1px solid #e4e8ef}.dialog-header h2{margin:0 0 6px;color:#111827;font-size:20px}.dialog-header p{display:flex;flex-wrap:wrap;gap:6px 14px;margin-bottom:0;color:#6b7280;font-size:13px;overflow-wrap:anywhere}.panel-title-row span{color:#64748b;font-size:12px}.feedback-timeline{position:relative;display:grid;gap:18px;padding:4px 26px 0 30px}.feedback-timeline:before{position:absolute;top:12px;bottom:10px;left:38px;width:1px;background:#dbe3ee;content:""}.timeline-item{position:relative;display:grid;grid-template-columns:26px minmax(0,1fr);gap:12px}.timeline-dot{z-index:1;width:10px;height:10px;margin-top:9px;border:2px solid #ffffff;border-radius:999px;background:#94a3b8;box-shadow:0 0 0 2px #cbd5e1}.active-dot{background:#155e75;box-shadow:0 0 0 3px #cfeff5}.timeline-content{display:grid;gap:10px;border:1px solid #e4e8ef;border-radius:8px;padding:14px 16px;background:#fff;box-shadow:0 1px 2px #0f172a0a}.admin-timeline-content{border-color:#c7e0e7;background:#f2fbfd}.panel-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.panel-title-row strong{color:#111827;font-size:14px}.conversation-meta,.conversation-details{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center}.conversation-meta strong{color:#111827}.conversation-meta span,.conversation-details,.feedback-attribute-line{color:#6b7280;font-size:12px}.timeline-content p{margin:0;color:#1f2937;line-height:1.6;overflow-wrap:anywhere}.feedback-context-block{display:grid;gap:6px;max-height:172px;overflow:auto;border:1px solid #e2e8f0;border-left:3px solid #94a3b8;border-radius:6px;padding:10px 12px;background:#f8fafc}.feedback-context-block span{color:#64748b;font-size:12px;font-weight:700}.feedback-context-block p{color:#374151;font-size:13px;line-height:1.65;white-space:pre-wrap}.feedback-reply-layout{display:none}.reply-composer{display:grid;gap:8px;border:1px solid #cfe1e7;border-radius:8px;padding:12px 14px;background:#f6fbfc}.reply-composer textarea{min-height:74px;border-color:#b8d7df;background:#fff}.reply-controls{display:grid;grid-template-columns:1fr;gap:14px;align-items:start}.reply-controls textarea{min-height:78px}.feedback-process-form{display:grid;grid-template-columns:minmax(160px,.75fr) minmax(220px,1fr) minmax(220px,1fr);gap:14px;align-items:start}.dialog-footer{justify-content:flex-end}.reply-action-bar{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:10px;padding:14px 22px 18px;border-top:1px solid #e4e8ef;background:#fbfcfe}.status-pill{flex:0 0 auto;display:inline-flex;min-width:64px;justify-content:center;border-radius:999px;padding:4px 9px;color:#4b5563;background:#eef2f7;font-size:12px;font-weight:700}.status-pending{color:#92400e;background:#fef3c7}.status-processing{color:#1d4ed8;background:#dbeafe}.status-resolved,.user-status-active{color:#047857;background:#d1fae5}.user-status-disabled{color:#92400e;background:#fef3c7}.user-status-closed,.status-ignored{color:#57534e;background:#e7e5e4}table{width:100%;border-collapse:collapse;font-size:14px}th,td{padding:13px 16px;border-bottom:1px solid #edf0f5;text-align:left;vertical-align:middle}th{position:sticky;top:0;z-index:1;color:#64748b;background:#f8fafc;font-size:12px;font-weight:700;white-space:nowrap}td{overflow-wrap:anywhere}tbody tr:hover{background:#f9fbfd}@media(max-width:760px){.admin-shell{grid-template-columns:1fr}.sidebar{position:static;border-right:0;border-bottom:1px solid #dde5e2}nav{grid-template-columns:repeat(2,minmax(0,1fr))}.content{padding:20px}.user-summary-strip,.feedback-summary-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.product-toolbar,.pagination-bar{align-items:stretch;flex-direction:column}.product-search-form,.product-form-grid{grid-template-columns:1fr}.dialog-header,.dialog-footer{display:grid}.dialog-backdrop{align-items:stretch;padding:12px}.dialog-panel{max-height:calc(100vh - 24px)}.feedback-timeline{padding-right:16px;padding-left:20px}.feedback-timeline:before{left:28px}.timeline-item,.reply-controls{grid-template-columns:20px minmax(0,1fr)}.reply-controls,.feedback-process-form{grid-template-columns:1fr}.reply-action-bar{display:grid}}
