.onc-pos-app,
.onc-doctor-portal,
.onc-doctor-login,
.onc-consultant-dashboard {
	--onc-ink: #172331;
	--onc-muted: #667085;
	--onc-soft: #f4f7fb;
	--onc-panel: #ffffff;
	--onc-line: #d7dee9;
	--onc-navy: #10283f;
	--onc-teal: #0f7f76;
	--onc-blue: #0b70b7;
	--onc-rose: #b4233a;
	--onc-gold: #c28418;
	color: var(--onc-ink);
	font-family: Arial, Helvetica, sans-serif;
}

.onc-pos-app {
	width: 100vw;
	min-height: 100vh;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background: linear-gradient(180deg, #eef4f8 0, #dfe9ef 100%);
	overflow: hidden;
}

body.onc-pos-active footer,
body.onc-pos-active .site-footer,
body.onc-pos-active #colophon {
	display: none !important;
}

body.onc-doctor-portal-active #masthead,
body.onc-doctor-portal-active .site-header,
body.onc-doctor-portal-active header.site-header,
body.onc-doctor-portal-active #colophon,
body.onc-doctor-portal-active .site-footer,
body.onc-doctor-portal-active footer.site-footer {
	display: none !important;
}

.onc-pos-shellbar {
	min-height: 72px;
	background: var(--onc-navy);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 12px 20px;
}

.onc-pos-shellbar h1 {
	font-size: 25px;
	line-height: 1.1;
	margin: 3px 0 0;
	font-weight: 700;
	letter-spacing: 0;
}

.onc-pos-kicker,
.onc-pos-cashier span,
.onc-payment-header span,
.onc-payment-total span {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .72);
	letter-spacing: 0;
}

.onc-pos-cashier {
	text-align: right;
}

.onc-pos-cashier strong {
	display: block;
	font-size: 16px;
	margin-top: 3px;
}

.onc-pos-main {
	height: calc(100vh - 72px);
	min-height: 650px;
	display: grid;
	grid-template-rows: minmax(0, 1fr) 220px;
	gap: 12px;
	padding: 12px;
}

.onc-pos-workspace-panels {
	min-height: 0;
	display: grid;
	grid-template-columns: minmax(560px, 1.5fr) minmax(430px, .9fr);
	gap: 14px;
}

.onc-pos-catalog,
.onc-pos-order,
.onc-pos-history {
	background: rgba(255, 255, 255, .82);
	border: 1px solid rgba(16, 40, 63, .12);
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 0;
	box-shadow: 0 16px 40px rgba(16, 40, 63, .08);
	overflow: hidden;
}

.onc-pos-searchbar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 44px;
	gap: 10px;
	padding: 14px;
	background: #f8fafc;
	border-bottom: 1px solid var(--onc-line);
}

.onc-pos-searchbar input {
	width: 100%;
	min-height: 46px;
	border: 1px solid var(--onc-line);
	border-radius: 7px;
	background: #fff;
	padding: 0 15px;
	font-size: 16px;
	box-shadow: inset 0 1px 0 rgba(16, 40, 63, .03);
}

.onc-pos-searchbar button {
	width: 44px;
	height: 46px;
	border: 1px solid var(--onc-line);
	border-radius: 7px;
	background: #fff;
	color: var(--onc-navy);
	font-size: 20px;
	cursor: pointer;
}

.onc-pos-catalog-meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 14px 0;
	color: var(--onc-muted);
	font-size: 13px;
}

.onc-pos-product-grid {
	flex: 1;
	min-height: 0;
	overflow-y: auto;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	align-content: start;
	gap: 12px;
	padding: 14px;
}

.onc-pos-empty-products,
.onc-empty-order {
	min-height: 220px;
	display: grid;
	place-items: center;
	color: #7a8795;
	font-size: 15px;
	text-align: center;
}

.onc-product-card {
	background: #fff;
	border: 1px solid var(--onc-line);
	border-radius: 8px;
	overflow: visible;
	display: grid;
	grid-template-columns: 118px minmax(0, 1fr);
	min-height: 172px;
	box-shadow: 0 6px 18px rgba(16, 40, 63, .06);
	cursor: pointer;
}

.onc-product-card:hover {
	border-color: rgba(15, 127, 118, .55);
	box-shadow: 0 14px 30px rgba(16, 40, 63, .11);
}

