.posture-reba{min-width:0}.posture-reba .posture-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;display:flex}.posture-heading h1{font-size:28px}.posture-heading p{color:var(--muted-foreground);margin-top:6px}.posture-instrument{background:var(--sheet-answer);color:var(--sheet-ink);border:1px solid var(--sheet-edge);--primary:var(--sheet-selected);--primary-foreground:var(--sheet-paper);border-radius:8px;max-width:1000px;margin:auto;overflow:hidden}.posture-instrument .instrument-title{background:var(--sheet-title);justify-content:space-between;align-items:center;gap:12px;padding:18px 22px;font-size:22px;display:flex}.posture-instrument button{box-shadow:none;filter:none;letter-spacing:0;transform:none}.posture-instrument button svg{filter:none;transform:none}.posture-instrument .instrument-body{padding:20px}.posture-instrument .field{min-width:0}.posture-instrument .field label{color:var(--sheet-ink);font-size:14px}.posture-instrument .field :is(input,select,textarea){background:var(--sheet-paper);color:var(--sheet-ink);border:1px solid var(--sheet-edge);box-shadow:none;border-radius:5px;width:100%;min-height:42px;font-size:14px;transform:none}.posture-instrument .form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.posture-photo-frame{background:var(--sheet-paper);border-radius:8px;max-width:620px;margin:0 auto;line-height:0;position:relative;overflow:hidden}.posture-photo-frame img{object-fit:contain;width:100%;height:auto;max-height:520px;display:block}.posture-photo-frame:has(svg) img{max-height:none}.posture-photo-frame svg{width:100%;height:100%;stroke:var(--sheet-selected);fill:var(--sheet-paper);stroke-width:3px;position:absolute;inset:0}.posture-photo-frame svg text{fill:var(--sheet-ink);stroke:none;font-size:20px}.posture-photo-empty{height:230px;color:var(--sheet-muted);flex-direction:column;justify-content:center;align-items:center;gap:16px;line-height:1.6;display:flex}.posture-photo-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0;display:grid}.posture-photo-actions button{background:var(--sheet-paper);height:auto;min-height:76px;color:var(--sheet-title);border:1px solid var(--sheet-edge);white-space:normal;text-align:center;flex-direction:column;padding:12px;font-size:13px;display:flex}.posture-photo-actions button svg{width:28px;height:28px}.posture-consent{align-items:flex-start;gap:10px;margin:12px 0;font-size:12px;line-height:1.6;display:flex}.posture-consent input{accent-color:var(--sheet-selected);flex-shrink:0;margin-top:4px}.posture-total{background:var(--sheet-paper);border:2px solid var(--sheet-muted);text-align:center;color:var(--sheet-ink);border-radius:8px;margin:16px 0;padding:18px;line-height:1.6}.posture-total strong{margin-left:8px;font-size:30px;display:inline-block}.posture-total[data-level="0"],.posture-total[data-level="1"]{border-color:var(--sheet-selected)}.posture-total[data-level="2"]{border-color:var(--warning)}.posture-total[data-level="3"],.posture-total[data-level="4"]{border-color:var(--destructive)}.posture-step-nav{justify-content:space-between;align-items:center;gap:12px;margin:24px 0 16px;display:flex}.posture-step-nav h2{text-align:center;font-size:22px}.posture-step-nav button{min-width:42px}.posture-step-track{background:var(--sheet-paper);border-bottom:1px solid var(--sheet-edge);flex-wrap:wrap;gap:6px;padding:14px 20px;display:flex}.posture-step-track button{color:var(--sheet-muted);border:1px solid var(--sheet-edge);background:0 0;min-width:32px;height:32px;padding:4px 8px;font-size:12px}.posture-step-track button[aria-current=step]{background:var(--sheet-selected);color:var(--sheet-paper)}.posture-step-track button[data-complete=true]{border-color:var(--sheet-selected)}.posture-choices{grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px;margin-top:14px;display:grid}.posture-choice{background:var(--sheet-paper);border:2px solid var(--sheet-muted);text-align:center;cursor:pointer;border-radius:8px;flex-direction:column;align-items:center;gap:10px;min-width:0;padding:12px;font-size:14px;line-height:1.45;display:flex}.posture-choice .technical-art{width:100%;max-width:180px}.posture-choice .technical-art svg{width:100%;height:165px;display:block}.posture-choice input{accent-color:var(--sheet-selected);width:21px;height:21px}.posture-choice[data-selected=true]{background:var(--sheet-selected);color:var(--sheet-paper);--sheet-ink:var(--sheet-paper);border-color:var(--sheet-selected)}.posture-adjustments{background:var(--sheet-paper);border-radius:8px;margin-top:20px;padding:18px}.posture-adjustments h3{margin-bottom:12px;font-size:17px}.posture-adjustments label{align-items:flex-start;gap:12px;margin:12px 0;font-size:14px;line-height:1.5;display:flex}.posture-adjustments input{accent-color:var(--sheet-selected);flex-shrink:0;width:19px;height:19px;margin-top:2px}.posture-note{color:var(--sheet-muted);white-space:pre-wrap;margin:14px 0;font-size:12px;line-height:1.7}.posture-instrument .posture-alert{border:1px solid var(--destructive);border-radius:5px;margin:12px 0;padding:12px;font-size:13px}.posture-instrument .posture-review{gap:18px;display:grid}.posture-instrument table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:13px}.posture-instrument th{background:var(--sheet-title)}.posture-instrument :is(th,td){border:1px solid var(--sheet-edge);overflow-wrap:anywhere;padding:10px}.posture-instrument .posture-footer{flex-wrap:wrap;align-items:center;gap:12px;margin-top:22px;display:flex}.posture-history{margin-top:32px}.posture-history h2{margin-bottom:16px;font-size:20px}.posture-history td{white-space:normal}.posture-history .table-wrap{overflow-x:auto}.posture-pdf-dialog{max-width:1000px!important}.posture-pdf-dialog iframe{border:0;width:100%;height:70vh}.posture-instrument details summary{cursor:pointer;padding:12px 0;font-size:14px}.posture-instrument details .field,.posture-instrument .posture-legacy{margin:12px 0}@media (width<=640px){.posture-instrument .instrument-body{padding:14px}.posture-instrument .form-grid{grid-template-columns:minmax(0,1fr)}.posture-photo-actions{gap:6px}.posture-photo-actions button{padding:10px 5px;font-size:11px}.posture-step-track{padding:12px}.posture-choice{padding:8px;font-size:13px}.posture-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.posture-heading h1{font-size:24px}.posture-instrument .instrument-title{padding:16px;font-size:20px}}.app-shell.app-shell.app-shell .posture-reba{overflow-wrap:anywhere;width:100%;min-width:0;max-width:100%}.app-shell.app-shell.app-shell .posture-instrument{--foreground:var(--sheet-ink);--muted-foreground:var(--sheet-muted);--border:var(--sheet-edge);--background:var(--sheet-answer);--card:var(--sheet-paper);--accent:var(--sheet-success);width:100%;min-width:0}.app-shell.app-shell.app-shell .posture-instrument :is(p,h2,h3,label,span,summary){color:inherit}.app-shell.app-shell.app-shell .posture-instrument .posture-note{color:var(--sheet-muted)}.app-shell.app-shell.app-shell .posture-instrument button{min-width:0;max-width:100%;box-shadow:none!important;filter:none!important;transform:none!important}.app-shell.app-shell.app-shell .posture-instrument button svg{fill:none;stroke:currentColor;flex-shrink:0;width:20px;height:20px;filter:none!important;transform:none!important}.app-shell.app-shell.app-shell .posture-photo-actions button svg{width:28px;height:28px}.app-shell.app-shell.app-shell .posture-photo-empty>svg{fill:none;stroke:currentColor;filter:none;width:44px;height:44px;transform:none}.app-shell.app-shell.app-shell .posture-instrument .instrument-title>svg{fill:none;stroke:currentColor;filter:none;flex-shrink:0;width:24px;height:24px}.app-shell.app-shell.app-shell .posture-instrument .posture-step-nav>button{min-width:42px}.app-shell.app-shell.app-shell .posture-instrument .posture-step-track>button{min-width:30px}.app-shell.app-shell.app-shell .posture-instrument .posture-choice{color:var(--sheet-ink)}.app-shell.app-shell.app-shell .posture-instrument .posture-choice[data-selected=true]{color:var(--sheet-paper)}.app-shell.app-shell.app-shell .posture-instrument .posture-choice .technical-art svg{fill:none;filter:none;width:100%;height:165px;transform:none}.app-shell.app-shell.app-shell .posture-heading{flex-wrap:wrap;min-width:0;display:flex}.app-shell.app-shell.app-shell .posture-heading>div{min-width:0}.app-shell.app-shell.app-shell .posture-instrument .posture-footer>button{background:var(--sheet-selected);color:var(--sheet-paper);border:1px solid var(--sheet-selected)}.app-shell.app-shell.app-shell .posture-instrument .posture-photo-actions>button{background:var(--sheet-paper);color:var(--sheet-title);border:1px solid var(--sheet-edge)}.app-shell.app-shell.app-shell .posture-instrument .posture-step-track>button[aria-current=step]{background:var(--sheet-selected);color:var(--sheet-paper)}@media (width<=640px){.app-shell.app-shell.app-shell .posture-instrument .instrument-body{padding:14px}.app-shell.app-shell.app-shell .posture-instrument .posture-photo-actions{grid-template-columns:repeat(3,minmax(0,1fr))}.app-shell.app-shell.app-shell .posture-instrument .posture-photo-actions button{padding:10px 4px;font-size:11px}.app-shell.app-shell.app-shell .posture-history .data-table{min-width:620px}.app-shell.app-shell.app-shell .posture-history{min-width:0;max-width:100%;overflow:hidden}}.app-shell.app-shell.app-shell[data-page=\/posture] .app-main{min-width:0;max-width:100%}.app-shell.app-shell.app-shell[data-page=\/posture] main.content{width:100%;min-width:0;max-width:100%}.app-shell.app-shell.app-shell[data-page=\/posture] main.content>div{min-width:0;max-width:100%}.app-shell.app-shell.app-shell .posture-photo-frame>svg{width:100%;height:100%;position:absolute;inset:0}.app-shell.app-shell.app-shell .posture-photo-empty{flex-direction:column;justify-content:center;align-items:center;display:flex;position:relative}.app-shell.app-shell.app-shell .posture-photo-empty>svg{flex-shrink:0;width:44px;height:44px;position:static}
