*{margin:0;padding:0;box-sizing:border-box}body{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f5f5}#root{min-height:100vh}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#3d4452,#2d3340,#1a1f28)}.login-card{width:400px;padding:40px;border-radius:12px;box-shadow:0 8px 32px #0000004d}.login-logo{text-align:center;margin-bottom:32px}.login-logo h1{color:#3d4452;font-size:28px;font-weight:700;margin-top:12px}.login-logo .subtitle{color:#999;font-size:14px}.stat-card{border-radius:8px;transition:transform .2s}.stat-card:hover{transform:translateY(-2px)}.stat-card .stat-value{font-size:32px;font-weight:700;color:#3d4452;line-height:1}.stat-card .stat-label{color:#999;font-size:13px;margin-top:4px}.page-header{margin-bottom:24px}.page-header h2{font-size:24px;font-weight:600;color:#3d4452;margin:0}.page-header .description{color:#999;margin-top:4px}.ant-layout-sider .logo-area{height:64px;display:flex;align-items:center;justify-content:center;padding:0 16px;border-bottom:1px solid rgba(255,255,255,.1)}.ant-layout-sider .logo-area h3{color:#fff;font-size:18px;font-weight:700;margin:0;white-space:nowrap}.ant-layout-sider .logo-area .logo-accent{color:#c8102e}.permission-checkbox-group .ant-checkbox-wrapper{width:280px;margin-bottom:4px}.session-detail-section{margin-bottom:24px}.session-detail-section h4{font-size:16px;font-weight:600;color:#3d4452;margin-bottom:12px;padding-bottom:8px;border-bottom:2px solid #C8102E}.protocol-builder{min-height:400px}.pb-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:16px;padding:12px 16px;background:#fff;border-radius:8px;box-shadow:0 1px 4px #0000000f;position:sticky;top:64px;z-index:5}.pb-toolbar-left,.pb-toolbar-right{display:flex;align-items:center;gap:8px}.pb-stats{display:flex;gap:4px}.pb-form-label{font-size:12px;font-weight:500;color:#666;margin-bottom:4px}.pb-empty-state{border:2px dashed #d9d9d9;background:#fafafa;border-radius:12px}.pb-empty-fields{text-align:center;padding:24px;border:1px dashed #d9d9d9;border-radius:8px;margin-bottom:12px}.pb-add-section-bottom{display:flex;justify-content:center;padding:24px 0}.pb-json-preview{background:#1e1e2e;color:#cdd6f4;padding:16px;border-radius:8px;font-family:JetBrains Mono,Fira Code,monospace;font-size:12px;line-height:1.6;max-height:500px;overflow:auto;white-space:pre;margin:0}.section-editor-card{border-radius:10px;overflow:hidden;box-shadow:0 2px 8px #0000000f}.section-editor-card>.ant-card-head{background:#f8f9fa;border-bottom:2px solid #3D4452}.field-editor-card{border-radius:6px;transition:box-shadow .2s}.field-editor-card:hover{box-shadow:0 2px 8px #00000014}.pb-checklist-item{display:flex;align-items:center;gap:6px;margin-bottom:4px}.pb-checklist-number{font-size:12px;color:#999;min-width:20px;text-align:right}.pb-defect-list{min-height:24px}.pb-table-preview{width:100%;border-collapse:collapse;font-size:12px;margin-top:4px}.pb-table-preview th,.pb-table-preview td{border:1px solid #e8e8e8;padding:4px 8px;text-align:center}.pb-table-preview th{background:#f0f0f0;font-weight:600}.preview-device{background:#f5f5f5;border-radius:0;min-height:400px}.preview-device-header{background:#3d4452;color:#fff;padding:16px 20px;text-align:center}.preview-device-title{font-size:16px;font-weight:600}.preview-device-subtitle{font-size:12px;color:#ffffffb3;margin-top:4px}.preview-device-body{padding:12px}.preview-section{background:#fff;border-radius:10px;margin-bottom:12px;overflow:hidden;box-shadow:0 1px 3px #00000014}.preview-section-header{display:flex;align-items:center;gap:8px;padding:10px 14px;background:linear-gradient(90deg,#3d4452,#4a5568);color:#fff}.preview-section-number{width:24px;height:24px;border-radius:50%;background:#c8102e;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;flex-shrink:0}.preview-section-title{font-weight:600;font-size:14px}.preview-field{padding:10px 14px;border-bottom:1px solid #f0f0f0}.preview-field:last-child{border-bottom:none}.preview-field-header{display:flex;align-items:center;gap:6px;margin-bottom:8px}.preview-field-icon{font-size:14px}.preview-field-label{font-weight:500;font-size:13px;color:#333}.preview-required{color:#c8102e;font-weight:700;font-size:16px}.preview-field-body{padding-left:20px}.preview-status-buttons{display:flex;gap:6px}.preview-status-btn{width:44px;height:32px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:12px;color:#fff}.preview-status-ok{background:#52c41a}.preview-status-check{background:#faad14}.preview-status-action{background:#c8102e}.preview-status-na{background:#d9d9d9;color:#666;font-size:10px}.preview-input-mock{background:#f5f5f5;border:1px solid #e8e8e8;border-radius:6px;padding:6px 10px;font-size:12px}.preview-photo-area{border:2px dashed #d9d9d9;border-radius:8px;padding:12px;text-align:center;color:#999;font-size:12px}.preview-signature-area{border:2px dashed #d9d9d9;border-radius:8px;padding:16px;text-align:center;color:#999;font-size:12px;min-height:60px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.preview-checklist{display:flex;flex-direction:column;gap:4px}.preview-checklist-item{display:flex;align-items:center;gap:8px;font-size:12px}.preview-checkbox{width:16px;height:16px;border:2px solid #d9d9d9;border-radius:3px;flex-shrink:0}.preview-table-wrap{overflow-x:auto}.preview-table{width:100%;border-collapse:collapse;font-size:11px}.preview-table th,.preview-table td{border:1px solid #e8e8e8;padding:4px 6px;text-align:center}.preview-table th{background:#f0f0f0;font-weight:600}.preview-table-row-label{font-weight:500;text-align:left!important;white-space:nowrap}.preview-table-cell{color:#bbb}.preview-norm-hint{margin-top:4px;font-size:11px;color:#faad14;display:flex;align-items:center;gap:4px}.preview-photo-guide{margin-top:6px;font-size:11px;color:#1890ff;font-style:italic}.preview-defect-hint{margin-top:4px;font-size:10px;color:#999;font-style:italic}.protocol-builder-modal .ant-modal-body{padding:16px;max-height:calc(100vh - 200px);overflow-y:auto}.protocol-builder-modal .ant-modal-content{border-radius:12px}