.onc-product-image {
	min-height: 170px;
	background: #f2f6fa;
	border-right: 1px solid #edf1f5;
	border-radius: 8px 0 0 8px;
	overflow: hidden;
}

.onc-product-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.onc-product-info {
	padding: 12px;
	display: grid;
	grid-template-rows: auto auto auto;
	gap: 10px;
	min-width: 0;
}

.onc-product-info h3 {
	margin: 0;
	font-size: 15px;
	line-height: 1.28;
	font-weight: 700;
	color: #071827;
	overflow-wrap: anywhere;
}

.onc-variant-label {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	min-height: 22px;
	border-radius: 999px;
	background: rgba(15, 127, 118, .1);
	color: #0b615b;
	font-size: 12px;
	font-weight: 700;
	padding: 0 8px;
	margin-bottom: 7px;
}

.onc-product-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.onc-product-price {
	font-size: 15px;
	font-weight: 700;
	color: var(--onc-navy);
	line-height: 1.25;
}

.onc-pos-app .onc-add-simple,
.onc-pos-app .onc-variation-button {
	appearance: none;
	border: 0 !important;
	border-radius: 7px !important;
	background: var(--onc-teal) !important;
	color: #fff !important;
	cursor: pointer;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: none !important;
}

.onc-pos-app .onc-add-simple {
	min-height: 38px;
	padding: 0 12px;
	white-space: nowrap;
}

.onc-variation-list {
	display: grid;
	gap: 8px;
	max-height: 160px;
	overflow-y: auto;
	padding-right: 2px;
}

.onc-pos-app .onc-variation-button {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	padding: 8px 10px;
	text-align: left;
	background: #f1f8f7 !important;
	color: var(--onc-ink) !important;
	border: 1px solid rgba(15, 127, 118, .28) !important;
}

.onc-pos-app .onc-variation-button:hover,
.onc-pos-app .onc-add-simple:hover,
.onc-pos-checkout-button:hover,
.onc-pos-process-button:hover {
	filter: brightness(.96);
}

.onc-variation-button span {
	overflow-wrap: anywhere;
}

.onc-variation-button strong {
	white-space: nowrap;
	color: #0b615b;
}

.onc-pos-order-header {
	min-height: 70px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px;
	background: #fff;
	border-bottom: 1px solid var(--onc-line);
}

.onc-pos-order-header span {
	display: block;
	color: var(--onc-muted);
	font-size: 12px;
	text-transform: uppercase;
}

.onc-pos-order-header strong {
	display: block;
	font-size: 20px;
	margin-top: 3px;
}

.onc-pos-order-header button {
	border: 1px solid var(--onc-line);
	background: #fff;
	border-radius: 7px;
	color: var(--onc-rose);
	min-height: 38px;
	padding: 0 12px;
	cursor: pointer;
	font-weight: 700;
}

.onc-cart-lines {
	flex: 1;
	min-height: 0;
	background: #fff;
	overflow-y: auto;
}

.onc-cart-line {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr) 102px 86px 30px;
	gap: 10px;
	align-items: center;
	padding: 11px 14px;
	border-bottom: 1px solid #edf1f5;
}

.onc-cart-line img {
	width: 54px;
	height: 54px;
	border: 1px solid #edf1f5;
	border-radius: 7px;
	object-fit: cover;
	background: #f4f7fb;
}

.onc-cart-line-main strong,
.onc-cart-line-main span {
	display: block;
	line-height: 1.25;
}

.onc-cart-line-main strong {
	font-size: 14px;
	overflow-wrap: anywhere;
}

.onc-cart-line-main span {
	color: var(--onc-muted);
	margin-top: 4px;
	font-size: 13px;
}

.onc-cart-qty {
	display: grid;
	grid-template-columns: 30px 40px 30px;
	gap: 3px;
}

.onc-cart-qty button,
.onc-remove-line {
	border: 1px solid var(--onc-line);
	background: #fff;
	cursor: pointer;
}

.onc-cart-qty button,
.onc-cart-qty input,
.onc-remove-line {
	height: 30px;
	border-radius: 5px;
}

.onc-cart-qty input {
	width: 40px;
	text-align: center;
	border: 1px solid var(--onc-line);
}

.onc-cart-line-total {
	text-align: right;
	font-weight: 700;
	white-space: nowrap;
}

.onc-remove-line {
	color: var(--onc-rose);
	font-size: 18px;
	line-height: 1;
}

