:root {
    --bg: #efefef;
    --panel: #f4f4f4;
    --black: #232323;
    --black-soft: #2b2b2b;
    --white: #ffffff;
    --line: #d6d6d6;
    --line-strong: #c8c8c8;
    --muted: #6d6d6d;
    --blue: #1fa7d8;
    --green: #45b054;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    background: var(--bg);
    color: #111;
    font-family: "Inter", sans-serif;
}

input,
button {
    font: inherit;
}

button {
    cursor: pointer;
    border: 0;
}

.hidden,
.pos-shell--hidden {
    display: none !important;
}

.login-screen {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.login-card {
    width: min(440px, 100%);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 28px;
    display: grid;
    gap: 16px;
}

.eyebrow {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}

.login-card h1 {
    margin: 0;
    font-family: "Outfit", sans-serif;
}

.login-copy,
.login-message {
    margin: 0;
    color: var(--muted);
}

.login-form,
label {
    display: grid;
    gap: 8px;
}

label span {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.login-form input,
.sidebar__entry input,
.result-row__controls input {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    padding: 0 12px;
    background: #fff;
    outline: none;
}

.primary-button {
    min-height: 42px;
    background: var(--black);
    color: #fff;
}

.pos-shell {
    min-height: 100vh;
    display: grid;
    grid-template-rows: 92px 1fr;
}

.topbar {
    background: var(--black);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 26px;
    position: relative;
}

.brand {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 0 0 260px;
    min-height: 62px;
    padding: 6px 0;
    background: transparent;
    border-radius: 0;
}

.brand__logo {
    display: block;
    width: min(100%, 230px);
    height: auto;
    object-fit: contain;
}

.topnav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 42px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.topnav__item {
    min-width: 72px;
    min-height: 60px;
    background: transparent;
    color: #fff;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 4px;
    position: relative;
}

.topnav__item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.topnav__item--active {
    background: rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 -3px 0 #8fd8ff;
}

.topnav__icon {
    font-size: 1.55rem;
    line-height: 1;
}

.topnav__icon--bag {
    font-size: 1.2rem;
}

.topnav__label {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.topnav__badge {
    position: absolute;
    top: 4px;
    right: 10px;
    min-width: 17px;
    height: 17px;
    border-radius: 999px;
    background: #49be63;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    display: grid;
    place-items: center;
}

.session-box {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 26px;
    margin-left: auto;
    flex: 0 0 340px;
}

.session-box__meta {
    font-size: 0.72rem;
    line-height: 1.35;
}

.session-box__meta strong,
.session-box__meta span {
    display: block;
}

.topnav__item--logout {
    min-width: 84px;
}

.screen {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 270px;
    min-height: calc(100vh - 92px);
    min-width: 0;
}

.workspace {
    background: var(--white);
    border-right: 1px solid var(--line);
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto auto;
    min-width: 0;
}

.workspace__bag-title {
    display: flex;
    align-items: center;
    padding: 0 20px;
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: #fff;
}

.workspace__header {
    background: #fafafa;
    border-bottom: 1px solid var(--line-strong);
}

.workspace__headings {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 132px 104px 118px;
    align-items: center;
    padding: 7px 24px 6px 24px;
    font-size: 0.78rem;
    text-transform: uppercase;
    font-weight: 700;
}

.workspace__headings span:nth-child(3),
.workspace__headings span:nth-child(4) {
    text-align: center;
}

.workspace__headings span:last-child {
    text-align: right;
}

.sale-list {
    overflow: auto;
    background: #fff;
    min-width: 0;
}

.sale-list--panel {
    padding: 16px 18px;
}

.sale-list__empty {
    padding: 22px 24px;
    color: #70acc4;
    font-size: 0.95rem;
}

.sale-list__empty--compact {
    padding: 0;
}

.sale-row {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 132px 104px 118px;
    gap: 10px;
    align-items: center;
    padding: 10px 24px;
    border-bottom: 1px solid var(--line);
}

.sale-row__item {
    min-width: 0;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.sale-row__thumb {
    width: 38px;
    height: 54px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #faf7f4 0%, #f1ece7 100%);
    border-radius: 2px;
    display: grid;
    place-items: center;
    color: #6d6256;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sale-row__copy {
    min-width: 0;
}

.sale-row__name {
    font-size: 0.88rem;
    font-weight: 700;
    margin: 0 0 4px;
}

.sale-row__meta {
    color: #2d2d2d;
    line-height: 1.45;
    font-size: 0.78rem;
}

.sale-row__design {
    font-size: 0.72rem;
    color: #3f3f3f;
    line-height: 1.45;
}

.sale-row__qty {
    display: grid;
    justify-items: center;
    gap: 6px;
}

.sale-row__price {
    text-align: right;
    font-size: 0.92rem;
    font-weight: 700;
    padding-top: 2px;
}

.qty-box {
    display: grid;
    grid-template-columns: 34px 1fr 34px;
    min-height: 28px;
    border: 1px solid var(--line);
    background: #fff;
}

.qty-box button {
    background: #efefef;
    color: #111;
    font-size: 0.9rem;
}

.qty-box span {
    display: grid;
    place-items: center;
    font-size: 0.82rem;
    font-weight: 700;
}

.sale-row__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    width: 74px;
}

.mini-action {
    min-height: 24px;
    background: #f4f4f4;
    color: #1e1e1e;
    border: 1px solid var(--line);
    padding: 0;
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mini-action--cancel {
    background: #ebebeb;
}

.workspace__notice {
    border-top: 1px solid var(--line);
    background: #fff;
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 0 24px;
    color: #7b7b7b;
    font-size: 0.7rem;
}

.panel-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 14px;
    display: grid;
    gap: 12px;
    min-width: 0;
}

.panel-card__title {
    font-size: 0.82rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.panel-card__title--right {
    text-align: right;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
}

.history-table th,
.history-table td {
    padding: 9px 8px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

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

.panel-grid {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.panel-grid--full {
    grid-template-rows: minmax(0, 1fr) auto;
    min-height: 100%;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    font-size: 0.8rem;
}

.detail-grid--stacked {
    grid-template-columns: 1fr;
    gap: 12px;
}

.panel-card--order-total {
    justify-self: end;
    width: min(100%, 520px);
}

.order-total-summary {
    display: grid;
    gap: 8px;
    margin-top: 6px;
    text-align: right;
}

.order-total-summary__row,
.order-total-summary__grand {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    min-width: 0;
}

.order-total-summary__row span,
.order-total-summary__grand span {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.66rem;
    font-weight: 700;
}

.order-total-summary__row strong,
.order-total-summary__grand strong {
    text-align: right;
    white-space: nowrap;
}

.order-total-summary__subtext {
    font-size: 0.68rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: right;
    margin-top: -2px;
}

.order-total-summary__grand {
    margin-top: 4px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    background: #fafafa;
}

.order-total-summary__row:first-child {
    padding: 10px 12px;
    border: 1px solid var(--line);
    background: #fff;
}

.order-total-summary__row:first-child strong {
    font-size: 1.2rem;
    font-weight: 800;
}

.order-total-summary__grand span {
    font-size: 0.72rem;
}

.order-total-summary__grand strong {
    font-size: 1.7rem;
    font-weight: 800;
}

.order-total-summary__payment {
    display: grid;
    gap: 6px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    background: #fff;
    text-align: right;
}

.order-total-summary__payment-label,
.order-total-summary__payment-hint {
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.order-total-summary__payment-value {
    font-size: 0.98rem;
    font-weight: 700;
}

.order-total-summary__payment input {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 0 12px;
    text-align: right;
    font-size: 1rem;
    font-weight: 700;
    outline: none;
}

.order-total-summary__breakdown {
    display: grid;
    gap: 6px;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px dashed var(--line);
}

.detail-grid strong,
.detail-grid span {
    display: block;
}

.detail-grid strong {
    font-size: 0.66rem;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0.05em;
}

.customer-form {
    display: grid;
    gap: 12px;
}

.customer-form__title {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.customer-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
}

.customer-form__grid--lookup {
    margin-bottom: 4px;
    grid-template-columns: minmax(240px, 2.6fr) minmax(110px, 0.7fr) minmax(240px, 2.6fr) minmax(110px, 0.7fr);
}

.customer-form__field {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.customer-form__field--wide {
    grid-column: 1 / -1;
}

.customer-form__field--name {
    grid-column: 1;
}

.customer-form__field--third {
    grid-column: span 1;
}

.customer-form__grid--lookup .customer-form__field--wide {
    grid-column: 1 / -1;
}

.customer-form__grid--customer {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
}

.customer-form__grid--customer .customer-form__field--name {
    grid-column: 1 / -1;
}

.customer-form__grid--customer .customer-form__field {
    grid-column: span 1;
}

.customer-form__name-address {
    margin-top: 0;
}

.customer-form__name-inline {
    display: flex;
    flex-direction: column;
    gap: 12px;
    grid-column: 1 / -1;
}

.customer-form__name-search {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.customer-form__name-search .customer-form__lookup-row {
    min-width: 0;
}

.customer-form__name-address .customer-form__summary-line {
    display: flex;
    align-items: baseline;
    gap: 18px;
    min-width: 0;
    flex-wrap: nowrap;
    min-height: 0;
    padding: 0;
    border: 0;
    background: transparent;
    margin-top: 4px;
    justify-content: flex-start;
}

.customer-form__name-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
}

.customer-form__name-meta .customer-form__summary-line {
    margin-top: 0;
}

.customer-form__name-meta .customer-form__summary-line strong {
    white-space: nowrap;
}

.customer-form__name-address .customer-form__summary-line span {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.customer-form__name-address .customer-form__summary-line strong {
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.customer-form__field span {
    font-size: 0.66rem;
    text-transform: uppercase;
    color: var(--muted);
    letter-spacing: 0.05em;
    font-weight: 700;
}

.customer-form__field input {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    padding: 0 12px;
    background: #fff;
    outline: none;
}

.customer-form__field select {
    width: 100%;
    min-height: 42px;
    border: 1px solid var(--line);
    padding: 0 12px;
    background: #fff;
    outline: none;
}

.transaction-search {
    margin-bottom: 8px;
}

.customer-form__actions {
    display: flex;
    align-items: end;
}

.customer-form__lookup-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.customer-form__summary {
    display: grid;
    gap: 8px;
    padding: 4px 0 0;
}

.customer-form__summary--compact {
    width: fit-content;
    max-width: 100%;
}

.customer-form__coverage {
    display: grid;
    gap: 10px;
    padding: 4px 0 2px;
    grid-column: 1 / -1;
}

.customer-form__coverage-head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.customer-form__coverage-check {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    color: var(--green);
    font-size: 1.15rem;
    line-height: 1;
    font-weight: 800;
    transform: rotate(-10deg);
    flex: 0 0 20px;
}

.customer-form__coverage-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.customer-form__coverage-copy strong {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.customer-form__coverage-copy span {
    color: var(--muted);
    font-size: 0.7rem;
}

.customer-form__summary--two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

.customer-form__summary-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    font-size: 0.8rem;
    line-height: 1.35;
    min-width: 0;
}

.customer-form__summary--address .customer-form__summary-line {
    font-size: 1rem;
}

.customer-form__summary-line span {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.66rem;
    font-weight: 700;
}

.customer-form__summary-line strong {
    font-weight: 500;
    text-align: right;
    word-break: break-word;
    white-space: nowrap;
}

.customer-form__summary--address .customer-form__summary-line strong {
    font-size: 1.02rem;
}

.patient-match-list {
    margin-top: 8px;
    display: grid;
    gap: 6px;
}

.patient-match {
    width: 100%;
    text-align: left;
    border: 1px solid var(--line);
    background: #fff;
    padding: 10px 12px;
    display: grid;
    gap: 2px;
}

.patient-match strong {
    font-size: 0.82rem;
}

.patient-match span {
    font-size: 0.72rem;
    color: var(--muted);
}

.discount-panel,
.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.discount-panel--single {
    grid-template-columns: minmax(0, 1fr);
}

.discount-panel__custom {
    display: grid;
    gap: 8px;
}

.discount-panel__custom-label {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.discount-panel__custom-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 10px;
    align-items: center;
}

.discount-panel__custom-row input {
    min-height: 54px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 0.9rem;
    padding: 0 14px;
}

.discount-chip--custom {
    width: 100%;
}

.discount-chip,
.payment-chip {
    min-height: 54px;
    border: 1px solid var(--line);
    background: #f8f8f8;
    color: #151515;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.discount-chip.is-active,
.payment-chip.is-active {
    background: var(--black);
    color: #fff;
}

.history-action {
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid var(--line);
    background: #f5f5f5;
    color: #111;
    font-size: 0.68rem;
    text-transform: uppercase;
}

.history-action--primary {
    min-height: 42px;
    padding: 0 14px;
    background: var(--black);
    color: #fff;
}

.workspace-actions {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    padding-top: 10px;
}

.workspace-actions--triple {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 220px));
    justify-content: center;
    align-items: center;
}

.workspace-actions--dual {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 220px));
    justify-content: center;
    align-items: center;
}

.workspace-actions__right {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.workspace-actions__button {
    min-width: 180px;
    min-height: 64px;
    background: var(--black);
    color: #fff;
    font-size: 0.86rem;
}

.workspace-actions__button--primary {
    background: var(--green);
}

.workspace-actions__button--small {
    min-width: 150px;
}

.catalog-grid {
    display: grid;
    gap: 10px;
}

.catalog-group {
    border: 1px solid var(--line);
    background: #fff;
}

.catalog-group__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    background: #fafafa;
}

.catalog-group__title {
    font-size: 0.84rem;
    font-weight: 700;
}

.catalog-group__subtitle {
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.catalog-group__price {
    font-size: 0.82rem;
    font-weight: 700;
}

.catalog-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.78rem;
}

.catalog-table th,
.catalog-table td {
    padding: 8px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

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

.action-grid {
    background: var(--bg);
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 10px 8px;
}

.action-button {
    min-height: 56px;
    background: var(--black);
    color: #fff;
    font-size: 0.76rem;
    text-transform: uppercase;
    line-height: 1.15;
}

.sidebar {
    background: var(--panel);
    display: grid;
    grid-template-rows: auto auto auto auto 1fr auto;
    gap: 14px;
    padding: 18px 20px 18px;
    position: relative;
}

.sidebar__prompt {
    color: var(--blue);
    font-size: 0.94rem;
    line-height: 1.55;
    min-height: 120px;
    padding-right: 4px;
}

.sidebar__quick-actions {
    display: grid;
    gap: 10px;
}

.sidebar-action {
    min-height: 56px;
    width: 100%;
    border-radius: 14px;
    padding: 0 16px;
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.1;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
    transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

.sidebar-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.16);
}

.sidebar-action--payment {
    background: linear-gradient(135deg, #ffad3d 0%, #f27010 100%);
}

.sidebar-action--discount {
    background: linear-gradient(135deg, #3b3b3b 0%, #1f1f1f 100%);
}

.sidebar-action--print {
    background: linear-gradient(135deg, #3c3c3c 0%, #171717 100%);
}

.sidebar__entry input {
    min-height: 70px;
    border: 1px solid var(--line-strong);
    background: #fff;
}

.calculator-panel {
    display: grid;
    gap: 8px;
}

.calculator-panel__label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    font-weight: 700;
}

.calculator-panel__display {
    min-height: 70px;
    border: 1px solid var(--line-strong);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 14px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    overflow: hidden;
}

.results-list {
    position: absolute;
    top: 202px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 6px;
    max-height: 240px;
    overflow: auto;
    z-index: 5;
    background: var(--panel);
    padding-bottom: 4px;
}

.results-list--hidden {
    display: none;
}

.results-list__empty {
    color: var(--muted);
    font-size: 0.82rem;
}

.result-row {
    background: #fff;
    border: 1px solid var(--line);
    padding: 8px;
    display: grid;
    gap: 8px;
}

.result-row strong {
    font-size: 0.86rem;
}

.result-row__meta {
    color: var(--muted);
    font-size: 0.74rem;
}

.result-row__controls {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 6px;
}

.result-row__controls input {
    min-height: 34px;
}

.result-row__controls button {
    min-height: 34px;
    color: #fff;
    background: var(--black);
}

.totals-panel {
    border-top: 1px solid var(--line-strong);
    padding-top: 14px;
    display: grid;
    gap: 10px;
}

.totals-panel--order {
    gap: 12px;
}

.totals-panel__title {
    font-size: 0.82rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: right;
}

.totals-panel__meta {
    display: grid;
    gap: 6px;
}

.totals-panel__line,
.totals-panel__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}

.totals-panel__line {
    font-size: 0.62rem;
    color: #444;
}

.totals-panel__line strong {
    font-size: 0.72rem;
    font-weight: 500;
}

.totals-panel__row {
    font-size: 0.96rem;
}

.totals-panel__row strong {
    font-size: 1rem;
    font-weight: 600;
}

.total-button {
    min-height: 92px;
    background: var(--green);
    color: #fff;
    font-size: 1.05rem;
    text-transform: uppercase;
}

.sidebar__keypad {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    align-content: end;
    margin-top: auto;
}

.keypad__key {
    min-height: 52px;
    background: var(--black);
    color: #fff;
    font-size: 0.98rem;
}

.keypad__key--enter {
    background: var(--blue);
}

@media print {
    .topbar,
    .sidebar,
    .action-grid {
        display: none !important;
    }

    .screen {
        display: block;
    }

    .workspace__notice {
        min-height: 0;
        border-top: 0;
        padding: 12px 24px;
    }
}

@media (max-width: 1100px) {
    .topbar {
        display: grid;
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 14px 18px;
    }

    .brand,
    .session-box {
        flex: initial;
    }

    .topnav,
    .session-box {
        justify-content: start;
    }

    .topnav {
        position: static;
        left: auto;
        transform: none;
    }

    .brand__logo {
        width: min(100%, 180px);
    }

    .screen {
        grid-template-columns: 1fr;
    }

    .workspace {
        order: 2;
    }

    .sidebar {
        order: 1;
    }

    .workspace__headings,
    .sale-row {
        padding-left: 18px;
        padding-right: 18px;
    }

    .customer-form__grid,
    .customer-form__grid--lookup,
    .customer-form__grid--customer {
        grid-template-columns: 1fr;
    }

    .customer-form__name-inline {
        grid-template-columns: 1fr;
    }

    .customer-form__name-meta {
        grid-template-columns: 1fr;
    }

    .discount-panel__custom-row {
        grid-template-columns: 1fr;
    }

    .sale-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .sale-row__price {
        text-align: left;
    }

    .sale-row__qty {
        justify-items: start;
    }
}
