@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;500;600;700&display=swap");*{box-sizing:border-box;margin:0;padding:0}body,html{height:100%;background-color:#f6f8f7;font-family:Nunito Sans,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;color:#1f2937;line-height:1.5;-webkit-font-smoothing:antialiased}.app-container{max-width:1280px;margin:0 auto;padding:24px}.app-header{justify-content:space-between;margin-bottom:24px;padding:20px 28px;min-height:100px;border-radius:16px;background:#ffffff;box-shadow:0 2px 12px rgba(0,0,0,.06);gap:32px;flex-wrap:nowrap}.app-header,.brand{display:flex;align-items:center}.brand{align-self:center;gap:12px;flex-shrink:0}.brand-logo-block{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:6px}.header-logo{height:90px;width:auto;max-width:360px;object-fit:contain;object-position:left center;display:block;vertical-align:middle}.brand-mark{width:42px;height:42px;border-radius:12px;background:#e7f2ef;color:#2f6f62;display:flex;align-items:center;justify-content:center;font-weight:700}.brand-title{font-size:18px;font-weight:700}.brand-subtitle{font-size:14px;font-weight:500;color:#6b7280;line-height:1.2;margin-left:2px;letter-spacing:.01em}.app-nav{display:flex;align-items:center;gap:8px;font-weight:500;flex:1 1 auto;min-width:0;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin}.app-nav a{text-decoration:none;color:#475569;display:inline-flex;align-items:center;gap:10px;padding:12px 18px;border-radius:10px;transition:color .2s ease,background-color .2s ease,box-shadow .2s ease;font-size:16px;line-height:1}.app-nav a:hover{color:#2f6f62;background:rgba(47,111,98,.08)}.app-nav a:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #2f6f62}.app-nav a.nav-link-active{color:#2f6f62;font-weight:600;background:rgba(47,111,98,.12)}.app-nav a.nav-link-active:hover{background:rgba(47,111,98,.16)}.app-nav a.nav-link-active .nav-icon{color:#2f6f62}.nav-icon{width:20px;height:20px;color:#94a3b8;display:inline-flex;align-items:center;flex-shrink:0;transition:color .2s ease}.app-nav a:hover .nav-icon{color:#2f6f62}.nav-icon svg,.nav-icon-signature svg{width:20px;height:20px;display:block}.avatar{width:44px;height:44px;border-radius:999px;background:linear-gradient(135deg,#e7f2ef,#d4eae4);color:#2f6f62;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:14px;flex-shrink:0;transition:background-color .2s ease,box-shadow .2s ease;border:2px solid rgba(47,111,98,.2);box-shadow:0 2px 8px rgba(47,111,98,.12)}.user-menu{display:flex;flex-direction:column;align-items:flex-end;gap:6px;position:relative}.user-row{gap:12px}.user-row,.user-row-button{display:flex;align-items:center}.user-row-button{background:transparent;border:none;cursor:pointer;padding:10px 14px;border-radius:14px;gap:14px;transition:background-color .2s ease,box-shadow .2s ease}.user-row-button:hover{background:rgba(47,111,98,.08)}.user-row-button:hover .avatar{background:rgba(47,111,98,.2)}.user-row-button:active{background:rgba(47,111,98,.12)}.user-row-button:focus-visible{outline:none;box-shadow:0 0 0 2px #fff,0 0 0 4px #2f6f62}.user-meta{display:flex;flex-direction:column;align-items:flex-end}.user-name{font-size:15px;font-weight:700;color:#1f2937;letter-spacing:.01em}.user-role{font-size:13px;color:#6b7280;font-weight:500}.user-caret{font-size:11px;color:#94a3b8;transition:transform .2s ease,color .2s ease;margin-left:2px}.user-row-button:hover .user-caret{color:#2f6f62}.user-row-button[aria-expanded=true] .user-caret{transform:rotate(180deg);color:#2f6f62}.user-menu-dropdown{position:absolute;top:calc(100% + 12px);right:0;background:#ffffff;border:1px solid #e2e8f0;border-radius:14px;padding:8px;box-shadow:0 16px 40px rgba(15,23,42,.18),0 0 0 1px rgba(0,0,0,.02);min-width:200px;z-index:20}.user-menu-dropdown .logout-button,.user-menu-dropdown a.logout-button{width:100%;justify-content:center;display:flex;text-decoration:none;color:inherit;text-align:center;box-sizing:border-box;border-radius:10px;transition:background-color .2s ease,color .2s ease;font-weight:600}.user-menu-dropdown a.logout-button{margin-bottom:4px}.user-menu-dropdown .logout-button:hover,.user-menu-dropdown a.logout-button:hover{background:rgba(47,111,98,.1);color:#2f6f62}.user-menu-dropdown .logout-button:focus-visible,.user-menu-dropdown a.logout-button:focus-visible{outline:none;box-shadow:0 0 0 2px #2f6f62}.logout-button{padding:12px 18px;font-size:14px}.user-menu-dropdown a.secondary-button{width:100%;justify-content:center;text-align:center;text-decoration:none;margin-bottom:6px}.user-menu-dropdown .logout-button:not(:last-child),.user-menu-dropdown a.logout-button:not(:last-child){border-bottom:1px solid #f1f5f9;margin-bottom:6px;padding-bottom:6px}.settings-page{margin:0 auto;padding:4px 8px 40px}.settings-page,.settings-page--wide{max-width:1240px}.settings-header{margin-bottom:30px}.settings-title{font-size:34px;font-weight:700;color:#1f2937;letter-spacing:-.01em;margin-bottom:8px}.settings-subtitle{font-size:16px;color:#6b7280;line-height:1.55}.settings-card{background:#ffffff;border:1px solid #e2e8f0;border-radius:14px;padding:28px 32px;margin-bottom:24px;box-shadow:0 1px 3px rgba(0,0,0,.05)}.settings-card--spacious{padding:32px 36px}.settings-card-title{font-size:24px;font-weight:700;color:#1f2937;margin-bottom:10px;letter-spacing:-.01em}.settings-card-desc{font-size:15px;color:#6b7280;margin-bottom:24px;line-height:1.6}.settings-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:26px}.settings-metric{border:1px solid #dbe6e3;background:#f8fbfa;border-radius:10px;padding:14px 16px;display:flex;flex-direction:column;gap:4px}.settings-metric-label{font-size:12px;color:#64748b;text-transform:uppercase;letter-spacing:.04em;font-weight:700}.settings-metric-value{font-size:24px;color:#0f172a}.settings-invite-form{margin-bottom:28px}.settings-form-stack{display:flex;flex-direction:column;gap:16px}.settings-field{display:flex;flex-direction:column;gap:8px}.settings-field-label{font-size:13px;font-weight:700;color:#334155;letter-spacing:.02em}.settings-form-actions{display:flex;justify-content:flex-start}.settings-invite-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.settings-invite-input{width:100%;padding:12px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:15px;background:#ffffff;color:#334155}.settings-invite-input:focus{outline:none;border-color:#4f9f8f;box-shadow:0 0 0 2px rgba(79,159,143,.2)}.settings-invite-role{width:100%;padding:12px 14px;border:1px solid #e2e8f0;border-radius:8px;font-size:15px;background:#ffffff;color:#334155;min-width:0}.settings-error{color:#b42318;font-size:14px;margin-top:10px}.settings-success{color:#027a48;font-size:14px;margin-top:10px}.settings-table-wrap{overflow-x:auto;margin-bottom:22px;border:1px solid #e5e7eb;border-radius:12px}.settings-table{width:100%;min-width:880px;border-collapse:collapse;font-size:15px}.settings-table td,.settings-table th{padding:13px 14px;text-align:left;border-bottom:1px solid #e5e7eb}.settings-table th{font-weight:600;color:#475569;background:#f8fafc}.settings-role-select{padding:8px 11px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;background:#ffffff;color:#334155}.settings-remove-btn{font-size:13px;padding:8px 12px}.settings-subsection-title{font-size:19px;font-weight:600;color:#334155;margin-bottom:12px}.settings-invitations-list{list-style:none;padding:0;margin:0}.settings-invitation-item{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #e5e7eb;flex-wrap:wrap}.settings-invitation-email{flex:1;min-width:120px;font-weight:500}.settings-invitation-role{font-size:12px;color:#6b7280;text-transform:capitalize}.settings-general-list{display:flex;flex-direction:column;gap:12px}.settings-general-item{display:flex;flex-direction:column;gap:2px}.settings-general-label{font-size:12px;font-weight:600;color:#64748b;text-transform:uppercase;letter-spacing:.02em}.settings-general-value{font-size:14px;color:#1f2937}.settings-tabs{display:flex;gap:8px;margin-bottom:26px;border-bottom:1px solid #e2e8f0;padding-bottom:2px;flex-wrap:wrap}.settings-tab{padding:12px 18px;font-size:15px;font-weight:600;color:#64748b;background:transparent;border:none;border-bottom:2px solid transparent;margin-bottom:-1px;cursor:pointer;border-radius:8px 8px 0 0;transition:color .15s ease,background .15s ease}.settings-tab:hover{color:#334155;background:#f8fafc}.settings-tab--active{color:#2f6f62;border-bottom-color:#4f9f8f;background:#ffffff}.settings-subsection{margin-top:30px;padding-top:24px;border-top:1px solid #e5e7eb}.settings-subsection:first-of-type{margin-top:0;padding-top:0;border-top:none}.settings-list{list-style:none;padding:0;margin:0}.settings-list-item{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #e5e7eb;flex-wrap:wrap}.settings-list-item:last-child{border-bottom:none}.settings-list-label{flex:1;min-width:120px;font-weight:500;font-size:15px}.settings-list-meta{font-size:14px;color:#6b7280;text-transform:capitalize}.settings-list--readonly .settings-list-item{padding:8px 0}.settings-list-item--nurse{align-items:center}.settings-nurse-select{padding:8px 11px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;background:#ffffff;color:#334155;min-width:140px;max-width:300px}.settings-confirm-danger{background:#dc2626}.settings-confirm-danger:hover:not(:disabled){background:#b91c1c}.primary-button{background-color:#4f9f8f;color:white;border:none;border-radius:8px;transition:transform .15s ease,box-shadow .2s ease,background .2s ease}.primary-button,.secondary-button{padding:10px 16px;cursor:pointer;font-size:14px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;white-space:nowrap}.secondary-button{background:#ffffff;color:#1f2937;border:1px solid #d7e2df;border-radius:8px;transition:transform .15s ease,box-shadow .2s ease,border .2s ease}.primary-button:hover{background:#3f8f7f;transform:translateY(-1px);box-shadow:0 8px 16px rgba(15,23,42,.12)}.primary-button:focus-visible,.secondary-button:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(79,159,143,.35)}.secondary-button:focus-visible{box-shadow:0 0 0 3px rgba(79,159,143,.2)}.secondary-button:hover{transform:translateY(-1px);border-color:#b6c7c2;box-shadow:0 8px 16px rgba(15,23,42,.08)}input,select,textarea{padding:10px 12px;border-radius:8px;border:1px solid #e2e8f0;font-size:14px;font-family:inherit;transition:border-color .15s ease,box-shadow .15s ease}input{padding:10px 12px}input:focus,select:focus,textarea:focus{outline:none;border-color:#4f9f8f;box-shadow:0 0 0 3px rgba(79,159,143,.12)}select{padding:10px 12px;background:#ffffff;cursor:pointer}textarea{min-height:120px;resize:vertical;line-height:1.5}.search-input{width:220px}.card{background-color:#ffffff;border-radius:12px;padding:16px;box-shadow:0 2px 10px rgba(0,0,0,.06);transition:transform .15s ease,box-shadow .2s ease}.card:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,23,42,.12)}.login-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:radial-gradient(circle at top,#eef6f3,#f6f8f7 60%)}.login-card{width:100%;max-width:420px;background:#ffffff;border-radius:16px;padding:28px;box-shadow:0 10px 30px rgba(31,41,55,.12)}.login-card h2{font-size:26px;letter-spacing:-.01em;line-height:1.2}.login-brand{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px}.login-logo{height:80px;width:auto;max-width:280px;object-fit:contain;display:block}.login-tagline{font-size:13px;font-weight:600;color:#6b7280;letter-spacing:.08em;line-height:1.2}.muted{color:#6b7280;font-size:14px}.error-text{color:#b42318;font-size:13px}.success-text{color:#027a48;font-size:13px}.stack{display:flex;flex-direction:column;gap:16px}.stack-tight{gap:12px}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:16px}.page-header{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.page-header h1,.page-header h2{letter-spacing:-.01em;line-height:1.2}.header-actions{display:flex;gap:12px;align-items:center;flex-shrink:0;margin-left:0}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stats-grid-four{grid-template-columns:repeat(4,1fr)}.stat-card{display:flex;align-items:center;gap:12px}.stat-icon{width:36px;height:36px;border-radius:12px;background:#f3f5f5;color:#94a3b8;display:inline-flex;align-items:center;justify-content:center}.stat-icon svg{width:18px;height:18px}.stat-value{font-size:22px;font-weight:700}.stat-label{font-size:12px;color:#6b7280}.filter-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.filter-bar--multi{flex-wrap:wrap;gap:12px 16px}.filter-bar--multi .search-input{min-width:200px;flex:1}.filter-bar--multi select{min-width:140px;padding:8px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;background:#ffffff;color:#334155;cursor:pointer}.patient-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}.patient-card{cursor:pointer;display:flex;flex-direction:column;gap:14px;padding:20px;min-height:140px;background:#ffffff;border:1px solid #e0f2f1;border-radius:14px;box-shadow:0 2px 8px rgba(0,0,0,.06);transition:box-shadow .25s ease,transform .2s ease,border-color .2s ease}.patient-card--approved{border-color:#86efac;background:linear-gradient(180deg,#ffffff,#f7fef9)}.patient-card--not-approved{border-color:#fca5a5;background:linear-gradient(180deg,#ffffff,#fff8f8)}.patient-card--pending{border-color:#fde047;background:linear-gradient(180deg,#ffffff,#fefce8)}.patient-card:hover{box-shadow:0 8px 24px rgba(79,159,143,.18);transform:translateY(-2px);border-color:#4f9f8f}.patient-card:active{transform:translateY(0);box-shadow:0 4px 12px rgba(79,159,143,.12)}.nurse-dashboard{gap:1.5rem;padding-bottom:2rem}.nurse-dashboard .error-text{margin:0}.nurse-dashboard-header{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:1rem;padding:0 0 .25rem}.nurse-dashboard-header-inner{min-width:0}.nurse-dashboard-subtitle{margin-top:.25rem;font-size:.9375rem;color:#64748b;line-height:1.45}.nurse-dashboard-header-actions{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.75rem;flex-shrink:0}.nurse-dashboard-date-filter{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.nurse-date-label{font-size:.875rem;color:#64748b;white-space:nowrap}.nurse-date-input{padding:.4rem .6rem;border:1px solid #cbd5e1;border-radius:6px;font-size:.875rem}.nurse-all-time-btn.active{background:#e0f2fe;color:#0369a1;border-color:#7dd3fc}.nurse-dashboard-add-btn{flex-shrink:0}.nurse-dashboard-empty{padding:2rem 1.5rem;text-align:center;max-width:560px;margin:0 auto}.nurse-patient-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:1.25rem}.nurse-patient-card{display:flex;flex-direction:column;padding:0;overflow:hidden;gap:0}.nurse-patient-card-main{flex:1;padding:1.25rem 1.25rem 1rem;cursor:pointer;transition:background-color .15s ease}.nurse-patient-card-main:hover{background:rgba(248,250,252,.8)}.nurse-patient-card-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.875rem;flex-wrap:wrap}.nurse-patient-card-header .patient-avatar{flex-shrink:0}.nurse-patient-card-title{flex:1;min-width:0;display:flex;flex-direction:column;gap:.25rem}.nurse-approval-badge{flex-shrink:0;padding:.25rem .5rem;border-radius:999px;font-size:.75rem;font-weight:600;white-space:nowrap}.nurse-approval-badge--approved{background:#dcfce7;border:1px solid #22c55e;color:#166534}.nurse-approval-badge--not-approved{background:#fee2e2;border:1px solid #ef4444;color:#991b1b}.nurse-approval-badge--pending{background:#fef9c3;border:1px solid #eab308;color:#854d0e}.nurse-patient-card-title .patient-name{font-weight:700;font-size:1.0625rem;color:#1e293b;line-height:1.3}.nurse-patient-meta{font-size:.8125rem;color:#64748b}.nurse-patient-card-approval{flex-shrink:0}.nurse-patient-card-details{display:flex;flex-direction:column;gap:.5rem}.nurse-patient-detail-row{display:grid;grid-template-columns:120px 1fr;gap:.5rem 1rem;align-items:baseline;font-size:.875rem}.nurse-patient-label{font-weight:600;color:#475569}.nurse-patient-value{color:#1e293b;word-break:break-word}.nurse-patient-card-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;padding:1rem 1.25rem;background:#f8fafc;border-top:1px solid #e2e8f0}.nurse-action-btn{flex-shrink:0;text-decoration:none}.nurse-action-btn.secondary-button{padding:.5rem .875rem;font-size:.875rem}.nurse-action-btn.primary-button,.nurse-appointment-completed-badge{padding:.5rem 1rem;font-size:.875rem}.nurse-appointment-completed-badge{display:inline-flex;align-items:center;font-weight:600;color:#64748b;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:8px;cursor:default;user-select:none}@media (max-width:640px){.nurse-patient-list{grid-template-columns:1fr}.nurse-patient-card-actions{flex-direction:column;align-items:stretch}.nurse-patient-card-actions .nurse-action-btn{width:100%;justify-content:center}}.nurse-inventory-page{gap:1.5rem;width:100%;max-width:none}.nurse-inventory-header{padding-bottom:.25rem}.nurse-inventory-subtitle{margin-top:.25rem;font-size:.9375rem;color:#64748b;line-height:1.45}.nurse-inventory-card{padding:1.75rem 2rem;width:100%;max-width:960px}.nurse-inventory-recorded-card{padding:1.5rem 1.75rem;width:100%;max-width:960px}.nurse-inventory-recorded-title{font-size:1.125rem;font-weight:700;color:#1e293b;margin:0 0 .35rem}.nurse-inventory-recorded-subtitle{font-size:.875rem;color:#64748b;margin:0 0 1rem}.nurse-inventory-recorded-table .nurse-inventory-td-num,.nurse-inventory-recorded-table .nurse-inventory-th-num{width:120px;text-align:right}.nurse-inventory-recorded-table .nurse-inventory-td-num{font-variant-numeric:tabular-nums}.nurse-inventory-recorded-table .nurse-inventory-td-date,.nurse-inventory-recorded-table .nurse-inventory-th-date{width:160px;text-align:right;font-variant-numeric:tabular-nums;font-size:.875rem;color:#64748b}.nurse-inventory-form{display:flex;flex-direction:column;gap:1.25rem}.nurse-inventory-field{margin-bottom:0}.nurse-inventory-field span:first-child{display:block;font-weight:600;color:#374151;margin-bottom:.2rem}.nurse-inventory-required{display:block;font-size:.8125rem;color:#64748b;font-weight:400;margin-bottom:.35rem}.required-star{color:#dc2626}.nurse-inventory-select,.nurse-inventory-textarea{width:100%;padding:.5rem .75rem;border-radius:8px;border:1px solid #e2e8f0;font-size:.9375rem;font-family:inherit}.nurse-inventory-select:focus,.nurse-inventory-textarea:focus{outline:none;border-color:#2f6f62;box-shadow:0 0 0 2px rgba(47,111,98,.15)}.nurse-inventory-table-wrap{overflow-x:auto;border:1px solid #e2e8f0;border-radius:8px;background:#fff}.nurse-inventory-table{width:100%;min-width:760px;border-collapse:collapse;font-size:.9375rem}.nurse-inventory-table td,.nurse-inventory-table th{padding:.75rem 1rem;text-align:left;border-bottom:1px solid #e2e8f0;vertical-align:middle}.nurse-inventory-table th{font-weight:600;color:#374151;background:#f8fafc}.nurse-inventory-table tbody tr:last-child td{border-bottom:none}.nurse-inventory-td-qty,.nurse-inventory-th-qty{width:140px;text-align:right}.nurse-inventory-td-qty{white-space:nowrap}.nurse-inventory-qty-input{width:5.5rem;padding:.4rem .5rem;border-radius:6px;border:1px solid #e2e8f0;font-size:.9375rem;text-align:right;font-variant-numeric:tabular-nums}.nurse-inventory-qty-input:focus{outline:none;border-color:#2f6f62}.nurse-inventory-success{color:#059669;font-weight:500;font-size:.9375rem}.nurse-inventory-submit{align-self:flex-start}.patient-card-header-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 14px;align-items:start}.patient-card-top-right{grid-column:2;grid-row:1/span 3;display:flex;flex-direction:column;align-items:flex-start;gap:2px;flex-shrink:0;min-width:120px;position:relative;padding-right:16px}.patient-card-name-row{display:flex;align-items:center;gap:8px;min-width:0}.patient-card .patient-name{font-weight:700;font-size:16px;color:#1e293b;line-height:1.35;margin-bottom:6px;letter-spacing:-.01em}.patient-card .patient-detail-line{font-size:13px;color:#64748b;line-height:1.5;margin-top:0}.patient-card-meta-title{font-weight:700;color:#334155}.patient-card-facility{font-size:12px;font-weight:600;color:#475569;margin-top:0;margin-bottom:0}.patient-card-room{font-size:12px;color:#64748b;margin-bottom:0}.patient-card-details-wrap{display:flex;flex-direction:column;min-height:80px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden}.patient-card-details-main{flex:1;padding:14px 16px;display:flex;flex-direction:column;gap:10px}.patient-card-details-divider{height:2px;background:linear-gradient(90deg,transparent,#cbd5e1 5%,#cbd5e1 95%,transparent);flex-shrink:0}.patient-card-details-footer{flex-shrink:0;padding:12px 16px;display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;background:rgba(255,255,255,.7)}.patient-card-status-pill{display:none}.patient-avatar--pill{width:16px;height:16px;border-radius:6px;font-size:8px}.patient-avatar--name,.patient-avatar--pill{font-weight:700;color:#2f6f62;background:#e7f2ef;flex-shrink:0}.patient-avatar--name{width:24px;height:24px;border-radius:8px;font-size:11px}.patient-avatar--pill svg{width:14px;height:14px}.approval-select--pill{min-width:0;width:120px;max-width:120px;padding:4px 8px;font-size:11px;font-weight:600;border:1px solid #d7e2df;background:#ffffff;border-radius:6px;line-height:1.2}.approval-select--pill:focus{outline:none;box-shadow:0 0 0 2px rgba(79,159,143,.2);border-color:#4f9f8f}.approval-select--pill.approval-select--approved{background:#ffffff;border-color:#d7e2df;color:#166534}.approval-select--pill.approval-select--not-approved{background:#ffffff;border-color:#d7e2df;color:#b91c1c}.approval-select--pill.approval-select--empty,.approval-select--pill.approval-select--pending{background:#fef9c3;border-color:#eab308;color:#854d0e}.patient-card-top-label{font-size:10px;font-weight:700;color:#64748b;text-transform:uppercase;letter-spacing:.04em}.patient-card-approval-wrap{display:flex;align-items:center;gap:6px;flex-shrink:0;white-space:nowrap}.patient-card-top-right .patient-card-chevron{position:absolute;right:0;top:24px}.approval-select--filled.approval-select--empty,.approval-select--filled.approval-select--pending{background:#fef9c3;border-color:#eab308;color:#854d0e;font-weight:600}.approval-select--filled.approval-select--pending:focus{border-color:#ca8a04;box-shadow:0 0 0 2px rgba(234,179,8,.35)}.approval-select--filled.approval-select--approved{background:#dcfce7;border-color:#22c55e;color:#166534;font-weight:600}.approval-select--filled.approval-select--approved:focus{box-shadow:0 0 0 2px rgba(34,197,94,.35)}.approval-select--filled.approval-select--not-approved{background:#fee2e2;border-color:#ef4444;color:#b91c1c;font-weight:600}.approval-select--filled.approval-select--not-approved:focus{box-shadow:0 0 0 2px rgba(239,68,68,.35)}.approval-select--filled.approval-select--unset{background:#fef9c3;border-color:#eab308;color:#854d0e;font-weight:600}.approval-select--filled.approval-select--unset:focus{border-color:#ca8a04;box-shadow:0 0 0 2px rgba(234,179,8,.35)}.approval-badge{width:10px;height:10px;border-radius:50%;flex-shrink:0}.approval-badge--approved{background:#22c55e}.approval-badge--not-approved{background:#ef4444}.approval-badge--pending,.approval-badge--unset{background:#eab308;box-shadow:0 0 0 1px rgba(234,179,8,.3)}.approval-badge--list{width:8px;height:8px}.patient-card-box{width:100%;min-width:0;border-radius:10px;padding:12px 14px}.patient-card-box--identity{background:#f0fdf4;border:1px solid #bbf7d0}.patient-card-box--details{background:#f8fafc;border:1px solid #e2e8f0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px}.patient-card-box .patient-name{display:block;font-weight:700;font-size:15px;color:#1f2937;line-height:1.3;margin-bottom:4px;word-break:break-word;white-space:normal}.patient-card-box .patient-detail-line{font-size:13px;color:#64748b;line-height:1.5;margin-top:2px}.patient-detail-line{font-size:12px;color:#64748b;line-height:1.4}.patient-card-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px}.patient-detail-row{display:flex;flex-direction:column;gap:2px}.patient-detail-row.full{grid-column:1/-1}.patient-detail-label{font-size:11px;font-weight:700;color:#475569;text-transform:uppercase;letter-spacing:.02em}.patient-detail-value{font-size:11px;color:#1f2937;font-weight:600}.patient-avatar{width:40px;height:40px;border-radius:12px;background:#e0f2f1;color:#2f6f62;display:flex;align-items:center;justify-content:center;flex-shrink:0}.patient-card-details-wrap .patient-detail-row{display:flex;flex-direction:column;gap:2px}.patient-card-details-wrap .patient-detail-label{font-size:11px;font-weight:700;color:#334155;text-transform:uppercase;letter-spacing:.04em;margin-bottom:2px}.patient-card-details-wrap .patient-detail-value{font-size:12px;color:#1e293b;font-weight:500;line-height:1.5;word-break:break-word}.patient-name{font-weight:700;font-size:14px;color:#1f2937}.patient-meta{font-size:11px;color:#6b7280}.patient-card-chevron{color:#94a3b8;font-size:15px;flex-shrink:0;line-height:1}.stat-card--approved .stat-icon-approval{color:#22c55e;background:#dcfce7}.stat-card--not-approved .stat-icon-approval{color:#ef4444;background:#fee2e2}.stat-card--pending .stat-icon-approval{color:#a16207;background:#fef9c3}.stat-card--pending .stat-label,.stat-card--pending .stat-value{color:#854d0e}.stat-icon-approval svg{width:18px;height:18px}.patient-list-table{display:flex;flex-direction:column;gap:8px;overflow-x:auto;padding-bottom:4px}.patient-list-row{display:grid;grid-template-columns:1.4fr .8fr .6fr 1.2fr .7fr 1fr 1fr .2fr;align-items:center;gap:12px;padding:12px 16px;border-radius:12px;border:1px solid #e5e7eb;background:#ffffff;text-align:left;width:100%;min-width:980px;font-family:inherit;font-size:14px}.patient-list-row>span{min-width:0}.patient-list-row:not(.patient-list-header){cursor:pointer;transition:transform .15s ease,box-shadow .2s ease}.patient-list-row:not(.patient-list-header):hover{transform:translateY(-1px);box-shadow:0 8px 16px rgba(15,23,42,.08)}.patient-list-header{background:#f8fafc;border:1px solid #e2e8f0;color:#64748b;font-size:12px;font-weight:600;text-transform:uppercase}.patient-list-name{font-weight:600}.patient-card-approval{flex-shrink:0}.patient-list-approval{min-width:0;display:flex;align-items:center;gap:6px}.patient-list-approval-header{min-width:120px}.approval-select{font-size:11px;padding:4px 8px;border-radius:8px;border:1px solid #e2e8f0;background:#fff;color:#334155;cursor:pointer;min-width:120px}.approval-select:disabled{opacity:.7;cursor:not-allowed}.approval-info-icon{width:18px;height:18px;border-radius:999px;border:1px solid #94a3b8;color:#334155;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;line-height:1;cursor:help;background:#f8fafc}.approval-reason-textarea{width:100%;min-height:96px;resize:vertical}.approval-select option{background:#ffffff;color:#1f2937}.approval-select--list{min-width:0;max-width:140px;flex:1}.patient-list-name-one-line{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.patient-card-footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.patient-tags{display:flex;flex-wrap:wrap;gap:8px}.patient-tag{border-radius:999px;padding:5px 12px;font-size:12px;font-weight:600;border:1px solid transparent}.patient-tag--teal{background:#e0f2f1;color:#2f6f62;border-color:#2f6f62}.patient-tag--gray{background:#f0f0f0;color:#666666;border-color:#cccccc}.patient-tag.subtle{background:#f1f5f9;color:#475569}.modal-overlay{position:fixed;inset:0;background:rgba(15,23,42,.6);display:flex;align-items:center;justify-content:center;padding:24px;z-index:50;backdrop-filter:blur(2px)}.modal-overlay--docusign{z-index:60}.modal-card{width:100%;max-width:920px;border-radius:16px;box-shadow:0 20px 50px rgba(15,23,42,.35);flex-direction:column;max-height:calc(100vh - 48px);overflow:hidden}.modal-card,.modal-header{background:#ffffff;display:flex}.modal-header{justify-content:space-between;align-items:flex-start;padding:20px 24px;border-bottom:1px solid #e5e7eb;flex-shrink:0}.modal-title{display:flex;gap:14px;align-items:center}.modal-title h3{margin-bottom:4px}.modal-icon{width:40px;height:40px;border-radius:12px;background:#e7f2ef;color:#2f6f62;display:flex;align-items:center;justify-content:center;font-weight:700}.modal-close{border:none;background:transparent;font-size:20px;cursor:pointer;color:#6b7280;padding:4px;border-radius:8px;transition:background .15s ease,color .15s ease}.modal-close:hover{background:#f1f5f9;color:#334155}.modal-body{padding:20px 24px;overflow-y:auto;flex:1 1 auto;min-height:0}.modal-footer{flex-shrink:0;padding:16px 24px;border-top:1px solid #e5e7eb;background:#fafbfc;position:relative;z-index:6;isolation:isolate;box-shadow:0 -2px 10px rgba(15,23,42,.06)}.modal-footer:before{content:"";position:absolute;inset:0;background:#fafbfc;z-index:-1}.modal-footer .modal-actions{padding-top:0;margin:0}.patient-profile-modal{max-width:980px}.nurse-patient-profile-modal{max-width:900px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column}.nurse-patient-modal-header{padding:1rem 1.25rem;flex-shrink:0}.nurse-patient-modal-title{font-size:1.25rem;font-weight:700;margin:0;color:#1e293b}.nurse-patient-modal-body{overflow:auto;flex:1;min-height:0;padding:0 1.25rem 1.25rem}.nurse-patient-modal-body .profile-modal-content{padding:.5rem 0 1rem;gap:1.25rem}.nurse-patient-modal-body .profile-header{padding-bottom:.75rem;margin-bottom:0;gap:1rem}.nurse-patient-modal-body .profile-tabs{margin-top:.25rem}.nurse-patient-modal-body .profile-grid{margin-top:.5rem}.nurse-patient-modal-body .card{margin-bottom:0}.nurse-patient-modal-body .field span{display:block;margin-bottom:.25rem}.profile-footer-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}.profile-delete-wrap{position:relative;margin-top:16px;min-height:32px}.profile-delete-icon{position:absolute;right:0;bottom:0;width:36px;height:36px;padding:0;border:none;background:transparent;color:#dc2626;cursor:pointer;border-radius:8px;display:flex;align-items:center;justify-content:center;transition:background .15s ease,color .15s ease}.profile-delete-icon:hover:not(:disabled){background:#fef2f2;color:#b91c1c}.profile-delete-icon:disabled{opacity:.5;cursor:not-allowed}.profile-delete-icon svg{width:20px;height:20px}.profile-delete-confirm-btn{background:#dc2626}.profile-delete-confirm-btn:hover:not(:disabled){background:#b91c1c}.modal-card--confirm{max-width:400px;max-height:min(86vh,520px)}.modal-card--confirm,.modal-card--docusign{display:flex;flex-direction:column;overflow:hidden}.modal-card--docusign{max-width:520px;max-height:min(88vh,760px)}.profile-modal-content{display:flex;flex-direction:column;gap:16px}.profile-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:8px;border-bottom:1px solid #e5e7eb}.profile-header-details{flex:1;min-width:0}.profile-header-details h3,.profile-header-name{font-size:1.25rem;font-weight:700;color:#1f2937;margin:0 0 6px;line-height:1.3}.profile-header-meta{display:flex;flex-wrap:wrap;gap:12px 20px;font-size:13px;color:#6b7280;line-height:1.4}.profile-header-meta-secondary{margin-top:4px;color:#9ca3af;font-size:12px}.profile-meta-row{display:flex;flex-wrap:wrap;gap:12px;font-size:13px;color:#6b7280}.profile-signing-status{display:inline-flex;align-items:center;gap:10px}.profile-signing-status-output{font-size:13px;font-weight:600;color:#334155;min-width:4rem}.profile-signing-status-output:empty{display:none}.profile-avatar{width:48px;height:48px;border-radius:14px;background:#e7f2ef;color:#2f6f62;display:flex;align-items:center;justify-content:center;font-weight:700}.profile-actions{display:flex;flex-wrap:wrap;gap:12px}.profile-footer-actions{justify-content:flex-start;margin-top:8px}.profile-tabs{display:flex;gap:8px}.tab-button{border:1px solid #e2e8f0;background:#ffffff;color:#475569;padding:8px 14px;border-radius:999px;cursor:pointer;font-size:13px;font-weight:600;transition:background .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease}.tab-button:hover:not(.active){background:#f8fafc;border-color:#cbd5e1;box-shadow:0 1px 3px rgba(15,23,42,.06)}.tab-button.active{background:#4f9f8f;color:#ffffff;border-color:#4f9f8f;box-shadow:0 2px 8px rgba(79,159,143,.3)}.profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.profile-card{display:flex;flex-direction:column;gap:10px;padding:18px 20px;background:#ffffff;border:1px solid #e5e7eb;border-radius:12px;box-shadow:0 1px 3px rgba(15,23,42,.06);transition:box-shadow .2s ease,border-color .2s ease}.profile-card:hover{box-shadow:0 4px 12px rgba(15,23,42,.08);border-color:#d1d5db}.profile-card h4{font-size:14px;color:#6b7280;font-weight:600}.profile-card-row{display:flex;justify-content:space-between;gap:12px;font-size:14px}.profile-card-row span{color:#6b7280}.profile-card-wide{grid-column:span 2}.profile-badges{display:flex;flex-wrap:wrap;gap:8px}.profile-badge{background:#eef6f3;color:#2f6f62;padding:6px 12px;border-radius:999px;font-size:12px;font-weight:600}.profile-docs-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:16px}.profile-docs-list{max-height:min(62vh,560px);overflow-y:auto;padding-right:4px}.profile-doc-item{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:12px;border:1px solid #e5e7eb;border-radius:12px;background:#ffffff}.profile-doc-name{font-weight:600;font-size:14px}.profile-doc-sub{font-size:12px;color:#6b7280}.profile-doc-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.icon-button{border:none;background:#f1f5f9;color:#64748b;width:28px;height:28px;border-radius:999px;cursor:pointer;display:flex;align-items:center;justify-content:center}.icon-button:hover{background:#fee2e2;color:#b42318}.profile-doc-preview{border:1px solid #e5e7eb;border-radius:12px;padding:12px;background:#f8fafc;min-height:220px;display:flex;align-items:center;justify-content:center}.profile-doc-preview iframe{width:100%;height:clamp(220px,45vh,360px);border:none;border-radius:8px;background:#ffffff}.profile-doc-preview img{max-width:100%;max-height:280px;border-radius:8px;object-fit:contain}.multi-select{position:relative}.multi-select-trigger{width:100%;text-align:left;padding:10px 12px;border-radius:8px;border:1px solid #d1d5db;background:#ffffff;cursor:pointer;font-size:14px}.multi-select-menu{position:absolute;z-index:20;width:100%;margin-top:6px;padding:10px;border-radius:12px;border:1px solid #e2e8f0;background:#ffffff;box-shadow:0 12px 30px rgba(15,23,42,.12);max-height:min(260px,50vh)}.multi-select-menu,.multi-select-scroll{display:flex;flex-direction:column;gap:8px}.multi-select-scroll{overflow-y:auto;padding-right:4px}.multi-select-footer{border-top:1px solid #e2e8f0;padding-top:8px;display:flex;justify-content:flex-end;background:#ffffff}.multi-select-option{display:flex;align-items:flex-start;gap:8px;font-size:13px;color:#1f2937}.multi-select-option input{margin-top:2px;accent-color:#4f9f8f}.multi-select-option span{display:flex;flex-direction:column;gap:2px}.profile-header-actions{display:flex;align-items:center;gap:8px}.profile-header-approval{display:flex;align-items:center;gap:6px}.profile-header-approval .approval-select--modal{min-width:140px}.profile-signing-status-output:not(:empty){padding:4px 10px;background:#f1f5f9;border-radius:8px;border:1px solid #e2e8f0}.profile-doc-upload{display:flex;justify-content:flex-end;margin-top:16px}.form-section{display:flex;flex-direction:column;gap:14px}.form-section+.form-section{margin-top:4px}.form-section h4{font-size:13px;color:#64748b;font-weight:600;letter-spacing:.02em;margin-bottom:2px}.field{display:flex;flex-direction:column;gap:6px;font-size:14px}.field span:first-child{font-weight:500;color:#374151}.reason-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 24px;padding:10px 0}.reason-option{display:flex;align-items:center;gap:10px;font-size:14px;color:#1f2937}.reason-option input{width:18px;height:18px;accent-color:#4f9f8f}.modal-actions{display:flex;justify-content:flex-end;gap:12px;padding-top:8px}.card .modal-actions{margin-top:20px;padding-top:16px;border-top:1px solid #e5e7eb}.modal-form{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden}.modal-form .modal-form-scroll{flex:1 1 auto;overflow-y:auto;padding:20px 24px;min-height:0}.order-form-modal{max-width:980px;box-shadow:0 24px 48px rgba(15,23,42,.12);max-height:min(92vh,980px);display:flex;flex-direction:column;overflow:hidden}.order-form-modal--preview{max-width:980px}.order-form-modal .modal-header{padding:24px 24px 16px;border-bottom:1px solid #f1f5f9}.order-form-modal .modal-header h3{font-size:1.25rem;font-weight:600;color:#0f172a;letter-spacing:-.01em;margin:0}.order-form-modal .modal-header .muted{font-size:.875rem;color:#64748b;margin:6px 0 0;line-height:1.45}.order-form-modal-body{padding:0 24px;min-height:320px;display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain;background:#ffffff;scrollbar-gutter:stable}.order-form-modal-body .order-form-actions,.order-form-modal-body .order-form-page-actions{position:sticky;bottom:0;background:#ffffff;margin:0;padding:16px 0;border-top:1px solid #e5e7eb;flex-shrink:0;z-index:8;isolation:isolate;box-shadow:0 -4px 12px rgba(15,23,42,.06)}.order-form-modal-body .order-form-actions:before,.order-form-modal-body .order-form-page-actions:before{content:"";position:absolute;inset:0;background:#ffffff;z-index:-1}.order-form-preview{width:100%;background:#f8fafc;border-radius:12px;padding:12px;border:1px solid #e2e8f0}.order-form-preview iframe{width:100%;height:clamp(360px,70vh,680px);border:none;border-radius:8px;background:#ffffff}.order-form-loading,.order-form-missing,.order-form-preview-desc{font-size:.875rem;color:#64748b;margin:12px 0 0}.order-form-error-inline{margin-top:16px}.order-form-info{margin-top:10px}.order-form-page{display:flex;flex-direction:column;gap:24px;padding:8px 0 96px}.order-form-page-desc{font-size:.875rem;color:#475569;line-height:1.5;margin:0}.order-form-page-card{background:#ffffff;border:1px solid #e2e8f0;border-radius:12px;padding:20px 24px;box-shadow:0 1px 2px rgba(15,23,42,.04)}.order-form-page-card-title{font-size:.8125rem;font-weight:600;color:#334155;letter-spacing:.02em;text-transform:uppercase;margin:0 0 16px;padding-bottom:10px;border-bottom:1px solid #f1f5f9}.order-form-page-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px 20px}.order-form-field{display:flex;flex-direction:column;gap:6px}.order-form-field-full{grid-column:1/-1}.order-form-field-label{font-size:.75rem;font-weight:500;color:#64748b;letter-spacing:.01em}.order-form-input{width:100%;padding:10px 12px;font-size:.875rem;color:#0f172a;background:#ffffff;border:1px solid #e2e8f0;border-radius:8px;transition:border-color .15s ease,box-shadow .15s ease}.order-form-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px rgba(59,130,246,.12)}.order-form-input::placeholder{color:#94a3b8}.order-form-input[type=number],.order-form-input[type=text]{min-height:40px}textarea.order-form-input{min-height:64px;resize:vertical}.order-form-page-chips{display:flex;flex-direction:column;gap:12px}.order-form-chip-group{display:flex;flex-direction:column;gap:4px}.order-form-chip-label{font-size:.75rem;font-weight:500;color:#64748b}.order-form-chip-value{font-size:.875rem;color:#0f172a;line-height:1.4}.order-form-page-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding-top:8px;position:relative;border-top:1px solid #f1f5f9;margin-top:4px}.order-form-btn{min-width:100px}.order-form-prescriber-card{background:#f8fafc;border-color:#e2e8f0}.order-form-prescriber-text{font-size:.875rem;color:#475569;line-height:1.5;margin:12px 0 6px}.order-form-prescriber-text:first-of-type{margin-top:0}.order-form-check-option{display:flex;align-items:flex-start;gap:12px;margin:8px 0;cursor:pointer;font-size:.875rem;color:#334155;line-height:1.45}.order-form-check-option input{margin-top:2px;flex-shrink:0}.order-form-refusal-field{margin-top:16px;padding-top:16px;border-top:1px solid #e2e8f0}.order-form-actions{align-items:center;justify-content:space-between;margin-top:20px;padding-top:16px;position:relative;border-top:1px solid #f1f5f9}.order-form-actions,.order-form-actions-right{display:flex;flex-wrap:wrap;gap:12px}.order-form-docusign-signers{margin-top:0;max-height:min(48vh,420px);overflow-y:auto;padding:0 4px 0 0}.modal-card--docusign .modal-header h3{letter-spacing:-.01em}.modal-card--docusign .modal-header .muted{font-size:.875rem;line-height:1.45}.modal-card--docusign .order-form-docusign-signers{padding:0;background:transparent;border:none}.order-form-docusign-title{margin:0 0 12px;font-size:.95rem;font-weight:600;color:#334155}.order-form-docusign-signer-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.order-form-docusign-signers .order-form-docusign-signer-row+.order-form-docusign-signer-row{margin-top:12px}.order-form-docusign-input{flex:1;min-width:120px;padding:8px 10px;font-size:.9rem;border:1px solid #cbd5e1;border-radius:6px;background:#fff}.order-form-docusign-input:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 2px rgba(59,130,246,.2)}.order-form-docusign-remove{flex-shrink:0}.order-form-docusign-signer-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:12px;padding-top:12px;border-top:1px solid #e2e8f0}@media (max-width:560px){.order-form-modal,.order-form-modal--preview{max-width:100%;margin:16px;max-height:calc(100vh - 32px)}.order-form-modal-body{padding:0 16px}.order-form-page-grid{grid-template-columns:1fr}.order-form-actions,.order-form-page-actions{flex-direction:column;align-items:stretch}.order-form-actions-right{flex-direction:column}.settings-invite-row>.primary-button,.settings-invite-row>.secondary-button,.settings-invite-row>.settings-invite-input,.settings-invite-row>.settings-invite-role{width:100%}.settings-table{min-width:620px}.order-form-preview iframe{height:min(58vh,420px)}}.order-form-docusign-signers,.order-form-modal-body,.profile-docs-list,.settings-table-wrap{scrollbar-width:thin;scrollbar-color:#94a3b8 #e2e8f0}.order-form-docusign-signers::-webkit-scrollbar,.order-form-modal-body::-webkit-scrollbar,.profile-docs-list::-webkit-scrollbar,.settings-table-wrap::-webkit-scrollbar{width:10px;height:10px}.order-form-docusign-signers::-webkit-scrollbar-thumb,.order-form-modal-body::-webkit-scrollbar-thumb,.profile-docs-list::-webkit-scrollbar-thumb,.settings-table-wrap::-webkit-scrollbar-thumb{background:#94a3b8;border-radius:999px;border:2px solid #e2e8f0}.order-form-docusign-signers::-webkit-scrollbar-track,.order-form-modal-body::-webkit-scrollbar-track,.profile-docs-list::-webkit-scrollbar-track,.settings-table-wrap::-webkit-scrollbar-track{background:#e2e8f0}@media (max-width:980px){.settings-page,.settings-page--wide{max-width:100%;padding:0 0 28px}.settings-card,.settings-card--spacious{padding:22px 18px}.settings-title{font-size:30px}.settings-metrics{grid-template-columns:1fr}.app-header{flex-direction:column;align-items:flex-start;padding:16px 20px;gap:20px}.header-actions{width:100%;justify-content:flex-end;flex-wrap:wrap}.stats-grid,.stats-grid-four{grid-template-columns:repeat(2,1fr)}.profile-docs-grid{grid-template-columns:1fr}}@media (max-width:760px){.modal-overlay{padding:16px}.page-header{flex-direction:column;align-items:flex-start}.filter-bar{flex-direction:column;align-items:stretch}.search-input{width:100%}.grid-2,.profile-grid{grid-template-columns:1fr}.profile-card-wide{grid-column:span 1}.profile-footer-actions{flex-direction:column;align-items:stretch}.profile-footer-actions .primary-button,.profile-footer-actions .secondary-button{width:100%;justify-content:center}.order-form-preview iframe{height:480px}}@media (max-width:680px){.app-nav{flex-wrap:wrap;gap:12px}.patient-list-row,.stats-grid,.stats-grid-four{grid-template-columns:1fr}.patient-list-row{gap:10px;padding:12px}.patient-list-header{display:none}.patient-list-row:not(.patient-list-header)>span{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.patient-list-row:not(.patient-list-header)>span:before{font-size:11px;color:#64748b;font-weight:600;text-transform:uppercase;letter-spacing:.03em;flex-shrink:0}.patient-list-row:not(.patient-list-header)>span:first-child:before{content:"Patient"}.patient-list-row:not(.patient-list-header)>span:nth-child(2):before{content:"DOB"}.patient-list-row:not(.patient-list-header)>span:nth-child(3):before{content:"Sex"}.patient-list-row:not(.patient-list-header)>span:nth-child(4):before{content:"Facility"}.patient-list-row:not(.patient-list-header)>span:nth-child(5):before{content:"Room"}.patient-list-row:not(.patient-list-header)>span:nth-child(6):before{content:"Care Team"}.patient-list-row:not(.patient-list-header)>span:nth-child(7):before{content:"Approval"}.patient-list-row:not(.patient-list-header)>.patient-card-chevron{display:none}.reason-grid{grid-template-columns:1fr;gap:10px}}.order-form-empty{display:flex;align-items:center;justify-content:center;height:320px}.order-form-standalone-iframe{width:100%;height:clamp(360px,70vh,680px);border:none;border-radius:8px;background:#ffffff}.order-form-editor{display:flex;flex-direction:column;gap:20px}.order-form-editor-section h4{font-size:14px;font-weight:600;color:#6b7280;margin-bottom:8px}.order-form-grid{gap:12px}.order-form-checkbox-grid,.order-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.order-form-checkbox-grid{gap:10px 24px}.section-title{font-size:14px;font-weight:600;color:#334155;margin:0 0 12px}.bulk-docusign-card{padding:20px 24px;box-shadow:0 1px 3px rgba(15,23,42,.06);border-radius:12px}.bulk-docusign-filter{padding-bottom:16px;margin-bottom:16px;border-bottom:1px solid #e2e8f0}.bulk-docusign-filter-grid{display:flex;flex-wrap:wrap;align-items:flex-end;gap:20px 28px}.bulk-docusign-hint{flex-basis:100%;margin:8px 0 0}.bulk-docusign-field-stacked{display:flex;flex-direction:column;gap:6px;margin:0}.bulk-docusign-label{font-size:12px;font-weight:500;color:#64748b;white-space:nowrap}.bulk-docusign-field-stacked .bulk-docusign-input{min-width:160px;width:100%}.bulk-docusign-apply-btn-wrap{display:flex;align-items:flex-end}.bulk-docusign-apply-btn{flex-shrink:0}.bulk-docusign-table-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-bottom:12px}.bulk-docusign-select-actions{display:flex;gap:8px}.bulk-docusign-select-btn{padding:6px 12px;font-size:12px}.bulk-docusign-error,.bulk-docusign-success{margin-bottom:12px}.bulk-docusign-apply{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.bulk-docusign-apply .section-title{width:100%;margin-bottom:4px}.bulk-docusign-table-wrap{overflow-x:auto;overflow-y:auto;max-height:560px;margin:12px 0;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.bulk-docusign-table{width:100%;min-width:980px;border-collapse:collapse;font-size:14px}.bulk-docusign-table td,.bulk-docusign-table th{padding:10px 12px;text-align:left;border-bottom:1px solid #e2e8f0}.bulk-docusign-table th{background:#f8fafc;color:#64748b;font-weight:600;font-size:12px;text-transform:uppercase;position:sticky;top:0;z-index:1}.bulk-docusign-td-check,.bulk-docusign-th-check{width:44px;text-align:center;vertical-align:middle}.bulk-docusign-table tbody tr{transition:background .15s ease}.bulk-docusign-table tbody tr:hover{background:#f8fafc}.bulk-docusign-table tbody tr.bulk-row--no-pdf{background:#f8fafc;color:#94a3b8}.bulk-docusign-table tbody tr.bulk-row--no-pdf:hover{background:#f1f5f9}.bulk-docusign-table tbody tr.bulk-row--ready{background:#f0fdf9}.bulk-docusign-table tbody tr.bulk-row--ready:hover{background:#ccfbf1}.bulk-docusign-table tbody tr.bulk-row--sent{background:#f8fafc;color:#94a3b8}.bulk-status-ready{color:#0d9488;font-weight:600}.bulk-docusign-input{width:100%;min-width:140px;padding:6px 10px;border:1px solid #e2e8f0;border-radius:8px;font-size:13px;transition:border-color .15s ease,box-shadow .15s ease}.bulk-docusign-input:focus{outline:none;border-color:#4f9f8f;box-shadow:0 0 0 2px rgba(79,159,143,.2)}.bulk-docusign-input:disabled{background:#f1f5f9;border-color:#e2e8f0;color:#94a3b8;cursor:not-allowed;box-shadow:none}.bulk-docusign-input:disabled:focus{outline:none;box-shadow:none}.bulk-docusign-actions{margin-top:16px;padding-top:16px;border-top:1px solid #e2e8f0}@media (max-width:480px){.app-container{padding:12px}.modal-overlay{padding:10px}.modal-card{max-height:calc(100vh - 20px)}.modal-body,.modal-header{padding:14px 16px}.order-form-modal-body .order-form-actions,.order-form-modal-body .order-form-page-actions{margin:0;padding:14px 0}.patient-card-details{grid-template-columns:1fr}.profile-card-row{flex-direction:column;align-items:flex-start;gap:4px}.profile-doc-actions{width:100%}.profile-doc-actions .secondary-button{width:100%;justify-content:center}.order-form-standalone-iframe{height:min(58vh,420px)}}.inventory-table-wrap{overflow:auto;border:1px solid #e2e8f0;border-radius:10px;background:#ffffff}.inventory-table{width:100%;min-width:900px;border-collapse:collapse}.inventory-table td,.inventory-table th{padding:10px 12px;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:middle;white-space:nowrap}.inventory-badge{display:inline-flex;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:600}.inventory-badge--low{background:#fee2e2;color:#b91c1c}.inventory-badge--healthy{background:#dcfce7;color:#166534}.inventory-feed-header{margin-bottom:12px}.inventory-feed-list{display:flex;flex-direction:column;gap:10px}.inventory-feed-item{border:1px solid #e2e8f0;border-radius:10px;padding:10px 12px;background:#fff}.inventory-appointment-list{display:flex;flex-direction:column;gap:12px}.inventory-appointment-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #e2e8f0;border-radius:10px;padding:12px}.inventory-appointment-actions{display:flex;gap:8px;flex-wrap:wrap}.appointments-header{gap:.75rem}.appointments-controls{display:flex;align-items:center;gap:.5rem;flex:1 1 auto;justify-content:flex-end;flex-wrap:wrap}.appointments-date-field{margin-bottom:0}.appointments-date-input{min-width:150px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.inventory-modal{max-width:900px}.complete-appointment-table .col-action{width:100px;text-align:right;white-space:nowrap}.complete-appointment-table .quantity-input{width:5rem;padding:.35rem .5rem;border:1px solid #cbd5e1;border-radius:6px;font-size:.875rem}.button-remove-row{padding:.25rem .5rem;font-size:.8125rem;color:#64748b;background:transparent;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer}.button-remove-row:hover{color:#dc2626;border-color:#fecaca;background:#fef2f2}.add-supply-row{margin-top:1rem;padding-top:1rem;border-top:1px solid #e2e8f0}.add-supply-label{display:block;font-size:.875rem;font-weight:600;color:#374151;margin-bottom:.5rem}.add-supply-controls{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}.add-supply-select{min-width:180px;padding:.4rem .6rem;border:1px solid #cbd5e1;border-radius:6px;font-size:.875rem}.add-supply-qty{width:4rem}.add-supply-btn{flex-shrink:0}.grid-3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.secondary{background:#ffffff;color:#1f2937;border:1px solid #d7e2df;padding:8px 14px;border-radius:8px;cursor:pointer;font-size:14px;font-weight:500;display:inline-flex;align-items:center;gap:6px;transition:transform .15s ease,box-shadow .2s ease,border .2s ease}.secondary:hover{transform:translateY(-1px);border-color:#b6c7c2;box-shadow:0 8px 16px rgba(15,23,42,.08)}.secondary:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(79,159,143,.2)}@media (max-width:640px){.appointments-controls{width:100%;justify-content:flex-start}.appointments-date-input{min-width:0;width:100%}.inventory-appointment-row{flex-direction:column;align-items:flex-start}.inventory-appointment-actions{width:100%;justify-content:flex-start}.inventory-appointment-actions .primary-button,.inventory-appointment-actions .secondary-button{flex:1 1 auto;justify-content:center}}