.onc-pos-customer-panel {
	flex: 0 0 auto;
	max-height: 260px;
	overflow-y: auto;
	background: #f8fafc;
	border-top: 1px solid var(--onc-line);
	padding: 12px 14px;
}

.onc-pos-customer-panel summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--onc-navy);
}

.onc-field-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 12px;
}

.onc-field,
.onc-check {
	display: block;
	margin: 0;
}

.onc-field span,
.onc-check {
	display: block;
	color: var(--onc-muted);
	font-size: 12px;
	margin-bottom: 5px;
}

.onc-field input {
	width: 100%;
	min-height: 38px;
	border: 1px solid var(--onc-line);
	border-radius: 6px;
	background: #fff;
	padding: 8px 10px;
}

.onc-span-2 {
	grid-column: span 2;
}

.onc-pos-result {
	min-height: 44px;
	padding: 10px 14px;
	background: #f8fafc;
	border-top: 1px solid var(--onc-line);
	font-size: 13px;
}

.onc-error {
	color: var(--onc-rose);
	font-weight: 700;
}

.onc-pos-checkout-panel {
	background: #fff;
	border-top: 1px solid var(--onc-line);
	padding: 14px;
}

.onc-pos-total-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.onc-pos-total-row span {
	color: var(--onc-muted);
	font-weight: 700;
	text-transform: uppercase;
	font-size: 12px;
}

.onc-pos-total-row strong {
	font-size: 28px;
	color: var(--onc-navy);
}

.onc-pos-summary-actions {
	display: grid;
	grid-template-columns: 1fr 1.6fr;
	gap: 10px;
}

.onc-pos-secondary-button,
.onc-pos-checkout-button,
.onc-pos-process-button {
	border: 0;
	border-radius: 7px;
	cursor: pointer;
	font-size: 16px;
	font-weight: 700;
	min-height: 48px;
	padding: 0 16px;
}

.onc-pos-secondary-button {
	background: #eef2f6;
	color: var(--onc-ink);
	border: 1px solid var(--onc-line);
}

.onc-pos-checkout-button,
.onc-pos-process-button {
	background: var(--onc-teal);
	color: #fff;
}

.onc-payment-modal[hidden] {
	display: none;
}

.onc-payment-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: 18px;
}

.onc-payment-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(3, 12, 21, .72);
}

.onc-payment-dialog {
	position: relative;
	width: min(760px, 100%);
	max-height: calc(100vh - 36px);
	overflow-y: auto;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
	padding: 20px;
}

.onc-payment-dialog > * {
	flex: 0 0 auto;
}

.onc-payment-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 18px;
}

.onc-payment-header span,
.onc-payment-total span {
	color: var(--onc-muted);
}

.onc-payment-header h2 {
	margin: 3px 0 0;
	font-size: 24px;
}

.onc-payment-header button {
	border: 0;
	background: transparent;
	color: #7d8794;
	font-size: 30px;
	cursor: pointer;
	width: 38px;
	height: 38px;
}

.onc-payment-total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	background: #f2f8f7;
	border: 1px solid rgba(15, 127, 118, .2);
	border-radius: 8px;
	padding: 15px 16px;
	margin-bottom: 16px;
}

.onc-payment-total strong {
	font-size: 30px;
	color: #0b615b;
	white-space: nowrap;
}

.onc-payment-primary-actions {
	display: grid;
	grid-template-columns: minmax(140px, .7fr) minmax(180px, 1fr);
	gap: 10px;
	margin: -4px 0 16px;
}

.onc-payment-primary-actions button {
	width: 100%;
}

.onc-payment-coupon {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, .7fr);
	gap: 14px;
	align-items: end;
	margin-bottom: 16px;
}

.onc-payment-coupon p,
.onc-coupon-actions p {
	margin: 0 0 4px;
	color: var(--onc-muted);
	font-size: 13px;
	line-height: 1.35;
}

.onc-coupon-actions {
	display: grid;
	gap: 7px;
}

.onc-coupon-actions .onc-pos-secondary-button {
	width: 100%;
	min-height: 42px;
}

.onc-coupon-actions p.is-success {
	color: #0b615b;
	font-weight: 700;
}

.onc-coupon-actions p.is-error {
	color: var(--onc-rose);
	font-weight: 700;
}

.onc-payment-lines-wrap {
	overflow-x: auto;
}

.onc-payment-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
}

.onc-payment-table th,
.onc-payment-table td {
	padding: 10px 8px;
	border-bottom: 1px solid #e5ebf2;
	text-align: left;
}

