:root{--teal:#007c83;--teal-dark:#00676f;--teal-soft:#def2f2;--ink:#112632;--muted:#57707a;--paper:#fff;--bg:#f3f7f8;--border:#d3e0e5;--warn:#895705;--danger:#a32039;--ok:#136548;--shadow:0 2px 12px rgba(14,70,77,.055)}
*{box-sizing:border-box}html{min-height:100%}body{margin:0;color:var(--ink);background:var(--bg);font:15px/1.4 system-ui,-apple-system,"Segoe UI",Arial,sans-serif}a{color:var(--teal-dark)}button,input,select,textarea{font:inherit}button,.btn{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}input,select,textarea{min-height:39px;padding:7px 10px;border:1px solid #aebfc8;border-radius:8px;background:#fff;color:var(--ink);width:100%;max-width:100%}input[type=checkbox]{width:18px;min-height:18px;margin:0 6px 0 0}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:2px solid #f0a938;outline-offset:1px}label{display:grid;gap:4px;font-weight:650;color:#2b424c;font-size:14px}label small{font-size:12px;font-weight:400;color:var(--muted)}
.topbar{height:61px;display:flex;align-items:center;gap:20px;background:var(--teal);color:#fff;padding:0 18px;position:sticky;top:0;z-index:10;box-shadow:0 2px 7px #002d3113}.brand{display:flex;align-items:center;color:#fff;font-weight:800;text-decoration:none;white-space:nowrap;font-size:21px;gap:9px}.brand-icon{background:#fff;color:var(--teal);width:31px;height:31px;display:grid;place-items:center;border-radius:7px;font-size:23px;line-height:1}.top-pharmacy{font-weight:600;font-size:15px;border-left:1px solid #ffffff60;padding-left:17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:38vw}.top-right{display:flex;align-items:center;gap:14px;margin-left:auto;white-space:nowrap}.staff-badge{font-size:13px}.logout{background:#fff;color:var(--teal-dark);border-radius:8px;padding:7px 13px;text-decoration:none;font-weight:700;font-size:13px}
.app-shell{display:grid;grid-template-columns:196px minmax(0,1fr);min-height:calc(100vh - 94px)}.sidebar{background:#fff;border-right:1px solid var(--border);padding:13px 9px}.nav-caption{color:var(--muted);font-size:10px;letter-spacing:1.3px;font-weight:800;padding:0 12px;margin:9px 0 10px}.nav-item{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-size:14px;font-weight:650;padding:9px 11px;margin-bottom:2px;min-height:39px;border-radius:8px;border-left:3px solid transparent}.nav-icon{width:20px;text-align:center;color:var(--teal-dark);font-size:18px;line-height:1}.nav-item.active{background:var(--teal-soft);color:#005d64;border-left-color:var(--teal);font-weight:800}.nav-item:hover{background:#ecf8f8}
.main{max-width:1760px;width:100%;padding:18px 18px 8px;min-width:0;margin:0 auto}.pagehead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 14px}.pagehead h1{font-size:27px;line-height:1.25;margin:0;font-weight:850;letter-spacing:-.5px}.pagehead small{font-size:12px;color:var(--muted)}.footer{border-top:1px solid var(--border);background:var(--bg);color:#63727b;font-size:11px;padding:8px 18px}
.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:14px}.card,.panel{border:1px solid var(--border);background:var(--paper);border-radius:10px;padding:16px;box-shadow:var(--shadow)}.card .value{font-size:25px;line-height:1.3;margin-top:3px;font-weight:850;color:#073f44}.card .label{font-size:13px;color:var(--muted)}.panel{margin:0 0 14px}.panel h2{margin:0 0 12px;font-size:19px;font-weight:800;line-height:1.3;letter-spacing:-.2px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #aec3cc;background:#fff;color:#183842;border-radius:8px;padding:8px 13px;min-height:39px;text-decoration:none;font-size:14px;font-weight:700;white-space:nowrap}.btn.primary{background:var(--teal);border-color:var(--teal);color:#fff}.btn.primary:hover{background:var(--teal-dark)}.btn.danger{color:var(--danger);border-color:#dcb2bd}.btn.full{width:100%}.btn.large{min-height:47px;font-size:17px}.btn.mini{min-height:30px;font-size:12px;padding:4px 8px}.btn small{font-size:11px;font-weight:500}.actions{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 12px}
.notice{background:#def5e8;color:#155b45;border-radius:8px;padding:9px 11px;font-weight:600;margin:9px 0;font-size:13px}.notice.danger{background:#fee6e8;color:#961f38}.notice.good{background:#e3f6ea}.notice.warn{background:#fff5d8;color:#754e02}.note,.muted{color:var(--muted);font-size:12px;line-height:1.45}.grid2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.grid3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.formgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:12px}.span2{grid-column:span 2}.span3{grid-column:span 3}.horizontal-input{display:flex;align-items:center;gap:8px}.horizontal-input>*{min-width:0}.table-wrap{width:100%;overflow:auto}.table{width:100%;border-collapse:collapse;font-size:13px}.table th{background:#edf3f5;text-align:left;white-space:nowrap;font-size:12px;color:#243d46}.table th,.table td{border-bottom:1px solid #e0e8eb;padding:9px 8px;vertical-align:middle}.table tr:hover td{background:#f6fbfb}.table .right,.text-right{text-align:right}.pill{background:#def3e7;color:var(--ok);border-radius:20px;padding:3px 9px;font-size:12px;font-weight:750;display:inline-block}.pill.warn{background:#fff0c9;color:#865500}.pill.danger{background:#fce1e5;color:var(--danger)}.empty{padding:16px;color:var(--muted)}.searchbar{font-size:16px;min-height:43px;width:100%}.big-menu{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.big-menu .btn{min-height:63px;font-size:16px}.help-panel p{font-size:14px;margin:7px 0}
.authpage{min-height:100vh;display:grid;place-items:center;padding:20px}.authbox{background:white;border:1px solid var(--border);width:min(100%,470px);padding:28px;border-radius:15px;box-shadow:0 6px 25px #1d474821}.auth-brand{color:var(--teal-dark);font-size:22px;font-weight:850}.authbox h1{margin-bottom:7px;font-size:25px}.authbox p{font-size:13px;color:var(--muted)}.authbox form{display:grid;gap:12px}
.pos-grid{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(315px,.78fr);gap:12px;align-items:stretch}.pos-grid>.panel{margin:0;min-width:0}.pos-items{display:flex;flex-direction:column;min-height:510px}.pos-payment{min-width:0;display:flex;flex-direction:column;gap:9px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.section-title h2,.pos-payment h2{margin:0 0 9px}.step{display:inline-grid;place-items:center;background:#dcf2f0;color:#056e71;border-radius:7px;width:24px;height:24px;font-size:14px;margin-right:4px}.keyboard-tip{font-size:11px;color:var(--muted);white-space:nowrap}.cart-title{margin-top:14px}.cart-wrap{max-height:min(43vh,390px);min-height:140px;overflow:auto}.cart-wrap thead{position:sticky;top:0;z-index:1}.cart-wrap .table th,.cart-wrap .table td{padding:7px 6px}.cart-wrap .table{font-size:13px}.cart-wrap select,.cart-wrap input{min-height:33px;padding:4px 6px;font-size:13px}.qtybox{width:67px;min-width:60px}.line-meta{display:block;color:var(--muted);font-size:11px;margin-top:2px}.remove-line{border:1px solid #f0bdc6;border-radius:7px;background:#fff0f2;color:#a11c3a;font-size:20px;width:31px;height:31px;line-height:1}.pos-foot{margin-top:auto;padding-top:12px}.pos-foot .pos-info{font-size:11px;margin:8px 0 0}.pos-sum{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:15px}.pos-sum strong{font-size:16px;white-space:nowrap}.pos-sum.bold{padding-top:12px;border-top:1px solid var(--border);font-weight:800;font-size:16px}.pos-total{font-size:28px!important;color:#004e56}.compact-field{gap:4px}.compact-field input,.compact-field select{min-height:39px}.change-box{background:#def8eb;border-radius:8px;padding:12px;display:flex;justify-content:space-between;align-items:center;font-size:15px;font-weight:800;color:#135f49}.change-box strong{font-size:21px}.pay-button{min-height:49px;font-size:17px}.pay-button span{font-size:11px;font-weight:500;margin-left:auto;opacity:.9}.payment-note{font-size:11px;margin:3px 0}.suggestions{display:none;list-style:none;padding:0;margin:3px 0 0;background:white;border:1px solid var(--border);border-radius:9px;max-height:250px;overflow:auto;box-shadow:0 8px 20px #00444b1e}.suggestions.open{display:block}.suggestions li button{display:flex;justify-content:space-between;gap:14px;width:100%;padding:8px 10px;text-align:left;border:0;border-bottom:1px solid #e6eeee;background:white;cursor:pointer;font-size:13px}.suggestions li button small{display:block;font-size:11px;color:var(--muted);margin-top:2px}.suggestions .suggest-right{text-align:right;white-space:nowrap}.suggestions li button.selected,.suggestions li button:hover{background:#d7f4f0}.receipt-frame{position:fixed;left:-10000px;top:0;width:450px;height:600px;border:0;pointer-events:none;opacity:0}.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}
@media(min-width:1050px){.billing-page .main{padding-top:13px}.billing-page .pagehead{margin-bottom:10px}.billing-page .pos-items,.billing-page .pos-payment{min-height:calc(100dvh - 143px)}.billing-page .footer{display:none}}
@media(max-width:1200px){.big-menu{grid-template-columns:repeat(2,minmax(0,1fr))}.pos-grid{grid-template-columns:minmax(0,1.45fr) minmax(295px,.8fr)}.staff-badge{display:none}.cart-wrap{max-height:340px}}
@media(max-width:980px){.pos-grid{grid-template-columns:minmax(0,1fr)}.pos-items{min-height:420px}.pos-payment{min-height:0}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.app-shell{grid-template-columns:180px minmax(0,1fr)}.nav-item{font-size:13px}}
@media(max-width:720px){.topbar{gap:9px;height:57px;padding:0 10px}.brand{font-size:17px}.top-pharmacy{font-size:12px;max-width:26vw;padding-left:9px}.top-right{gap:5px}.logout{padding:6px 9px;font-size:12px}.app-shell{display:block;min-height:0}.sidebar{display:flex;gap:4px;padding:7px;overflow-x:auto;border-bottom:1px solid var(--border)}.nav-caption,.nav-icon{display:none}.nav-item{font-size:12px;white-space:nowrap;padding:7px 10px;margin:0;min-height:34px;border:1px solid var(--border);border-radius:7px}.main{padding:12px 10px}.pagehead h1{font-size:23px}.pagehead small{display:none}.grid2,.grid3,.formgrid{grid-template-columns:1fr}.span2,.span3{grid-column:span 1}.pos-items{min-height:0}.cart-wrap{max-height:350px}.keyboard-tip{display:none}.big-menu{grid-template-columns:1fr 1fr}.pos-total{font-size:26px!important}}
@media(max-width:460px){.brand span:last-child{display:none}.cards{grid-template-columns:1fr 1fr;gap:6px}.card{padding:10px}.card .value{font-size:20px}.big-menu{grid-template-columns:1fr}.panel{padding:12px}.cart-wrap .table{font-size:12px}.table th,.table td{padding:6px 4px}.section-title h2,.pos-payment h2{font-size:17px}.pos-foot .btn{font-size:12px;padding:6px 8px}}
@media print{.topbar,.sidebar,.footer,.pagehead,.no-print{display:none!important}.app-shell{display:block}.main{margin:0;padding:0}.panel{box-shadow:none;border:0;padding:0}.print-bill{width:72mm;margin:0}.print-only{display:block}@page{size:80mm auto;margin:2mm}}


/* v3 typography: regular-weight controls, navigation and table content;
   visual hierarchy comes from spacing, contrast and section headings, not heavy bold. */
body{font-family:Inter,"Segoe UI",Roboto,"Noto Sans Sinhala",Arial,sans-serif;font-size:14px;line-height:1.45;font-weight:400}
button,input,select,textarea{font-weight:400}
label,.nav-item,.nav-item.active,.logout,.top-pharmacy,.card .label,.btn,.btn.large,.btn.primary,
.auth-brand,.nav-caption,.pill,.notice,.pos-sum,.pos-sum.bold,.change-box,
.table th,.table td,.suggestions li button,.brand-icon{font-weight:400}
strong,b,.card .value,.pos-sum strong,.pos-total,.change-box strong,.table td strong,
.suggestions strong,.brand,.staff-badge{font-weight:500}
h1,h2,h3,.pagehead h1,.panel h2,.section-title h2,.pos-payment h2,.authbox h1{font-weight:650;letter-spacing:-.25px}
.brand{font-size:20px;font-weight:650;letter-spacing:-.3px}
.nav-item{font-size:13.5px;min-height:39px}
.nav-item.active{color:#005c63;background:#def2f2}
.btn{font-size:13.5px;min-height:37px}
.btn.large{font-size:15px}.pay-button{font-size:15px}
.card .value{font-weight:550}.pos-total{font-weight:500;font-size:26px!important}
.pos-sum.bold{border-top:1px solid var(--border);padding-top:11px}
.note,.muted{font-size:12px}.table th{font-size:12.5px}
/* Prescription-review component stays inside the current billing page. */
.rx-inline{display:flex;gap:9px;align-items:center;justify-content:space-between;flex-wrap:wrap;
 margin:0 0 10px;padding:9px 11px;border:1px solid #edd7a8;border-radius:8px;background:#fffaf1}
.rx-inline[hidden]{display:none!important}
.rx-state{font-size:12.5px;color:#8b570b}
.rx-state.approved{color:#136548}
.rx-review-btn{min-height:35px;padding:6px 10px}
.rx-dialog{width:min(620px,calc(100vw - 24px));max-height:min(90dvh,740px);border:1px solid var(--border);
 border-radius:13px;padding:0;background:white;color:var(--ink);box-shadow:0 20px 65px #001e2344}
.rx-dialog::backdrop{background:#10293490}
.rx-form{display:grid;gap:12px;padding:20px 23px;overflow-y:auto;max-height:90dvh}
.rx-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px}
.rx-dialog-head h2{font-size:19px;font-weight:650;margin:0}
.rx-close{border:0;background:transparent;font-size:26px;line-height:1;min-width:32px;cursor:pointer;color:var(--muted)}
.rx-review-items{background:#f1f7f8;border:1px solid var(--border);padding:4px 10px;border-radius:8px;
 max-height:130px;overflow-y:auto}
.rx-review-line{display:flex;justify-content:space-between;gap:12px;padding:7px 0;font-size:13px;
 border-bottom:1px solid var(--border)}
.rx-review-line:last-child{border-bottom:0}
.rx-review-line span:last-child{white-space:nowrap}
.rx-credentials{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.rx-check{display:flex;align-items:flex-start;gap:9px;line-height:1.45;font-weight:400}
.rx-check input{flex:none;margin-top:2px}
.rx-dialog-actions{display:flex;justify-content:flex-end;gap:9px}
#rx-feedback{font-size:12px;color:var(--danger)}
@media(max-width:600px){.rx-credentials{grid-template-columns:1fr}.rx-form{padding:16px 14px}}

.rx-label{display:inline-block;margin-left:6px;padding:1px 6px;border-radius:5px;background:#fff3d8;color:#7e5108;font-size:11px;font-weight:400}

.billing-page .rx-inline{margin:9px 0 4px}

/* Review card scanner focus and compact staff card controls */
.rx-scan-label{font-weight:400;font-size:14px;margin:12px 0}
.rx-scan-input{font-family:Consolas,monospace;letter-spacing:.08em;font-size:16px;min-height:48px;border:2px solid var(--teal)}
.rx-review-line{font-weight:400}
.compact-staff-action{display:grid;gap:7px;margin:8px 0;padding:8px;border:1px solid var(--border);border-radius:7px}
.compact-staff-action label{font-weight:400;font-size:12px}
.staff-summary{cursor:pointer;color:var(--teal-dark);margin:5px 0;font-weight:400}
.billing-page .pos-items .table th,.billing-page .pos-items .table td{font-weight:400}
.billing-page .pos-items .table th{font-weight:600}
.billing-page .pos-items .table td strong{font-weight:500}
.billing-page .pos-payment label,.billing-page .note,.billing-page .btn{font-weight:400}


/* Billing v4: fill the width by default and keep actions beside New sale. */
.billing-page.sidebar-collapsed .app-shell{grid-template-columns:minmax(0,1fr)}
.billing-page.sidebar-collapsed .sidebar{display:none}
.billing-page .main{max-width:none}
.billing-pagehead{display:flex;align-items:center;justify-content:flex-start;gap:12px;flex-wrap:wrap}
.billing-pagehead h1{white-space:nowrap;font-weight:650}
.billing-pagehead>small{margin-left:auto;white-space:nowrap}
.sidebar-toggle{flex:none;min-height:36px;gap:5px;padding:7px 10px;color:var(--teal-dark)}
.billing-head-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-left:10px}
.billing-head-actions .btn{min-height:36px;padding:6px 11px;font-size:13px;font-weight:400}
.billing-head-actions .btn small{font-size:10px}
.billing-page .pos-items{min-height:460px}
.billing-page .pos-foot .pos-info{margin:0}
.rx-auto-hint{font-size:12px;color:var(--muted);margin-right:auto;align-self:center}
.rx-dialog-actions{align-items:center;justify-content:space-between}
@media(max-width:1050px){
 .billing-pagehead>small{display:none}
 .billing-head-actions{margin-left:0}
}
@media(max-width:720px){
 .billing-page.sidebar-collapsed .sidebar{display:none}
 .billing-pagehead{gap:8px}
 .billing-pagehead h1{font-size:23px}
 .billing-head-actions{width:100%;gap:5px}
 .billing-head-actions .btn{flex:1 1 auto;padding:6px 9px;font-size:12px}
 .sidebar-toggle{padding:6px 9px}
 .billing-pagehead .sidebar-toggle{order:0}
 .billing-pagehead h1{order:1}
 .billing-pagehead .billing-head-actions{order:2}
}
@media(max-width:720px){
 .billing-page .pos-items{min-height:0}
 .billing-page .pos-foot{margin-top:8px;padding-top:6px}
}


/* 2026-11-24 medicine categories and low-stock header notifications. */
.medicine-filter{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:10px}
.medicine-filter .searchbar{flex:2 1 250px;width:auto;min-width:150px}
.medicine-filter select{flex:1 1 200px;width:auto;max-width:300px}
.medicine-filter .btn{flex:none}
#generated-sku[readonly]{background:#f2f7f7;color:#1d6267;cursor:default;font-weight:500}
.stock-alerts{position:relative;display:block;flex:none;line-height:1.25}
.stock-alerts>summary{position:relative;list-style:none;display:flex;align-items:center;justify-content:center;
 width:39px;height:39px;border:1px solid #ffffff70;border-radius:9px;color:#fff;cursor:pointer}
.stock-alerts>summary::-webkit-details-marker{display:none}
.stock-alerts>summary:hover,.stock-alerts[open]>summary{background:#ffffff26}
.alert-bell{height:21px;width:21px;display:block}
.alert-badge{position:absolute;top:-7px;right:-7px;min-width:19px;height:19px;padding:0 3px;border-radius:11px;
 display:grid;place-items:center;background:#f3bd55;color:#332102;font-size:11px;font-weight:650;border:1px solid #006770}
.alert-popup{position:absolute;top:calc(100% + 12px);right:0;width:min(360px,calc(100vw - 20px));
 max-height:65vh;overflow-y:auto;background:#fff;color:var(--ink);border:1px solid var(--border);
 border-radius:11px;box-shadow:0 13px 38px #092f3438;white-space:normal;z-index:40}
.alert-popup-title{display:flex;justify-content:space-between;align-items:center;gap:8px;
 padding:12px 14px;border-bottom:1px solid var(--border);font-weight:650;font-size:14px}
.alert-popup-title span{font-size:12px;color:var(--warn);background:#fff2d3;padding:3px 7px;border-radius:12px}
.alert-item{display:grid;gap:3px;padding:10px 14px;border-bottom:1px solid #e4ecee}
.alert-item-name{font-size:13px;font-weight:500}
.alert-item small{color:var(--muted);font-size:11px;line-height:1.4}
.alert-empty,.alert-more{color:var(--muted);font-size:12px;padding:4px 14px}
.alert-see-all{display:block;padding:11px 14px;font-size:13px;text-decoration:none;font-weight:500;color:var(--teal-dark);background:#f3faf9}
.alert-see-all:hover{background:#e5f5f3}
@media(max-width:720px){.medicine-filter select{max-width:none}.topbar{gap:7px}.stock-alerts>summary{width:35px;height:35px}.alert-popup{right:-52px}}

/* Billing only: show quantity shortages inside the bill instead of below Payment. */
.cart-title .cart-stock-warning{display:inline-flex;align-items:center;justify-content:center;max-width:100%;padding:5px 12px;background:#b4233b;border:1px solid #8e182d;border-radius:999px;color:#fff;font-size:12px;line-height:1.3;font-weight:600;text-align:center}
.cart-title .cart-stock-warning[hidden]{display:none}
.cart-title.has-stock-shortage{flex-wrap:wrap;justify-content:flex-start;column-gap:12px;row-gap:6px}
.cart-title.has-stock-shortage .keyboard-tip{display:none}
.cart-wrap .table tr.stock-shortage-row td,.cart-wrap .table tr.stock-shortage-row:hover td{background:#ffd8de;color:#8c1931;border-bottom-color:#eaa5ae}
.cart-wrap .table tr.stock-shortage-row td:first-child{box-shadow:inset 4px 0 0 #c32847}
.cart-wrap .table tr.stock-shortage-row .line-meta{color:#941d36}
.cart-wrap .table tr.stock-shortage-row .qtybox{border-color:#bd2543;background:#fff7f8;color:#8c1931}
@media(max-width:720px){.cart-title .cart-stock-warning{font-size:11px;padding:5px 9px}}

/* Medicine registration: consistent control positions and keyboard-friendly fields. */
.medicine-entry-grid{column-gap:12px;row-gap:8px}
.medicine-entry-grid>.medicine-entry-field{display:grid;grid-template-rows:minmax(34px,auto) 40px minmax(16px,auto);gap:4px;align-content:start;min-width:0;font-weight:400}
.medicine-entry-grid .medicine-field-title{align-self:end;display:block;min-width:0;font-size:13px;line-height:1.28;font-weight:400;color:#2b424c}
.medicine-entry-grid>.medicine-entry-field>input,.medicine-entry-grid>.medicine-entry-field>select{width:100%;height:40px;min-height:40px;max-height:40px;margin:0;padding:7px 10px;font-size:14px;font-weight:400;align-self:start}
.medicine-entry-grid>.medicine-entry-field>small{min-height:16px;font-size:11px;line-height:1.35;font-weight:400;align-self:start}
.medicine-entry-grid>.medicine-rx-check{font-weight:400;font-size:13px;display:block}
.medicine-entry-grid>.medicine-rx-check span{display:flex;align-items:center;gap:5px}
.medicine-entry-grid>.medicine-rx-check input{flex:none;width:17px;height:17px;min-height:17px;margin:0}
.medicine-save-actions{display:flex;gap:15px;align-items:center;flex-wrap:wrap}
.medicine-save-actions .note{font-size:11px}
@media(max-width:1150px){.medicine-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.medicine-entry-grid>.span3{grid-column:1 / -1}}
@media(max-width:720px){.medicine-entry-grid{grid-template-columns:minmax(0,1fr)}.medicine-entry-grid>.medicine-entry-field{grid-template-rows:minmax(21px,auto) 40px minmax(16px,auto)}.medicine-save-actions{align-items:flex-start;flex-direction:column;gap:6px}}
