:root{--green:#245446;--mint:#a2d3be;--mint-soft:#e9f5ef;--ink:#293831;--muted:#52655d;--line:#cfe2d9;--sage:var(--mint-soft)}*{box-sizing:border-box}body{color:var(--ink);background:#f9faf9;margin:0;font:16px/1.5 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}button,input,select,textarea{font:inherit}button{cursor:pointer;color:var(--green);touch-action:manipulation;background:#fff;border:1px solid #b8c9c1;border-radius:8px;min-height:48px;padding:11px 20px;font-weight:600}button:hover{background:var(--mint-soft)}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:3px;outline:3px solid #477e6a}.primary,.active{border-color:#82b59f;background:var(--mint)!important;color:#173e32!important}header{border-bottom:1px solid var(--line);background:#fff;justify-content:space-between;align-items:center;gap:24px;padding:20px max(28px,50vw - 560px);display:flex}.brand{color:var(--green);flex-direction:column;align-items:flex-start;gap:4px;line-height:1.2;display:flex}.brand img{width:190px;height:auto;display:block}.brand small{letter-spacing:.04em;font-size:12px;font-weight:650}nav{background:var(--mint-soft);border:1px solid var(--line);border-radius:11px;gap:4px;padding:4px;display:flex}nav button{background:0 0;border:0;padding:11px 22px}.shell{max-width:1168px;margin:auto;padding:0 24px 32px}.progressnav{grid-template-columns:repeat(5,minmax(0,1fr));padding:28px 0 24px;display:grid;position:relative}.progressline{background:var(--line);height:3px;position:absolute;top:47px;left:10%;right:10%}.progressline>div{background:#72a990;height:100%;transition:width .2s}.progressnav button{z-index:1;color:var(--muted);background:0 0;border:0;flex-direction:column;align-items:center;gap:9px;padding:0 6px;font-size:13px;display:flex}.progressnav button span{border:2px solid var(--line);background:#f9faf9;border-radius:50%;place-items:center;width:40px;height:40px;font-size:15px;font-weight:600;display:grid}.progressnav b{font-weight:500}.progressnav .selected{color:var(--green)}.progressnav .selected b{font-weight:700}.progressnav .selected span,.progressnav .completed span{background:var(--mint);color:#173e32;border-color:#82b59f}main{border:1px solid var(--line);background:#fff;border-radius:14px;width:100%;max-width:1120px;margin:0 auto;padding:28px 32px}.intro{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;margin-bottom:24px;padding-bottom:24px;display:flex}h1{letter-spacing:-.8px;margin:0 0 6px;font-size:30px;font-weight:650;line-height:1.2}p{color:var(--muted);margin:0}.intro p{font-size:14px}.intro .stepcount{margin-bottom:7px;font-size:12px}.visitlabel{color:var(--muted);font-size:13px}h2{color:var(--green);margin:14px 0;font-size:22px}h3{text-align:center;font-size:16px}.fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;display:grid}.field label,.charttools label{margin-bottom:7px;font-size:14px;font-weight:600;display:block}.field.wide{grid-column:1/-1}.field[data-field=Date]{grid-column:1/-1;max-width:calc(50% - 12px)}.field[data-field=Chaperone]{border-top:1px solid #edf1ee;border-bottom:1px solid #edf1ee;align-items:center;gap:32px;padding:12px 0;display:flex}.field[data-field=Chaperone]>label{min-width:90px;margin:0}.field[data-field=Chaperone] .checks{flex:1;justify-content:space-between;gap:22px;display:flex}.field[data-field=Session\ number]{grid-column:1/-1;max-width:calc(50% - 12px)}input:not([type=checkbox]),select,textarea{width:100%;min-height:50px;color:var(--ink);background:#fff;border:1px solid #bacbc2;border-radius:7px;padding:11px 13px;display:block}input[readonly]{color:#61766c;background:#f3f7f4}input[type=date]{min-width:0}textarea{resize:vertical;min-height:100px}.field small{color:var(--muted);margin-top:5px;font-size:12px;display:block}.checks{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 22px;display:grid}.checks label{align-items:center;gap:10px;min-height:44px;margin:0;font-size:14px;font-weight:400;display:flex}input[type=checkbox]{width:23px;height:23px;accent-color:var(--green);flex-shrink:0}footer{border-top:1px solid var(--line);justify-content:space-between;gap:16px;margin-top:24px;padding-top:22px;display:flex}footer>div{gap:12px;display:flex}.footnote{margin-top:20px;font-size:12px}.message{color:var(--green);min-height:22px;margin-top:18px}.hint{margin-bottom:20px;font-size:14px}.charttools{gap:24px;display:flex}.charttools label{flex:1}.charts{justify-content:center;gap:100px;margin:24px 0;display:flex}.charts svg{cursor:crosshair;touch-action:manipulation;max-width:100%;height:400px}li button{margin:5px 10px;padding:4px 10px;font-size:13px}.recordhead{justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;display:flex}.records{max-width:1200px;margin:28px auto}.toolbar{gap:12px;display:flex}.toolbar input{flex:1}.tablewrap{margin-top:20px;overflow:auto}table{border-collapse:collapse;text-align:left;width:100%;font-size:14px}th{background:var(--mint-soft);white-space:nowrap;font-size:12px;font-weight:600}td,th{border-bottom:1px solid var(--line);padding:14px 12px}td{overflow-wrap:anywhere;max-width:240px}.empty{text-align:center;color:var(--muted);padding:60px 20px}.success{color:#20593b;background:#eaf5ee;border:1px solid #bedbc7;border-radius:9px;flex-direction:column;gap:5px;margin-bottom:24px;padding:17px 20px;font-size:14px;display:flex}.saving-overlay{z-index:1000;background:#fafdfbf7;flex-direction:column;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.loading-wordmark img{border-radius:14px;animation:1.4s ease-in-out infinite breathe;display:block}.saving-overlay h2{font-size:19px}.saving-overlay p{font-size:14px}@keyframes breathe{50%{opacity:.5;transform:translateY(-4px)}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media (width<=900px){header{padding:18px 24px}.brand img{width:175px}nav button{padding:10px 15px}.shell{padding:0 20px 24px}main{padding:24px}.progressnav button{font-size:12px}.records{width:calc(100% - 40px)}.toolbar button{padding:10px 14px}.visitlabel{display:none}.charts{gap:65px}}@media (width<=600px){header{flex-wrap:wrap;gap:16px;padding:16px 18px}.brand img{width:175px}nav{width:100%}nav button{flex:1;font-size:14px}.shell{padding:0 12px 20px}.progressnav{padding:20px 0}.progressline{top:37px}.progressnav button{padding:0 2px;font-size:10px}.progressnav button span{width:36px;height:36px}.progressnav button b{max-width:76px;line-height:1.3}main{border-radius:11px;padding:22px 18px}h1{font-size:27px}.fields{grid-template-columns:1fr}.field[data-field=Date],.field[data-field=Session\ number]{max-width:none}.field[data-field=Chaperone]{display:block}.field[data-field=Chaperone]>label{margin-bottom:7px}.field[data-field=Chaperone] .checks{gap:6px}.field[data-field=Chaperone] .checks label{gap:6px;font-size:12px}.checks{grid-template-columns:1fr}.charts{gap:10px}.charts svg{width:140px;height:330px}.charttools{gap:12px}.charttools label{font-size:12px}footer button{padding:10px 12px;font-size:13px}footer>div{gap:8px}.records{width:calc(100% - 24px);margin:20px auto}.recordhead{align-items:flex-start}.recordhead button{padding:10px;font-size:12px}.recordhead p{font-size:13px}.toolbar{flex-wrap:wrap}.toolbar input{flex-basis:100%}.toolbar button{flex:1;font-size:13px}}@media (width>=601px){.patient-form .field.wide{grid-column:auto}.patient-form .field[data-field=Date],.patient-form .field[data-field=Session\ number]{grid-column:auto;max-width:none}.patient-form .field[data-field=Chaperone]{border:0;padding:0;display:block}.patient-form .field[data-field=Chaperone]>label{margin-bottom:7px}.patient-form .field[data-field=Chaperone] .checks{justify-content:space-between;gap:12px}.patient-form .field[data-field=Chaperone] .checks label{gap:7px;min-height:50px}.patient-form .fields{gap:16px 24px}}.symptom-legend{flex-wrap:wrap;justify-content:center;gap:12px 22px;margin:18px 0;font-size:13px;display:flex}.symptom-legend span{align-items:center;gap:7px;display:flex}.symptom-legend i{border:1px solid #a99d86;border-radius:50%;flex-shrink:0;width:14px;height:14px}.client-link{color:var(--green);text-underline-offset:4px;font-weight:650}.report-toolbar{justify-content:space-between;align-items:center;gap:16px;max-width:1050px;margin:24px auto;padding:0 20px;display:flex}.report-toolbar a{color:var(--green);font-weight:600;text-decoration:none}.medical-report{border:1px solid var(--line);background:#fff;border-radius:10px;max-width:1010px;margin:0 auto 40px;padding:38px 40px}.report-header{align-items:flex-end;margin-bottom:22px;padding:0 0 25px}.report-header h1{color:var(--green);margin:0 0 6px;font-size:19px}.report-header>div:last-child{text-align:right}.report-header p{font-size:14px}.client-summary{background:var(--mint-soft);border-radius:7px;grid-template-columns:2fr 1.6fr .6fr 1.3fr;gap:18px;margin-bottom:26px;padding:20px;display:grid}.client-summary span{color:var(--muted);margin-bottom:5px;font-size:12px;display:block}.client-summary strong{overflow-wrap:anywhere;font-weight:600}.report-body{border-bottom:1px solid var(--line);padding-bottom:22px}.report-body .charts{margin:10px 0}.report-body .charts svg{cursor:default;height:330px}.marker-list{color:#53675c;flex-wrap:wrap;gap:8px 22px;padding:0;font-size:13px;list-style:none;display:flex}.body-notes{color:var(--ink);font-size:14px}.report-section{border-bottom:1px solid var(--line);padding:20px 0}.report-section h2{margin:0 0 20px}.report-section dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 26px;margin:0;display:grid}.report-section dt{color:var(--muted);margin-bottom:5px;font-size:12px}.report-section dd{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:14px}.report-footer{color:var(--muted);border:0;margin-top:22px;padding:0;font-size:11px}.account-link{color:#526b60;align-self:center;margin:0 8px;font-size:12px}@media (width<=700px){.medical-report{margin:0 12px 25px;padding:24px 20px}.report-header{padding:0 0 20px;display:block}.report-header>div:last-child{text-align:left;margin-top:16px}.client-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.report-section dl{grid-template-columns:1fr}.report-toolbar,.report-toolbar button{font-size:13px}.account-link{display:none}}.assessment-date{width:165px;color:var(--muted);flex-shrink:0;font-size:12px;font-weight:500}.assessment-date input{min-height:40px;margin-top:5px;padding:7px 10px;font-size:14px}.fields [data-field="Pain Day-wise Status"]{grid-column:auto}.record-access-note{margin-top:18px;font-size:12px}.record-access-note a{color:var(--green);margin-left:5px}.report-actions{gap:12px;display:flex}@media (width<=600px){.assessment-date{width:142px}.assessment-date input{min-height:40px;padding:7px;font-size:13px}.intro{align-items:flex-start}.intro h1{font-size:23px}.intro p:not(.stepcount){font-size:12px}.report-actions{gap:7px}.report-actions button{padding:9px;font-size:12px}.report-toolbar{flex-wrap:wrap}}@media print{@page{size:A4;margin:14mm}body{-webkit-print-color-adjust:exact;print-color-adjust:exact;background:#fff}.report-toolbar{display:none}.medical-report{border:0;border-radius:0;max-width:none;margin:0;padding:0}.report-header,.client-summary,.report-body{break-inside:avoid}.report-section dl{grid-template-columns:repeat(2,minmax(0,1fr))}.report-section dl>div{break-inside:avoid}.report-section h2{break-after:avoid}.report-footer{break-inside:avoid}.report-header>div:last-child{text-align:right}}@media screen and (width<=600px){input:not([type=checkbox]),select,textarea{font-size:16px;line-height:1.4}.assessment-date{width:150px;font-size:14px}.assessment-date input{min-height:44px;padding:8px;font-size:16px}.charttools label{min-width:0;font-size:14px}.charttools select{min-height:50px;padding-right:24px;font-size:16px}.progressnav button{min-height:72px;font-size:clamp(11px,3.05vw,13px)}.progressnav button b{overflow-wrap:normal;line-height:1.35}.checks label{min-height:48px;font-size:15px}footer button,.report-actions button{min-height:48px;font-size:14px}.report-toolbar a{align-items:center;min-height:44px;font-size:14px;display:flex}.recordhead{flex-wrap:wrap}.recordhead button{font-size:14px}.records .tablewrap{overflow:visible}.records table,.records tbody{width:100%;display:block}.records thead{clip:rect(0,0,0,0);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.records tbody tr{border:1px solid var(--line);border-radius:9px;margin-bottom:14px;padding:14px;display:block}.records td{border:0;grid-template-columns:106px minmax(0,1fr);gap:12px;width:100%;max-width:none;padding:7px 0;font-size:15px;display:grid}.records td:before{content:attr(data-label);color:var(--muted);align-self:center;font-size:13px}.records td[data-label=Client]{border-bottom:1px solid var(--line);margin-bottom:6px;padding-top:0;padding-bottom:12px;font-size:19px;display:block}.records td[data-label=Client]:before{display:none}.records td[data-label=Edit\ assessment] button{min-height:48px;font-size:14px}}.concise-report .report-header{margin-bottom:18px;padding-bottom:18px}.concise-report .report-header h2{font-size:18px}.concise-report .client-summary{margin-bottom:18px;padding:16px}.concise-report .report-body{padding-bottom:14px}.concise-report .report-body .charts{gap:56px;margin:6px 0}.concise-report .report-body .charts svg{width:100px;height:212px}.concise-report .report-body h3{margin:4px 0;font-size:14px}.concise-report .symptom-legend{gap:6px 16px;margin:8px 0;font-size:12px}.marker-summary{color:#526b60;margin:8px 0;font-size:12px}.concise-report .report-section{padding:16px 0}.concise-report .report-section h2{margin-bottom:12px;font-size:19px}.concise-report .report-section dl{gap:12px 22px}.concise-report .report-section dt{margin-bottom:3px;font-size:13px}.concise-report .report-section dd{font-size:14px;line-height:1.4}.section-empty{font-size:13px}@media print{.concise-report{font-size:10pt}.concise-report .report-header h1{font-size:25pt}.concise-report .report-header h2{font-size:13pt}.concise-report .report-section{padding:9px 0}.concise-report .report-section h2{margin-bottom:7px;font-size:12pt}.concise-report .report-section dl{gap:7px 16px}.concise-report .report-section dt{font-size:8pt}.concise-report .report-section dd{font-size:9pt;line-height:1.3}.concise-report .client-summary{padding:10px}.concise-report .report-body .charts svg{width:85px;height:180px}.concise-report .symptom-legend,.marker-summary{font-size:8pt}}body{background:linear-gradient(#edf7f1 0,#f9faf9 340px)}.shell main,.records{box-shadow:0 8px 24px #24544609}header>nav{border-color:#c6ded1}@media print{body{background:#fff}}