.onc-payment-table th:nth-child(2),
.onc-payment-table td:nth-child(2),
.onc-payment-table th:nth-child(3),
.onc-payment-table td:nth-child(3) {
	text-align: right;
	white-space: nowrap;
}

.onc-payment-table tfoot th {
	text-align: right;
	font-weight: 700;
}

.onc-payment-methods {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 18px;
}

.onc-payment-methods label {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	border: 1px solid var(--onc-line);
	border-radius: 7px;
	padding: 0 14px;
	font-weight: 700;
	cursor: pointer;
}

.onc-payment-methods label.is-active {
	border-color: rgba(15, 127, 118, .55);
	background: #f2f8f7;
}

.onc-payment-methods input[type="radio"] {
	width: 17px;
	height: 17px;
	accent-color: var(--onc-teal);
}

.onc-payment-cash-box {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	background: #f8fafc;
	border: 1px solid var(--onc-line);
	border-radius: 8px;
	padding: 14px;
	margin-top: 12px;
}

.onc-change-box {
	display: grid;
	align-content: end;
}

.onc-change-box span {
	display: block;
	color: var(--onc-muted);
	font-size: 12px;
	margin-bottom: 5px;
}

.onc-change-box strong {
	display: flex;
	align-items: center;
	min-height: 38px;
	font-size: 24px;
	color: var(--onc-navy);
}

.onc-payment-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 20px;
	position: sticky;
	bottom: 0;
	z-index: 2;
	background: #fff;
	border-top: 1px solid var(--onc-line);
	margin-left: -20px;
	margin-right: -20px;
	margin-bottom: -20px;
	padding: 12px 20px 20px;
	box-shadow: 0 -10px 24px rgba(16, 40, 63, .08);
}

.onc-payment-actions button {
	min-width: 150px;
}

.onc-pos-process-button:disabled {
	opacity: .55;
	cursor: wait;
}

.onc-pos-modal-open {
	overflow: hidden;
}

.onc-pos-history {
	min-height: 0;
	padding: 12px;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr);
}

.onc-pos-history header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.onc-pos-history header span,
.onc-pos-history-row small {
	display: block;
	color: var(--onc-muted);
	font-size: 12px;
}

.onc-pos-history h2 {
	margin: 2px 0 0;
	font-size: 18px;
	line-height: 1.2;
}

.onc-pos-history-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	white-space: nowrap;
}

.onc-pos-history-meta strong,
.onc-pos-history-meta span {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	border-radius: 999px;
	background: #f2f8f7;
	color: #0b615b;
	font-weight: 700;
	padding: 0 10px;
}

.onc-pos-history-meta button {
	width: 34px;
	height: 34px;
	border: 1px solid var(--onc-line);
	border-radius: 7px;
	background: #fff;
	cursor: pointer;
}

.onc-pos-history-list {
	min-height: 0;
	overflow-y: auto;
	display: grid;
	grid-template-columns: 1fr;
	align-content: start;
	gap: 8px;
}

.onc-pos-history-row,
.onc-pos-history-empty {
	border: 1px solid var(--onc-line);
	border-radius: 7px;
	background: #fff;
	padding: 10px;
	text-decoration: none;
	color: var(--onc-ink);
}

.onc-pos-history-row {
	display: grid;
	grid-template-columns: minmax(130px, .7fr) minmax(150px, .8fr) minmax(0, 1.6fr) auto;
	gap: 6px 14px;
	align-items: center;
}

.onc-pos-history-row span,
.onc-pos-history-row strong,
.onc-pos-history-row em {
	font-size: 14px;
	line-height: 1.2;
}

.onc-pos-history-row small,
.onc-history-order em {
	display: block;
	color: var(--onc-muted);
	font-size: 12px;
	font-style: normal;
	margin-top: 3px;
}

.onc-history-customer,
.onc-history-products {
	overflow-wrap: anywhere;
}

.onc-history-total {
	text-align: right;
	white-space: nowrap;
}

.onc-history-fiscal {
	grid-column: 1 / -1;
}

.onc-pos-history-empty {
	color: var(--onc-muted);
}

.onc-doctor-login,
.onc-doctor-portal {
	max-width: 1180px;
	margin: 0 auto;
}

