*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans SC,sans-serif;-webkit-font-smoothing:antialiased}.section-card{margin-bottom:20px;border-radius:8px;box-shadow:0 1px 4px #00000014;transition:box-shadow .3s}.section-card:hover{box-shadow:0 4px 12px #0000001f}.section-card .ant-card-head{background:linear-gradient(135deg,#e8f4fd,#f0f7ff);border-radius:8px 8px 0 0;min-height:48px}.section-card .ant-card-head-title{font-weight:600;color:#1a365d;font-size:15px}.form-actions{text-align:center;padding:24px 0}.form-actions .ant-btn{min-width:120px;height:40px;font-size:15px;border-radius:6px}@media (max-width: 768px){.section-card .ant-card-body{padding:12px}.ant-layout-header{padding:0 12px!important}}.admin-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;flex-wrap:wrap;gap:12px}.detail-section{margin-bottom:16px}.detail-section h4{color:#1a365d;border-bottom:2px solid #e8f4fd;padding-bottom:8px;margin-bottom:12px}.medication-item{background:#fafafa;border:1px dashed #d9d9d9;border-radius:6px;padding:16px;margin-bottom:12px;position:relative}.medication-item:hover{border-color:#1677ff}.login-page{min-height:100vh;background:linear-gradient(135deg,#dbeafe,#eff6ff 45%,#f8fafc)}.login-page__overlay{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px}.login-card{width:100%;max-width:520px;border-radius:18px;box-shadow:0 18px 50px #2563eb26}.login-card__header{text-align:center;margin-bottom:20px}.joint-selector-wrapper{margin-top:8px}.joint-selector-summary{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:16px;color:#1a365d;font-weight:500}.joint-count-highlight{color:#e64980;font-weight:700}.joint-selector-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.joint-visual-card{border-radius:14px;background:linear-gradient(180deg,#fff,#fafcff);box-shadow:0 6px 20px #0f172a0f}.joint-figure-card{width:100%}.joint-figure-header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.joint-figure-title{font-size:18px;font-weight:700;color:#1a365d}.joint-figure-count{color:#e64980;font-size:16px;font-weight:700}.joint-figure-canvas{position:relative;width:360px;height:520px;margin:0 auto;background:linear-gradient(180deg,#f2f2f2,#ebedf0);border-radius:18px}.joint-body-svg{width:360px;height:520px}.joint-outline-path{fill:none;stroke:#fff;stroke-width:2.4;filter:drop-shadow(0 2px 2px rgba(0,0,0,.18))}.joint-point{position:absolute;width:18px;height:18px;margin-left:-9px;margin-top:-9px;border-radius:999px;border:2px solid #4b5563;background:#fff;cursor:pointer;box-shadow:0 2px 6px #0000001f;transition:all .2s ease}.joint-point:hover{transform:scale(1.1);border-color:#e64980}.joint-point--active{background:#f64f8b;border-color:#f64f8b}.joint-point--readonly{cursor:default;pointer-events:none}.joint-point--extra{border-radius:3px;width:14px;height:14px;margin-left:-7px;margin-top:-7px;border-width:1.5px}.joint-point--extra.joint-point--active{background:#9333ea;border-color:#9333ea}.joint-side-badge{position:absolute;top:44px;width:40px;height:40px;border-radius:50%;background:#fff;color:#ef4444;border:2px solid #ef4444;font-weight:700;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 10px #ef444459;z-index:2}.joint-side-badge--right{left:18px}.joint-side-badge--left{right:18px}.pdf-render-host{position:fixed;left:-10000px;top:0;width:794px;z-index:-1;background:#fff}.pdf-record-document{width:794px;background:#fff;color:#0f172a}.pdf-record{width:794px;min-height:1123px;padding:28px;background:#fff}.pdf-record--page-break{page-break-after:always}.pdf-record__header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid #dbeafe}.pdf-record__title{font-size:24px;font-weight:700;color:#0f172a}.pdf-record__subtitle{margin-top:6px;font-size:14px;color:#475569}.pdf-record__meta{font-size:12px;line-height:1.8;color:#475569;text-align:right}.pdf-section{margin-bottom:18px}.pdf-section__title{margin-bottom:10px;padding:8px 12px;border-radius:8px;background:#eff6ff;color:#1d4ed8;font-size:16px;font-weight:700}.pdf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.pdf-field{border:1px solid #cbd5e1;border-radius:8px;overflow:hidden}.pdf-field--span-2{grid-column:span 2}.pdf-field__label{padding:6px 10px;background:#f8fafc;color:#334155;font-size:12px;font-weight:700}.pdf-field__value{padding:8px 10px;min-height:38px;color:#0f172a;font-size:13px;line-height:1.6;word-break:break-word}.pdf-block-text{padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;line-height:1.8;white-space:pre-wrap}.pdf-table{width:100%;border-collapse:collapse;font-size:12px}.pdf-table th,.pdf-table td{border:1px solid #cbd5e1;padding:8px;text-align:left;vertical-align:top}.pdf-table th{background:#f8fafc;font-weight:700}.pdf-empty{padding:12px;border:1px dashed #cbd5e1;border-radius:8px;color:#64748b}.pdf-joint-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.pdf-joint-grid .joint-figure-card{padding:10px;border:1px solid #cbd5e1;border-radius:12px}.pdf-joint-grid .joint-figure-header{margin-bottom:8px}.pdf-joint-grid .joint-figure-title{font-size:16px}.pdf-joint-grid .joint-figure-count{font-size:14px}.pdf-joint-grid .joint-figure-canvas{width:100%;max-width:320px}@media (max-width: 1024px){.joint-selector-grid{grid-template-columns:1fr}}.crf-lab-table{width:100%;border-collapse:collapse;font-size:13px}.crf-lab-table th,.crf-lab-table td{border:1px solid #d9d9d9;padding:6px 8px;text-align:left;vertical-align:middle}.crf-lab-table th{background:#f0f5ff;font-weight:600;color:#1a365d;white-space:nowrap}.crf-lab-table td{background:#fff}.crf-lab-table .ant-input-number,.crf-lab-table .ant-input{min-width:80px}@media (max-width: 768px){.login-card{max-width:100%}.joint-figure-header{flex-direction:column;align-items:flex-start}.joint-figure-canvas,.joint-body-svg{width:300px;height:433px}.joint-figure-canvas{transform:scale(.85);transform-origin:top center}}
