:root{color:#0f172a;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#eef2f7;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:400;line-height:1.5}html,body,#root{min-height:100%;margin:0}body{min-width:320px}button,input,textarea{font:inherit}:root{color:#17324d;background:radial-gradient(circle at 0 0,#8fd6ff47,#0000 28%),linear-gradient(#f5fbff 0%,#edf6fb 45%,#eef4f8 100%);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body,html,#root{min-height:100%;margin:0}body{background:radial-gradient(circle at 0 0,#8fd6ff47,#0000 28%),linear-gradient(#f5fbff 0%,#edf6fb 45%,#eef4f8 100%)}button,input,textarea,select{font:inherit}.app-shell{background:0 0;min-height:100svh}.auth-shell{place-items:center;padding:24px;display:grid}.auth-card{text-align:center;width:min(460px,100%);padding:28px}.auth-card h1{color:#10243a;margin:0 0 10px}.auth-icon{color:#2f8dfd;background:#4db7f824;border-radius:18px;place-items:center;width:56px;height:56px;margin:0 auto 16px;display:grid}.auth-form{text-align:left;flex-direction:column;gap:14px;margin-top:18px;display:flex}.auth-error{color:#b91c1c;font-size:.92rem}.simple-app{flex-direction:column;gap:20px;max-width:1500px;margin:0 auto;padding:32px 28px 40px;display:flex}.simple-header{align-items:flex-start;gap:24px;display:flex}.simple-header h1,.panel-header h2{color:#10243a;margin:0}.simple-header h1{letter-spacing:-.03em;margin-top:6px;font-size:clamp(2rem,4vw,3.1rem)}.simple-kicker{color:#4d7ea3;text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;font-weight:700}.simple-subtle,.panel-header p,.status-inline,.recording-bar span,.detail-meta,.session-row span,.detail-empty-state p{color:#6b859c}.simple-subtle{max-width:700px;margin-top:10px;font-size:1rem}.card{-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffd1;border:1px solid #badbefcc;border-radius:26px;box-shadow:0 12px 38px #2c5a7814,inset 0 1px #ffffff8c}.simple-toolbar,.recording-bar,.compact-card,.panel-card{padding:20px}.patient-grid{grid-template-columns:repeat(2,minmax(180px,1fr));gap:12px;display:grid}.patient-grid.compact{flex:1}label{color:#527089;flex-direction:column;gap:6px;font-size:13px;font-weight:600;display:flex}input,textarea,select{color:#17324d;background:#ffffffeb;border:1px solid #bfdbeef2;border-radius:16px;width:100%;padding:12px 14px;box-shadow:inset 0 1px 2px #0f172a05}input:focus,textarea:focus,select:focus{border-color:#93c5fd;outline:2px solid #60a5fa1f}.simple-toolbar{justify-content:space-between;align-items:flex-end;gap:16px;display:flex}.toolbar-actions,.button-row{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.template-select-label{min-width:220px}.panel-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:16px;display:flex}.panel-header h2{letter-spacing:-.02em;font-size:1.2rem}.ghost-button,.primary-button,.danger-button,.session-row-load{cursor:pointer;border:0;border-radius:999px;align-items:center;gap:8px;padding:11px 16px;font-weight:700;transition:transform .15s,box-shadow .15s,opacity .15s;display:inline-flex}.ghost-button:hover,.primary-button:hover,.danger-button:hover,.session-row-load:hover{transform:translateY(-1px)}.ghost-button{color:#1f4668;background:#edf5fbeb;box-shadow:inset 0 0 0 1px #b2d1e4cc}.primary-button{color:#fff;background:linear-gradient(135deg,#2f8dfd,#4db7f8);box-shadow:0 10px 22px #4db7f842}.danger-button{color:#fff;background:linear-gradient(135deg,#ef4444,#fb7185);box-shadow:0 10px 22px #f8717133}.ghost-button:disabled,.primary-button:disabled,.danger-button:disabled,.session-row-load:disabled{opacity:.6;cursor:not-allowed;transform:none}.file-button{position:relative;overflow:hidden}.file-button input{opacity:0;cursor:pointer;position:absolute;inset:0}.compact-file-button{justify-content:center;min-width:92px}.recording-bar{justify-content:space-between;align-items:center;gap:16px;display:flex}.recording-bar strong{color:#17324d;margin-bottom:4px;display:block}.simple-audio{max-width:340px}.recording-placeholder{color:#6b859c;text-align:center;background:#ffffff70;border:1px dashed #b3ccddf2;border-radius:14px;min-width:220px;padding:12px 14px}.main-columns,.lower-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px;display:grid}.transcript-area.simple-textarea{resize:vertical;min-height:640px}.soap-stack,.detail-soap-list{flex-direction:column;gap:12px;display:flex}.simple-soap-editor span,.detail-block h3{color:#12304b;font-weight:700}.simple-soap-editor textarea{resize:vertical;min-height:120px}.combined-soap-editor textarea{white-space:pre-wrap;min-height:620px;font-family:inherit;line-height:1.6}.combined-soap-editor-preview .combined-soap-surface{background:#ffffffe6;border:1px solid #bfdbeef2;border-radius:18px;min-height:620px;padding:18px}.combined-soap-section+.combined-soap-section{margin-top:20px}.combined-soap-section h3{color:#10243a;margin:0 0 10px;font-size:1.16rem;font-weight:800;line-height:1.2}.combined-soap-body{color:#35536b;line-height:1.65}.soap-line,.soap-bullet-line{white-space:pre-wrap}.soap-bullet-line{margin-left:.1rem}.session-list-simple{flex-direction:column;gap:12px;display:flex}.patient-group-card{background:#ffffffb8;border:1px solid #c0dceee6;border-radius:18px;overflow:hidden}.patient-group-header{text-align:left;cursor:pointer;width:100%;color:inherit;background:0 0;border:0;justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.patient-group-header strong{color:#17324d;display:block}.patient-group-header span{color:#6b859c}.patient-session-list{flex-direction:column;gap:10px;padding:0 12px 12px;display:flex}.session-row{background:#ffffffb8;border:1px solid #c0dceee6;border-radius:18px;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;display:flex}.session-row.active{background:#dbeeff99;border-color:#93c5fd}.session-row-main{text-align:left;width:100%;color:inherit;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;padding:0;display:flex}.session-row-load{color:#3157a5;background:#e6effff5}.session-row-actions{flex-wrap:wrap;gap:8px;display:flex}.session-row-delete{cursor:pointer;color:#b91c1c;background:#fee2e2f2;border:0;border-radius:999px;align-items:center;gap:8px;padding:11px 16px;font-weight:700;display:inline-flex}.detail-panel{min-height:360px}.detail-meta.simple-detail-meta{flex-wrap:wrap;gap:14px;margin-bottom:12px;font-size:13px;display:flex}.detail-block{flex-direction:column;gap:8px;margin-bottom:12px;display:flex}.detail-content{white-space:pre-wrap;color:#35536b;background:#fffc;border:1px solid #bfdbeef2;border-radius:16px;max-height:220px;padding:14px;line-height:1.58;overflow:auto}.empty-state,.detail-empty-state{color:#6b859c;background:#ffffff70;border:1px dashed #b3ccddf2;border-radius:18px;padding:18px}.simple-detail-empty{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;min-height:280px;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media (width<=1100px){.simple-toolbar,.simple-header,.recording-bar,.main-columns,.lower-columns,.patient-grid{flex-direction:column;grid-template-columns:1fr;align-items:stretch}.simple-status-group{align-items:flex-start}.simple-audio{max-width:100%}}@media (width<=720px){.simple-app{padding:16px}.panel-header,.session-row{flex-direction:column;align-items:stretch}.session-row-main{width:100%}}