.onc-doctor-login {
	min-height: 68vh;
	display: grid;
	place-items: center;
	padding: 36px 16px;
	background: linear-gradient(135deg, #f2f8f7, #eef4f8);
}

.onc-doctor-auth-grid {
	width: min(960px, 100%);
	display: grid;
	grid-template-columns: minmax(300px, .85fr) minmax(320px, 1.15fr);
	gap: 18px;
	align-items: start;
}

.onc-doctor-login-card {
	width: 100%;
	background: #fff;
	border: 1px solid var(--onc-line);
	border-radius: 10px;
	box-shadow: 0 22px 60px rgba(16, 40, 63, .12);
	padding: 26px;
}

.onc-doctor-register-card {
	box-shadow: 0 18px 44px rgba(16, 40, 63, .10);
}

.onc-doctor-login-card h1,
.onc-doctor-header h1 {
	margin: 0;
	font-size: 28px;
	line-height: 1.16;
	letter-spacing: 0;
}

.onc-doctor-login-card h2 {
	margin: 0;
	font-size: 24px;
	line-height: 1.18;
	letter-spacing: 0;
}

.onc-doctor-login-card p,
.onc-doctor-header p {
	color: var(--onc-muted);
	margin: 8px 0 0;
}

.onc-doctor-login-form {
	display: grid;
	gap: 14px;
	margin-top: 18px;
}

.onc-doctor-login-form label {
	display: block;
	font-weight: 700;
}

.onc-doctor-login-form label > span {
	display: block;
	margin-bottom: 6px;
}

.onc-doctor-login-form input[type="text"],
.onc-doctor-login-form input[type="email"],
.onc-doctor-login-form input[type="password"],
.onc-doctor-login-form input[type="tel"],
.onc-doctor-login-form select,
.onc-field select {
	width: 100%;
	min-height: 44px;
	border: 1px solid var(--onc-line);
	border-radius: 7px;
	background: #fff;
	padding: 8px 11px;
}

.onc-login-remember {
	display: flex !important;
	align-items: center;
	gap: 8px;
	color: var(--onc-muted);
	font-weight: 400 !important;
}

.onc-login-remember span {
	margin: 0 !important;
}

.onc-doctor-login-form button {
	width: 100%;
	min-height: 46px;
	border: 0;
	border-radius: 7px;
	background: var(--onc-teal);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.onc-login-error,
.onc-error-state,
.onc-success-state {
	border-radius: 8px;
	padding: 12px 14px;
	margin: 14px 0;
	font-weight: 700;
}

.onc-login-error,
.onc-error-state {
	background: #fff2f3;
	border: 1px solid #f2b6bf;
	color: #9f1239;
}

.onc-success-state {
	background: #eef8f6;
	border: 1px solid #b7dfd9;
	color: #0b615b;
}

.onc-doctor-portal {
	padding: 24px 16px 36px;
}

.onc-doctor-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: 0 0 18px;
	background: #fff;
	border: 1px solid var(--onc-line);
	border-radius: 10px;
	padding: 20px;
}

.onc-doctor-header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.onc-doctor-code {
	border: 1px solid rgba(15, 127, 118, .28);
	background: #f2f8f7;
	border-radius: 9px;
	padding: 14px 18px;
	min-width: 170px;
	text-align: center;
}

.onc-doctor-code span {
	display: block;
	color: var(--onc-muted);
	font-size: 12px;
	text-transform: uppercase;
}

.onc-doctor-code strong {
	display: block;
	font-size: 26px;
	margin-top: 3px;
	color: #0b615b;
}

.onc-doctor-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 18px;
}

.onc-doctor-stats > div,
.onc-portal-section {
	background: #fff;
	border: 1px solid var(--onc-line);
	border-radius: 10px;
	padding: 16px;
	box-shadow: 0 10px 30px rgba(16, 40, 63, .06);
}

.onc-doctor-stats span {
	display: block;
	color: var(--onc-muted);
	font-size: 12px;
	text-transform: uppercase;
}

.onc-doctor-stats strong {
	display: block;
	font-size: 23px;
	margin-top: 6px;
	color: var(--onc-navy);
}

.onc-portal-section {
	margin-bottom: 18px;
}

.onc-portal-section h2 {
	margin: 0 0 12px;
	font-size: 20px;
	letter-spacing: 0;
}

.onc-prescription-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 14px;
}

.onc-product-checks {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 10px;
}

