:root{color:#14213d;background:#f3f7fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}a{color:inherit;text-decoration:none}button,input,button,input,select,textarea{font:inherit}.shell{background:#f3f7fb;grid-template-columns:240px 1fr;min-height:100vh;display:grid}.sidebar{color:#f8fafc;background:radial-gradient(circle at 18% 0,#2563eb2e,#0000 34%),linear-gradient(#0d1c33 0%,#081a2d 100%);border-right:1px solid #94a3b82e;grid-template-rows:auto 1fr auto;width:240px;height:100vh;padding:21px 10px 10px;display:grid;position:fixed;top:0;left:0;overflow-y:auto;box-shadow:inset -1px 0 #ffffff08}.brand{gap:3px;margin:0 13px 17px;display:grid}.brand strong{letter-spacing:-.045em;font-size:1.28rem;line-height:1}.brand span{color:#c5cfdf;font-size:.88rem;line-height:1.25}.sidebar-divider{background:#94a3b829;height:1px;margin:0 13px 21px}.store-menu-wrap{margin:0 4px;position:relative}.store-card{color:inherit;text-align:left;background:#ffffff0f;border:1px solid #ffffff17;border-radius:12px;grid-template-columns:37px minmax(0,1fr) 14px;align-items:center;gap:9px;width:100%;padding:10px;display:grid;box-shadow:0 14px 30px #00000024,inset 0 1px #ffffff0a}.store-card:hover{background:#ffffff1a}.store-card>span{background:linear-gradient(135deg,#2563eb,#7c3aed);border-radius:999px;justify-content:center;align-items:center;width:37px;height:37px;font-size:.9rem;font-weight:900;display:inline-flex;box-shadow:0 8px 18px #2563eb59}.store-card strong{color:#f8fafc;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem;line-height:1.2;display:block;overflow:hidden}.store-card small{color:#93a4bd;text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;line-height:1.25;display:block;overflow:hidden}.store-card svg{color:#dbe7fb;width:14px;height:14px}.profile-menu{z-index:20;background:#101f35;border:1px solid #ffffff1a;border-radius:12px;gap:4px;padding:8px;display:grid;position:absolute;bottom:calc(100% + 8px);left:0;right:0;box-shadow:0 18px 42px #00000042}.profile-menu button,.profile-menu a{box-shadow:none;color:#dbe7fb;text-align:left;background:0 0;border:0;border-radius:8px;padding:9px 10px;font-size:.82rem;font-weight:800;display:block}.profile-menu button:hover,.profile-menu a:hover{color:#fff;background:#ffffff14}.profile-menu .logout-action{color:#fecaca}nav{align-content:start;gap:6px;display:grid}nav a{color:#d3ddec;border-radius:9px;align-items:center;gap:15px;margin:0;padding:12px 16px;font-size:.91rem;font-weight:700;transition:background .16s,box-shadow .16s,color .16s,transform .16s;display:flex}nav a:hover{color:#fff;background:#ffffff12}nav a.active{color:#fff;background:linear-gradient(135deg,#2b8cff 0%,#1474ff 100%);transform:translateY(-1px);box-shadow:0 12px 26px #1474ff57,inset 0 1px #ffffff2e}.nav-icon{opacity:.98;justify-content:center;align-items:center;width:22px;height:22px;display:inline-flex}.nav-icon svg{width:20px;height:20px}.content{grid-column:2;padding:18px 22px 26px}.section-card,.center-card,.login-card{background:#fff;border:1px solid #e4e7ec;border-radius:24px;box-shadow:0 24px 60px #10182814}.section-card{min-height:360px;padding:32px}.eyebrow{color:#2e90fa;letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px;font-size:.8rem;font-weight:800}.helper-text{color:#475467;margin:-12px 0 4px;line-height:1.6}h1{letter-spacing:-.04em;margin:0 0 18px;font-size:1.5rem;line-height:1.1}.muted-panel,.error-state,.success-state,.warning-state{border-radius:16px;padding:18px}.muted-panel{color:#475467;background:#f2f4f7}.error-state{color:#b42318;background:#fff1f3}.success-state{color:#166534;background:#f0fdf4;border:1px solid #bbf7d0;align-items:center;gap:10px;font-weight:700;display:flex}.success-state:before{color:#fff;content:"OK";letter-spacing:.04em;background:#16a34a;border-radius:999px;flex:none;padding:4px 7px;font-size:.66rem;font-weight:900}.warning-state{color:#c2410c;background:#fff7ed;border:1px solid #fed7aa;padding:10px 14px}.compact-state{padding:10px 14px}.center-card{text-align:center;max-width:520px;margin:10vh auto;padding:28px}.login-page{place-items:center;min-height:100vh;padding:24px;display:grid}.login-card{gap:16px;width:100%;max-width:460px;padding:32px;display:grid}label{color:#344054;gap:8px;font-weight:700;display:grid}input{border:1px solid #d0d5dd;border-radius:12px;padding:12px 14px}textarea{font:inherit;resize:vertical;border:1px solid #d0d5dd;border-radius:12px;min-height:84px;padding:12px 14px}button{color:#fff;cursor:pointer;background:#155eef;border:0;border-radius:12px;padding:13px 16px;font-weight:800}button:disabled{cursor:not-allowed;opacity:.7}select{color:#334155;font:inherit;background:#fff;border:1px solid #d8e1ee;border-radius:9px;padding:8px 10px}.access-page{background:linear-gradient(#dbeafe59 1px,#0000 1px) 0 0/42px 42px,linear-gradient(90deg,#dbeafe59 1px,#0000 1px) 0 0/42px 42px,radial-gradient(circle at 18% 18%,#2563eb24,#0000 30%),radial-gradient(circle at 82% 78%,#06b6d424,#0000 32%),linear-gradient(135deg,#f8fbff 0%,#f5f9ff 42%,#edf7ff 100%);place-items:center;min-height:100vh;padding:24px;display:grid;position:relative;overflow:hidden}.access-page:before,.access-page:after{content:"";border:1px solid #60a5fa24;border-radius:999px;width:360px;height:360px;position:absolute}.access-page:before{top:18%;left:-170px}.access-page:after{bottom:-190px;right:6%}.access-background-card{background:linear-gradient(135deg,#ffffff6b,#dbeafe3d);border:1px solid #bfdbfe7a;border-radius:34px;width:500px;height:390px;position:absolute;transform:rotate(-4deg);box-shadow:0 30px 90px #2563eb14}.access-card{z-index:1;background:#fffffff0;border:1px solid #d1dbe8e6;border-radius:22px;gap:14px;width:min(100%,430px);max-width:430px;padding:32px;display:grid;position:relative;box-shadow:0 22px 70px #0f172a17,inset 0 1px #fffc}.access-kicker{color:#2563eb;letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.78rem;font-weight:800}.access-brand{color:#172033;align-items:center;gap:10px;font-size:.95rem;font-weight:800;display:flex}.medical-mark{color:#176bff;background:#eaf3ff;border:1px solid #d8e8ff;border-radius:10px;justify-content:center;align-items:center;width:38px;height:38px;font-size:1.35rem;font-weight:900;line-height:1;display:inline-flex}.access-card h1{color:#101828;letter-spacing:-.045em;margin:8px 0 0;font-size:clamp(2rem,5vw,2.65rem);line-height:1}.access-card .helper-text{color:#5d6b82;margin:0 0 4px;font-size:1rem;line-height:1.5}.access-label{color:#25324a;font-size:.95rem}.access-login-block{gap:12px;display:grid}.access-back{box-shadow:none;color:#2563eb;background:0 0;border:0;justify-self:start;min-height:auto;padding:0;font-size:.84rem;font-weight:800}.access-back:hover{color:#174fc7;background:0 0}.access-divider{color:#94a3b8;letter-spacing:.08em;text-transform:uppercase;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;font-size:.74rem;font-weight:800;display:grid}.access-divider:before,.access-divider:after{content:"";background:#e4e7ec;height:1px}.access-secondary{box-shadow:none;color:#155eef;background:#fff;border:1px solid #d8e1ee;border-radius:13px;min-height:46px;font-size:.95rem;font-weight:800}.access-secondary:hover{background:#f8fbff;border-color:#b8cef9}.shop-input-wrap{background:#fff;border:1px solid #d8e1ee;border-radius:13px;grid-template-columns:46px 1fr;align-items:center;transition:border-color .2s,box-shadow .2s;display:grid;overflow:hidden}.shop-input-wrap:focus-within{border-color:#2f6fed;box-shadow:0 0 0 3px #2f6fed1a}.shop-icon{color:#4f9f22;background:#f7fafc;border-right:1px solid #e1e8f0;justify-content:center;align-items:center;height:46px;font-size:1rem;font-weight:900;display:flex}.shop-input-wrap input{color:#1f2937;border:0;border-radius:0;min-width:0;padding:0 14px;font-size:.98rem}.shop-input-wrap input:focus{outline:0}.access-button{background:#155eef;border-radius:13px;justify-content:center;align-items:center;gap:9px;min-height:48px;margin-top:2px;font-size:.98rem;display:inline-flex;box-shadow:0 12px 24px #155eef38}.access-button:hover{background:#0f4fd1}.access-button span{font-size:1.05rem}.secure-note{color:#667085;text-align:center;margin:4px 0 0;font-size:.86rem;font-weight:600}.secure-note:before{color:#fff;content:"✓";background:#155eef;border-radius:999px;justify-content:center;width:16px;height:16px;margin-right:8px;font-size:.68rem;display:inline-flex}.dashboard-page{gap:18px;display:grid}.dashboard-topbar{grid-template-columns:300px minmax(280px,1fr) auto;align-items:center;gap:18px;display:grid}.dashboard-topbar h1{margin:0;font-size:1.42rem}.dashboard-search{color:#637083;background:#fff;border:1px solid #d8e1ee;border-radius:10px;grid-template-columns:62px 1fr;align-items:center;min-height:42px;display:grid;overflow:hidden;box-shadow:0 8px 24px #0f172a0a}.dashboard-search span{border-right:1px solid #edf1f6;padding-left:14px;font-size:.78rem;font-weight:700}.dashboard-search input{color:#334155;border:0;border-radius:0;outline:0;padding:0 14px;font-size:.9rem}.dashboard-user{justify-content:flex-end;align-items:center;gap:12px;min-width:210px;display:flex}.notification-dot{border:2px solid #94a3b8;border-radius:999px;width:14px;height:18px;position:relative}.notification-dot:after{content:"";background:#ef4444;border:2px solid #f3f7fb;border-radius:999px;width:8px;height:8px;position:absolute;top:-6px;right:-7px}.user-avatar{color:#1260d6;background:#bfdbfe;border-radius:999px;justify-content:center;align-items:center;width:40px;height:40px;font-size:.82rem;font-weight:900;display:flex}.dashboard-user strong{font-size:.88rem;display:block}.dashboard-user small{color:#64748b;text-transform:capitalize;font-size:.78rem;display:block}.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.stat-card{background:#fff;border:1px solid #e1e8f0;border-radius:12px;min-height:112px;padding:18px;box-shadow:0 10px 28px #0f172a0a}.stat-icon{border-radius:12px;justify-content:center;align-items:center;width:48px;height:48px;font-size:1rem;font-weight:900;display:flex}.stat-icon.blue{color:#1271e7;background:#e8f3ff}.stat-icon.amber{color:#d97706;background:#fff4dd}.stat-icon.green{color:#16a34a;background:#dcfce7}.stat-icon.red{color:#dc2626;background:#fee2e2}.stat-card.purple{border-top-color:#ddd6fe}.stat-card p{color:#334155;margin:0 0 6px;font-size:.86rem;font-weight:700}.stat-card strong{color:#0f172a;letter-spacing:-.04em;font-size:1.8rem;line-height:1;display:block}.stat-card small{margin-top:10px;font-size:.78rem;display:block}.up{color:#16a34a}.down{color:#ef4444}.dashboard-grid{grid-template-columns:minmax(0,2fr) minmax(330px,.95fr);gap:16px;display:grid}.panel{background:#fff;border:1px solid #e1e8f0;border-radius:12px;padding:18px;box-shadow:0 10px 28px #0f172a0a}.panel-head{justify-content:space-between;align-items:center;margin-bottom:14px;display:flex}.panel-head h2{color:#101828;letter-spacing:-.03em;margin:0;font-size:1.05rem}.panel-head a{color:#1374ed;font-size:.82rem;font-weight:700}.panel-head button{color:#334155;background:#fff;border:1px solid #d8e1ee;border-radius:9px;padding:8px 10px;font-size:.78rem}.orders-table{display:grid;overflow-x:auto}.table-row{border-bottom:1px solid #edf1f6;grid-template-columns:90px 160px 90px 160px 150px 130px;align-items:center;gap:14px;min-width:790px;padding:11px 8px;display:grid}.table-head{color:#42526b;background:#f5f8fc;border-bottom:0;border-radius:4px;padding:12px 8px;font-size:.78rem;font-weight:800}.table-row a{color:#1680ff;font-weight:800}.table-row span{color:#53627c;font-size:.82rem}.table-row strong{color:#172033;font-size:.86rem;display:block}.table-row small{color:#64748b;margin-top:2px;font-size:.78rem;display:block}.status{border-radius:999px;justify-content:center;width:max-content;padding:7px 12px;font-weight:800;display:inline-flex;font-size:.76rem!important}.status.pending{color:#0672f7;background:#e8f3ff}.status.waiting{color:#d97706;background:#fff1d6}.status.approved{color:#16a34a;background:#dcfce7}.status.rejected{color:#dc2626;background:#fee2e2}.dashboard-side{gap:16px;display:grid}.activity-panel{gap:2px;display:grid}.activity-item{border-bottom:1px solid #edf1f6;grid-template-columns:36px 1fr auto;align-items:center;gap:12px;padding:12px 0;display:grid}.activity-item:last-child{border-bottom:0}.activity-icon{text-transform:uppercase;border-radius:999px;justify-content:center;align-items:center;width:34px;height:34px;font-size:.7rem;font-weight:900;display:flex}.activity-icon.ok{color:#16a34a;background:#dcfce7}.activity-icon.up{color:#1374ed;background:#e8f3ff}.activity-icon.wait{color:#d97706;background:#fff1d6}.activity-icon.bad{color:#dc2626;background:#fee2e2}.activity-icon.team{color:#53627c;background:#eef2f7}.activity-item strong{font-size:.84rem;display:block}.activity-item small{color:#64748b;margin-top:2px;font-size:.78rem;display:block}.activity-item time{color:#64748b;white-space:nowrap;font-size:.76rem}.bar-chart{grid-template-columns:repeat(7,1fr);align-items:end;gap:12px;height:142px;padding:14px 4px 0;display:grid}.bar-column{place-items:center;gap:8px;display:grid}.bar-column span{background:linear-gradient(#4ea1ff,#1d7ef2);border-radius:4px 4px 0 0;width:26px;min-height:24px;display:block}.bar-column small{color:#64748b;font-size:.72rem}.dashboard-status-list{gap:10px;display:grid}.dashboard-status-row{border:1px solid #edf1f6;border-radius:10px;justify-content:space-between;align-items:center;padding:10px 12px;display:flex}.dashboard-status-row strong{color:#0f172a;font-size:1rem}.profile-page{gap:16px;display:grid}.profile-card{background:#fff;border:1px solid #e1e8f0;border-radius:16px;gap:18px;padding:18px;display:grid;box-shadow:0 14px 38px #0f172a0a}.profile-hero{background:linear-gradient(135deg,#eef7ff,#f8fbff);border:1px solid #dbeafe;border-radius:14px;align-items:center;gap:14px;padding:16px;display:flex}.profile-hero>span{color:#fff;background:linear-gradient(135deg,#2563eb,#7c3aed);border-radius:999px;justify-content:center;align-items:center;width:50px;height:50px;font-size:1.1rem;font-weight:900;display:flex}.profile-hero h2{color:#0f172a;margin:0 0 3px;font-size:1.2rem}.profile-hero p{color:#53627c;margin:0}.profile-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.profile-detail-grid article,.support-card article{border:1px solid #e1e8f0;border-radius:12px;gap:5px;padding:13px;display:grid}.profile-detail-grid span{color:#64748b;text-transform:uppercase;font-size:.76rem;font-weight:800}.profile-detail-grid strong{color:#172033;overflow-wrap:anywhere;font-size:.9rem}.profile-raw-value{text-transform:none}.profile-password-card h2{color:#0f172a;margin:0;font-size:1.1rem}.profile-password-form{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.profile-password-form label{color:#334155;text-transform:uppercase;gap:6px;font-size:.82rem;font-weight:800;display:grid}.profile-password-form input{color:#172033;text-transform:none;border:0;outline:0;flex:1;min-width:0;padding:11px 12px;font-size:.95rem}.profile-password-form .form-actions{grid-column:1/-1;align-items:end;margin-top:0}.password-input-wrap{border:1px solid #d8e1ee;border-radius:10px;align-items:center;display:flex;overflow:hidden}.password-input-wrap button{color:#64748b;background:0 0;border:0;justify-content:center;align-items:center;min-height:42px;padding:0 12px;display:flex}.password-input-wrap button:hover{color:#2563eb}.support-card h2{color:#0f172a;margin:0;font-size:1rem}.support-card p{color:#53627c;margin:0;font-size:.88rem;line-height:1.5}.support-card a{color:#155eef;font-weight:800}.help-page{gap:16px;display:grid}.help-hero{background:radial-gradient(circle at 10% 0,#2563eb1f,#0000 34%),#fff;justify-content:space-between;align-items:center;display:flex}.help-hero span{color:#155eef;letter-spacing:.08em;text-transform:uppercase;font-size:.76rem;font-weight:900}.help-hero h2{color:#0f172a;margin:4px 0;font-size:1.35rem}.help-hero p{color:#53627c;margin:0}.help-hero a{color:#fff;white-space:nowrap;background:#155eef;border-radius:10px;padding:11px 14px;font-weight:900}.help-section{gap:14px;display:grid}.help-section-head{align-items:center;gap:12px;display:flex}.help-section-head>span{color:#1260d6;background:#e8f3ff;border-radius:12px;justify-content:center;align-items:center;width:40px;height:40px;font-size:.78rem;font-weight:900;display:flex}.help-section-head h2{color:#0f172a;margin:0 0 3px;font-size:1.12rem}.help-section-head p{color:#64748b;margin:0;font-size:.86rem}.help-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.help-card,.faq-list article,.settings-help-list article,.support-detail-grid article{background:#f8fbff;border:1px solid #e1e8f0;border-radius:12px;padding:14px}.help-card h3,.faq-list h3{color:#0f172a;margin:0 0 7px;font-size:.98rem}.help-card p,.faq-list p,.settings-help-list p,.support-detail-grid p{color:#53627c;margin:0;font-size:.86rem;line-height:1.5}.help-card ul{color:#475569;gap:5px;margin:10px 0 0;padding-left:18px;font-size:.84rem;display:grid}.settings-help-list,.faq-list{gap:10px;display:grid}.settings-help-list article{grid-template-columns:180px 1fr;gap:4px;display:grid}.settings-help-list strong,.support-detail-grid strong{color:#172033;font-size:.9rem}.support-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.support-detail-grid article{gap:6px;display:grid}.support-detail-grid a{color:#155eef;overflow-wrap:anywhere;font-weight:900}.team-page{gap:16px;display:grid}.team-header{justify-content:space-between;align-items:start;gap:16px;display:flex}.team-header h1{margin-bottom:6px;font-size:1.62rem}.team-header p{color:#64748b;margin:0;font-size:.88rem}.add-member-button{border-radius:10px;justify-content:center;align-items:center;gap:10px;min-width:160px;min-height:46px;font-size:.9rem;display:inline-flex;box-shadow:0 12px 24px #155eef38}.add-member-button span{font-size:1.2rem}.team-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.team-summary-card{border:1px solid #dfe7f2;border-radius:14px;grid-template-columns:58px 1fr auto;align-items:center;gap:18px;padding:18px 22px;display:grid}.summary-icon{color:#1569e8;background:#e8f3ff;border:1px solid #d6e8ff;border-radius:999px;justify-content:center;align-items:center;width:52px;height:52px;font-weight:900;display:flex}.team-summary-card p{color:#53627c;margin:0 0 4px;font-size:.86rem}.team-summary-card strong{color:#0f172a;font-size:1.65rem}.summary-meta{color:#53627c;border-left:1px solid #dfe7f2;padding-left:26px;font-size:.86rem;line-height:1.8}.dot{border-radius:999px;width:9px;height:9px;margin-right:8px;display:inline-block}.dot.active{background:#10b981}.dot.disabled{background:#94a3b8}.role-pills{border-left:1px solid #dfe7f2;gap:12px;padding-left:26px;display:flex}.role-pills span{color:#1260d6;background:#e8f3ff;border-radius:999px;padding:10px 22px;font-size:.82rem;font-weight:800}.role-pills span:last-child{color:#087443;background:#dcfce7}.team-table{border:1px solid #e5ebf3;border-radius:14px;overflow-x:auto}.team-toolbar{justify-content:space-between;align-items:center;gap:12px;padding:13px 14px;display:flex}.team-search{border:1px solid #d8e1ee;border-radius:10px;grid-template-columns:64px minmax(220px,420px);align-items:center;min-height:42px;display:grid;overflow:hidden}.team-search span{color:#64748b;border-right:1px solid #edf1f6;padding-left:14px;font-size:.78rem;font-weight:800}.team-search input{border:0;border-radius:0;outline:0;padding:0 14px;font-size:.88rem}.team-toolbar select{min-width:150px}.team-row{border-bottom:1px solid #edf1f6;grid-template-columns:minmax(180px,1.25fr) minmax(220px,1.45fr) 120px 110px 120px minmax(330px,1.65fr);align-items:center;gap:12px;min-width:1180px;min-height:48px;padding:11px 16px;display:grid}.team-row:last-child{border-bottom:0}.team-row-head{color:#42526b;letter-spacing:.03em;text-transform:uppercase;background:#f6f9fc;font-size:.72rem;font-weight:800}.team-row strong{color:#172033;font-size:.84rem}.team-row span{color:#53627c;font-size:.8rem}.team-row select{max-width:110px;font-size:.82rem}.member-name{align-items:center;gap:12px;display:flex}.member-name span{color:#1260d6;background:#e8f3ff;border-radius:999px;justify-content:center;align-items:center;width:34px;height:34px;font-size:.78rem;font-weight:900;display:flex}.member-status{text-transform:capitalize;border-radius:999px;justify-content:center;width:max-content;padding:6px 10px;font-weight:800;display:inline-flex;font-size:.75rem!important}.member-status.active{color:#16a34a;background:#dcfce7}.member-status.invited{color:#1374ed;background:#e8f3ff}.member-status.disabled{color:#53627c;background:#eef2f7}.member-status.expired{color:#dc2626;background:#fee2e2}.team-actions{white-space:nowrap;flex-wrap:nowrap;gap:6px;display:flex}.team-actions button{color:#334155;background:#f8fafc;border:1px solid #d8e1ee;padding:7px 8px;font-size:.74rem}.team-row mark{color:inherit;background:#fff1b8;border-radius:4px;padding:0 1px}.team-actions button:hover{background:#eef5ff}.team-actions .danger{color:#dc2626}.team-actions button.self-blocked{filter:blur(.4px)grayscale(.45);opacity:.42}.team-actions button.self-blocked:hover{background:#f8fafc}.team-empty{color:#64748b;padding:18px 22px;font-size:.9rem}.modal-backdrop{z-index:30;background:#0f172a61;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.team-modal{background:#fff;border-radius:18px;gap:14px;width:100%;max-width:440px;padding:22px;display:grid;box-shadow:0 24px 80px #0f172a3d}.team-modal .panel-head{margin-bottom:0}.team-modal .panel-head button{color:#334155;background:#f8fafc;border:1px solid #d8e1ee;padding:7px 10px;font-size:.78rem}.team-modal label{font-size:.88rem}.team-modal input,.team-modal select{min-height:42px}.more-info-modal{background:#fff;border-radius:18px;gap:14px;width:100%;max-width:560px;padding:24px 22px 20px;display:grid;box-shadow:0 24px 80px #0f172a3d}.more-info-modal .modal-head{margin-bottom:2px}.more-info-modal .modal-head h2{margin:0 0 8px;font-size:1.35rem}.more-info-modal .modal-head p{color:#334155;margin:0}.more-info-modal textarea{resize:vertical;border:1px solid #cbd5e1;border-radius:12px;min-height:132px;padding:13px 14px}.modal-actions{justify-content:flex-end;align-items:center;gap:10px;display:flex}.modal-actions span{color:#64748b;margin-right:auto;font-size:.8rem}.modal-actions .compact-action{border-radius:10px;min-height:0;padding:9px 14px;font-size:.82rem}.products-page{gap:16px;display:grid}.products-header{justify-content:space-between;align-items:start;gap:16px;display:flex}.products-header h1{margin-bottom:6px;font-size:1.62rem}.products-header p{color:#64748b;margin:0;font-size:.88rem}.bulk-actions{gap:10px;display:flex}.bulk-actions button{border-radius:10px;padding:12px 16px;font-size:.84rem}.bulk-actions button:first-child{color:#1260d6;background:#e8f3ff}.product-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.product-summary-grid article{background:#fff;border:1px solid #e1e8f0;border-radius:12px;grid-template-columns:46px minmax(150px,1fr) auto;align-items:center;gap:14px;min-height:78px;padding:15px 18px;display:grid;box-shadow:0 10px 28px #0f172a0a}.product-summary-icon{border-radius:999px;justify-content:center;align-items:center;width:46px;height:46px;font-size:.82rem;font-weight:900;display:flex}.product-summary-icon.blue{color:#1271e7;background:#e8f3ff}.product-summary-icon.green{color:#16a34a;background:#dcfce7}.product-summary-icon.gray{color:#53627c;background:#eef2f7}.product-summary-grid p{color:#53627c;margin:0;font-size:.8rem;font-weight:800}.product-summary-grid strong{color:#0f172a;justify-self:end;font-size:1.26rem}.products-card{background:#fff;border:1px solid #e1e8f0;border-radius:14px;overflow:hidden;box-shadow:0 14px 38px #0f172a0d}.products-sync-meta{color:#64748b;background:#fbfdff;border-bottom:1px solid #edf1f6;padding:11px 16px 0;font-size:.78rem;font-weight:700}.products-toolbar{grid-template-columns:minmax(240px,.55fr) 220px 200px 90px;align-items:center;gap:12px;padding:16px;display:grid}.products-toolbar input,.products-toolbar select{min-height:42px}.products-toolbar button{color:#334155;background:#f8fafc;border:1px solid #d8e1ee;min-height:42px;padding:8px 12px}.product-toast{color:#245b3d;background:#f7fffb;border:1px solid #bfe7cf;border-radius:12px;align-items:center;gap:10px;width:fit-content;margin:0 16px 14px;padding:10px 12px;font-size:.84rem;font-weight:700;display:inline-flex;box-shadow:0 10px 24px #10b98114}.product-toast span{color:#087443;letter-spacing:.04em;text-transform:uppercase;background:#d9fbe8;border-radius:999px;padding:5px 8px;font-size:.68rem;font-weight:900}.selected-products-bar{background:#eef5ff;border-top:1px solid #dce9fb;align-items:center;gap:12px;padding:12px 16px;display:flex}.selected-products-bar strong{margin-right:6px;font-size:.88rem}.selected-products-bar button{color:#1260d6;background:#fff;border:1px solid #b8d3ff;padding:8px 12px;font-size:.78rem;transition:background .15s,border-color .15s,box-shadow .15s}.selected-products-bar button:hover{background:#dfeeff;border-color:#83b7ff;box-shadow:0 6px 14px #155eef1a}.selected-products-bar button:nth-child(3):hover{color:#334155;background:#f1f5f9;border-color:#cbd5e1}.products-table{overflow-x:auto}.product-row{border-bottom:1px solid #edf1f6;grid-template-columns:34px minmax(360px,1fr) 120px 86px 170px;align-items:center;gap:14px;min-width:790px;padding:11px 16px;display:grid}.product-row:last-child{border-bottom:0}.product-row-head{color:#42526b;letter-spacing:.03em;text-transform:uppercase;background:#f6f9fc;font-size:.72rem;font-weight:800}.product-row input[type=checkbox]{width:16px;height:16px}.product-title-cell{align-items:center;gap:12px;display:flex}.product-title-cell img,.product-image-placeholder{border-radius:10px;width:38px;height:38px}.product-title-cell img{object-fit:cover}.product-image-placeholder{color:#1260d6;background:#e8f3ff;justify-content:center;align-items:center;font-weight:900;display:flex}.product-title-cell strong{color:#172033;font-size:.84rem}.product-title-cell mark{color:#172033;background:#fff1a8;border-radius:4px;padding:0 1px}.product-row>span{color:#53627c;font-size:.8rem}.product-status,.required-yes,.required-no{text-transform:capitalize;border-radius:999px;width:max-content;padding:5px 9px;font-size:.7rem;font-weight:800;display:inline-flex}.product-status.active{color:#16a34a;background:#dcfce7}.product-status.draft{color:#d97706;background:#fff1d6}.product-status.archived{color:#53627c;background:#eef2f7}.required-yes{color:#087443;background:#dcfce7}.required-no{color:#53627c;background:#eef2f7}.rx-switch{align-items:center;gap:9px;display:inline-flex;color:#334155!important;background:0 0!important;border:0!important;padding:0!important;font-size:.8rem!important}.rx-switch span{background:#94a3b8;border-radius:999px;width:40px;height:22px;display:inline-block;position:relative}.rx-switch span:after{content:"";background:#fff;border-radius:999px;width:16px;height:16px;transition:transform .2s;position:absolute;top:3px;left:3px}.rx-switch.on span{background:#1569e8}.rx-switch.on span:after{transform:translate(18px)}.icon-button{color:#334155!important;background:#fff!important;border:1px solid #d8e1ee!important;padding:7px 10px!important;font-size:.95rem!important}.products-footer{justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.products-footer span{color:#53627c;font-size:.84rem}.products-footer div{gap:8px;display:flex}.products-footer button{color:#334155;background:#fff;border:1px solid #d8e1ee;padding:8px 11px;font-size:.82rem}.products-footer button.active{color:#fff;background:#155eef}.rx-orders-page{gap:16px;display:grid}.rx-orders-header h1{margin-bottom:6px;font-size:1.9rem}.rx-orders-header p{color:#53627c;margin:0;font-size:.95rem}.prescriptions-header h1{font-size:1.62rem}.prescriptions-header p{color:#64748b;font-size:.88rem}.rx-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.rx-summary-grid article{background:#fff;border:1px solid #e1e8f0;border-radius:12px;grid-template-columns:52px 1fr;align-items:center;gap:14px;padding:16px;display:grid;box-shadow:0 10px 28px #0f172a0a}.rx-summary-icon{border-radius:999px;justify-content:center;align-items:center;width:46px;height:46px;font-size:.9rem;font-weight:900;display:flex}.rx-summary-icon.blue{color:#1271e7;background:#e8f3ff}.rx-summary-icon.amber{color:#d97706;background:#fff1d6}.rx-summary-icon.purple{color:#7c3aed;background:#ede9fe}.rx-summary-icon.green{color:#16a34a;background:#dcfce7}.rx-summary-icon.red{color:#dc2626;background:#fee2e2}.rx-summary-grid p{color:#53627c;margin:0 0 4px;font-size:.8rem}.rx-summary-grid strong{color:#0f172a;font-size:1.45rem}.rx-orders-card{background:#fff;border:1px solid #e1e8f0;border-radius:14px;overflow:hidden;box-shadow:0 14px 38px #0f172a0d}.rx-orders-toolbar{grid-template-columns:minmax(300px,1fr) 190px 190px 150px 90px;align-items:center;gap:12px;padding:16px;display:grid}.rx-orders-toolbar input,.rx-orders-toolbar select{min-height:42px}.rx-orders-toolbar button{color:#334155;background:#f8fafc;border:1px solid #d8e1ee;min-height:42px;padding:8px 12px}.rx-orders-table{overflow-x:auto}.rx-order-row{border-bottom:1px solid #edf1f6;grid-template-columns:minmax(74px,.55fr) minmax(140px,1fr) minmax(180px,1.35fr) minmax(118px,.85fr) minmax(130px,.9fr) minmax(140px,1fr) minmax(105px,.72fr) minmax(62px,.38fr);align-items:center;gap:12px;min-width:950px;min-height:48px;padding:11px 14px;display:grid}.rx-order-row:last-child{border-bottom:0}.rx-order-head{color:#42526b;letter-spacing:.03em;text-transform:uppercase;background:#f6f9fc;font-size:.72rem;font-weight:800}.rx-order-row strong{color:#007c89;font-size:.9rem}.rx-order-row span{color:#53627c;font-size:.84rem}.rx-order-row b{color:#172033;font-size:.86rem;display:block}.rx-order-row small{color:#64748b;margin-top:2px;font-size:.75rem;display:block}.rx-order-row>*{min-width:0}.rx-order-row span,.rx-order-row strong,.rx-order-row b,.rx-order-row small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rx-order-row select{width:100%;min-width:0;min-height:36px;font-size:.8rem}.rx-order-row button{color:#334155;background:#f8fafc;border:1px solid #d8e1ee;padding:8px 10px;font-size:.78rem}.rx-row-actions{justify-content:flex-start;gap:6px;min-width:0;display:flex}.method-badge,.rx-status-select{border-radius:999px;width:max-content;padding:8px 12px;font-weight:800;display:inline-flex;font-size:.76rem!important}.method-badge.customer_upload{color:#1260d6;background:#e8f3ff}.method-badge.doctor_vet_approval{color:#6d28d9;background:#ede9fe}.method-badge.in_house{color:#087443;background:#dcfce7}.method-badge.not_selected{color:#53627c;background:#eef2f7}.rx-status-select.pending,.rx-status-select.waiting{color:#d97706;background:#fff1d6}.rx-status-select.under_review{color:#1260d6;background:#e8f3ff}.rx-status-select.more_info_required{color:#ea580c;background:#ffedd5}.rx-status-select.approved{color:#087443;background:#dcfce7}.rx-status-select.rejected{color:#dc2626;background:#fee2e2}.rx-row-actions button{min-width:42px}.rx-order-clickable{cursor:pointer}.rx-order-clickable:hover{background:#fbfdff}.rx-detail-page{gap:16px;display:grid}.case-hero{background:radial-gradient(circle at 12% 0,#2563eb1a,#0000 35%),#fff;border:1px solid #e1e8f0;border-radius:18px;justify-content:space-between;align-items:center;padding:22px;display:flex;box-shadow:0 16px 42px #0f172a0e}.case-hero-flat{box-shadow:none;background:0 0;border:0;border-radius:0;padding:2px 8px 4px}.case-back{color:#1c2d4a;margin-bottom:12px;font-size:.9rem;font-weight:800;display:inline-block}.case-hero h1{color:#08142d;letter-spacing:-.055em;margin:0 0 10px;font-size:2rem}.case-hero-meta{flex-wrap:wrap;align-items:center;gap:9px;display:flex}.case-hero-meta>span:not(.status-pill):not(.status-chip){color:#243653;background:#eef2f7;border:1px solid #e1e8f0;border-radius:8px;padding:9px 12px;font-size:.84rem;font-weight:800}.status-chip{color:#f59e0b;background:#fff0cf;border-radius:9px;justify-content:center;align-items:center;padding:9px 12px;font-size:.84rem;font-style:normal;font-weight:900;display:inline-flex}.status-chip.approved{color:#15803d;background:#dcfce7}.status-chip.rejected{color:#dc2626;background:#fee2e2}.status-chip.under_review,.status-chip.more_info_required{color:#155eef;background:#e7f0ff}.locked-status{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;gap:8px;padding:10px;display:grid}.locked-status p{color:#64748b;margin:0;font-size:.82rem;line-height:1.4}.locked-status-row{background:0 0;border:0;align-items:flex-start;gap:4px;padding:0}.locked-status-row small{color:#64748b;font-size:.72rem;font-weight:800}.case-actions{flex-wrap:wrap;justify-content:flex-end;gap:10px;max-width:560px;display:flex}.case-actions button{border-radius:8px;padding:13px 18px}.case-actions .approve{background:#07894e}.case-actions .reject{background:#f43f4b}.case-actions .secondary,.form-actions .secondary{color:#334155;background:#f8fafc;border:1px solid #d8e1ee}.rx-detail-header{background:#fff;border:1px solid #e1e8f0;border-radius:14px;justify-content:space-between;align-items:center;padding:20px;display:flex;box-shadow:0 14px 38px #0f172a0d}.rx-detail-header h1{color:#0f172a;margin:6px 0;font-size:1.9rem}.rx-detail-header p,.muted-text{color:#64748b;margin:0}.back-link{color:#007c89;font-size:.82rem;font-weight:800;text-decoration:none}.rx-detail-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.rx-detail-actions button,.quick-actions button{color:#334155;background:#f8fafc;border:1px solid #d8e1ee;padding:10px 12px}.status-pill{border-radius:999px;padding:9px 13px;font-size:.78rem;font-weight:900;display:inline-flex}.status-pill.pending,.status-pill.waiting{color:#d97706;background:#fff1d6}.status-pill.under_review{color:#1260d6;background:#e8f3ff}.status-pill.more_info_required{color:#ea580c;background:#ffedd5}.status-pill.approved{color:#087443;background:#dcfce7}.status-pill.rejected{color:#dc2626;background:#fee2e2}.rx-detail-grid{grid-template-columns:minmax(0,1fr) 380px;align-items:start;gap:18px;display:grid}.rx-detail-main,.rx-detail-side{gap:16px;display:grid}.detail-card{background:#ffffffeb;border:1px solid #dce6f2;border-radius:11px;padding:20px;box-shadow:0 10px 26px #0f172a09}.detail-card h2{color:#07142e;margin:0 0 14px;font-size:1.05rem}.detail-card p{color:#53627c;margin:0;line-height:1.55}.detail-card h2{align-items:center;gap:4px;display:flex}.detail-card h2 .info-tip,.dynamic-field-form h2 .info-tip{color:#fff;cursor:help;text-shadow:0 1px 1px #0003;vertical-align:middle;background:linear-gradient(145deg,#42caff,#087dce);border:1px solid #a6e6ff;border-radius:50%;flex:none;justify-content:center;align-items:center;width:15px;height:15px;margin:0 0 0 2px;padding:0;font-size:.68rem;font-style:italic;font-weight:900;line-height:1;display:inline-flex;position:relative;box-shadow:0 1px 3px #0374c940}.detail-card h2 .info-tip>span,.dynamic-field-form h2 .info-tip>span{color:#344054;opacity:0;pointer-events:none;white-space:normal;z-index:10;background:#fff;border:1px solid #b8cbe2;border-radius:8px;width:270px;height:auto;padding:10px 12px;font-size:.76rem;font-style:normal;font-weight:600;line-height:1.45;transition:opacity .15s,transform .15s;display:block;position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%)translateY(-3px);box-shadow:0 10px 24px #0f172a29}.detail-card h2 .info-tip:hover>span,.detail-card h2 .info-tip:focus>span,.dynamic-field-form h2 .info-tip:hover>span,.dynamic-field-form h2 .info-tip:focus>span{opacity:1;transform:translate(-50%)translateY(0)}.case-section-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.case-section-head h2{align-items:center;gap:12px;margin:0;display:flex}.case-section-head h2>span:not(.info-tip){color:#07142e;width:20px;font-size:1.15rem}.case-section-head>span{color:#155eef;background:#eef5ff;border-radius:999px;padding:7px 10px;font-size:.78rem;font-weight:900}.case-contact-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-bottom:14px;display:grid}.case-contact-grid div{border-right:1px solid #d8e1ee;gap:5px;padding:0 24px;display:grid}.case-contact-grid div:first-child{padding-left:0}.case-contact-grid div:last-child{border-right:0}.case-summary-card div{border-bottom:1px solid #e1e8f0;grid-template-columns:1fr 1.2fr;gap:10px;padding:11px 0;display:grid}.case-contact-grid span,.case-summary-card span{color:#64748b;font-size:.8rem;font-weight:700}.case-contact-grid strong,.case-summary-card strong{color:#172033;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;overflow:hidden}.case-product-table{overflow:hidden}.case-product-head,.case-product-row{grid-template-columns:minmax(260px,1.6fr) minmax(150px,1fr) 100px 200px;align-items:center;gap:14px;padding:12px 16px;display:grid}.case-product-head{color:#243653;background:#f5f8fc;border-radius:8px 8px 0 0;font-size:.8rem;font-weight:900}.case-product-row{border-bottom:1px solid #e4ebf3}.case-product-name{align-items:center;gap:16px;display:flex}.product-thumb{color:#155eef;background:#eef2f7;border-radius:7px;justify-content:center;align-items:center;width:56px;height:56px;font-size:1.45rem;display:inline-flex}.case-product-row strong{color:#07142e;font-size:.88rem}.case-product-row small{color:#64748b;margin-top:4px;font-size:.78rem;display:block}.rx-required-yes{background:#d9fbe8;border-radius:999px;justify-self:start;padding:8px 13px;font-size:.8rem;font-weight:900;color:#087443!important}.method-callout{background:#eef7ff;border:1px solid #b8d9ff;border-radius:9px;align-items:center;gap:18px;padding:14px 18px;display:flex}.method-callout>span{color:#1474ff;background:#d8ecff;border-radius:999px;justify-content:center;align-items:center;width:54px;height:54px;font-size:1.35rem;font-weight:900;display:inline-flex}.method-callout strong{color:#07142e;margin-bottom:4px;display:block}.detail-list{grid-template-columns:160px 1fr;gap:10px 16px;display:grid}.detail-list span{color:#64748b;font-size:.84rem}.detail-list strong,.rx-detail-side strong{color:#172033;font-size:.9rem}.item-table{gap:10px;display:grid}.item-table>div,.document-row{background:#f8fafc;border:1px solid #edf1f6;border-radius:10px;grid-template-columns:minmax(0,1fr) 80px 120px;align-items:center;gap:10px;padding:12px;display:grid}.item-table strong,.document-row strong{color:#172033;font-size:.88rem}.item-table span,.document-row span{color:#64748b;font-size:.82rem}.document-panel{gap:10px;display:grid}.document-row{background:#f8fbff;border:1px solid #dfe8f4;grid-template-columns:46px minmax(0,1fr) auto}.document-row div:last-child{gap:8px;display:flex}.document-row button{color:#07142e;background:#fff;border:1px solid #d9e3f0;border-radius:8px;padding:12px 18px;font-size:.84rem}.pdf-icon{color:#ef4444;background:#fff1f1;border:1px solid #fecaca;border-radius:7px;justify-content:center;align-items:center;width:42px;height:42px;font-size:1.4rem;display:inline-flex}.note-composer{grid-template-columns:minmax(0,1fr) 120px;gap:14px;margin-bottom:16px;display:grid}.note-composer input{min-height:54px}.note-composer button{border-radius:8px}.note-list{gap:10px;display:grid}.note-list article{grid-template-columns:42px 1fr auto;align-items:start;gap:8px 12px;padding:4px 8px;display:grid}.note-list article:before{color:#fff;content:"S";background:linear-gradient(135deg,#2563eb,#7c3aed);border-radius:999px;grid-row:span 2;justify-content:center;align-items:center;width:38px;height:38px;font-weight:900;display:inline-flex}.note-list strong{color:#172033;font-size:.88rem}.note-list time{color:#64748b;justify-self:end;font-size:.78rem}.note-list p{grid-column:2/-1}.prescription-builder{border-color:#b8d3ff;box-shadow:0 18px 46px #155eef14}.prescription-composer{gap:12px;display:grid}.prescription-composer-grid{grid-template-columns:minmax(0,1fr) minmax(300px,.78fr);align-items:start;gap:14px;display:grid}.prescription-editor{gap:12px;display:grid}.medicine-editor{border-top:1px solid #edf2f7;gap:10px;padding-top:10px;display:grid}.medicine-editor-head,.medicine-card-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.medicine-editor h3{color:#0f172a;margin:0;font-size:.9rem}.medicine-editor-head button,.medicine-card-head button{min-height:32px;padding:6px 10px;font-size:.76rem}.medicine-card{background:#f8fbff;border:1px solid #e2ebf6;border-radius:10px;gap:9px;padding:10px;display:grid}.medicine-card-head strong{color:#172033;font-size:.82rem}.medicine-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;display:grid}.medicine-grid label{color:#344054;gap:5px;font-size:.76rem;font-weight:700;display:grid}.medicine-grid label.wide{grid-column:1/-1}.medicine-grid input,.medicine-grid textarea{color:#172033;border:1px solid #d8e1ee;border-radius:8px;min-height:36px;padding:8px 10px;font-size:.82rem}.medicine-grid textarea{resize:vertical;min-height:68px}.prescription-live-preview{position:sticky;top:14px}.prescription-live-preview .template-preview{width:100%;min-height:560px;margin:0;padding:18px}.prescription-live-preview .preview-medicine-table table{table-layout:fixed}.preview-paper{color:#172033;background:#fff;border:1px solid #dce6f2;border-radius:12px;gap:8px;min-height:420px;padding:16px;display:grid;box-shadow:0 10px 28px #0f172a0d}.preview-paper h3{color:#0f172a;text-align:center;margin:0;font-size:1rem}.preview-paper h4{color:#0f172a;margin:6px 0 0;font-size:.82rem}.preview-paper p,.preview-paper small{color:#64748b;text-align:center;margin:0;font-size:.76rem}.preview-divider{border-top:1px solid #e2e8f0;margin:4px 0}.preview-kv{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.preview-kv div{background:#f8fafc;border-radius:8px;gap:2px;padding:7px 8px;display:grid}.preview-kv span{color:#64748b;font-size:.68rem;font-weight:800}.preview-kv strong{color:#172033;overflow-wrap:anywhere;font-size:.76rem}.preview-paper table{border-collapse:collapse;width:100%;font-size:.7rem}.preview-paper th,.preview-paper td{text-align:left;border:1px solid #e2e8f0;padding:6px}.preview-paper th{color:#334155;background:#f8fafc}.preview-instructions p{text-align:left}.two-column-card{grid-template-columns:1fr 1fr;gap:18px;display:grid}.upload-box{color:#007c89;cursor:pointer;background:#f8fafc;border:1px dashed #b7c6d8;border-radius:12px;justify-content:center;align-items:center;min-height:86px;margin-bottom:12px;font-weight:800;display:flex}.upload-box input{display:none}.rx-detail-side .detail-card{gap:10px;display:grid}.case-summary-card h2,.case-timeline h2{align-items:center;gap:10px;display:flex}.case-summary-card strong{justify-self:start}.case-timeline{overflow:hidden}.timeline-head,.timeline-modal-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.timeline-head button,.timeline-modal-head button{color:#334155;background:#f8fafc;border:1px solid #d8e1ee;padding:7px 10px;font-size:.76rem}.timeline-item{grid-template-columns:22px 1fr;gap:14px;padding:12px 0;display:grid;position:relative}.timeline-item:before{content:"";background:#d7e1ee;width:1px;height:100%;position:absolute;top:24px;left:10px}.timeline-item:last-child:before{display:none}.timeline-item>span{z-index:1;border-radius:999px;width:18px;height:18px;margin-top:2px;position:relative}.timeline-item>span.blue{background:#1474ff}.timeline-item>span.green{background:#16a34a}.timeline-item>span.amber{background:#f59e0b}.timeline-item>span.purple{background:#7c3aed}.timeline-item strong{color:#07142e;font-size:.9rem;display:block}.timeline-item p{color:#64748b;margin-top:7px;font-size:.82rem}.timeline-modal-backdrop{-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);z-index:80;background:#0f172a5c;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.timeline-modal{background:#fff;border:1px solid #dce6f2;border-radius:16px;width:min(620px,100%);max-width:620px;max-height:min(680px,86vh);padding:18px;overflow:auto;box-shadow:0 28px 80px #0f172a47}.timeline-modal h2{color:#07142e;margin:0;font-size:1.05rem}.timeline-modal .timeline-item{padding:10px 0}.rx-detail-side select{min-height:40px}.quick-actions button{width:100%}.activity-card{margin-bottom:16px}.activity-row{grid-template-columns:16px 1fr;gap:12px;padding:12px 0;display:grid}.activity-row+.activity-row{border-top:1px solid #edf1f6}.activity-row>span{background:#007c89;border-radius:999px;width:10px;height:10px;margin-top:4px}.activity-row strong{color:#172033;font-size:.9rem}.activity-row p{color:#64748b;margin:4px 0 0;font-size:.8rem}.rx-detail-page{gap:12px}.rx-detail-page .case-hero-flat{align-items:flex-start;padding:0 2px}.rx-detail-page .case-back{margin-bottom:7px;font-size:.82rem}.rx-detail-page .case-hero h1{margin-bottom:6px;font-size:1.68rem}.rx-detail-page .case-hero-meta{gap:7px}.rx-detail-page .case-hero-meta>span:not(.status-pill):not(.status-chip),.rx-detail-page .case-hero-meta select,.rx-detail-page .status-chip{color:#20304a;background:#f8fbff;border:1px solid #d7e4f2;border-radius:8px;min-height:34px;padding:6px 10px;font-size:.76rem;font-weight:800}.rx-detail-page .case-actions{gap:7px;max-width:560px}.rx-detail-page .case-actions button{border-radius:8px;min-height:36px;padding:8px 12px;font-size:.78rem}.rx-detail-page .rx-detail-grid{grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:12px}.rx-detail-page .rx-detail-main,.rx-detail-page .rx-detail-side{gap:12px}.rx-detail-page .detail-card{border-radius:10px;padding:12px;box-shadow:0 8px 22px #0f172a09}.rx-detail-page .detail-card h2{margin-bottom:0;font-size:.92rem}.rx-detail-page .detail-card p{font-size:.8rem;line-height:1.45}.rx-detail-page .case-section-head{margin-bottom:9px}.rx-detail-page .case-section-head h2{gap:8px}.rx-detail-page .case-section-head h2>span:not(.info-tip),.rx-detail-page .case-summary-card h2>span:not(.info-tip),.rx-detail-page .assign-card h2>span:not(.info-tip),.rx-detail-page .status-card h2>span:not(.info-tip){color:#1264f4;background:#eaf3ff;border-radius:8px;justify-content:center;align-items:center;width:28px;height:28px;font-size:.72rem;font-weight:900;display:inline-flex}.case-overview-card{gap:12px;display:grid}.case-overview-block{border-bottom:1px solid #edf2f7;padding-bottom:10px}.case-overview-block:last-child{border-bottom:0;padding-bottom:0}.compact-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.compact-detail-grid div{border-right:1px solid #e1e8f0;gap:3px;padding-right:12px;display:grid}.compact-detail-grid div:last-child{border-right:0}.compact-detail-grid span,.compact-product-row span,.compact-product-row small{color:#64748b;font-size:.72rem}.compact-detail-grid strong,.compact-product-row strong{color:#0f172a;overflow-wrap:anywhere;font-size:.82rem}.compact-product-list{gap:6px;display:grid}.compact-product-row{background:#f8fbff;border:1px solid #e7eef7;border-radius:8px;grid-template-columns:minmax(190px,1.6fr) minmax(100px,1fr) 70px;align-items:center;gap:10px;padding:8px 10px;display:grid}.compact-product-row div{gap:2px;display:grid}.compact-product-row em{color:#087443;background:#dcfce7;border-radius:999px;justify-self:start;padding:4px 8px;font-size:.7rem;font-style:normal;font-weight:900}.compact-method{padding:8px 10px}.compact-method>span{width:34px;height:34px;font-size:.82rem}.compact-method strong{font-size:.82rem}.compact-method p{font-size:.76rem!important}.method-block .field-snapshot-list{margin-top:8px}.method-block .dynamic-field-form{grid-template-columns:repeat(2,minmax(0,1fr)) auto;margin-top:8px}.method-detail-block{border-top:1px solid #edf2f7;gap:10px;margin-top:10px;padding-top:10px;display:grid}.method-detail-block h3{color:#0f172a;margin:0;font-size:.86rem}.method-detail-empty{border-top:1px solid #edf2f7;padding-top:10px;margin-top:10px!important}.rx-detail-page .case-contact-grid{margin-bottom:10px}.rx-detail-page .case-contact-grid div{gap:3px;padding:0 13px}.rx-detail-page .case-contact-grid span,.rx-detail-page .case-summary-card span{font-size:.72rem}.rx-detail-page .case-contact-grid strong,.rx-detail-page .case-summary-card strong{font-size:.8rem}.rx-detail-page .case-summary-card div{gap:7px;padding:8px 0}.rx-detail-page .case-summary-card h2,.rx-detail-page .assign-card h2,.rx-detail-page .status-card h2,.rx-detail-page .case-timeline h2{align-items:center;gap:8px;display:flex}.rx-detail-page .case-product-head,.rx-detail-page .case-product-row{grid-template-columns:minmax(210px,1.6fr) minmax(120px,1fr) 70px 145px;gap:10px;padding:9px 11px}.rx-detail-page .case-product-head{font-size:.72rem}.rx-detail-page .case-product-name{gap:10px}.rx-detail-page .product-thumb{width:38px;height:38px;font-size:.68rem}.rx-detail-page .case-product-row strong{font-size:.8rem}.rx-detail-page .case-product-row small{font-size:.7rem}.rx-detail-page .rx-required-yes{padding:5px 9px;font-size:.72rem}.rx-detail-page .method-callout{gap:10px;padding:10px 12px}.rx-detail-page .method-callout>span{width:34px;height:34px;font-size:.76rem}.rx-detail-page .method-callout strong{font-size:.84rem}.rx-detail-page .upload-box{min-height:58px;margin-bottom:10px}.rx-detail-page .document-row{grid-template-columns:34px minmax(0,1fr) auto;padding:10px}.rx-detail-page .document-row strong{font-size:.82rem}.rx-detail-page .document-row span{font-size:.76rem}.rx-detail-page .document-row button{padding:8px 10px;font-size:.76rem}.rx-detail-page .pdf-icon{width:30px;height:30px;font-size:.66rem}.rx-detail-page .note-composer{grid-template-columns:minmax(0,1fr) 92px;gap:10px;margin-bottom:12px}.rx-detail-page .note-composer input{min-height:42px}.rx-detail-page .note-composer button,.rx-detail-page .field-form-head button{white-space:nowrap;min-height:34px;padding:6px 10px;font-size:.76rem}.rx-detail-page .note-list article{grid-template-columns:32px 1fr auto;gap:5px 9px;padding:2px 4px}.rx-detail-page .note-list article:before{width:30px;height:30px;font-size:.72rem}.rx-detail-page .note-list strong{font-size:.8rem}.rx-detail-page .note-list time{font-size:.7rem}.rx-detail-page .timeline-item{grid-template-columns:16px 1fr;gap:10px;padding:8px 0}.rx-detail-page .timeline-item:before{top:20px;left:7px}.rx-detail-page .timeline-item>span{width:12px;height:12px}.rx-detail-page .timeline-item strong{font-size:.8rem}.rx-detail-page .timeline-item p{margin-top:4px;font-size:.72rem}.rx-detail-page .dynamic-field-form{grid-template-columns:repeat(2,minmax(0,1fr)) auto;gap:10px;display:grid}.rx-detail-page .field-form-head{align-self:end;display:contents}.rx-detail-page .field-form-head>span,.rx-detail-page .field-form-head h2{display:none}.rx-detail-page .field-form-head button{grid-area:1/3;align-self:end;min-width:76px}.rx-detail-page .dynamic-field-form label{gap:6px;font-size:.78rem;display:grid}.rx-detail-page .dynamic-field-form label small{margin-left:3px}.rx-detail-page .dynamic-field-form input,.rx-detail-page .dynamic-field-form select,.rx-detail-page .dynamic-field-form textarea{border-radius:8px;min-height:42px;font-size:.82rem}.rx-detail-page .prescription-builder .dynamic-field-form{grid-template-columns:repeat(2,minmax(0,1fr))}.rx-detail-page .prescription-builder .field-form-head,.rx-detail-page .prescription-builder .field-form-head h2{display:flex}.rx-detail-page .prescription-builder .field-form-head{grid-column:1/-1}.rx-detail-page .prescription-builder .field-form-head h2{align-items:center;gap:4px}.rx-detail-page .case-section-head button,.rx-detail-page .form-actions button{min-height:34px;padding:6px 10px;font-size:.76rem}.empty-records{color:#64748b;text-align:center;place-items:center;min-height:112px;display:grid}.empty-records span{color:#94a3b8;font-size:.8rem;font-weight:900}.empty-records strong{color:#53627c;margin-top:3px;font-size:.9rem}.empty-records p{margin-top:2px}.assign-card strong{color:#172033;font-size:.86rem}.assign-card select,.status-card select{min-height:38px}.case-summary-card .assign-row{align-items:center}.case-summary-card .assign-row select{min-height:34px;padding:6px 8px;font-size:.78rem}.activity-page{gap:16px;display:grid}.activity-card{background:#fff;border:1px solid #e1e8f0;border-radius:14px;display:grid;overflow:hidden;box-shadow:0 14px 38px #0f172a0a}.activity-title{gap:4px;display:grid}.activity-title h1{color:#10213e;margin:0;font-size:1.62rem}.activity-title p:last-child{color:#64748b;margin:0;font-size:.88rem}.activity-filters{grid-template-columns:minmax(300px,1fr) 150px 190px 150px 150px 150px 88px;align-items:center;gap:12px;padding:16px;display:grid}.activity-filters input,.activity-filters select{color:#172033;background:#fff;border:1px solid #dbe4ef;border-radius:10px;min-width:0;min-height:42px;padding:10px 12px}.activity-filters button{color:#172033;background:#f8fafc;border:1px solid #d4deeb;border-radius:10px;padding:10px 14px;font-size:.84rem;font-weight:900}.activity-table{border-left:0;border-right:0;border-radius:0;overflow:hidden}.activity-table-row{grid-template-columns:minmax(150px,.95fr) minmax(150px,1fr) minmax(190px,1.15fr) minmax(190px,1.2fr) minmax(260px,1.7fr);align-items:center;gap:14px;min-height:48px;padding:11px 16px;display:grid}.activity-table-row+.activity-table-row{border-top:1px solid #e4ebf3}.activity-table-head{color:#42526b;letter-spacing:.03em;text-transform:uppercase;background:#f6f9fc;min-height:40px;font-size:.72rem;font-weight:800}.activity-table-row time,.activity-table-row span,.activity-table-row p{color:#526380;margin:0;font-size:.84rem}.activity-table-row strong{color:#10213e;font-size:.86rem}.activity-table-row mark{color:inherit;background:#fff1b8;border-radius:4px;padding:0 1px}.activity-table-row button{color:#1268ff;cursor:pointer;text-align:left;background:0 0;border:0;padding:0;font-weight:800}.activity-user{gap:1px;display:grid}.activity-user small{color:#6f7e95;font-size:.78rem}.activity-action{align-items:center;gap:14px;display:flex}.activity-action-icon{border-radius:999px;justify-content:center;align-items:center;width:34px;height:34px;font-size:.84rem;font-style:normal;font-weight:900;display:inline-flex}.activity-action-icon.blue{color:#1474ff;background:#e7f0ff}.activity-action-icon.green{color:#16a34a;background:#dcfce7}.activity-action-icon.purple{color:#7c3aed;background:#f1e8ff}.activity-action-icon.red{color:#dc2626;background:#fee2e2}.activity-footer{background:#fff;justify-content:space-between;align-items:center;padding:14px 0 0;display:flex}.activity-footer>span{color:#526380;padding-left:0;font-size:.84rem}.activity-footer div{gap:8px;display:flex}.activity-footer button{color:#334155;background:#fff;border:1px solid #dbe4ef;border-radius:10px;justify-content:center;align-items:center;min-width:34px;height:34px;padding:0 10px;display:inline-flex}.activity-footer button.active{color:#fff;background:linear-gradient(135deg,#2b8cff,#1474ff);border-color:#1474ff;box-shadow:0 8px 18px #1474ff38}.field-snapshot-list{gap:9px;display:grid}.field-snapshot-list div{background:#f8fafc;border:1px solid #edf1f6;border-radius:10px;gap:3px;padding:10px 12px;display:grid}.field-snapshot-list span{color:#64748b;font-size:.76rem;font-weight:800}.field-snapshot-list strong{color:#172033;font-size:.9rem}.field-snapshot-list small{color:#64748b;font-size:.76rem}.dynamic-field-form{gap:12px;display:grid}.field-form-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.field-form-head h2{margin:0}.field-form-head button{padding:9px 12px}.dynamic-field-form label{color:#344054;gap:6px;font-size:.84rem}.dynamic-field-form label small{color:#dc2626;font-size:.72rem}.dynamic-field-form input,.dynamic-field-form select,.dynamic-field-form textarea{min-height:40px}.form-actions{flex-wrap:wrap;gap:10px;margin-top:12px;display:flex}.form-actions .secondary{color:#334155;background:#f8fafc;border:1px solid #d8e1ee}.prescription-preview{background:linear-gradient(135deg,#fbfdff,#f6f9fc);border:1px solid #e1e8f0;border-radius:12px;margin-top:14px;padding:16px}.prescription-preview h3{color:#0f172a;margin:0 0 6px}.prescription-preview p{color:#53627c;margin:2px 0;font-size:.84rem}.prescription-preview small{color:#64748b;margin-top:10px;display:block}.prescription-record{border:1px solid #e1e8f0;border-radius:12px;gap:8px;margin-top:10px;padding:12px;display:grid}.prescription-record strong{color:#007c89}.prescription-record span,.prescription-record small{color:#64748b;font-size:.8rem}.prescriptions-toolbar{grid-template-columns:minmax(260px,1fr) 150px 190px 150px 90px;align-items:center;gap:12px;padding:16px;display:grid}.prescriptions-toolbar input,.prescriptions-toolbar select{min-height:42px}.prescriptions-table{overflow-x:auto}.prescription-row{border-bottom:1px solid #edf1f6;grid-template-columns:150px 110px 150px 160px 140px 130px 120px 120px 100px 390px;align-items:center;gap:12px;min-width:1620px;min-height:48px;padding:11px 16px;display:grid}.prescription-row:last-child{border-bottom:0}.prescription-head{color:#42526b;letter-spacing:.03em;text-transform:uppercase;background:#f6f9fc;font-size:.72rem;font-weight:800}.prescription-row strong{color:#007c89;font-size:.88rem}.prescription-row span{color:#53627c;font-size:.82rem}.status-pill.expired{color:#d97706;background:#fff1d6}.status-pill.replaced{color:#6d28d9;background:#ede9fe}.status-pill.cancelled{color:#475569;background:#eef2f7}.settings-page{gap:16px;display:grid}.settings-topbar{justify-content:space-between;align-items:center;gap:16px;display:flex}.settings-search{color:#64748b;background:#fff;border:1px solid #d8e1ee;border-radius:10px;width:min(560px,100%);min-height:44px;padding:13px 16px}.settings-profile{grid-template-columns:40px auto;align-items:center;gap:2px 10px;display:grid}.settings-profile span{color:#1260d6;background:#bfdbfe;border-radius:999px;grid-row:span 2;justify-content:center;align-items:center;width:40px;height:40px;font-weight:900;display:flex}.settings-profile strong{color:#0f172a;font-size:.88rem}.settings-profile small{color:#53627c;text-transform:capitalize;font-size:.78rem}.settings-header{justify-content:space-between;align-items:end;gap:16px;display:flex}.settings-header h1{color:#0f172a;margin:0 0 6px;font-size:2rem}.settings-header p{color:#475a89;margin:0}.settings-header button{min-width:140px;box-shadow:0 12px 24px #155eef2e}.settings-layout{grid-template-columns:290px minmax(0,1fr);align-items:start;gap:12px;display:grid}.settings-nav{background:#fff;border:1px solid #e1e8f0;border-radius:14px;gap:4px;min-height:0;padding:8px;display:grid;box-shadow:0 14px 38px #0f172a0a}.settings-nav button{box-sizing:border-box;color:#172033;text-align:left;background:0 0;border:0;grid-template-columns:38px 1fr;align-items:center;gap:10px;height:68px;padding:8px 10px;display:grid}.settings-nav button.active{color:#0f62fe;background:linear-gradient(135deg,#eff7ff,#e8f2ff)}.settings-nav button span{color:#176bff;background:#eef4ff;border-radius:999px;justify-content:center;align-items:center;width:32px;height:32px;font-size:.72rem;font-weight:900;display:flex}.settings-nav button:nth-child(3) span{color:#d97706;background:#fff1d6}.settings-nav button:nth-child(4) span{color:#7c3aed;background:#ede9fe}.settings-nav button:nth-child(5) span{color:#475569;background:#eef2f7}.settings-nav button:nth-child(6) span{color:#ea580c;background:#ffedd5}.settings-nav strong{font-size:.94rem;display:block}.settings-nav small{color:#53627c;margin-top:3px;font-size:.76rem;font-weight:500;display:block}.settings-card{background:#fff;border:1px solid #e1e8f0;border-radius:14px;gap:10px;padding:12px;display:grid;box-shadow:0 14px 38px #0f172a0a}.settings-section-title{grid-template-columns:46px 1fr auto;align-items:center;gap:14px;padding:6px 0 10px;display:grid}.settings-section-title>span{color:#176bff;background:#e8f3ff;border-radius:12px;justify-content:center;align-items:center;width:42px;height:42px;font-weight:900;display:flex}.settings-section-title h2{color:#0f172a;align-items:center;gap:4px;margin:0 0 4px;font-size:1.22rem;display:flex}.settings-section-title p,.settings-box p{color:#53627c;margin:0;font-size:.86rem}.settings-section-action{justify-content:flex-end;align-items:center;display:flex}.settings-section-title .info-tip{color:#fff;cursor:help;text-shadow:0 1px 1px #0003;vertical-align:middle;background:linear-gradient(145deg,#42caff,#087dce);border:1px solid #a6e6ff;border-radius:50%;flex:none;justify-content:center;align-items:center;width:15px;height:15px;margin:0;padding:0;font-size:.68rem;font-style:italic;font-weight:900;line-height:1;display:inline-flex;position:relative;box-shadow:0 1px 3px #0374c940}.settings-section-title .info-tip>span{color:#344054;opacity:0;pointer-events:none;white-space:normal;z-index:10;background:#fff;border:1px solid #b8cbe2;border-radius:8px;width:270px;height:auto;padding:10px 12px;font-size:.76rem;font-style:normal;font-weight:600;line-height:1.45;transition:opacity .15s,transform .15s;display:block;position:absolute;top:calc(100% + 8px);left:50%;transform:translate(-50%)translateY(-3px);box-shadow:0 10px 24px #0f172a29}.settings-section-title .info-tip:hover>span,.settings-section-title .info-tip:focus>span{opacity:1;transform:translate(-50%)translateY(0)}.settings-box{border:1px solid #dfe7f2;border-radius:12px;gap:9px;padding:12px;display:grid}.settings-box h3{color:#0f172a;margin:0 0 2px;font-size:1rem}.settings-box-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.settings-hint{color:#64748b;white-space:nowrap;font-size:.72rem}.store-type-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.store-type-grid button,.toggle-card{box-sizing:border-box;height:112px}.store-type-grid button{color:#172033;background:#fff;border:1px solid #dfe7f2;justify-items:start;gap:5px;padding:13px;display:grid}.store-type-grid button.active{border-color:#176bff;box-shadow:inset 0 0 0 1px #176bff}.store-type-grid span{color:#16a34a;background:#dcfce7;border-radius:999px;justify-content:center;align-items:center;width:30px;height:30px;font-size:.82rem;font-weight:900;display:flex}.store-type-grid small{color:#53627c;font-size:.76rem;line-height:1.3}.method-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.toggle-card{color:#172033;text-align:left;background:#f8fafc;border:1px solid #dfe7f2;justify-items:start;gap:5px;padding:13px;display:grid}.toggle-card.active{background:#eef7ff;border-color:#176bff}.toggle-card small{color:#53627c;font-size:.76rem;font-weight:500;line-height:1.3}.toggle-card span{color:#53627c;background:#eef2f7;border-radius:999px;padding:4px 8px;font-size:.7rem}.toggle-card.active span{color:#087443;background:#dcfce7}.field-builder{gap:8px;display:grid}.field-builder-top{background:#f8fafc;border:1px solid #e1e8f0;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.field-builder-top,.field-builder>.muted-text{grid-column:1/-1}.field-builder-top p{color:#53627c;margin:0;font-size:.84rem}.add-field{justify-self:start;padding:10px 14px}.field-row{background:#fff;border:1px solid #e1e8f0;border-radius:12px;gap:0;min-width:0;padding:1px 5px 2px;display:grid;box-shadow:0 6px 16px #0f172a08}.field-row-body{grid-template-columns:minmax(0,1fr) 68px;align-items:stretch;gap:8px;display:grid}.field-row-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.field-row-grid label{color:#344054;gap:4px;min-width:0;font-size:.8rem;font-weight:700}.field-row-grid>label:nth-child(-n+2){padding-top:3px}.field-type-note{white-space:nowrap;background:#f8fafc;border:1px dashed #d8e1ee;border-radius:8px;align-self:start;align-items:center;gap:6px;height:40px;min-height:40px;margin-top:23px;padding:0 9px;display:flex;overflow:hidden}.field-type-note strong{color:#344054;font-size:.82rem}.field-type-note span{color:#64748b;text-overflow:ellipsis;font-size:.76rem;overflow:hidden}.field-row input,.field-row select{width:100%;min-height:40px}.field-row input:disabled{color:#94a3b8;background:#f8fafc}.mini-check{flex-direction:row;align-items:center;gap:7px;font-size:.82rem;display:flex}.mini-check input{padding:0}.mini-check.wide{grid-column:1/-1}.field-row-footer{justify-content:flex-start;align-items:center;gap:12px;margin-top:-4px;display:flex}.field-toggles{flex-wrap:wrap;gap:12px;display:flex}.field-actions{box-sizing:border-box;flex-direction:column;justify-content:space-between;align-self:stretch;gap:4px;padding-top:23px;display:flex}.field-actions button{color:#334155;background:#f8fafc;border:1px solid #d8e1ee;flex:1;min-height:0;padding:4px 7px;font-size:.72rem}.field-actions .danger{color:#dc2626}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.template-grid label{color:#344054;font-size:.86rem}.template-grid textarea,.template-grid .wide{grid-column:1/-1}.store-fields-simple{gap:12px;display:grid}.store-simple-list{gap:10px;display:grid}.store-simple-row{background:#fff;border:1px solid #e1e8f0;border-radius:12px;grid-template-columns:minmax(220px,1fr) 160px minmax(260px,1.15fr) auto;align-items:start;gap:8px;padding:8px 10px;display:grid;box-shadow:0 6px 16px #0f172a08}.store-simple-row label{color:#344054;gap:4px;min-width:0;font-size:.8rem;font-weight:700}.store-simple-row input,.store-simple-row select,.store-simple-row textarea{width:100%;min-height:40px}.store-value-input textarea{resize:vertical;height:40px;min-height:40px}.store-image-upload{gap:5px;display:grid}.store-image-upload input{min-width:0;padding:8px}.store-image-upload span{color:#53627c;text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:.75rem;font-weight:700;line-height:1.25;display:block;overflow:hidden}.store-row-actions{flex-wrap:wrap;justify-content:flex-end;align-self:start;align-items:center;gap:7px;padding-top:26px;display:flex}.store-row-actions button{color:#334155;background:#f8fafc;border:1px solid #d8e1ee;padding:4px 7px;font-size:.72rem}.store-row-actions button.danger{color:#dc2626}.template-layout-editor{gap:12px;display:grid}.template-designer-grid{grid-template-columns:minmax(0,1.1fr) minmax(380px,.9fr);align-items:start;gap:14px;display:grid}.template-controls{gap:10px;display:grid}.template-section-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.template-section-head h3{margin:0}.template-field-section.disabled-section{background:#f8fafc}.template-field-section.disabled-section .template-field-pills label{opacity:.55}.template-field-pills{flex-wrap:wrap;gap:8px;display:flex}.template-field-pills label{color:#344054;background:#fff;border:1px solid #d8e3f1;border-radius:9px;align-items:center;gap:7px;padding:9px 10px;font-size:.82rem;font-weight:700;display:inline-flex}.template-field-pills label.active{color:#1260d6;background:#e8f3ff;border-color:#9fc6f5}.template-field-pills input{margin:0}.template-inline-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:4px;display:grid}.template-inline-controls label,.template-footer-text{color:#344054;font-size:.8rem;font-weight:700}.template-footer-text textarea{min-height:72px}.footer-editor{border:1px solid #d8e1ee;border-radius:12px;min-width:0;overflow:hidden}.footer-editor-toolbar{flex-wrap:wrap;gap:8px;display:flex}.footer-editor .footer-editor-toolbar{background:#f8fafc;border-bottom:1px solid #d8e1ee;padding:8px}.footer-editor-toolbar button{color:#334155;background:#fff;border:1px solid #d8e1ee;border-radius:9px;min-height:34px;padding:7px 10px;font-size:.76rem}.footer-editor-toolbar button:hover:not(:disabled){color:#1260d6;background:#eef5ff;border-color:#b8d3ff}.footer-editor-toolbar button.active{color:#fff;background:#155eef;border-color:#155eef;box-shadow:0 6px 14px #155eef2e}.footer-rich-editor{color:#172033;overflow-wrap:anywhere;white-space:pre-wrap;word-break:break-word;background:#fff;outline:0;min-width:0;min-height:120px;padding:12px;font-size:.86rem;line-height:1.55}.footer-rich-editor:empty:before{color:#94a3b8;content:attr(data-placeholder)}.footer-rich-editor h3{color:#0f172a;overflow-wrap:anywhere;word-break:break-word;margin:0 0 8px;font-size:1rem}.footer-rich-editor p{overflow-wrap:anywhere;word-break:break-word;margin:0 0 8px}.footer-rich-editor ul,.footer-rich-editor ol{overflow-wrap:anywhere;word-break:break-word;margin:0 0 8px;padding-left:22px}.footer-rich-editor li{overflow-wrap:anywhere;white-space:normal;word-break:break-word}.footer-header-controls{margin-bottom:10px}.template-store-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.template-store-summary span{color:#53627c;background:#fff;border:1px solid #d8e3f1;border-radius:9px;gap:3px;padding:9px 10px;font-size:.78rem;display:grid}.template-store-summary strong{color:#22304a;font-size:.76rem}.template-preview-wrap{background:#f8fbff}.template-preview{color:#1f2a3d;background:#fff;border:1px solid #d5dfec;border-radius:10px;gap:12px;width:min(100%,520px);min-height:620px;margin:4px auto 0;padding:24px;display:grid;box-shadow:0 12px 32px #0f172a14}.preview-header{border-bottom:1px solid #dfe7f2;align-items:flex-start;gap:18px;padding-bottom:14px;display:flex}.template-preview.details_left_logo_right .preview-header{flex-direction:row-reverse;justify-content:space-between}.template-preview.centered .preview-header{text-align:center;flex-direction:column;align-items:center}.preview-logo{color:#1260d6;text-align:center;background:#e8f3ff;border:1px dashed #97bff2;border-radius:12px;justify-content:center;align-items:center;width:90px;height:68px;padding:8px;font-weight:800;display:flex}.preview-clinic{gap:4px;line-height:1.3;display:grid}.preview-clinic strong{color:#0f172a;font-size:1.05rem}.preview-clinic span{color:#53627c;font-size:.78rem}.preview-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.template-preview.single_column .preview-fields{grid-template-columns:1fr}.preview-block{border:1px solid #dfe7f2;border-radius:10px;gap:7px;padding:12px;display:grid}.preview-block.wide{grid-column:1/-1}.preview-block strong{color:#0f172a;margin-bottom:3px;font-size:.82rem}.preview-block span{color:#41516b;overflow-wrap:anywhere;white-space:normal;word-break:break-word;font-size:.76rem}.preview-medicine-table{border:1px solid #dfe7f2;border-radius:10px;grid-column:1/-1;overflow:hidden}.preview-medicine-table strong{color:#0f172a;background:#f5f8fc;padding:10px 12px;font-size:.82rem;display:block}.preview-medicine-table table{border-collapse:collapse;width:100%;font-size:.68rem}.preview-medicine-table th,.preview-medicine-table td{color:#41516b;overflow-wrap:anywhere;text-align:left;vertical-align:top;white-space:normal;word-break:break-word;border-top:1px solid #e5edf6;padding:7px 8px}.preview-medicine-table th{color:#22304a;background:#f8fbff;font-weight:800}.preview-spacer{min-height:40px}.preview-signature{display:flex}.preview-signature.bottom_left{justify-content:flex-start}.preview-signature.bottom_right{justify-content:flex-end}.preview-signature span{color:#41516b;text-align:center;border-top:1px solid #94a3b8;min-width:150px;padding-top:8px;font-size:.76rem}.preview-footer{color:#53627c;overflow-wrap:anywhere;text-align:left;word-break:break-word;border-top:1px solid #dfe7f2;gap:4px;min-width:0;margin-top:auto;padding-top:10px;font-size:.74rem;display:grid}.preview-footer p{text-align:inherit;margin:0}.preview-footer h3{color:#22304a;text-align:inherit;margin:0;font-size:.8rem}.preview-footer.footer-header-left h3{text-align:left}.preview-footer.footer-header-center h3{text-align:center}.preview-footer.footer-header-right h3{text-align:right}.preview-footer-heading{color:#22304a;text-align:center;font-size:.8rem;display:block}.preview-footer ul,.preview-footer ol{margin:0;padding-left:18px}.preview-footer li{overflow-wrap:anywhere;white-space:normal;word-break:break-word;margin:2px 0}.preview-footer em{font-style:italic}.data-table{background:#fff;border:1px solid #e1e8f0;border-radius:14px;overflow:hidden}.data-table-head{box-sizing:border-box;color:#42526b;letter-spacing:.03em;text-transform:uppercase;background:#f6f9fc;border-bottom:1px solid #edf1f6;align-items:center;height:40px;min-height:40px;padding:0 16px;font-size:.78rem;font-weight:800;line-height:1.2}.data-table-head>*{letter-spacing:inherit;line-height:inherit;text-transform:inherit;margin:0;color:inherit!important;font-size:inherit!important;font-weight:inherit!important}.data-table-row{border-bottom:1px solid #edf1f6;align-items:center;min-height:48px;padding:11px 16px;font-size:.82rem;line-height:1.35}.data-table-row:last-child{border-bottom:0}.dashboard-page,.products-page,.team-page,.rx-orders-page,.rx-detail-page,.activity-page,.settings-page,.profile-page,.section-card{gap:16px}.products-header,.team-header,.rx-orders-header,.settings-header,.dashboard-topbar,.activity-title,.profile-page>h1{margin:0}.products-header h1,.team-header h1,.rx-orders-header h1,.prescriptions-header h1,.settings-header h1,.settings-page .products-header h1,.dashboard-topbar h1,.activity-title h1,.profile-page h1,.section-card h1{color:#0f172a;letter-spacing:-.04em;margin:0 0 6px;font-size:1.62rem;line-height:1.15}.products-header p,.team-header p,.rx-orders-header p,.prescriptions-header p,.settings-header p,.settings-page .products-header p,.activity-title p:last-child,.profile-page p,.section-card .helper-text{color:#64748b;margin:0;font-size:.88rem;line-height:1.5}.products-card,.team-table,.rx-orders-card,.activity-card,.settings-card,.profile-card,.panel,.detail-card{border:1px solid #e1e8f0;border-radius:14px;box-shadow:0 14px 38px #0f172a0a}.products-toolbar,.team-toolbar,.rx-orders-toolbar,.prescriptions-toolbar,.activity-filters{gap:12px;padding:16px}.products-toolbar input,.products-toolbar select,.team-toolbar input,.team-toolbar select,.rx-orders-toolbar input,.rx-orders-toolbar select,.prescriptions-toolbar input,.prescriptions-toolbar select,.activity-filters input,.activity-filters select,.settings-card input,.settings-card select,.profile-card input,.profile-card select{color:#172033;border:1px solid #d8e1ee;border-radius:10px;min-width:0;min-height:42px;padding:10px 12px;font-size:.86rem}.products-toolbar button,.team-toolbar button,.rx-orders-toolbar button,.prescriptions-toolbar button,.activity-filters button,.bulk-actions button,.add-member-button,.settings-section-action button,.field-form-head button,.form-actions button,.modal-actions button{border-radius:10px;min-height:42px;padding:10px 14px;font-size:.84rem}.products-footer button,.activity-footer button,.team-actions button,.rx-order-row button,.panel-head button,.timeline-head button,.timeline-modal-head button{border-radius:9px;min-height:34px;padding:8px 10px;font-size:.78rem}.product-row,.team-row,.rx-order-row,.prescription-row,.activity-table-row{min-height:48px;font-size:.82rem}.product-row strong,.team-row strong,.rx-order-row strong,.prescription-row strong,.activity-table-row strong{font-size:.86rem}.product-row span,.team-row span,.rx-order-row span,.prescription-row span,.activity-table-row span,.activity-table-row p{font-size:.82rem}.muted-panel,.error-state,.success-state{font-size:.88rem;line-height:1.45}.products-header,.rx-orders-header,.rx-detail-header,.case-hero-flat,.settings-header,.team-header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.dashboard-page,.products-page,.team-page,.rx-orders-page,.rx-detail-page,.activity-page,.settings-page,.profile-page,.help-page{gap:16px;display:grid}.products-header h1,.rx-orders-header h1,.prescriptions-header h1,.settings-header h1,.rx-detail-header h1,.rx-detail-page .case-hero h1,.profile-page h1,.help-page h1,.section-card h1{color:#0f172a;letter-spacing:-.04em;margin:0 0 6px;font-size:1.62rem;line-height:1.15}.products-header p,.rx-orders-header p,.prescriptions-header p,.settings-header p,.rx-detail-header p,.profile-page .products-header p,.help-page .products-header p,.section-card .helper-text{color:#64748b;margin:0;font-size:.88rem;line-height:1.5}.products-card,.rx-orders-card,.activity-card,.settings-card,.profile-card,.team-table,.panel,.detail-card{background:#fff;border:1px solid #e1e8f0;border-radius:14px;box-shadow:0 14px 38px #0f172a0a}.detail-card h2,.panel-head h2,.profile-password-card h2,.help-section-head h2,.settings-section-title h2{color:#0f172a;letter-spacing:-.025em;margin:0 0 12px;font-size:1.05rem;line-height:1.25}.panel-head h2,.help-section-head h2,.settings-section-title h2{margin-bottom:3px}.products-toolbar,.rx-orders-toolbar,.prescriptions-toolbar,.activity-filters,.team-toolbar{align-items:center;gap:12px;padding:16px}.products-toolbar input,.products-toolbar select,.rx-orders-toolbar input,.rx-orders-toolbar select,.prescriptions-toolbar input,.prescriptions-toolbar select,.activity-filters input,.activity-filters select,.team-toolbar input,.team-toolbar select,.settings-card input,.settings-card select,.settings-card textarea,.profile-card input,.profile-card select{color:#172033;border:1px solid #d8e1ee;border-radius:10px;min-width:0;min-height:42px;padding:10px 12px;font-size:.86rem}.products-toolbar button,.rx-orders-toolbar button,.prescriptions-toolbar button,.activity-filters button,.team-toolbar button,.bulk-actions button,.add-member-button,.case-actions button,.rx-detail-actions button,.form-actions button,.modal-actions button{border-radius:10px;min-height:42px;padding:10px 14px;font-size:.84rem}.products-toolbar button,.rx-orders-toolbar button,.prescriptions-toolbar button,.activity-filters button,.team-toolbar button,.rx-detail-actions button{color:#334155;background:#f8fafc;border:1px solid #d8e1ee}.product-row,.rx-order-row,.prescription-row,.team-row,.activity-table-row{min-height:48px;font-size:.82rem;line-height:1.35}.product-row strong,.rx-order-row strong,.rx-order-row b,.prescription-row strong,.team-row strong,.activity-table-row strong{color:#172033;font-size:.86rem}.product-row span,.rx-order-row span,.prescription-row span,.team-row span,.activity-table-row span,.activity-table-row p{color:#53627c;font-size:.82rem}.data-table-head,.product-row-head,.rx-order-head,.prescription-head,.team-row-head,.activity-table-head{color:#42526b;letter-spacing:.03em;text-transform:uppercase;min-height:40px;font-size:.72rem;font-weight:800}.products-footer,.activity-footer{justify-content:space-between;align-items:center;padding:14px 16px;display:flex}.products-footer span,.activity-footer>span{color:#53627c;font-size:.84rem}.products-footer button,.activity-footer button,.team-actions button,.rx-order-row button,.document-row button,.timeline-head button,.timeline-modal-head button{border-radius:9px;min-height:34px;padding:8px 10px;font-size:.78rem}.rx-summary-grid article,.product-summary-grid article,.team-summary-card,.stat-card{border-radius:12px;min-height:88px;box-shadow:0 10px 28px #0f172a0a}.rx-summary-grid p,.product-summary-grid p,.team-summary-card p,.stat-card p{color:#53627c;margin:0 0 4px;font-size:.8rem;font-weight:800}.rx-summary-grid strong,.product-summary-grid strong,.team-summary-card strong,.stat-card strong{color:#0f172a;letter-spacing:-.03em;font-size:1.42rem;line-height:1}.stats-grid{gap:12px}.stats-grid .stat-card{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;min-height:76px;padding:14px 16px;display:grid}.stats-grid .stat-card p{color:#334155;margin:0;font-size:.78rem}.stats-grid .stat-card strong{justify-self:end;font-size:1.9rem}.stats-grid .stat-card small{color:#475569;margin:0;font-size:.76rem;line-height:1.25}.stats-grid .stat-card.blue{border-left:4px solid #1271e7}.stats-grid .stat-card.purple{border-left:4px solid #7c3aed}.stats-grid .stat-card.green{border-left:4px solid #16a34a}.stats-grid .stat-card.amber{border-left:4px solid #d97706}.muted-panel,.error-state,.success-state,.warning-state{font-size:.88rem;line-height:1.45}@media (width<=1200px){.rx-order-row{grid-template-columns:78px 140px minmax(170px,1fr) 112px 126px 130px 98px 58px;gap:10px;min-width:912px;padding-left:12px;padding-right:12px}.rx-order-row span,.rx-order-row b,.rx-order-row strong{font-size:.78rem}.rx-order-row small{font-size:.7rem}.rx-order-row select{font-size:.74rem}.rx-order-row button{padding:7px 8px;font-size:.72rem}}@media (width<=820px){.shell{grid-template-columns:1fr}.sidebar{width:auto;height:auto;position:static}.content{grid-column:auto}nav{grid-template-columns:repeat(2,minmax(0,1fr))}.content{padding:18px}.access-card{padding:26px}.dashboard-topbar,.dashboard-grid,.stats-grid{grid-template-columns:1fr}.dashboard-user{justify-content:flex-start}.products-header,.team-header,.rx-orders-header,.rx-detail-header,.case-hero-flat,.settings-header{flex-direction:column;align-items:stretch}.products-toolbar,.team-summary-grid,.rx-orders-toolbar,.rx-summary-grid,.rx-detail-grid,.two-column-card,.detail-list,.settings-layout,.store-type-grid,.method-grid,.field-row,.field-row-body,.field-row-grid,.store-simple-row,.template-grid,.template-inline-controls,.template-store-summary,.template-designer-grid,.preview-fields,.prescriptions-toolbar,.activity-filters,.activity-table-row,.profile-detail-grid,.profile-password-form,.prescription-composer-grid,.medicine-grid{grid-template-columns:1fr}.help-hero{flex-direction:column;align-items:flex-start;gap:14px}.help-grid,.settings-help-list article,.support-detail-grid{grid-template-columns:1fr}.prescription-live-preview{position:static}.template-preview{min-height:540px;padding:16px}.preview-header,.template-preview.details_left_logo_right .preview-header{flex-direction:column}.rx-detail-header{flex-direction:column;align-items:flex-start;gap:14px}.settings-nav{min-height:0}.settings-header,.settings-topbar,.field-builder-top,.field-row-footer{flex-direction:column;align-items:flex-start}.settings-section-title{grid-template-columns:46px 1fr}.settings-section-action{grid-column:2;justify-content:flex-start}.field-actions{flex-direction:row;justify-content:flex-start;padding-top:0}.activity-table-head{display:none}}
