.midline-form-wrapper{max-width:1200px;margin:0 auto;padding:1.5rem 1rem 3rem;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:#1e293b;background-color:#f8fafc}.form-header-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;padding:1.25rem 1.5rem;background:#fff;border:1px solid #e2e8f0;border-radius:12px;box-shadow:0 4px 6px -1px #0000000d;margin-bottom:1.5rem}.badge-clinical{display:inline-block;font-size:.6875rem;font-weight:700;letter-spacing:.075em;color:#0d9488;background:#ccfbf1;padding:.2rem .55rem;border-radius:9999px;margin-bottom:.25rem}.header-titles h1{margin:0;font-size:1.4rem;font-weight:700;color:#0f172a}.subtitle{margin:.2rem 0 0;font-size:.8125rem;color:#64748b}.header-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}.tab-pills{display:inline-flex;background:#f1f5f9;padding:.25rem;border-radius:8px;border:1px solid #e2e8f0}.tab-pill{background:transparent;border:none;padding:.45rem .8rem;font-size:.8125rem;font-weight:600;color:#64748b;border-radius:6px;cursor:pointer;transition:all .15s ease}.tab-pill:hover{color:#0f172a}.tab-pill.active{background:#fff;color:#0f172a;box-shadow:0 1px 3px #0000001a}.button-group{display:inline-flex;align-items:center;gap:.5rem}.btn{display:inline-flex;align-items:center;gap:.35rem;padding:.5rem .85rem;font-size:.8125rem;font-weight:600;border-radius:6px;cursor:pointer;border:1px solid transparent;transition:all .15s ease}.btn .icon{width:.95rem;height:.95rem}.btn.btn-primary{background:#0284c7;color:#fff;border-color:#0284c7}.btn.btn-primary:hover{background:#0369a1}.btn.btn-secondary{background:#f8fafc;color:#334155;border-color:#cbd5e1}.btn.btn-secondary:hover{background:#e2e8f0;color:#0f172a}.btn.btn-outline{background:transparent;color:#64748b;border-color:#e2e8f0}.btn.btn-outline:hover{background:#f1f5f9;color:#0f172a}.alert{padding:.75rem 1rem;border-radius:8px;font-size:.8125rem;margin-bottom:1.25rem}.alert.alert-success{background:#ecfdf5;border:1px solid #a7f3d0;color:#065f46}.alert.alert-danger{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}.medical-page{background:#fff;border:1px solid #cbd5e1;border-radius:10px;box-shadow:0 4px 6px -1px #0000000d;padding:1.75rem 2rem;margin-bottom:2rem}.sheet-header{display:flex;justify-content:space-between;align-items:flex-start;padding-bottom:1rem;margin-bottom:1.25rem;border-bottom:2px solid #0f172a}.org-brand{display:flex;flex-direction:column}.org-brand .org-title{font-size:1.1rem;font-weight:800;letter-spacing:.05em;color:#0f172a}.org-brand .org-tagline{font-size:.75rem;color:#64748b;margin-top:.1rem}.form-title-badge{text-align:right}.form-title-badge .sheet-heading{display:block;font-size:1.15rem;font-weight:800;color:#0369a1}.form-title-badge .sheet-subheading{display:inline-block;font-size:.6875rem;font-weight:700;color:#475569;letter-spacing:.08em;border:1px solid #94a3b8;padding:.1rem .45rem;border-radius:4px;margin-top:.2rem}.form-title-badge.warning-theme .sheet-heading{color:#b45309}.form-title-badge.warning-theme .sheet-subheading{color:#9a3412;border-color:#fdba74;background:#fff7ed}.section-card{border:1px solid #e2e8f0;border-radius:8px;padding:1rem 1.15rem;margin-bottom:1rem;background:#fff}.section-card .section-legend{font-size:.75rem;font-weight:800;letter-spacing:.05em;color:#334155;padding:0 .4rem;text-transform:uppercase}.grid-row{display:grid;gap:.85rem;margin-bottom:.75rem}.grid-row:last-child{margin-bottom:0}.grid-row.grid-cols-2{grid-template-columns:repeat(2,1fr)}.grid-row.grid-cols-3{grid-template-columns:repeat(3,1fr)}.grid-row.grid-cols-4{grid-template-columns:repeat(4,1fr)}@media(max-width:768px){.grid-row{grid-template-columns:1fr!important}}.form-field{display:flex;flex-direction:column}.form-field.full-width{width:100%}.form-field.span-2{grid-column:span 2/span 2}.form-field label{font-size:.6875rem;font-weight:700;color:#475569;letter-spacing:.03em;margin-bottom:.3rem}.form-field label .required{color:#dc2626}.form-field input,.form-field textarea{width:100%;padding:.45rem .65rem;font-size:.8125rem;color:#1e293b;background:#fff;border:1px solid #cbd5e1;border-radius:5px;box-sizing:border-box}.form-field input:focus,.form-field textarea:focus{outline:none;border-color:#0284c7;box-shadow:0 0 0 2px #0284c726}.form-field input.has-error,.form-field textarea.has-error{border-color:#ef4444;background:#fef2f2}.form-field input.font-script,.form-field textarea.font-script{font-family:Brush Script MT,cursive,sans-serif;font-size:1.15rem;color:#1e3a8a}.form-field input:not([type=checkbox]):not([type=radio]){height:35px}.form-field textarea{resize:vertical}.segmented-control{display:flex;width:100%;height:35px;box-sizing:border-box;border:1px solid #cbd5e1;border-radius:5px;overflow:hidden;background:#fff;transition:border-color .15s ease,box-shadow .15s ease}.segmented-control.has-error{border-color:#ef4444;background:#fef2f2;box-shadow:0 0 0 2px #ef444426}.segmented-control .segmented-option{flex:1;display:inline-flex;align-items:center;justify-content:center;height:100%;padding:0 .5rem;font-size:.8125rem;font-weight:700;letter-spacing:.025em;color:#475569;background:#fff;cursor:pointer;border-right:1px solid #cbd5e1;-webkit-user-select:none;user-select:none;transition:background-color .15s ease,color .15s ease}.segmented-control .segmented-option:last-child{border-right:none}.segmented-control .segmented-option input{display:none}.segmented-control .segmented-option:hover{background:#f8fafc;color:#0f172a}.segmented-control .segmented-option.active,.segmented-control .segmented-option:has(input:checked){background:#0284c7;color:#fff}.clinical-columns{display:grid;grid-template-columns:1.15fr 1fr;gap:1rem}@media(max-width:900px){.clinical-columns{grid-template-columns:1fr}}.checklist-item{display:flex;justify-content:space-between;align-items:center;padding:.45rem .2rem;border-bottom:1px solid #f1f5f9}.checklist-item:last-child{border-bottom:none}.checklist-item.vertical{flex-direction:column;align-items:flex-start;gap:.35rem}.checklist-item .checklist-label{font-size:.75rem;color:#334155;font-weight:500;padding-right:.5rem}.checklist-item.inline-input-item .inline-label{display:flex;align-items:center;gap:.4rem;font-size:.75rem;color:#334155;font-weight:500}.checklist-item.inline-input-item .inline-label .tiny-input{width:58px;padding:.3rem .4rem;font-size:.75rem;border:1px solid #cbd5e1;border-radius:4px}.checklist-item.inline-input-item .status-indicator{font-size:.625rem;font-weight:700;color:#0284c7;background:#e0f2fe;padding:.15rem .45rem;border-radius:4px}.yes-no-group{display:inline-flex;gap:.75rem;white-space:nowrap}.yes-no-group.compact{gap:.45rem}.yes-no-group label{display:inline-flex;align-items:center;gap:.25rem;font-size:.6875rem;font-weight:700;color:#334155;cursor:pointer}.yes-no-group label input{margin:0;accent-color:#0284c7}.radio-badge{padding:.2rem .45rem;border-radius:4px;font-size:.6875rem;font-weight:700}.radio-badge.ok{background:#dcfce7;color:#166534}.radio-badge.danger{background:#fee2e2;color:#991b1b}.pills-group{display:flex;gap:.35rem;width:100%}.pills-group .choice-pill{flex:1;display:inline-flex;align-items:center;justify-content:center;padding:.35rem .5rem;font-size:.6875rem;font-weight:700;background:#f8fafc;border:1px solid #cbd5e1;border-radius:5px;cursor:pointer}.pills-group .choice-pill input{display:none}.pills-group .choice-pill:has(input:checked){background:#0284c7;border-color:#0284c7;color:#fff}.spec-row{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem;margin-bottom:.75rem}.spec-row.three-cols{grid-template-columns:repeat(3,1fr)}.spec-row:last-child{margin-bottom:0}.spec-field{display:flex;flex-direction:column}.spec-field>label{font-size:.625rem;font-weight:700;color:#64748b;margin-bottom:.2rem;text-transform:uppercase}.spec-field>input{width:100%;height:34px;padding:.45rem .65rem;font-size:.8125rem;color:#1e293b;background:#fff;border:1px solid #cbd5e1;border-radius:5px;box-sizing:border-box;transition:border-color .15s ease,box-shadow .15s ease}.spec-field>input::placeholder{color:#94a3b8}.spec-field>input:focus{outline:none;border-color:#0284c7;box-shadow:0 0 0 2px #0284c726}.spec-field>input.has-error{border-color:#ef4444;background:#fef2f2}.spec-field .yes-no-group{display:inline-flex;align-items:center;height:34px;min-height:34px;gap:.85rem}.spec-field .yes-no-group label{display:inline-flex;align-items:center;gap:.35rem;font-size:.75rem;font-weight:700;color:#334155;margin-bottom:0;text-transform:none;cursor:pointer}.spec-field .yes-no-group label input{margin:0;accent-color:#0284c7;width:15px;height:15px;cursor:pointer}.spec-field .affix-group{display:flex;height:34px}.spec-field .affix-group input{flex:1;min-width:0;height:34px;padding:.4rem .5rem;font-size:.8125rem;border:1px solid #cbd5e1;border-right:none;border-radius:5px 0 0 5px;box-sizing:border-box}.spec-field .affix-group input:focus{outline:none;border-color:#0284c7}.spec-field .affix-group .affix{display:inline-flex;align-items:center;height:34px;box-sizing:border-box;padding:0 .45rem;font-size:.625rem;font-weight:700;background:#f1f5f9;color:#475569;border:1px solid #cbd5e1;border-radius:0 5px 5px 0}.spec-field.highlight .affix-group input{background:#f0fdf4;font-weight:800;color:#166534;border-color:#86efac}.spec-field.highlight .affix-group .affix{background:#dcfce7;color:#166534;border-color:#86efac}.measurement-box{background:#f8fafc;border:1px dashed #cbd5e1;border-radius:6px;padding:.75rem;margin-bottom:.75rem}.measurement-box .box-title{display:block;font-size:.6875rem;font-weight:700;color:#334155;margin-bottom:.4rem;text-transform:uppercase}.status-action-row{display:flex;justify-content:space-between;align-items:center;padding:.65rem 0;border-bottom:1px solid #f1f5f9;margin-bottom:.4rem}.status-action-row .status-text{display:flex;flex-direction:column}.status-action-row .status-text .status-name{font-size:.75rem;font-weight:800;color:#0f172a}.status-action-row .status-text .status-name.alert-green{color:#047857}.status-action-row .status-text .status-desc{font-size:.625rem;color:#64748b}.status-action-row.verified-row{background:#f0fdf4;padding:.65rem;border-radius:6px;border:1px solid #bbf7d0}.clinical-compliance-notice{background:#f8fafc;border-left:3px solid #0284c7;padding:.75rem .85rem;border-radius:0 5px 5px 0;margin-top:.85rem}.clinical-compliance-notice .notice-badge{font-size:.625rem;font-weight:800;letter-spacing:.05em;color:#0369a1;margin-bottom:.2rem}.clinical-compliance-notice p{margin:0;font-size:.6875rem;line-height:1.45;color:#475569}.signature-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.25rem}@media(max-width:768px){.signature-grid{grid-template-columns:1fr}}.signature-grid .signature-col{display:flex;flex-direction:column;gap:.65rem;padding:.85rem;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px}.signature-grid .signature-col .sig-title{font-size:.6875rem;font-weight:800;color:#1e293b;letter-spacing:.05em;border-bottom:1px solid #cbd5e1;padding-bottom:.25rem}.clinical-warning-banner{display:flex;align-items:center;gap:1rem;background:#fef2f2;border:2px solid #ef4444;border-radius:8px;padding:.85rem 1.25rem;margin-bottom:1rem}.clinical-warning-banner .banner-icon{display:flex;align-items:center;justify-content:center;width:2.25rem;height:2.25rem;border-radius:50%;background:#ef4444;color:#fff;font-size:1.4rem;font-weight:900;flex-shrink:0}.clinical-warning-banner .banner-content{display:flex;flex-direction:column}.clinical-warning-banner .banner-content .banner-title{font-size:1rem;font-weight:900;color:#991b1b;letter-spacing:.05em}.clinical-warning-banner .banner-content .banner-rules{font-size:.75rem;font-weight:700;color:#b91c1c;margin-top:.1rem}.demographics-summary-bar{display:flex;flex-wrap:wrap;gap:1.25rem;background:#f1f5f9;border:1px solid #cbd5e1;padding:.65rem 1rem;border-radius:6px;margin-bottom:1.25rem}.demographics-summary-bar .summary-item{display:inline-flex;gap:.3rem;font-size:.75rem}.demographics-summary-bar .summary-item .label{font-weight:700;color:#475569}.demographics-summary-bar .summary-item .value{font-weight:600;color:#0f172a}.nursing-guidelines-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.85rem;margin-bottom:1.25rem}@media(max-width:768px){.nursing-guidelines-grid{grid-template-columns:1fr}}.nursing-guidelines-grid .guideline-card{display:flex;gap:.65rem;padding:.85rem;background:#fff;border:1px solid #e2e8f0;border-radius:6px}.nursing-guidelines-grid .guideline-card .card-num{font-size:.85rem;color:#0284c7;flex-shrink:0}.nursing-guidelines-grid .guideline-card .card-body h4{margin:0 0 .25rem;font-size:.8125rem;font-weight:700;color:#0f172a}.nursing-guidelines-grid .guideline-card .card-body p{margin:0;font-size:.75rem;line-height:1.4;color:#334155}.nursing-guidelines-grid .guideline-card .card-body .inline-days-input{width:44px;padding:.1rem .25rem;font-size:.75rem;font-weight:700;border:1px solid #94a3b8;border-radius:4px;text-align:center;margin:0 .2rem}.nursing-guidelines-grid .guideline-card .card-body .signs-list{list-style:none;padding:0;margin:.25rem 0;display:grid;grid-template-columns:repeat(2,1fr);gap:.25rem}.nursing-guidelines-grid .guideline-card .card-body .signs-list li{font-size:.6875rem;font-weight:600;color:#991b1b}.nursing-guidelines-grid .guideline-card .card-body .note-italic{display:block;font-size:.625rem;color:#64748b;margin-top:.25rem;font-style:italic}.nursing-guidelines-grid .guideline-card.critical-card{border-left:3px solid #ef4444;background:#fef2f2}.nursing-guidelines-grid .guideline-card.warning-card{border-left:3px solid #f59e0b;background:#fffbeb}.nursing-guidelines-grid .guideline-card.infection-card{border-left:3px solid #dc2626;background:#fef2f2}.measurements-recap-banner{background:#0f172a;color:#fff;padding:.85rem 1rem;border-radius:6px;margin-bottom:1.25rem}.measurements-recap-banner .recap-title{display:block;font-size:.6875rem;font-weight:800;letter-spacing:.08em;color:#94a3b8;margin-bottom:.4rem}.measurements-recap-banner .recap-metrics{display:flex;flex-wrap:wrap;gap:1.25rem}.measurements-recap-banner .recap-metrics .metric{display:flex;flex-direction:column}.measurements-recap-banner .recap-metrics .metric .metric-label{font-size:.625rem;color:#94a3b8;font-weight:600}.measurements-recap-banner .recap-metrics .metric .metric-val{font-size:.875rem;font-weight:700;color:#f8fafc}.measurements-recap-banner .recap-metrics .metric.highlight .metric-val{color:#38bdf8}@media print{body{background:#fff!important}.no-print{display:none!important}.midline-form-wrapper{max-width:100%!important;padding:0!important;background:transparent!important}.medical-page{border:1px solid #000000!important;box-shadow:none!important;padding:1cm!important;margin:0!important;border-radius:0!important}.page-break-before{page-break-before:always!important;break-before:page!important}input,textarea{border:1px solid #666666!important;box-shadow:none!important;background:transparent!important}}*,*:before,*:after{box-sizing:border-box}html,body{margin:0;padding:0;width:100%;height:100%;background-color:#f4f7fb;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color:#1e293b;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}app-root{display:flex;flex-direction:column;width:100%;height:100%;min-height:100%}