.onc-product-checks label {
	display: grid;
	grid-template-columns: 34px 1fr;
	gap: 10px;
	align-items: center;
	border: 1px solid var(--onc-line);
	border-radius: 8px;
	padding: 10px;
	background: #fff;
}

.onc-product-checks input {
	width: 28px;
	height: 28px;
	accent-color: var(--onc-teal);
}

.onc-document-list {
	display: grid;
	gap: 12px;
	margin-top: 12px;
}

.onc-document-card {
	border: 1px solid var(--onc-line);
	border-radius: 8px;
	background: #fff;
	padding: 14px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: center;
}

.onc-document-card strong,
.onc-document-card span {
	display: block;
}

.onc-document-card span {
	color: var(--onc-muted);
	font-size: 13px;
	margin-top: 4px;
}

.onc-document-upload {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin: 0;
}

.onc-document-upload input[type="file"] {
	max-width: 240px;
}

.onc-primary-button,
.onc-share-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border: 0;
	border-radius: 7px;
	background: var(--onc-teal);
	color: #fff;
	padding: 0 14px;
	cursor: pointer;
	font-weight: 700;
	text-decoration: none;
}

.onc-share-button {
	background: #eef2f6;
	color: var(--onc-ink);
	border: 1px solid var(--onc-line);
}

.onc-patient-list {
	display: grid;
	gap: 12px;
}

.onc-patient-card {
	border: 1px solid var(--onc-line);
	border-radius: 9px;
	overflow: hidden;
	background: #fff;
}

.onc-patient-card summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	gap: 12px;
	align-items: center;
	padding: 13px 14px;
	cursor: pointer;
}

.onc-patient-card summary strong,
.onc-patient-card summary span {
	display: block;
	overflow-wrap: anywhere;
}

.onc-patient-card summary span,
.onc-patient-meta {
	color: var(--onc-muted);
	font-size: 13px;
}

.onc-patient-metric {
	text-align: right;
	white-space: nowrap;
}

.onc-patient-orders {
	border-top: 1px solid var(--onc-line);
	background: #fbfcfe;
	padding: 12px 14px 14px;
}

.onc-responsive-table {
	overflow-x: auto;
}

.onc-responsive-table table {
	width: 100%;
	border-collapse: collapse;
}

.onc-responsive-table th,
.onc-responsive-table td {
	border-bottom: 1px solid var(--onc-line);
	padding: 10px;
	text-align: left;
	white-space: nowrap;
}

.onc-responsive-table th:last-child,
.onc-responsive-table td:last-child {
	text-align: right;
}

.onc-empty-state,
.onc-auth-box,
.onc-cs-auth-box {
	background: #fff8e5;
	border: 1px solid #f3cc77;
	border-radius: 8px;
	padding: 14px;
}

.onc-consultant-dashboard {
	width: 100vw;
	min-height: 100vh;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background: #eef4f8;
	padding: 28px;
	box-sizing: border-box;
}

.onc-consultant-hero,
.onc-consultant-login {
	background: var(--onc-navy);
	color: #fff;
	border-radius: 10px;
	padding: 28px;
	display: flex;
	justify-content: space-between;
	gap: 18px;
	align-items: center;
	box-shadow: 0 18px 45px rgba(16, 40, 63, .16);
}

.onc-consultant-login {
	display: block;
	max-width: 460px;
	margin: 8vh auto 0;
}

.onc-consultant-hero span {
	display: block;
	color: rgba(255, 255, 255, .72);
	font-size: 12px;
	text-transform: uppercase;
}

.onc-consultant-hero h1,
.onc-consultant-login h1 {
	margin: 5px 0 0;
	font-size: 34px;
	line-height: 1.1;
	letter-spacing: 0;
}

.onc-consultant-hero p {
	margin: 9px 0 0;
	color: rgba(255, 255, 255, .78);
}

.onc-consultant-logout {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	border-radius: 7px;
	padding: 0 15px;
	background: #fff;
	color: var(--onc-navy);
	text-decoration: none;
	font-weight: 700;
}

.onc-consultant-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
	margin: 16px 0;
}

.onc-consultant-stats article,
.onc-consultant-actions a {
	background: #fff;
	border: 1px solid var(--onc-line);
	border-radius: 8px;
	box-shadow: 0 10px 28px rgba(16, 40, 63, .07);
}

.onc-consultant-stats article {
	padding: 18px;
}

.onc-consultant-stats span {
	display: block;
	color: var(--onc-muted);
	font-size: 12px;
	text-transform: uppercase;
}

.onc-consultant-stats strong {
	display: block;
	margin-top: 8px;
	font-size: 25px;
	color: var(--onc-navy);
}

.onc-consultant-notifications {
	background: #fff;
	border: 1px solid rgba(194, 132, 24, .38);
	border-left: 5px solid var(--onc-gold);
	border-radius: 8px;
	padding: 18px;
	margin-bottom: 16px;
	box-shadow: 0 12px 32px rgba(16, 40, 63, .08);
}

.onc-consultant-notifications > div:first-child span {
	display: block;
	color: var(--onc-gold);
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 700;
}

.onc-consultant-notifications h2 {
	margin: 4px 0 8px;
	font-size: 20px;
}

.onc-consultant-payout-list {
	display: grid;
	gap: 10px;
	margin-top: 12px;
}

.onc-consultant-payout-list article {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 10px;
	align-items: center;
	border: 1px solid var(--onc-line);
	border-radius: 7px;
	padding: 10px;
	background: #fbfcfe;
}

.onc-consultant-payout-list strong,
.onc-consultant-payout-list span {
	display: block;
}

.onc-consultant-payout-list span {
	color: var(--onc-muted);
	margin-top: 3px;
}

.onc-consultant-payout-list form {
	margin: 0;
}

.onc-consultant-payout-list button,
.onc-consultant-payout-list a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	border: 0;
	border-radius: 7px;
	background: var(--onc-teal);
	color: #fff;
	padding: 0 12px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.onc-consultant-actions {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 12px;
}

.onc-consultant-actions a {
	display: flex;
	align-items: center;
	min-height: 68px;
	padding: 0 18px;
	color: var(--onc-ink);
	font-weight: 700;
	text-decoration: none;
}

.onc-consultant-actions a:hover {
	border-color: rgba(15, 127, 118, .5);
	color: #0b615b;
}

@media (max-width: 1180px) {
	.onc-pos-main {
		grid-template-rows: minmax(0, 1fr) 220px;
	}

	.onc-pos-workspace-panels {
		grid-template-columns: minmax(480px, 1.2fr) minmax(400px, .9fr);
	}

	.onc-cart-line {
		grid-template-columns: 48px minmax(0, 1fr) 96px 30px;
	}

	.onc-cart-line-total {
		display: none;
	}
}

@media (max-width: 980px) {
	.onc-pos-app {
		width: auto;
		min-height: 0;
		margin-left: 0;
		margin-right: 0;
		overflow: visible;
	}

	.onc-pos-main {
		height: auto;
		min-height: 0;
		grid-template-rows: auto auto;
		padding: 10px;
	}

	.onc-pos-workspace-panels {
		grid-template-columns: 1fr;
	}

	.onc-pos-product-grid {
		max-height: 680px;
		grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
	}

	.onc-doctor-stats {
		grid-template-columns: 1fr 1fr;
	}

	.onc-doctor-auth-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 680px) {
	.onc-pos-shellbar,
	.onc-doctor-header,
	.onc-payment-total {
		display: block;
	}

	.onc-pos-cashier {
		text-align: left;
		margin-top: 10px;
	}

	.onc-pos-searchbar,
	.onc-pos-summary-actions,
	.onc-pos-history header,
	.onc-payment-primary-actions,
	.onc-payment-coupon,
	.onc-payment-methods,
	.onc-payment-cash-box,
	.onc-field-grid,
	.onc-doctor-stats,
	.onc-patient-card summary {
		grid-template-columns: 1fr;
	}

	.onc-span-2 {
		grid-column: auto;
	}

	.onc-cart-line {
		grid-template-columns: 48px minmax(0, 1fr) 30px;
	}

	.onc-product-card {
		grid-template-columns: 104px minmax(0, 1fr);
	}

	.onc-product-image {
		min-height: 150px;
	}

	.onc-pos-history-row {
		grid-template-columns: 1fr;
	}

	.onc-document-card {
		grid-template-columns: 1fr;
	}

	.onc-consultant-payout-list article {
		grid-template-columns: 1fr;
	}

	.onc-history-total {
		text-align: left;
	}

	.onc-cart-qty {
		grid-column: 2 / 4;
		width: 108px;
	}

	.onc-cart-line-total {
		display: none;
	}

	.onc-payment-dialog {
		padding: 16px;
	}

	.onc-payment-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.onc-payment-actions button {
		width: 100%;
	}
}
