.google-address-source { display:inline-block; margin-left:.35rem; font-family:sans-serif;
 font-size:12px; font-style:normal; font-weight:400; color:#5e5e5e;
 letter-spacing:normal; white-space:nowrap; }
:root {
  --workspace-width: 1500px;
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #202124;
  background: #f7f8fa;
  font-size: 18px;
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; background: #f5f7fa; }
a { color: #1a73e8; text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
button, input { font: inherit; }
button {
  min-height: 46px;
  padding: .65rem 1.1rem;
  border: 0;
  border-radius: 10px;
  background: #12679b;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
button:hover { background: #0b4f79; }
button:focus-visible, input:focus-visible, a:focus-visible {
  outline: 3px solid #8ab4f8;
  outline-offset: 2px;
}
.topbar { background: #fff; border-bottom: 1px solid #dfe3e8; }
.topbar-inner, .page { width: min(var(--workspace-width), calc(100% - 2rem)); margin: 0 auto; }
.topbar-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  grid-template-areas: "brand navigation actions utilities";
  align-items: center;
  gap: .65rem;
}
.brand {
  grid-area: brand; display: inline-flex; align-items: center;
  color: #12679b;
}
.brand:hover, .brand:focus-visible { text-decoration: none; }
.brand-logo { display: block; width: 126px; height: auto; }
.main-nav { grid-area: navigation; display: flex; align-items: center;
  gap: .2rem; margin-left: .5rem; flex-wrap: nowrap; font-size: .82rem; }
.main-nav > a { padding: .55rem .65rem; border-radius: 999px;
  display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box;
  color: #3c4043; font-weight: 700; white-space: nowrap; }
.main-nav a[aria-current="page"] { color: #174ea6; background: #e8f0fe; }
.header-actions { grid-area: actions; }
.header-utilities { grid-area: utilities; display: flex; align-items: center;
  justify-content: flex-end; gap: .35rem; min-width: 0; }
.header-utilities .help-link { display: inline-flex; align-items: center; gap: .25rem;
  padding: .4rem; font-weight: 400; font-size: .72rem; color: #60717c; white-space: nowrap; }
.main-nav .nav-group-start { position: relative; margin-left: .45rem;
  padding-left: .9rem;
  border-radius: 0 999px 999px 0; }
.main-nav .nav-group-start::before { content: ""; position: absolute; left: 0;
  top: 50%; transform: translateY(-50%); height: 1.4rem;
  border-left: 1px solid #dce1e5; pointer-events: none; }
.main-nav .home-link { display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: .4rem; box-sizing: border-box; }
.home-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.new-customer-menu { position: relative; }
.new-customer-menu > summary { display: flex; align-items: center; gap: .65rem;
  list-style: none; cursor: pointer; padding: .55rem .65rem; min-height: 44px;
  box-sizing: border-box; background: #bd2036; color: #fff; border-radius: 7px;
  font-weight: 700; font-size: .82rem; white-space: nowrap; }
.new-customer-menu > summary::-webkit-details-marker { display: none; }
.new-customer-menu > summary:hover, .new-customer-menu[open] > summary { background: #98182a; }
.new-customer-menu > summary:focus-visible { outline: 3px solid #12679b; outline-offset: 3px; }
.new-customer-options { position: absolute; right: 0; top: calc(100% + .4rem); z-index: 30;
  width: 245px; max-width: calc(100vw - 2rem); padding: .4rem; background: #fff;
  border: 1px solid #dce1e5; border-radius: 8px; box-shadow: 0 6px 20px #0002;
  box-sizing: border-box; }
.new-customer-options a { display: flex; align-items: center; min-height: 44px;
  padding: .6rem .7rem; box-sizing: border-box; border-radius: 5px; font-size: .88rem;
  font-weight: 500; color: #243842; }
.new-customer-options a:hover { background: #f1f3f4; text-decoration: none; }
@media (max-width: 1150px) {
  .topbar-inner { grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand utilities" "navigation actions";
    padding: .65rem 0; gap: .5rem; }
}
@media (max-width: 680px) {
  .topbar-inner { grid-template-areas:
    "brand utilities" "navigation navigation" "actions actions"; }
  .main-nav { flex-wrap: wrap; gap: .1rem; margin-left: 0; }
  .main-nav .nav-group-start { margin-left: 0; border-radius: 999px; }
  .main-nav .nav-group-start::before { display: none; }
  .new-customer-menu { margin-left: 0; }
  .new-customer-options { position: static; margin-top: .4rem; }
}
.prescription-archive { width: 100%; overflow-wrap: anywhere; font-size: .94rem; }
.rx-attachment-editor .rx-period { padding: 1rem; border-radius: 10px; margin: 1rem 0; }
.prescription-archive .rx-attachment-editor .rx-period .rx-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) {
  .prescription-archive .rx-attachment-editor .rx-period .rx-fields {
    grid-template-columns: minmax(0, 1fr); }
}
.prescription-archive .rx-heading { margin-bottom: 1.3rem; }
.prescription-archive .rx-heading .lead { margin-bottom: .7rem; }
.prescription-archive .rx-help { color: #53636c; font-size: .86rem; font-weight: 400;
  margin: .4rem 0 .8rem; }
.prescription-archive .rx-tag { display: inline-block; padding: .2rem .55rem;
  background: #eef2f5; color: #455965; border-radius: 6px; font-size: .72rem; font-weight: 700; }
.prescription-archive .rx-search-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.prescription-archive .rx-search-tools { display: flex; gap: 1rem; flex-wrap: wrap;
  align-items: end; }
.prescription-archive .rx-search-tools > .rx-search { flex: 1 1 24rem; }
:is(.prescription-archive,.customer-journey) .rx-steps {
  display: flex; flex-wrap: wrap; gap: .75rem;
  list-style: none; padding: 0; margin: 0 0 1rem; color: #60717c; }
:is(.prescription-archive,.customer-journey) .rx-steps li { padding: .4rem; }
:is(.prescription-archive,.customer-journey) .rx-steps [aria-current="step"] {
  color: #12679b; font-weight: 750; }
.prescription-archive .rx-preview-fields { display: grid;
  grid-template-columns: minmax(8rem, 1fr) minmax(0, 3fr); gap: .6rem 1rem; }
.prescription-archive .rx-preview-fields dt { font-weight: 700; }
.prescription-archive .rx-preview-fields dd { margin: 0; overflow-wrap: anywhere; }
.prescription-archive .rx-panel { margin: 0; min-width: 0; }
:is(.prescription-archive,.customer-journey) .rx-step {
  display: inline-grid; place-items: center;
  width: 1.7rem; height: 1.7rem; margin-right: .3rem; background: #edf4f8;
  color: #12679b; border-radius: 50%; font-size: .86rem; }
.prescription-archive form { margin: 0; }
.prescription-archive .rx-search { display: flex; gap: .6rem; flex-wrap: wrap;
  align-items: end; margin: 1rem 0; }
.prescription-archive .rx-search label { flex: 1 1 13rem; }
.prescription-archive label { display: grid; gap: .4rem; margin: 0;
  min-width: 0; font-size: .86rem; font-weight: 650; }
.prescription-archive input, .prescription-archive select { width: 100%; min-width: 0;
  max-width: 100%; min-height: 48px; border: 1px solid #aab9c3; border-radius: 8px;
  padding: .6rem .7rem; font: inherit; font-weight: 400; color: #202124; background: #fff; }
.prescription-archive input::placeholder { font-weight: 400; color: #677780; opacity: 1; }
.prescription-archive select:focus-visible, .prescription-archive summary:focus-visible {
  outline: 3px solid #8ab4f8; outline-offset: 2px; }
.prescription-archive button { min-height: 44px; max-width: 100%; font-size: .86rem;
  font-weight: 650; padding: .6rem .85rem; white-space: normal; overflow-wrap: anywhere; }
.prescription-archive .rx-secondary { background: #f2f5f7; color: #334b5b;
  border: 1px solid #cbd6de; }
.prescription-archive .rx-secondary:hover { background: #e5edf2; }
.prescription-archive .rx-primary { background: #12679b; color: #fff; border: 1px solid #12679b; }
.prescription-archive .rx-primary:hover { background: #0b4f79; }
.prescription-archive .rx-compact-period { margin:.6rem 0; padding:.75rem;
  border:1px solid #d9e2e8; border-radius:8px; }
.prescription-archive .rx-period-summary { display:flex; flex-wrap:wrap; align-items:center;
  gap:.6rem 1rem; font-size:.88rem; overflow-wrap:anywhere; }
.prescription-archive .rx-period-summary > span { flex:1 1 12rem; }
.prescription-archive .rx-period-summary .rx-field { max-width:15rem; }
.prescription-archive .rx-period-correction > summary { cursor:pointer; color:#12679b;
  padding:.4rem 0; font-size:.85rem; }
.prescription-archive .rx-period-correction[open] > summary { margin-bottom:.8rem; }
.prescription-archive .rx-actions { display: flex; gap: .6rem; flex-wrap: wrap; margin: .8rem 0; }
.prescription-archive .rx-results { list-style: none; padding: 0; margin: .6rem 0; }
.prescription-archive .rx-result { display: flex; gap: .6rem 1rem; flex-wrap: wrap;
  align-items: center; justify-content: space-between; padding: .9rem 0;
  border-top: 1px solid #e2e8ed; }
.prescription-archive .rx-result > div { flex: 1 1 13rem; min-width: 0; }
.prescription-archive .rx-file-name { display: block; margin-top: .35rem; }
.prescription-archive .rx-result p { margin: .35rem 0 0; }
.prescription-archive .rx-selection { border-top: 3px solid #12679b; }
.prescription-archive .rx-notice { padding: .8rem 1rem; margin: 1rem 0;
  background: #edf4f8; border: 1px solid #cadde9; border-left: 3px solid #12679b;
  border-radius: 8px; color: #334b5b; }
.prescription-archive .rx-details { font-size: .84rem; margin: .7rem 0; }
.prescription-archive .rx-validation { padding: 1rem; margin: 1rem 0; border: 2px solid #a52b32;
  border-radius: 8px; background: #fff4f4; color: #802027; }
.prescription-archive .rx-validation a { color: #802027; text-decoration: underline; }
.prescription-archive .rx-field-error { color: #a02028; font-weight: 650; font-size: .9rem; }
.prescription-archive .rx-review-warning,
.prescription-archive .rx-final-confirmation { background: #fff7df; color: #684b10;
  border: 1px solid #e7ce8d; border-radius: 8px; padding: .6rem .8rem; margin: .6rem 0; }
.prescription-archive .rx-final-confirmation .rx-check { background: transparent; margin: 0; }
.prescription-archive .rx-save-error { background: #fff0f0; color: #8b2028;
  border: 1px solid #dba1a7; padding: .8rem; border-radius: 8px; }
.prescription-archive [aria-invalid="true"] { border: 2px solid #a52b32; }
.prescription-archive .rx-details summary { color: #476373; padding: .3rem 0; }
.prescription-archive .rx-fieldset { min-width: 0; margin: 1.3rem 0; padding: 1rem;
  border: 1px solid #d9e2e8; border-radius: 10px; }
.prescription-archive .rx-fieldset legend { padding: 0 .45rem; font-weight: 750; color: #334b5b; }
.prescription-archive .rx-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.2rem; }
.prescription-archive .rx-field-wide { grid-column: 1 / -1; }
.prescription-archive .rx-field textarea { width: 100%; max-width: 100%; min-height: 5rem;
  box-sizing: border-box; padding: .7rem; border: 1px solid #bccbd5; border-radius: 7px;
  font: inherit; resize: vertical; }
.rx-card-value, .customer-card-value { white-space: pre-wrap; overflow-wrap: anywhere; }
.rx-clinical-field { margin: .8rem 0; padding: .7rem; border: 1px solid #dfe3e8;
  border-radius: 7px; min-width: 0; }
.rx-clinical-field h4 { margin: 0 0 .4rem; font-size: .95rem; }
.rx-clinical-input { display: block; width: 100%; min-height: 5rem; resize: vertical;
  font: inherit; padding: .55rem; border: 1px solid #b9c3c9; border-radius: 6px; }
.rx-clinical-input[readonly] { background: #f8fafc; }
.rx-clinical-edit { margin: .4rem 0; }
.rx-clinical-source { margin-top: .4rem; }
.prescription-archive .rx-period { background: #f8fafc; }
.prescription-archive .rx-period .rx-fields { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prescription-archive .rx-section-title { margin-top: 1.6rem; }
.prescription-archive .rx-check { display: flex; align-items: start; gap: .7rem;
  padding: .7rem; margin: .35rem 0; border-radius: 7px; background: #f5f8fa; }
.prescription-archive .rx-check input { flex: 0 0 20px; width: 20px; height: 20px;
  min-height: 20px; padding: 0; margin: .1rem 0 0; accent-color: #12679b; }
.prescription-archive .rx-save-bar { display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: .7rem; }
.prescription-archive .rx-save-bar p { flex: 1 1 18rem; margin: 0; }
.prescription-archive .rx-row-actions { display: flex; flex-wrap: wrap; justify-content: flex-end;
  gap: .3rem; margin-inline-start: auto; max-width: 100%; }
.prescription-archive .rx-row-actions .rx-secondary { min-height: 32px; padding: .3rem .5rem;
  font-size: .76rem; font-weight: 400; background: transparent; border-color: #d5dfe5; }
.prescription-archive .rx-row-actions .rx-secondary:hover { background: #edf2f5; color: #253e4d; }
.prescription-archive .rx-history-record { padding: 1rem 0; border-top: 1px solid #dfe3e8; }
@media (max-width: 980px) {
  .prescription-archive .rx-search-grid { grid-template-columns: 1fr; }
  .prescription-archive .rx-period .rx-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .prescription-archive .rx-preview-fields { grid-template-columns: 1fr; gap: .25rem; }
  .prescription-archive .rx-preview-fields dt { margin-top: .65rem; }
  .prescription-archive .rx-fields, .prescription-archive .rx-period .rx-fields {
    grid-template-columns: 1fr; }
  .prescription-archive .rx-fieldset { padding: .75rem; }
  .prescription-archive .rx-search button,
  .prescription-archive .rx-save-bar button { width: 100%; }
  .prescription-archive .rx-row-actions { width: 100%; }
  .prescription-archive .rx-save-bar .rx-row-actions button { width: auto; min-height: 44px; }
  .prescription-archive .rx-search label { flex-basis: 100%; }
}
.help-mark { display: inline-grid; place-items: center; width: 1.05rem; height: 1.05rem;
  border: 1px solid currentColor; border-radius: 50%; font-size: .72rem; line-height: 1; }
.account-menu { position: relative; font-size: .78rem; white-space: nowrap; }
.account-menu summary { display: flex; align-items: center; gap: .35rem;
  color: #53636c; padding: .4rem; border-radius: 6px; list-style: none; }
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu summary svg { width: 16px; height: 16px; flex: none; }
.account-name { max-width: 6rem; overflow: hidden; text-overflow: ellipsis; }
.account-dropdown { position: absolute; right: 0; z-index: 5; margin: .4rem 0 0;
  padding: .5rem; background: white; border: 1px solid #dfe3e8; border-radius: 8px;
  box-shadow: 0 4px 12px #26374618; }
.account-dropdown form { margin: 0; }
.account-dropdown a { display: block; padding: .4rem .6rem; }
.profile-card { width: 100%; margin: 0 auto; }
.profile-card form { max-width: 580px; }
.profile-card h2 { margin-top: 1.6rem; }
.profile-card input { width: 100%; }
.login-recovery { margin-top: 1rem; font-size: .85rem; }
.rental-bottom-pagination { display: flex; justify-content: flex-end; margin-top: .75rem; }
.rental-code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: .82rem; white-space: nowrap; text-decoration: none; }
tr[data-rental-row] { cursor: pointer; }
tr[data-rental-row]:hover td { background: #eef5f8; }
.account-menu button { background: transparent; color: #12679b; border: 0;
  min-height: 32px; padding: .3rem .6rem; font-size: .8rem; }
.help-layout { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 1.5rem; }
.help-sections { align-self: start; position: sticky; top: 1rem; display: grid; gap: .7rem;
  font-size: .86rem; padding: 1rem; border-left: 1px solid #dfe3e8; }
.help-layout section { scroll-margin-top: 1rem; }
.page { padding: 2rem 0 4rem; }
h1 { margin: 0 0 .35rem; font-size: clamp(1.6rem, 3vw, 2.05rem); line-height: 1.2; }
h2 { margin: 0 0 .7rem; font-size: 1.18rem; line-height: 1.3; }
h3 { margin: 0 0 .6rem; font-size: 1rem; }
p { margin: .35rem 0 .9rem; }
.muted { color: #5f6368; }
.lead { max-width: 760px; color: #5f6368; margin-bottom: 1.2rem; }
.section-description {
  max-width: 900px; margin: -.2rem 0 1rem;
  color: #5f6368; font-size: .94rem;
}
.eyebrow {
  margin: 0 0 .35rem; color: #12679b; font-size: .78rem;
  font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
}
.card {
  background: #fff;
  border: 1px solid #e0e3e7;
  border-radius: 14px;
  padding: 1.35rem;
  margin: 1rem 0;
  box-shadow: 0 1px 2px rgba(60, 64, 67, .08);
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: .8rem;
  margin: 1.4rem 0;
}
.metric { background: #fff; border: 1px solid #e0e3e7; border-radius: 12px; padding: 1rem; }
.metric strong { display: block; font-size: 1.65rem; line-height: 1.1; }
.metric span { color: #5f6368; font-size: .9rem; }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.1rem 0; }
.filters a {
  padding: .5rem .85rem; border: 1px solid #dadce0;
  border-radius: 999px; color: #3c4043;
}
.filters a[aria-current="page"] { color: #174ea6; border-color: #8ab4f8; background: #e8f0fe; }
.notice {
  border-left: 4px solid #f9ab00; background: #fef7e0;
  padding: .8rem 1rem; border-radius: 8px;
}
.safe { border-left-color: #34a853; background: #e6f4ea; }
.danger { border-left-color: #d93025; background: #fce8e6; }
.status-line {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
}
.status-pill {
  display: inline-flex; align-items: center; min-height: 2rem; padding: .25rem .7rem;
  border-radius: 999px; background: #e8f0fe; color: #174ea6;
  font-size: .82rem; font-weight: 800;
}
.status-pill.safe { background: #e6f4ea; color: #137333; border: 0; }
.status-pill.warning { background: #fef7e0; color: #8a4b00; }
.batch-card, .request-card {
  margin: 1rem 0; padding: 1.15rem; border: 1px solid #dfe3e8;
  border-radius: 12px; background: #fbfcfe;
}
.batch-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.batch-head h3 { margin: 0; }
.batch-meta { color: #5f6368; }
.steps { margin: .8rem 0 1.1rem; padding-left: 1.35rem; color: #3c4043; }
.steps li { margin: .2rem 0; }
.table-wrap { overflow-x: auto; border: 1px solid #e0e3e7; border-radius: 12px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 780px; }
caption { text-align: left; padding: 1rem; font-weight: 700; }
th, td {
  padding: .85rem 1rem; text-align: left;
  border-top: 1px solid #e8eaed; vertical-align: top;
}
th {
  color: #5f6368; background: #f8f9fa; font-size: .82rem;
  letter-spacing: .03em; text-transform: uppercase;
}
tbody tr:nth-child(even) { background: #fafbfc; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .82rem; }
.empty { text-align: center; padding: 2.5rem 1rem; color: #5f6368; }
.actions { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }
.actions form { margin: 0; }
.staff-controls { margin-top: 1rem; }
.control-hero { border-top: 4px solid #12679b; }
.renewal-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(270px, 360px);
  gap: 2rem; align-items: start; margin-bottom: 1.5rem;
}
.renewal-hero .section-description { margin-bottom: 0; }
.system-status {
  padding: 1rem 1.1rem; border: 1px solid #e0e3e7; border-radius: 12px;
  background: #fff; box-shadow: 0 1px 2px rgba(60, 64, 67, .06);
}
.system-status dl { display: grid; gap: .55rem; margin: 0; }
.system-status div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
}
.system-status dt { color: #5f6368; font-size: .78rem; font-weight: 750; }
.system-status dd { margin: 0; text-align: right; font-size: .86rem; font-weight: 750; }
.system-status .staff-controls { margin-top: .8rem; }
.system-status .staff-controls button {
  width: 100%; min-height: 38px; padding: .45rem .65rem; font-size: .82rem;
}
.quick-status {
  display: flex; gap: .6rem 1.4rem; flex-wrap: wrap; margin: 1rem 0;
  padding: .7rem 0; border-top: 1px solid #dfe3e8; border-bottom: 1px solid #dfe3e8;
  color: #3c4043; font-size: .92rem;
}
.today-workspace { border-top: 4px solid #c82735; }
.daily-board { margin-top: 1rem; }
.date-navigator {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 1rem; align-items: center; margin: .5rem 0 1.1rem;
}
.date-heading { text-align: center; }
.date-heading h2 { margin-bottom: .25rem; }
.date-heading p {
  display: inline-block; margin: 0; padding: .2rem .55rem; border-radius: 6px;
  color: #43515a; background: #eaf0f4; font-size: .78rem; font-weight: 750;
  letter-spacing: .01em;
}
.date-arrow {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid #9bb6c7; border-radius: 50%; color: #12679b;
  background: #fff; font-size: 1.55rem; font-weight: 750; line-height: 1;
}
.date-arrow:hover, .date-arrow:focus-visible { background: #f1f6f9; text-decoration: none; }
.date-arrow.disabled { color: #aeb4ba; border-color: #dfe3e8; background: #f8f9fa; }
.board-table-card {
  position: relative;
  padding: 1rem; border-color: #d8e1e7; border-top: 3px solid #12679b;
  background: #eef3f6; box-shadow: none;
}
.board-table-meta {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 0 .1rem .75rem; color: #53616a; font-size: .8rem;
}
.board-table-actions { display: flex; align-items: center; gap: .75rem; }
.refresh-board {
  display: inline-flex; align-items: center; min-height: 30px; padding: .22rem .55rem;
  border: 1px solid #9bb6c7; border-radius: 7px; background: #fff;
  color: #12679b; font-size: .74rem; font-weight: 750;
}
.refresh-board:hover, .refresh-board:focus-visible {
  background: #f7fafc; text-decoration: none;
}
.board-table-card .table-wrap { border: 0; border-radius: 9px; }
.board-table-card table {
  color: #30383d; font-size: .84rem; line-height: 1.35;
}
.board-table-card th, .board-table-card td { padding: .68rem .8rem; }
.contact-phone { white-space: nowrap; font-variant-numeric: tabular-nums; }
.contact-phone:focus-visible { outline: 2px solid #156b94; outline-offset: 3px; }
.board-table-card th {
  color: #4f5b63; background: #e3eaf0; font-size: .7rem; letter-spacing: .045em;
}
.board-table-card .status-pill {
  min-height: 1.65rem; padding: .16rem .52rem; font-size: .7rem;
}
.status-help {
  display: inline-grid; place-items: center; width: .9rem; height: .9rem;
  margin: 0 0 0 .15rem; vertical-align: baseline;
  border: 1px solid #7891a2; border-radius: 50%; color: #12679b;
  background: #fff; cursor: help; font-size: .65rem; line-height: 1;
  letter-spacing: normal; text-transform: none;
}
.status-help:focus-visible { outline: 2px solid #12679b; outline-offset: 2px; }
.status-tooltip {
  visibility: hidden; position: absolute; z-index: 5; top: 4.6rem; right: 1rem;
  width: min(19rem, calc(100% - 2rem)); padding: .65rem;
  border: 1px solid #b8cad6; border-radius: 8px; background: #fff;
  color: #37474f; font-size: .78rem; font-weight: 400; line-height: 1.5;
  letter-spacing: normal; text-transform: none;
  box-shadow: 0 3px 12px rgba(35, 55, 70, .14);
}
.status-help:hover .status-tooltip,
.status-help:focus .status-tooltip { visibility: visible; }
.board-table-card .board-status-forecast,
.board-table-card .board-status-muted {
  background: #eef2f5; color: #45535d;
}
.board-table-card .board-status-pending,
.help-status-list .board-status-pending {
  background: #e8f0fe; color: #174ea6;
}
.board-table-card .board-status-accepted,
.help-status-list .board-status-accepted {
  background: #fff2d2; color: #765000;
}
.board-table-card .board-status-delivered,
.help-status-list .board-status-delivered {
  background: #e6f4ea; color: #137333;
}
.board-table-card .board-status-seen,
.help-status-list .board-status-seen {
  background: #dff4f1; color: #075e56;
}
.board-table-card .board-status-failed,
.help-status-list .board-status-failed {
  background: #fce8e6; color: #a0271e;
}
.board-table-card .board-status-review,
.help-status-list .board-status-review {
  background: #fff0df; color: #8a4300;
}
.help-status-list { list-style: none; margin: .5rem 0 1rem; padding: 0; }
.help-status-list li {
  display: grid; grid-template-columns: minmax(180px, 230px) minmax(0, 1fr);
  align-items: center; gap: .75rem 1.25rem; padding: .75rem 0;
  border-top: 1px solid #e8eaed;
}
.help-status-list .status-pill { width: fit-content; }
.help-status-list p { margin: 0; color: #43515a; }
.sheet-action {
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: .65rem; align-items: center; margin-top: .85rem; padding: .7rem .8rem;
  border-radius: 9px; background: #fff;
}
.sheet-action p { display: grid; gap: .05rem; margin: 0; line-height: 1.35; }
.sheet-action strong { color: #30383d; font-size: .78rem; }
.sheet-action span:not(.sheet-icon) { color: #68747c; font-size: .76rem; }
.sheet-icon {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 8px; background: #e6f4ea;
}
.sheet-icon svg { width: 21px; height: 21px; fill: #188038; }
.sheet-icon .sheet-fold { fill: none; stroke: #e6f4ea; stroke-width: 1.8; }
.sheet-icon .sheet-grid { fill: none; stroke: #fff; stroke-width: 1.35; }
.source-link { font-weight: 750; }
.today-status {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin: 1rem 0; padding: .9rem 1rem;
  border: 1px solid #e0e3e7; border-radius: 10px; background: #f8f9fa;
}
.today-status p { margin: 0; }
.result-list { display: grid; gap: .55rem; margin-top: 1rem; }
.result-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .75rem 0; border-top: 1px solid #e8eaed;
}
.result-row p { margin: 0; }
.result-copy { display: grid; gap: .25rem; width: 100%; }
.result-counts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: .45rem; margin: .55rem 0 0;
}
.result-counts div {
  padding: .55rem .65rem; border-radius: 8px; background: #f8f9fa;
}
.result-counts dt { color: #5f6368; font-size: .82rem; }
.result-counts dd { margin: .15rem 0 0; font-size: 1.1rem; font-weight: 800; }
.run-confirmation { margin: 1.1rem 0 0; padding: 0; border: 0; }
.run-confirmation > summary {
  display: inline-flex; align-items: center; min-height: 46px;
  padding: .65rem 1.1rem; border-radius: 10px; background: #c82735;
  color: #fff; font-weight: 800; list-style: none;
}
.run-confirmation > summary::-webkit-details-marker { display: none; }
.run-confirmation > summary:hover { background: #991d29; }
.run-confirmation > summary:focus-visible {
  outline: 3px solid #8ab4f8; outline-offset: 2px;
}
.run-confirmation[open] > summary { background: #5f6368; }
.confirmation-panel {
  margin-top: .8rem; padding: 1rem; border: 2px solid #c82735;
  border-radius: 12px; background: #fff;
}
.admin-details > summary { font-weight: 750; }
.admin-details[open] { border-color: #c8ccd1; }
.secondary button { background: #fff; color: #12679b; border: 1px solid #9bb6c7; }
.approval-action button { background: #c82735; }
.approval-action button:hover, .danger-action button:hover { background: #991d29; }
.danger-action button { background: #c82735; }
.send-confirmation {
  margin-top: 1rem; padding: 1rem; border: 2px solid #c82735; border-radius: 12px;
}
.cancel-action {
  display: inline-flex; align-items: center; min-height: 46px; padding: .65rem 1.1rem;
  border: 1px solid #9bb6c7; border-radius: 10px; color: #12679b; font-weight: 700;
}
.cancel-action:hover, .cancel-action:focus-visible { background: #f1f6f9; text-decoration: none; }
.stack { display: grid; gap: .8rem; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 1rem; }
.login-card { width: min(460px, 100%); }
.login-card .brand { display: block; margin-bottom: 1.4rem; }
.login-card .brand-logo { width: min(230px, 75%); }
label { display: grid; gap: .4rem; margin: 1rem 0; font-weight: 700; }
input {
  width: 100%;
  min-height: 48px;
  padding: .65rem .75rem;
  color: #202124;
  background: #fff;
  border: 1px solid #9aa0a6;
  border-radius: 8px;
}
.login-card button { width: 100%; margin-top: .5rem; }
.page-footer { margin-top: 2rem; display: flex; justify-content: flex-end; }
.page-footer form { margin: 0; }
details { margin: .7rem 0; }
summary { cursor: pointer; color: #1a73e8; }
.technical { margin-top: 1rem; padding-top: .7rem; border-top: 1px solid #e8eaed; }
ul { padding-left: 1.3rem; }
.rental-tabbar { display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .65rem; margin: 1rem 0 .6rem; padding-bottom: .45rem;
  border-bottom: 1px solid #dbe3e8; }
.rental-tabs { display: flex; flex-wrap: wrap; gap: .25rem; margin: 0; }
.rental-tabbar > .rental-primary-action { margin-left: auto; font-size: .85rem; }
.rental-tabs .button { border: 1px solid #d5dfe6; background: #fff; border-radius: 8px;
  padding: .55rem .8rem; min-height: 0; font-size: .86rem; }
.rental-tabs [aria-current="page"] { background: #dfeef8; color: #125c80;
  border-color: #9ebfd3; font-weight: 700; box-shadow: inset 0 -2px #126a91; }
.rental-toolbar { display: flex; justify-content: space-between; align-items: end;
  flex-wrap: wrap; gap: .7rem .5rem; padding: .7rem .85rem; margin: 1rem 0;
  background: #edf3f6; border-radius: 10px; }
.rental-filters { display: flex; flex-wrap: wrap; align-items: end; gap: .2rem;
  margin: 0; padding: 0; }
.rental-filters label { display: grid; gap: .25rem; margin: 0;
  color: #50616b; font-size: 13px; }
.rental-filters input, .rental-filters select { max-width: 100%; padding: .2rem .7rem;
  height: 36px; min-height: 36px; border: 1px solid #c8d4dd; border-radius: 7px;
  background: white; font: inherit; font-size: 15px; font-weight: 400; }
.rental-filters input[type=search] { min-width: 0; width: 200px; }
.rental-filters select[name=item] { width: 140px; }
.rental-filters select[name=sort] { width: 210px; padding-inline: .4rem; }
.rental-filters select[name=renewal_day] { width: 72px; }
.rental-filters button { min-height: 42px; padding: .55rem .9rem; font-size: .84rem; }
.rental-filters a { font-size: 14px; padding: .55rem 0; }
.filter-separator { color: #a0abb3; font-size: .8rem; padding: .65rem 0; }
.rental-pagination { display: flex; align-items: center; justify-content: flex-end;
  flex-wrap: wrap; gap: .4rem; margin-left: auto; font-size: 13px; color: #53636c; }
.rental-pagination nav { display: flex; gap: .2rem; }
.rental-pagination nav a, .rental-pagination nav span { display: grid; place-items: center;
  width: 30px; height: 32px; border: 1px solid #cad7e0; border-radius: 6px; background: #fff;
  font-size: 1.15rem; text-decoration: none; }
.rental-pagination [aria-disabled=true] { opacity: .4; }
.rental-pagination svg { width: 14px; height: 14px; display: block; }
.rental-spinner { display: none; width: .85rem; height: .85rem; border: 2px solid #cad7e0;
  border-top-color: #12679b; border-radius: 50%; margin-bottom: .6rem; }
.rental-filters[aria-busy=true] .rental-spinner { display: inline-block;
  animation: rental-loading .8s linear infinite; }
@keyframes rental-loading { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rental-filters .rental-spinner { animation: none; } }
.rental-managed-list table { table-layout: fixed; min-width: 1120px; font-size: 15px; }
.rental-managed-list th, .rental-managed-list td {
  padding: .7rem .6rem; overflow-wrap: anywhere; }
.rental-managed-list th { font-size: 13px; letter-spacing: .01em; overflow-wrap: normal; }
.rental-records td:first-child { white-space: nowrap; }
.rental-managed-list th:nth-child(1) { width: 8%; }
.rental-managed-list th:nth-child(2) { width: 15%; }
.rental-managed-list th:nth-child(3) { width: 12%; }
.rental-managed-list th:nth-child(4) { width: 11%; }
.rental-managed-list th:nth-child(5) { width: 10%; }
.rental-managed-list th:nth-child(6) { width: 11%; }
.rental-managed-list th:nth-child(7) { width: 7%; white-space: nowrap; }
.rental-managed-list th:nth-child(8) { width: 16%; }
.rental-managed-list th:nth-child(9) { width: 10%; }
.rental-managed-list .rental-code { font-size: 17px; font-weight: 650; }
.rental-records td[data-label="Κόστος"] { white-space: nowrap; }
.rental-communication { font-size: .76rem; }
.rental-communication small { display: block; color: #61717c; font-size: .7rem;
  line-height: 1.45; margin-top: .25rem; }
.rental-communication .status-pill { font-size: .7rem; min-height: 0;
  padding: .2rem .45rem; }
.rental-communication .board-status-accepted { background: #e8effc; color: #214f8e; }
.rental-communication .board-status-delivered { background: #e7f4ec; color: #196837; }
.rental-communication .board-status-seen { background: #e0f4f0; color: #086763; }
.rental-communication .board-status-failed { background: #fdecec; color: #a12b27; }
.rental-communication .board-status-review { background: #fff0df; color: #8a4300; }
.rental-communication-compact .status-pill { padding: 0; border: 0; border-radius: 0;
  background: transparent; font-weight: 500; }
.rental-communication-compact .board-status-accepted,
.rental-communication-compact .board-status-delivered,
.rental-communication-compact .board-status-seen { color: #526674; }
.rental-communication-compact .board-status-failed,
.rental-communication-compact .board-status-review { padding: .1rem .3rem;
  border-radius: 3px; font-weight: 600; }
.rental-communication-compact .board-status-failed { background: #fdecec; }
.rental-communication-compact .board-status-review { background: #fff0df; }
.rental-communication-compact small { margin-top: .1rem; white-space: nowrap; }
.rental-communication-summary { margin: 1rem 0; padding: .3rem 1.35rem; }
.rental-filters input[type=date] { width: 9rem; }
.rental-search-status, .rental-meta { color: #61717c; font-size: .8rem; }
.rental-search-status { min-height: 1.2em; margin: .4rem 0; }
.rental-search-status:empty, [data-comment-status]:empty { display: none; }
.rental-system { border-top: 1px solid #e2e8ed; margin-top: 1.5rem; padding-top: 1rem;
  font-size: .82rem; color: #5c6b76; }
.rental-system h3 { font-size: .9rem; }
.rental-editor { max-width: none; }
.rental-detail-heading { display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .6rem 1rem; }
.rental-detail-heading h2 { margin: 0; }
.rental-detail-layout { width: 100%; }
.rental-detail-layout > .rental-editor { max-width: none; }
.rental-date-badge { background: #eaf3f8; color: #225c76; padding: .35rem .65rem;
  border-radius: 6px; font-size: .8rem; font-weight: 600; }
.rental-edit-group { position: relative; padding: .7rem 0; border-bottom: 1px solid #e5eaee; }
.rental-edit-group:last-of-type { border-bottom: 0; }
.rental-edit-group > h3 { font-size: .8rem; font-weight: 600; color: #425763;
  margin: 0 2.75rem .4rem 0; line-height: 1.5; }
.rental-group-values, .rental-group-controls { display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem 1.5rem; align-items: start; }
.rental-group-customer .rental-group-values, .rental-group-customer .rental-group-controls {
  max-width: 640px; grid-template-columns: 1.2fr 1fr; gap: .6rem 1.5rem; }
.rental-group-category .rental-group-values, .rental-group-category .rental-group-controls {
  grid-template-columns: repeat(2, minmax(0, 310px)); }
.rental-group-category .rental-value:first-child .rental-value-label { display: none; }
.rental-group-category [data-return-date] > small { display: block; margin-top: .3rem; }
.rental-group-additional .rental-group-values, .rental-group-additional .rental-group-controls {
  grid-template-columns: minmax(0, 1fr); }
.rental-group-additional .rental-group-controls > label:first-child { max-width: 350px; }
.rental-edit-group:has(.rental-field-editor[open]) > .rental-group-values { display: none; }
.rental-value { min-width: 0; padding: .2rem 0; margin: 0; }
.rental-value-wide { grid-column: 1 / -1; }
.rental-value-label { display: block; font-size: .75rem; font-weight: 500; color: #64727d; }
.rental-value-text { display: block; font-size: .9rem; margin-top: .2rem;
  white-space: pre-wrap; overflow-wrap: anywhere; font-weight: 400; }
.rental-field-editor { margin: 0; padding: 0; border: 0; }
.rental-field-editor > .rental-pencil { position: absolute; right: 0; top: .35rem;
  display: inline-flex; width: 36px; height: 36px; padding: 0; margin: 0;
  align-items: center; justify-content: center; list-style: none;
  border: 1px solid transparent; border-radius: 6px; cursor: pointer; color: #247095; }
.rental-pencil svg { display: block; flex-shrink: 0; }
.rental-pencil:hover, .rental-pencil:focus-visible { background: #eaf3f8; border-color: #cedee8; }
.rental-pencil:focus-visible { outline: 2px solid #247095; outline-offset: 2px; }
.rental-field-editor > summary::-webkit-details-marker { display: none; }
.rental-field-editor[open] > summary { background: #eaf3f8; }
.rental-field-editor form { margin: .4rem 0 0; padding: .8rem;
  background: #f2f7fa; border-radius: 6px; }
.rental-legacy-context { margin: 1rem 0 0; padding-top: .7rem; border-top: 1px solid #e5eaee;
  font-size: .75rem; color: #64727d; }
.rental-legacy-context > summary { font-size: .75rem; font-weight: 500; color: #64727d; }
.rental-legacy-context .rental-details { margin-bottom: 0; gap: .7rem 1rem; }
.rental-field-editor .rental-field-actions { display: flex; align-items: center;
  flex-wrap: wrap; gap: .5rem; margin-top: .6rem; }
.rental-field-actions button { padding: .35rem .6rem; min-height: 34px; font-size: .78rem; }
.rental-field-actions [data-field-cancel] { background: transparent; color: #53636c;
  border: 1px solid #ccd8e0; }
[data-field-status], [data-detail-status] { font-size: .8rem; color: #225c76; }
[data-field-status]:empty, [data-detail-status]:empty { display: none; }
.rental-detail-footer { display: flex; justify-content: space-between; gap: .75rem;
  align-items: center; flex-wrap: wrap; padding-top: .8rem; border-top: 1px solid #e5eaee; }
.rental-detail-footer .rental-meta { margin: 0; font-size: .75rem; }
.rental-add-item { font-size: .8rem; padding: .4rem .6rem; border: 1px solid #c4d9e6;
  border-radius: 6px; background: #eaf3f8; text-decoration: none; }
.rental-field-hint { color: #61717c; font-size: .76rem; font-weight: 400; }
.rental-form-grid { display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  align-items: start; gap: .9rem 1rem; margin: 1rem 0; }
.rental-editor label { display: grid; gap: .4rem; font-size: .86rem; margin: 0; min-width: 0; }
.rental-editor input, .rental-editor select, .rental-editor textarea {
  border: 1px solid #c8d4dd; border-radius: 8px; padding: .55rem; width: 100%;
  min-width: 0; margin: 0; font: inherit; }
.rental-editor input:not([type=hidden]), .rental-editor select { min-height: 44px; }
.rental-contact-form { margin-top: 1.4rem; padding-top: 1.1rem;
  border-top: 1px solid #e2e8ed; }
.rental-contact-form h3 { margin: 0 0 .35rem; }
.rental-contact-form .rental-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rental-contact-form button { background: #eaf3f8; color: #125c80;
  border: 1px solid #c4d9e6; }
.customer-options { border: 1px solid #bdd3e1; border-radius: 9px;
  padding: .6rem .8rem; margin: .6rem 0 1rem; background: #f3f8fb; }
.customer-options:empty { display: none; }
.customer-options legend { font-size: .88rem; font-weight: 700; color: #125c80; }
.rental-editor .customer-option { display: flex; align-items: flex-start;
  gap: .55rem; padding: .6rem .3rem; border-top: 1px solid #dce7ee; cursor: pointer; }
.rental-editor .customer-option input { flex: none; width: 16px; height: 16px;
  min-height: 0; padding: 0; margin-top: .25rem; accent-color: #12679b; }
.customer-option small { display: block; color: #61717c; margin-top: .15rem; }
.customer-option:has(input:checked) { background: #e2f0f8; border-radius: 5px; }
[data-customer-status]:empty { display: none; }
.rental-editor textarea { min-height: 100px; margin-bottom: 1rem; }
.rental-date-input { display: flex; gap: .4rem; }
.rental-date-input button { min-height: 0; padding: .5rem; font-size: .8rem; }
.rental-editor [hidden] { display: none; }
.rental-records [hidden] { display: none; }
.rental-comment { border-bottom: 1px solid #e2e8ed; padding: .5rem 0; }
.rental-comment p { margin: .2rem 0; }
.comment-body { white-space: pre-wrap; overflow-wrap: anywhere; font-weight: 400; }
.rental-records .rental-comment { max-width: 19rem; font-size: .78rem; }
.rental-inline-comment { padding: .25rem .8rem; }
.rental-inline-comment .rental-comment { max-width: none; }
.rental-actions { font-size: .75rem; white-space: nowrap; }
.rental-actions .rental-comment { white-space: normal; }
.rental-actions > a { display: inline-flex; align-items: center; min-height: 28px;
  white-space: nowrap; margin: 0; }
.rental-records .board-status-review { background: #fff0df; color: #8a4300;
  white-space: nowrap; min-height: 0; font-size: .7rem; padding: .15rem .45rem; }
.rental-comment-action { padding: .2rem .5rem; border: 1px solid #c9dbe5;
  border-radius: 5px; background: #edf5fa; color: #12679b; }
.rental-comment-action[aria-expanded=true] { background: #dbeaf5; border-color: #8fb2c8; }
.rental-detail-action { text-decoration: underline; text-underline-offset: 3px; }
[data-comment-form] label { margin: .35rem 0; }
[data-comment-form] textarea { margin-bottom: 0; min-height: 72px; font-weight: 400; }
[data-comment-form] textarea::placeholder { font-weight: 400; color: #7c8791; opacity: 1; }
[data-comment-form] .comment-submit { display: inline-block; min-height: 32px;
  font-size: .8rem; font-weight: 600; padding: .25rem .65rem; margin-top: .2rem;
  background: #126a91; color: #fff; border: 0; border-radius: 5px; }
[data-comment-form] { margin-bottom: .75rem; }
.rental-comments.rental-editor { max-width: none; margin: 1.1rem 0; padding: .4rem 1.35rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.rental-editor button:disabled { background: #dfe3e7; color: #6d747c;
  cursor: not-allowed; box-shadow: none; }
.rental-form-grid > [data-item-picker] { min-width: 0; }
.legacy-notes { border-top: 1px solid #e2e8ed; margin-top: 1rem; padding-top: 1rem; }
.legacy-notes h3 { font-size: .9rem; }
.rental-primary-action { display: inline-block; padding: .65rem 1rem; border-radius: 9px;
  background: #bf2639; color: #fff; font-weight: 700; text-decoration: none; }
.rental-primary-action:hover { background: #a51e30; color: #fff; text-decoration: none; }
.rental-details { display: grid; gap: 1.4rem 1.3rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.rental-details dt { color: #53636c; font-size: .8rem; }
.rental-details dd { margin: .3rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.rental-primary-details { grid-template-columns: 1.5fr 1.1fr 1fr .65fr 1fr 1.2fr;
  align-items: start; gap: .9rem; }
.rental-date-highlight { padding: 0 .65rem .35rem; background: #eaf3f8; border-radius: 7px;
  border-left: 3px solid #126a91; }
@media (max-width: 1000px) {
  .rental-primary-details { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .rental-group-values, .rental-group-controls,
  .rental-group-customer .rental-group-values, .rental-group-customer .rental-group-controls {
    grid-template-columns: 1fr; gap: .4rem; }
  .rental-group-category .rental-group-values, .rental-group-category .rental-group-controls {
    grid-template-columns: 1fr; }
  .rental-field-editor > .rental-pencil { width: 44px; height: 44px; top: .15rem; }
  .rental-filters { width: 100%; }
  .rental-filters label { flex: 1 1 140px; }
  :root { font-size: 17px; }
  .page { padding-top: 1.4rem; }
  .help-layout { display: flex; flex-direction: column; }
  .help-sections { position: static; order: -1; display: flex; flex-wrap: wrap;
    border-left: 0; padding: .5rem 0; }
  .rental-primary-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rental-filters input[type=search] { min-width: 0; width: 100%; }
  .rental-filters select { width: 100%; }
  .rental-contact-form .rental-form-grid { grid-template-columns: 1fr; }
  .card, .batch-card, .request-card { padding: 1rem; }
  .batch-head { align-items: flex-start; flex-direction: column; gap: .45rem; }
  .renewal-hero { grid-template-columns: 1fr; gap: 1rem; }
  .date-navigator { grid-template-columns: 42px minmax(0, 1fr) 42px; gap: .45rem; }
  .date-arrow { width: 40px; height: 40px; }
  .sheet-action { grid-template-columns: 34px minmax(0, 1fr); }
  .sheet-action .source-link { grid-column: 2; }
  .board-table-meta { align-items: flex-start; }
  .board-table-actions { align-items: flex-end; flex-direction: column; gap: .3rem; }
  .help-status-list li { grid-template-columns: 1fr; }
  .today-status, .result-row { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .run-confirmation > summary { width: 100%; justify-content: center; text-align: center; }
}
.rental-filters label:has(input[name=q]) { width: 285px; max-width: 100%; margin-right: .4rem; }
.rental-filters input[name=q] { width: 100%; }
.rental-managed-list .identity-records { min-width: 1220px; }
.rental-managed-list .identity-records th:nth-child(1) { width: 9%; }
.rental-managed-list .identity-records th:nth-child(2) { width: 11%; }
.rental-managed-list .identity-records th:nth-child(3) { width: 6%; }
.rental-managed-list .identity-records th:nth-child(4) { width: 8%; }
.rental-managed-list .identity-records th:nth-child(5) { width: 15%; }
.rental-managed-list .identity-records th:nth-child(6) { width: 13%; }
.rental-managed-list .identity-records th:nth-child(7) { width: 9%; white-space: normal; }
.rental-managed-list .identity-records th:nth-child(8) { width: 12%; }
.rental-managed-list .identity-records th:nth-child(9) { width: 9%; }
.rental-managed-list .identity-records th:nth-child(10) { width: 8%; }
.identity-records td { overflow-wrap: anywhere; }
.rental-managed-list .identity-records td:nth-child(5),
.rental-managed-list .identity-records td:nth-child(6) { white-space: normal; }
.identity-records .customer-amka { white-space: nowrap; font-variant-numeric: tabular-nums;
  font-weight: 600; color: #152a35; overflow-wrap: normal; }
.renewal-identity-search { display: flex; gap: .75rem; align-items: end; flex-wrap: wrap;
  margin: .7rem 0 1rem; }
.renewal-identity-search label { flex: 1 1 260px; }
.renewal-identity-search input { width: 100%; }
@media (max-width: 680px) {
  .table-wrap:has(.identity-records) { overflow: visible; }
  .identity-records, .rental-managed-list .identity-records {
    display: block; min-width: 0; width: 100%; }
  .identity-records thead { position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip-path: inset(50%); }
  .identity-records tbody { display: block; }
  .identity-records tbody tr { display: flex; flex-direction: column; margin: 0 0 1rem;
    border: 1px solid #d5dfe6; border-radius: 10px; padding: .6rem; background: white; }
  .identity-records tbody td { display: block; width: auto; border: 0;
    padding: .35rem .3rem; white-space: normal; order: 4; font-size: .9rem; }
  .identity-records td[data-label]::before { content: attr(data-label); display: block;
    font-size: .75rem; font-weight: 600; color: #52636d; margin-bottom: .15rem; }
  .identity-records td[data-label="Όνομα"] { order: 1; font-size: 1rem; font-weight: 600; }
  .identity-records td[data-label="ΑΜΚΑ"] { order: 2; font-size: 1rem; }
  .identity-records td[data-label="Κωδικός"] { order: 3; }
  .rental-managed-list .identity-records td { order: 0; }
  .rental-managed-list td[data-label="Είδος"],
  .rental-managed-list td[data-label="Πελάτης"] { font-size: 1rem; font-weight: 600; }
  .identity-records [hidden] { display: none !important; }
  .identity-records .rental-comment, .identity-records input, .identity-records textarea {
    max-width: 100%; min-width: 0; }
}
.customers-workspace { width: 100%; margin: 0 auto; }
.customers-workspace .table-wrap { position: relative; }
.customers-workspace > p:not(.eyebrow), .customer-meta, .customer-help {
  color: #53636c; font-size: .8rem; }
.customer-sections { display: flex; flex-wrap: wrap; gap: .3rem;
  margin: 1rem 0 .6rem; padding-bottom: .5rem; border-bottom: 1px solid #dbe3e8; }
/* Compact device selection and paired rental facts. */
.rental-detail-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}
.rental-device-panel [data-device-picker]{display:flex;gap:.6rem;align-items:end;max-width:42rem}
.rental-device-panel [data-device-picker] label{flex:1;margin:0}
.rental-device-panel [data-device-picker] input{width:100%;min-height:40px;box-sizing:border-box}
.rental-device-panel [data-device-picker] button{min-height:40px;margin:0;padding:.5rem .8rem}
.rental-device-panel [hidden]{display:none!important}
.rental-device-panel h3{margin-bottom:.5rem}
.rental-device-panel [data-device-picker-results] details{padding:.6rem 0;
 border-bottom:1px solid #e3e9ec}
.rental-device-panel [data-device-picker-results] summary{cursor:pointer}
.rental-device-panel [data-device-picker-results] form{max-width:42rem}
@media(max-width:640px){.rental-detail-pair{grid-template-columns:1fr;gap:0}}
.customer-category-filters form, .customer-pagination form { margin: 0; }
.customer-sections a, .customer-sections span {
  border: 1px solid #d5dfe6; background: white;
  border-radius: 8px; padding: .55rem .8rem; min-height: 0; font-size: .86rem;
  font-weight: 400; color: #12679b; }
.customer-sections [aria-current=page] {
  background: #dfeef8; color: #125c80;
  border-color: #9ebfd3; font-weight: 700; box-shadow: inset 0 -2px #126a91; }
.customer-sections a, .customer-sections span { display: inline-flex; align-items: center;
  min-height: 44px; box-sizing: border-box; text-decoration: none; }
.customer-sections [aria-disabled=true] { color: #76828a; background: #eef1f3;
  border-color: #e1e5e8; box-shadow: none; cursor: default; font-weight: 400; }
.customer-filters { gap: .6rem; width: 100%; }
.customer-filters label:first-of-type { flex: 1 1 260px; }
.customer-filters input[type=search] { width: 100%; }
.customer-filters select[name=sort] { width: 8rem; }
.customer-date { display: grid; gap: .25rem; }
.customer-date-control { position: relative; display: flex; align-items: center; }
.customer-date-control input[data-greek-date] { width: 100%; padding-right: 2.3rem; }
.customer-filters .customer-date { width: 9rem; }
.customer-date-control button[data-date-open] { position: absolute; right: 1px;
  display: inline-flex; align-items: center; justify-content: center; padding: .4rem;
  width: 36px; height: 34px; min-height: 34px; background: transparent; color: #405865; }
.customer-date-control button[hidden] { display: none; }
.customer-date-control .customer-date-native { position: absolute; left: 0; bottom: 0;
  width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0;
  pointer-events: none; }
.customer-list-controls { display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .7rem; margin: .7rem 0; }
.customer-category-filters { display: flex; align-items: center; flex-wrap: wrap;
  gap: .3rem; }
.customer-category-filters button { min-height: 36px; padding: .3rem .65rem;
  background: transparent; border: 1px solid #d6e0e6; border-radius: 999px;
  color: #53636c; font-size: .76rem; font-weight: 500; }
.customer-category-filters button[aria-pressed=true] { background: #e3eff6;
  border-color: #a9cadc; color: #125c80; font-weight: 700; }
.customer-results-meta { display: flex; align-items: center; justify-content: flex-end;
  flex-wrap: wrap; gap: .8rem; margin-left: auto; color: #53636c; font-size: .76rem; }
.customer-results-meta .customer-pagination { margin: 0; }
.customer-bottom-pagination { display: flex; justify-content: flex-end; }
.customer-table { min-width: 780px; table-layout: fixed; }
.customer-table th:first-child { width: 38%; }
.customer-table th:nth-child(2), .customer-table th:nth-child(3) { width: 20%; }
.customer-table th:nth-child(4) { width: 22%; }
.sales-table { min-width: 850px; }
.sales-table th:first-child, .sales-table th:last-child { width: 28%; }
.sales-table th:nth-child(2) { width: 12%; }
.sales-table th:nth-child(3), .sales-table th:nth-child(4) { width: 16%; }
.sales-table .sales-amount { white-space: nowrap; font-variant-numeric: tabular-nums; }
.sale-detail { margin-top: 1rem; background: white; padding: 1rem; border-radius: 10px;
  border: 1px solid #dbe3e8; }
.sale-detail dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.2rem; }
.sale-detail dd { margin: 0; overflow-wrap: anywhere; }
.prescription-otp { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem;
  margin: 1rem 0; }
.prescription-otp code { font-size: 1.25rem; letter-spacing: .12em; user-select: all; }
.prescription-otp .prescription-copy { display: inline-flex; align-items: center;
  justify-content: center; width: 44px; min-height: 44px; padding: .4rem;
  color: #176b8e; background: transparent; border: 1px solid transparent; border-radius: 6px; }
.prescription-otp .prescription-copy[hidden] { display: none; }
.prescription-otp .prescription-copy:hover { background: #edf5fa; }
.prescription-otp .prescription-copy:focus-visible { outline: 2px solid #176b8e;
  outline-offset: 2px; }
.purchase-note-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: .8rem; }
.purchase-note-heading h3 { margin-bottom: .5rem; }
.purchase-note-heading a { font-size: .9rem; }
.purchase-note-editor { margin-top: .6rem; }
.purchase-note-editor textarea { box-sizing: border-box; width: 100%; max-width: 100%; }
.customer-heading { display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .65rem; }
.customer-heading h1 { margin: 0; }
.saved-rx-document { background: white; border: 1px solid #dbe3e8; border-radius: 10px;
  margin: .8rem 0; padding: .8rem 1rem; }
.saved-rx-heading { display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .5rem; }
.saved-rx-heading h2 { font-size: 1rem; margin: 0 0 .2rem; overflow-wrap: anywhere; }
.saved-rx-heading > div:first-child { display:flex; flex-wrap:wrap; align-items:baseline;
  gap:.25rem .8rem; }
.saved-rx-controls { display:flex; justify-content:flex-end; margin:.4rem 0; }
.saved-rx-controls .customer-pagination { margin:0; justify-content:flex-end; }
.saved-rx-contact { display:flex; flex-wrap:wrap; gap:.4rem 1rem; font-size:.78rem; }
.saved-rx-contact span { display:flex; gap:.4rem; color:#65747f; }
.saved-rx-contact strong { color:#243842; font-weight:500; }
.saved-rx-rows { padding: 0; margin: .5rem 0 0; list-style: none; }
.saved-rx-rows li { display: grid; grid-template-columns: 165px minmax(0,1fr) 220px;
  gap: .75rem; align-items: start; border-top: 1px solid #e3eaf0; padding: .4rem 0;
  font-size: .82rem; overflow-wrap: anywhere; }
.saved-rx-dates { font-variant-numeric: tabular-nums; }
.customers-workspace small.saved-rx-company { display:inline; margin-left:.6rem;
  font-size:.7rem; }
@media(max-width:700px) { .saved-rx-rows li { grid-template-columns: 1fr; gap: .35rem; }
  .saved-rx-document { padding: .75rem; } }
.customer-create-actions { margin-left: auto; }
.customer-create-actions .rental-primary-action { font-size: .85rem; }
.customer-row-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .15rem .7rem; }
.customer-row-actions a { display: inline-flex; align-items: center; gap: .25rem;
  padding: .1rem 0; border: 0; border-radius: 2px; white-space: nowrap;
  min-height: 24px; background: transparent; font-size: .76rem; }
.customer-count { font-size: .7rem; color: #53636c; }
tr[data-customer-row], tr[data-sale-row] { cursor: pointer; }
tr[data-sale-row]:hover td, tr[data-sale-row]:focus-within td { background: #eef5f8; }
tr[data-customer-row]:hover td, tr[data-customer-row]:hover th { background: #eef5f8; }
.customers-workspace table { font-size: .8rem; }
.customers-workspace th, .customers-workspace td { padding: .6rem .65rem; overflow-wrap: anywhere; }
.customers-workspace thead th { font-size: .72rem; }
.customers-workspace tbody th { background: transparent; font-weight: 500; text-transform: none; }
.customers-workspace small { display: block; font-size: .7rem; color: #65747f; margin-top: .2rem; }
.customers-workspace .customer-number { white-space: nowrap; font-variant-numeric: tabular-nums; }
.customer-pagination { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem;
  margin: .75rem 0; font-size: .76rem; color: #53636c; }
.customer-pagination button, .customer-pagination a { min-height: 32px; font-size: .76rem;
  padding: .3rem .65rem; background: white; border: 1px solid #cad7e0; border-radius: 6px;
  color: #12679b; font-weight: 400; }
.customer-identity { padding: 1rem 1.2rem; }
.customer-identity h2 { font-size: 1.5rem; overflow-wrap: anywhere; }
.customer-company { display: inline-block; padding: .3rem .55rem; border-radius: 5px;
  background: #e8f1f6; color: #235b76; font-size: .78rem; font-weight: 600; }
.customer-identity dl { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem;
  font-size: .86rem; }
.customer-identity dd { margin: 0; overflow-wrap: anywhere; }
.customer-identity { background: #fffefa; border-top: 3px solid #d8e8ed; }
.customer-identity dl.customer-details-grid { grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem 1.5rem; margin: 1rem 0; }
.customer-details-grid dt { color: #526570; font-size: .76rem; font-weight:600;
  margin-bottom: .25rem; }
.customer-details-grid dd { color: #243842; line-height: 1.5; }
.customer-record-note { border-top: 1px solid #e5e9eb; margin-top: 1rem; padding-top: .5rem; }
.customer-record-note label { font-size:.8rem; font-weight:500; }
.customer-record-note textarea { width:100%; box-sizing:border-box; resize:vertical;
  min-height:3.6rem; font:inherit; font-size:.85rem; font-weight:400; background:#fafcfd;
  border:1px solid #d8e4eb; border-radius:6px; padding:.4rem .5rem; margin-top:.25rem; }
.customer-edit-button { display:inline-flex; align-items:center; min-height:36px;
  padding:.3rem .7rem; border:1px solid #b9d3df; border-radius:6px; background:#edf6fa;
  color:#176b8e; font-size:.85rem; font-weight:600; text-decoration:none; }
.customer-rx-actions { display:flex; flex-wrap:wrap; gap:.4rem 1rem; font-size:.8rem; }
.customer-prescription .prescription-otp { margin:.25rem 0; gap:.4rem; font-size:.8rem; }
.customer-prescription .prescription-otp code { font-size:1rem; }
.prescription-detail h1 { font-size:1.45rem; overflow-wrap:anywhere; }
.prescription-client { font-size:1.05rem; font-weight:600; }
.rx-field-warning { background:#fff7da; border-left:3px solid #c18b0a;
  padding:.6rem .8rem; font-size:.85rem; color:#644b16; }
.rx-field-needs-review { border-left:3px solid #b74435; padding-left:.8rem; }
.rx-field-needs-review > h4 { color:#a93428; }
.customer-record-note p { white-space: normal; overflow-wrap: anywhere; }
.customer-source-warning { padding: .6rem .8rem; border-radius: 7px; background: #fff7df;
  border: 1px solid #e7d9a5; color: #6c531c; }
.customer-record-actions { display: flex; justify-content: flex-start; flex-wrap: wrap;
  align-items: center; gap: .5rem; margin: 1rem 0; }
.customer-record-actions > a { padding: .55rem .75rem; background: #edf5f8; border-radius: 7px;
  display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; }
.customer-identity p, .customer-back { font-size: .8rem; }
.customer-new-actions { display:flex; justify-content:flex-end; flex-wrap:wrap; gap:.6rem;
margin:0 0 .65rem; }
.customer-new-actions a { color:#17668a; background:#edf5f8; border:1px solid #c9dce4;
border-radius:6px; padding:.5rem .8rem; font-weight:600; text-decoration:none; }
.customer-section { padding: 1rem 1.2rem; margin: 1rem 0; scroll-margin-top: 1rem; }
.customer-section h2 { font-size: 1.1rem; }
.customer-section h3 { font-size: .88rem; }
.customer-related { min-width: 510px; }
.customer-prescriptions { list-style: none; padding: 0; margin: .8rem 0; min-width: 0; }
.customer-prescription { margin: .45rem 0; padding: .5rem .75rem; border: 1px solid #d8e4eb;
  border-left: 3px solid #78a8bd; border-radius: 9px; background: #f4f8fa; }
.customer-rx-summary { display: grid; grid-template-columns: minmax(150px,1fr) minmax(0,2fr)
  auto; align-items: center; gap: .75rem; font-size: .85rem; }
.customer-rx-summary a { font-weight: 600; padding: .4rem 0; }
.customer-section.customer-rental-groups { padding: 0; }
.rental-rx-card, .rental-rx-unlinked { border: 1px solid #dce4ea; border-radius: .8rem;
  padding: 1.2rem; margin: 1rem 0; background: #fff; box-shadow: 0 2px 5px #23374508; }
.rental-rx-card { position: relative; }
.rental-rx-card header { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap;
  padding-right: 20rem; min-height: 2.5rem; }
.rental-rx-card h3 { margin: 0; }
.rental-rx-reference { font-size: .85rem; }
.rental-rx-facts { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,.8fr)
  minmax(0,1.4fr) minmax(0,1fr); gap: 1rem 1.5rem; margin: 1rem 0; }
.rental-rx-facts dt { font-size: .85rem; color: #64748b; }
.rental-rx-facts dd { margin: .25rem 0; overflow-wrap: anywhere; }
.rental-rx-accessory { display: block; }
.rental-rx-duration { white-space: nowrap; color: #526675; }
.rental-rx-lines { list-style: none; padding: 0; margin: .6rem 0; }
.rental-rx-line { display: grid; grid-template-columns: minmax(11rem,1fr) minmax(13rem,1fr)
  minmax(15rem,1fr) minmax(8rem,.6fr); gap: .6rem 1rem; align-items: center;
  border-bottom: 1px solid #dce4ea; border-left: 3px solid transparent; padding: .7rem; }
.rental-rx-line > * { min-width: 0; }
.rental-rx-number { display: flex; flex-direction: column; gap: .15rem; }
.rental-rx-dates { font-variant-numeric: tabular-nums; }
.rental-rx-with-item .rental-rx-item { grid-column: 1 / -1; grid-row: 2; }
.rental-rx-current { background: #eef7fb; border-left-color: #176c8d; }
.rental-rx-current-label { color: #176c8d; font-size: .85rem; font-weight: 600; }
.rental-rx-inline-form { display: flex; gap: .6rem; align-items: end; flex-wrap: wrap; margin: 0; }
.rental-rx-inline-form label { margin: 0; }
.rental-rx-inline-form .rental-rx-otp-label { display: flex; align-items: center; gap: .4rem; }
.rental-rx-inline-form select { font: inherit; padding: .6rem .7rem; border: 1px solid #94a3b8;
    border-radius: .5rem; background: white; max-width: 100%; }
.rental-rx-inline-form input[name="rental_otp"] { width: 7rem; letter-spacing: .1em;
  display: inline-block; }
.rental-rx-inline-form button { padding: .5rem .7rem; }
.rental-rx-inline-form .rental-accessory-choice { display: flex; align-items: center; gap: .4rem; }
.rental-rx-inline-form .rental-accessory-choice input { width: auto; }
.rental-rx-otp { margin: 0; gap: .35rem; }
.rental-rx-otp code { font-size: 1rem; }
.rental-rx-otp:has(.rental-otp-editor[open]) > code { display: none; }
.rental-otp-editor summary, .rental-rx-otp .prescription-copy,
.rental-rx-otp .rental-otp-save { display: inline-flex; align-items: center;
  justify-content: center; width: 34px; height: 34px; min-height: 34px; padding: .35rem;
  border: 0; border-radius: 5px; background: transparent; color: #176b8e; cursor: pointer; }
.rental-otp-editor summary { list-style: none; }
.rental-otp-editor summary::-webkit-details-marker { display: none; }
.rental-otp-editor[open] > summary { display: none; }
.rental-otp-editor form { align-items: center; gap: .2rem; }
.rental-otp-editor input[name="rental_otp"] { width: 6rem; padding: .3rem .4rem; }
.rental-rx-otp .rental-otp-save { background: #edf5fa; }
.rental-otp-editor summary:focus-visible { outline: 2px solid #176b8e; outline-offset: 2px; }
.rental-rx-otp .prescription-copy[hidden] { display: none; }
.rental-rx-edit, .rental-rx-history, .rental-rx-historical { margin: .7rem 0; }
.rental-rx-edit > summary { position: absolute; top: .8rem; right: 1.2rem;
  padding: .6rem .75rem; border: 1px solid #c5dbe6; border-radius: .45rem;
  background: #edf5fa; color: #176c8d; min-height: 44px; box-sizing: border-box; }
.rental-rx-edit > summary { list-style:none; }
.rental-rx-edit > summary::-webkit-details-marker { display:none; }
.rental-rx-edit[open] ~ .rental-rx-facts { display:none; }
.rental-rx-edit[open] ~ .rental-rx-information { display:none; }
.rental-rx-information { white-space:pre-wrap; overflow-wrap:anywhere; }
.rental-rx-edit-body { padding: 1rem; background: #f4f8fa; border-radius: .5rem; }
.rental-rx-edit-body > form { display:grid; gap:.8rem; align-items:start; }
.rental-rx-edit-row { display:grid;
  grid-template-columns:minmax(12rem,1.4fr) minmax(11rem,.85fr) auto;
  gap:.8rem 1.1rem; align-items:end; }
.rental-rx-edit-body label { display:grid; gap:.3rem; font-size:.82rem;
  font-weight:600; color:#4f606a; }
.rental-rx-edit-body > form > button { justify-self:start; }
.rental-rx-edit-body select,.rental-rx-edit-body textarea,
.rental-rx-edit-body input:not([type=checkbox]) { width:100%; min-width:0;
  box-sizing:border-box; font:inherit; font-size:.9rem; font-weight:400;color:#263943;
  min-height:38px;padding:.4rem .6rem;border:1px solid #cbd5df;
  border-radius:6px;background:#fbfcfe; }
.rental-rx-edit-body textarea { display:block; resize:vertical; }
.rental-rx-edit-body .rental-rx-accessory-editor { display:flex;gap:1rem;
  align-items:center;min-height:38px;flex-wrap:wrap; }
.rental-rx-edit-body .rental-accessory-choice { display:flex;gap:.4rem;align-items:center; }
.rental-rx-edit-body .rental-accessory-choice input { width:18px;height:18px;
  min-height:18px;margin:0;accent-color:#176c8d; }
.rental-rx-edit-body [hidden] { display:none!important; }
@media (max-width: 1100px) {
  .rental-rx-facts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rental-rx-line { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .rental-rx-with-item .rental-rx-item { grid-row: 3; }
}
@media (max-width: 680px) {
  .rental-rx-card, .rental-rx-unlinked { padding: .8rem; }
  .rental-rx-card header { padding-right: 0; }
  .rental-rx-edit > summary { position: static; width: fit-content; }
  .rental-rx-facts, .rental-rx-line { grid-template-columns: minmax(0,1fr); }
  .rental-rx-edit-row {
    grid-template-columns:minmax(0,1fr); }
  .rental-rx-edit-body select,.rental-rx-edit-body input:not([type=checkbox]) { min-height:44px; }
  .rental-rx-with-item .rental-rx-item { grid-row: auto; }
}
.rental-rx-edit summary, .rental-rx-history summary,
.rental-rx-historical summary { cursor: pointer; }
.rental-rx-warning { background: #fff4d4; padding: .6rem; }
.customer-provision { line-height: 1.5; overflow-wrap: anywhere; }
.customer-validity { font-size: .8rem; color: #526571; font-variant-numeric: tabular-nums; }
.customer-prescription-notes { margin-top: .35rem; font-size: .83rem; }
.customer-prescription-notes > summary { color: #37677e; cursor: pointer;
  padding: .4rem 0; min-height: 44px; box-sizing: border-box; }
.customer-review-badge { display: inline-block; margin-left: .5rem; padding: .15rem .4rem;
  border-radius: 5px; font-size: .7rem; background: #fff2cd; color: #71571d; }
.customer-prescription-notes .rx-clinical-field { margin-top: .65rem; }
.customer-reminder { margin-top: 1.2rem; padding: .8rem 1rem; background: #faf8f0;
  border: 1px solid #e5e0ce; border-radius: 9px; }
.customer-reminder > summary, .customer-evidence > summary { cursor: pointer;
  min-height: 36px; padding: .4rem 0; box-sizing: border-box; }
.customer-document { padding: .65rem 0; border-bottom: 1px solid #e1e7ec; }
.customer-document-heading { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  justify-content: space-between; font-size: .8rem; }
.customer-evidence { margin: .5rem 0; font-size: .76rem; color: #53636c; overflow-wrap: anywhere; }
.customer-legacy { border-top: 1px solid #dbe3e8; margin-top: 1rem; }
.customer-help { margin: 1.2rem 0; }
.eopyy-intake { width: 100%; margin-inline: auto; overflow-wrap: anywhere; }
.customer-record-actions { justify-content: flex-start; }
.customer-record-actions > a { font-size: .85rem; text-decoration: none;
  padding: .45rem .7rem; border: 1px solid #d2e1e7; }
.customer-record-actions > a.eopyy-primary { background: #17668a; color: white;
  border-color: #17668a; }
.eopyy-inline { flex: 1 1 100%; min-width: 0; margin-top: .5rem; }
.eopyy-host .eopyy-intake { max-width: none; margin: .7rem 0; padding: 1rem 1.2rem;
  border: 1px solid #d6e3e9; box-shadow: none; }
.eopyy-intake h2 { font-size: 1.15rem; margin-top: 0; }
.eopyy-intake h3 { font-size: 1rem; margin-top: 0; }
.eopyy-intake button { font-size: .85rem; min-height: 36px; padding: .45rem .8rem;
  border-radius: 7px; }
.eopyy-intake button:disabled { opacity:.5; cursor:not-allowed; }
.eopyy-intake button.eopyy-secondary { color: #365567; background: #eef3f6; }
.eopyy-intake textarea { font: inherit; width: 100%; box-sizing: border-box;
  resize: vertical; padding: .65rem; border: 1px solid #94a3b8; border-radius: 7px; }
.eopyy-intake textarea[data-eopyy-numbers] { min-height: 2.5rem; }
.eopyy-number-entry { display:flex; flex-wrap:wrap; align-items:center; gap:.35rem;
  padding:.35rem .45rem; border:1px solid #94a3b8; border-radius:7px; background:#fff; }
.eopyy-number-entry:focus-within { outline:2px solid #17668a; outline-offset:1px; }
.eopyy-number-chips { display:contents; }
.eopyy-number-chip { display:inline-flex; align-items:center; gap:.25rem;
  background:#edf4f7; border:1px solid #d2e1e7; border-radius:6px; padding-left:.5rem;
  color:#234c60; font-size:.85rem; font-variant-numeric:tabular-nums; white-space:nowrap; }
.eopyy-intake .eopyy-number-remove { min-height:28px; padding:.15rem .45rem;
  background:transparent; color:#365567; border:0; font-size:1.1rem; }
.eopyy-intake .eopyy-number-value { min-height:28px; padding:.15rem 0;
  background:transparent; color:inherit; border:0; font:inherit; cursor:text; }
.eopyy-intake .eopyy-number-value:focus-visible { outline:2px solid #17668a; }
.eopyy-intake .eopyy-number-suggestion { min-height:30px; padding:.25rem .5rem;
  background:transparent; color:#637580; border:1px dashed #c9d5dc;
  border-radius:6px; font-size:.85rem; font-weight:400; font-variant-numeric:tabular-nums; }
.eopyy-intake .eopyy-number-suggestion:hover { background:#edf4f7; color:#234c60; }
.eopyy-number-suggestion[hidden] { display:none; }
.eopyy-intake .eopyy-number-editor { flex:1 1 17ch; width:auto; min-width:0;
  max-width:100%; min-height:30px; padding:.25rem; margin:0; border:0; box-shadow:none;
  outline:none; font:inherit; }
.eopyy-intake .eopyy-number-editor::placeholder,
.eopyy-intake textarea[data-eopyy-numbers]::placeholder {
  color:#7c8791; font-weight:400; opacity:1; }
@supports (field-sizing:content) {
  .eopyy-intake textarea[data-eopyy-numbers] { field-sizing:content; overflow-y:hidden; }
}
.eopyy-number-error { display:block; color:#a12d35; font-size:.85rem; }
.eopyy-client { font-size: .9rem; border-left: 3px solid #8db7cb; padding-left: .65rem; }
.eopyy-notice { background: #fff8e6; padding: .8rem; border-radius: 7px; }
.eopyy-progress { font-size: .9rem; color: #365567; }
.eopyy-host[aria-busy="true"] > .eopyy-progress {
  font-size: 1.05rem; font-weight: 600; color: #17668a; }
.eopyy-intake form + form { margin-top: .6rem; }
.eopyy-intake > h2 { margin:0 0 .5rem; font-size:1.1rem; }
.eopyy-retrieval-controls { display:flex; flex-wrap:wrap; align-items:center; gap:.35rem 1rem; }
.eopyy-retrieval-controls > form:first-child { flex:1 1 100%; display:flex;
  align-items:center; flex-wrap:wrap; gap:.5rem .8rem; min-width:0; }
.eopyy-retrieval-controls > form:first-child > label { flex:1 1 360px; min-width:0; margin:0; }
.eopyy-retrieval-controls .eopyy-actions { margin:1.3rem 0 0; align-self:center; }
.eopyy-intake .eopyy-reset-button { display:inline-flex; align-items:center; gap:.35rem;
  background:transparent; color:#526571; border:0; box-shadow:none;
  min-height:44px; padding:.35rem .2rem; font-weight:400; }
.eopyy-intake .eopyy-reset-button::before { content:'↻'; font-size:1.3rem; }
.eopyy-intake .eopyy-reset-button:hover { background:transparent; color:#17668a;
  text-decoration:underline; }
.eopyy-retrieval-controls .eopyy-actions .customer-meta { display:none; }
.eopyy-retrieval-controls > form + form { margin:0; }
.eopyy-intake > .unified-pdf-upload { margin-top:.4rem; padding-top:.4rem; }
.eopyy-intake dl { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr);
  gap: .55rem 1rem; margin: 1.5rem 0; }
.eopyy-intake dt { color: #526571; }
.eopyy-intake dd { margin: 0; font-weight: 600; }
.eopyy-intake select { font: inherit; width: 100%; min-width: 0; min-height: 44px;
  padding: .65rem; border: 1px solid #94a3b8; border-radius: 8px; background: #fff; }
.eopyy-intake select:focus-visible { outline: 3px solid #75b6d5; outline-offset: 2px; }
.eopyy-result-heading { display:flex; gap:1rem; justify-content:space-between;
  align-items:center; margin-bottom:.5rem; }
.eopyy-result-heading h3 { font-size:1.15rem; margin:.3rem 0 0; }
.eopyy-eyebrow { font-size:.73rem; letter-spacing:.04em; color:#526571; }
.eopyy-badge { font-size:.73rem; padding:.35rem .6rem; border-radius:20px;
  color:#28566b; background:#edf5f8; white-space:nowrap; }
.eopyy-identity-strip { display:flex; flex-wrap:wrap; gap:.4rem 1.5rem;
  color:#526571; font-size:.85rem; padding-bottom:.85rem; border-bottom:1px solid #e4ebef; }
.eopyy-review-grid { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);
  gap:1.5rem; margin-top:1rem; align-items:start; }
.eopyy-dates,.eopyy-contact-grid,.eopyy-extra-contact-grid {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.8rem; }
.eopyy-intake label { display:block; margin:0 0 .75rem; font-size:.85rem; }
.eopyy-intake input,.eopyy-intake select { margin-top:.3rem; padding:.55rem .65rem;
  min-height:40px; box-sizing:border-box; font-size:.9rem; }
.eopyy-source { padding:1rem; border-radius:9px; background:#f5f8fa; min-width:0; }
.eopyy-source h4 { margin:0 0 .7rem; font-size:.9rem; }
.eopyy-source p { font-size:.85rem; margin:.5rem 0; }
.eopyy-ready { color:#23634d; font-weight:600; }
.eopyy-paste { margin-top:.8rem; font-size:.85rem; }
.eopyy-paste summary { cursor:pointer; color:#17668a; padding:.4rem 0; }
.eopyy-actions,.eopyy-save-bar { display:flex; flex-wrap:wrap; align-items:center;
  gap:.5rem .8rem; margin-top:.65rem; }
.eopyy-save-bar { border-top:1px solid #e4ebef; padding-top:.9rem; }
.eopyy-batch { border-left:3px solid #b5d5e1; padding-left:.75rem; margin:1rem 0; }
.eopyy-batch-client { padding:1rem; margin-bottom:.75rem; }
.eopyy-batch-client h3 { margin-top:0; }
.eopyy-batch-client label,.eopyy-batch-rental label { display:block; margin:0 0 .75rem;
  font-size:.82rem; color:#405764; font-weight:600; }
.eopyy-batch-client input,.eopyy-batch-client select,
.eopyy-batch-rental input,.eopyy-batch-rental select,.eopyy-batch-rental textarea {
  width:100%; min-width:0;
  min-height:40px; margin-top:.3rem; padding:.55rem .65rem; box-sizing:border-box;
  font:inherit; font-weight:400; color:#243842; border:1px solid #c8d6df;
  border-radius:6px; background:#fbfdfe; }
.eopyy-batch input:focus-visible,.eopyy-batch select:focus-visible,
.eopyy-batch textarea:focus-visible { outline:2px solid #3986a5; outline-offset:1px;
  border-color:#3986a5; background:#fff; }
[data-rental-equipment] { min-width:0; margin:1rem 0; padding:.8rem;
  border:1px solid #d6e3e9; border-radius:8px; }
[data-rental-equipment] legend { font-weight:600; padding:0 .3rem; }
[data-rental-equipment] p { font-size:.85rem; margin:.3rem 0 .8rem; }
.eopyy-batch [hidden] { display:none !important; }
.eopyy-batch-client { display:grid; grid-template-columns:minmax(0,1fr) auto;
  gap:.65rem 1.5rem; }
.eopyy-batch-identity { grid-column:1/-1; display:flex; align-items:center;
  justify-content:space-between; flex-wrap:wrap; gap:.5rem 1.5rem; }
.eopyy-batch-identity h3 { margin:0; font-size:1.15rem; }
.eopyy-batch-amka { display:flex; align-items:baseline; gap:.5rem; margin:0;
  border:1px solid #dce5e9; border-radius:5px; padding:.3rem .55rem; }
.eopyy-batch-amka span { color:#526571; font-size:.8rem; }
.eopyy-batch-amka strong { font-size:.95rem; font-variant-numeric:tabular-nums; }
.eopyy-batch-client > .customer-meta { margin:0; }
.eopyy-batch-client > .eopyy-batch-match,.eopyy-batch-client > .eopyy-notice,
.eopyy-batch-client > .eopyy-batch-provision,.eopyy-batch-rentals { grid-column:1/-1; }
.eopyy-batch-client > label { margin:0; }
.eopyy-batch-choice { grid-column:1/-1; margin:0; min-width:0; width:100%;
  display:flex; align-items:center; flex-wrap:wrap; gap:.5rem 1rem; }
.eopyy-batch-choice > label { margin:0; width:min(100%,24rem); }
.eopyy-candidate-cards { display:grid; gap:.65rem; width:100%; min-width:0; }
.eopyy-candidate-card { display:flex; flex-wrap:wrap; align-items:center;
  justify-content:space-between; gap:.75rem; padding:.85rem;
  border:1px solid #dce5e9; border-radius:8px; background:#f8fafb; }
.eopyy-candidate-card > div { min-width:0; overflow-wrap:anywhere; }
.eopyy-candidate-card p { margin:.2rem 0 0; }
.eopyy-candidate-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.75rem; }
.eopyy-rental-candidates[hidden],[data-rental-change][hidden] { display:none; }
.eopyy-rental-candidates { display:grid; gap:.65rem; margin:.5rem 0; }
.eopyy-candidate-cards > button,.eopyy-rental-candidates > button {
  justify-self:start; background:#fff; color:#176784;
  border:1px solid #a6c1cc; }

.eopyy-batch-saved-profile { grid-column:1/-1; min-width:0; }
.eopyy-batch-saved-profile [data-profile-proposal] .card {
  padding:.65rem; margin:.65rem 0 0; box-shadow:none; background:#f5f8fa; }
.eopyy-batch-saved-profile [data-profile-proposal] h2 { font-size:.85rem; }
.eopyy-batch-saved-profile [data-profile-proposal] p { font-size:.8rem; }
.eopyy-batch-new-client { font-weight:600; font-size:.9rem; color:#244b5e; }
.eopyy-batch-choice .eopyy-batch-match { margin:0; font-size:.8rem;
  line-height:1.4; color:#745c25; }
.eopyy-batch-client .eopyy-contact-grid { grid-template-columns:repeat(3,minmax(0,1fr));
  gap:.7rem 1rem; }
.eopyy-batch-client .eopyy-contact-grid > label { margin:0; }
.eopyy-batch-client .eopyy-contact-grid > label:has([data-batch-contact=address]) {
  grid-column:span 2; }
.eopyy-batch-rental { padding:1rem; margin:.75rem 0 0; min-width:0; }
.eopyy-batch-rental [data-rental-equipment] { border:0; border-radius:0;
  padding:0; margin:0 0 1rem; }
.eopyy-batch-rental [data-rental-equipment] + [data-rental-equipment] {
  border-top:1px solid #e4ebef; padding-top:1rem; }
.eopyy-batch-rental [data-rental-equipment] > legend { font-size:1.05rem;
  line-height:1.4; padding:0 0 .65rem; color:#244b5e; }
.eopyy-batch-rental textarea { display:block; resize:vertical; min-height:4.2rem; }
.eopyy-batch-prescriptions { border-top:1px solid #dce8ee; padding-top:.5rem; }
.eopyy-batch-contact-summary { grid-column:1/-1; display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr)); gap:.8rem 1.5rem;
  margin:.25rem 0 0; overflow-wrap:anywhere; }
.eopyy-batch-contact-summary dt { color:#526571; font-size:.8rem; font-weight:600;
 margin-bottom:.25rem; }
.customer-pinned-identity dt { color:#526571; font-weight:600; }
.customer-pinned-identity dd { margin:.2rem 0; }
.eopyy-batch-contact-summary dd { margin:0; font-size:1.05rem; line-height:1.4; }
.eopyy-batch-contact-summary [data-contact-name=address] { grid-column:span 2; }
.eopyy-profile-toolbar { display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:.4rem 1rem; margin:0 0 .9rem; font-size:.8rem; }
.eopyy-existing-client { color:#24695b; background:#edf6f2; border-radius:5px;
  padding:.2rem .5rem; font-weight:600; }
.eopyy-profile-addition { color:#24695b; }
.eopyy-profile-addition small { display:block; font-size:.75rem; font-weight:400; }
.eopyy-profile-difference { display:block; color:#8a6022; font-size:.78rem;
  font-weight:400; margin-top:.25rem; }
.eopyy-batch-contact-summary input { width:100%; min-width:0; box-sizing:border-box;
  font-size:.9rem; font-weight:400; min-height:2.6rem; }
.eopyy-profile-inline-input { margin:0; display:block; }
.eopyy-profile-inline-input > span { position:absolute; width:1px; height:1px;
  overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.eopyy-batch-modes { display:flex; gap:.4rem; border:0; padding:0; margin:.2rem 0;
  grid-column:1/-1; }
.eopyy-batch-modes legend { font-size:.8rem; float:left; margin-right:.75rem; line-height:2.3rem; }
.eopyy-batch-rental .eopyy-batch-modes label { display:flex; align-items:center; gap:.4rem;
  margin:0; padding:.35rem .7rem; border:1px solid #9bb6c7; border-radius:7px; cursor:pointer; }
.eopyy-batch-rental .eopyy-batch-modes input { width:18px; min-height:18px;
  height:18px; margin:0; accent-color:#12679b; }
.eopyy-batch-modes label:has(:checked) { background:#edf5f8; border-color:#17668a; }
.eopyy-batch-contact-editor { grid-column:1/-1; font-size:.85rem; min-width:0; }
.eopyy-batch-contact-editor summary { cursor:pointer; color:#17668a; }
.eopyy-batch-contact-editor[open] { grid-column:1/-1; }
.eopyy-batch-detail-actions { grid-column:1/-1; display:flex; flex-wrap:wrap;
  justify-content:space-between; gap:.4rem 1rem; }
.eopyy-batch-detail-actions > button { padding:.2rem 0;
  border:0; background:transparent; color:#17668a; font-size:.8rem; text-decoration:underline; }
.eopyy-batch-rental .eopyy-rental-main-fields {
  grid-template-columns:max-content minmax(180px,320px) minmax(175px,220px);
  justify-content:start; align-items:start; column-gap:1.75rem; row-gap:1rem; }
.eopyy-rental-main-fields > label,.eopyy-rental-main-fields .customer-date > label { margin:0; }
.eopyy-rental-main-fields .customer-date { gap:0; }
.eopyy-rental-main-fields .eopyy-batch-modes { grid-column:auto; margin:0; }
.eopyy-rental-main-fields .eopyy-batch-modes legend { float:none; line-height:inherit;
  font-size:.85rem; margin:0 0 .3rem; }
.eopyy-rental-main-fields .eopyy-batch-modes label { min-height:40px; box-sizing:border-box; }
.eopyy-rental-accessories { display:flex; flex-wrap:wrap; gap:1.25rem; margin:.7rem 0 .2rem; }
.eopyy-rental-accessories > label { display:flex; align-items:center; gap:.45rem; margin:0; }
.eopyy-rental-accessories [hidden] { display:none !important; }
.eopyy-rental-accessories input[type=checkbox] { width:1rem; height:1rem; margin:0; }
.eopyy-rental-accessories select { width:auto; }
.eopyy-batch .eopyy-compact-record { padding:.45rem .8rem; margin:.3rem 0;
  box-shadow:none; min-width:0; border-left:2px solid #dce8ee; }
.eopyy-batch-prescriptions { margin-left:.7rem; }
.eopyy-compact-record > .eopyy-result-heading,
.eopyy-compact-record > .eopyy-identity-strip { display:none; }
.eopyy-compact-record .eopyy-review-grid { grid-template-columns:minmax(0,1fr);
  gap:1rem; margin:0; }
.eopyy-compact-record .eopyy-record { min-width:0; }
.eopyy-period-summary { display:flex; align-items:center; gap:.35rem; flex-wrap:wrap; }
.eopyy-period-identity { display:flex; flex:1 1 350px; min-width:0; align-items:center;
  flex-wrap:wrap; gap:.3rem 1rem; font-size:.9rem; overflow-wrap:anywhere; }
.eopyy-period-reference { display:flex; align-items:center; flex-wrap:wrap; gap:.6rem; }
.eopyy-period-dates { color:#294859; font-size:.95rem; font-weight:650;
  font-variant-numeric:tabular-nums; }
.eopyy-intake label.eopyy-period-otp { flex:0 0 140px; display:flex; align-items:center;
  gap:.4rem; margin:0; font-size:.75rem; white-space:nowrap; }
.eopyy-intake .eopyy-period-otp input { width:98px; letter-spacing:.12em;
  min-height:36px; margin-top:.1rem; padding:.35rem .5rem; }
.eopyy-intake .eopyy-period-edit { min-width:36px; min-height:36px; padding:.25rem;
  background:transparent; color:#234c60; border:0; box-shadow:none; font-size:.85rem;
  white-space:nowrap; }
.eopyy-intake .eopyy-period-edit[aria-expanded=true] { font-size:.85rem; }
.eopyy-intake .eopyy-period-edit:focus-visible { outline:2px solid #17668a; outline-offset:2px; }
.eopyy-period-editor { margin-top:.65rem; padding-top:.7rem; border-top:1px solid #e4ebef; }
.eopyy-period-main-fields { display:grid;
  grid-template-columns:minmax(0,1fr) minmax(150px,190px) minmax(150px,190px);
  gap:.8rem; align-items:start; }
.eopyy-period-main-fields > label,.eopyy-period-main-fields .customer-date > label { margin:0; }
.eopyy-period-main-fields input { min-height:38px; padding:.4rem .55rem; }
.eopyy-period-main-fields .customer-date { gap:0; }
.eopyy-intake .eopyy-period-comment-label { display:block; margin-top:1rem; }
.eopyy-intake textarea[data-period-comment-editor] { display:block; min-height:4rem;
  max-height:none; resize:none; overflow:hidden; font-weight:400; line-height:1.5; }
.eopyy-period-provision,.eopyy-batch-provision { font-size:.9rem; font-weight:600;
  overflow-wrap:anywhere; margin:.5rem 0; }
.eopyy-intake .eopyy-period-comments { font-size:.75rem; padding:.25rem .35rem;
  min-height:36px; background:transparent; color:#526571; border:0; box-shadow:none; }
.eopyy-period-comment-text { white-space:pre-line; overflow-wrap:anywhere; font-size:.9rem;
  font-weight:400; line-height:1.5; margin:.6rem 0; }
.eopyy-compact-record .eopyy-source { grid-row:auto; padding:0; display:flex;
  align-items:center; gap:.6rem; background:transparent; font-size:.85rem; }
.eopyy-compact-record .eopyy-source h4 { display:none; }
.eopyy-compact-record .eopyy-source a { display:inline-flex; align-items:center; min-height:32px; }
.eopyy-compact-record .eopyy-source:has(form) { grid-column:1/-1; display:block; }
.eopyy-period-otp input[readonly] { border-color:transparent; background:transparent; }
@media (max-width:760px) {
  .eopyy-period-main-fields { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .eopyy-period-main-fields > label { grid-column:1/-1; }
  .eopyy-batch-prescriptions { margin-left:.25rem; }
  .eopyy-batch-rental .eopyy-rental-main-fields { grid-template-columns:minmax(0,1fr);
    justify-content:stretch; gap:.7rem; }
}
@media (max-width:640px) {
  .eopyy-batch-client { grid-template-columns:minmax(0,1fr); }
  .eopyy-batch-choice { justify-self:start; }
  .eopyy-batch-contact-summary { grid-template-columns:minmax(0,1fr); gap:.65rem; }
  .eopyy-batch-contact-summary [data-contact-name=address] { grid-column:auto; }
  .eopyy-retrieval-controls .eopyy-actions { margin-top:0; }
  .eopyy-batch-rental .eopyy-rental-main-fields,
  .eopyy-batch-client .eopyy-contact-grid { grid-template-columns:minmax(0,1fr); gap:.7rem; }
  .eopyy-batch-client .eopyy-contact-grid > label:has([data-batch-contact=address]) {
    grid-column:auto; }
  .eopyy-extra-contact-grid { grid-template-columns:minmax(0,1fr); }
  .eopyy-batch { padding-left:.4rem; }
  .eopyy-batch .eopyy-compact-record { padding:.7rem; }
  .eopyy-compact-record .eopyy-review-grid { grid-template-columns:minmax(0,1fr); gap:.4rem; }
  .eopyy-compact-record .eopyy-source { display:flex; align-items:center; gap:.7rem;
    max-width:none; flex-wrap:wrap; }
  .eopyy-compact-record .eopyy-source h4 { margin:0; }
  .eopyy-period-identity { flex-basis:100%; }
}
.eopyy-batch-rental > .eopyy-save-bar { padding-top:1rem; margin-bottom:0; }
.eopyy-save-bar .customer-meta { flex:1 1 180px; font-size:.75rem; }
.eopyy-intake button.eopyy-link { background:transparent; border:0; color:#17668a;
  text-decoration:underline; box-shadow:none; padding:.35rem; }
.eopyy-drive-results { max-height:240px; overflow:auto; margin-top:.8rem; }
.eopyy-drive-results form { margin:.25rem 0; }
.eopyy-intake button.eopyy-file { background:white; color:#17668a; border:1px solid #d6e3e9;
  text-align:left; white-space:normal; width:100%; overflow-wrap:anywhere; }
.eopyy-profile-changes .card { box-shadow:none; border:0; background:#f5f8fa;
  margin:.7rem 0; padding:.7rem; }
.eopyy-profile-changes h2 { font-size:.85rem; }
.eopyy-profile-changes p { font-size:.77rem; margin:.35rem 0; }
.eopyy-profile-changes dl { font-size:.85rem; margin:.5rem 0; }
.eopyy-status { border-left:3px solid #71a7bc; padding:.5rem .8rem; font-size:.85rem; }
.unified-pdf-upload { margin-top:1rem; border-top:1px solid #e4ebef; padding-top:.8rem; }
.eopyy-source-tabs { display:flex; gap:.3rem; margin:.4rem 0 1rem; }
.eopyy-source-tabs button { background:transparent; color:#52636e; border:1px solid #d5e1e7;
  border-radius:7px; padding:.5rem .85rem; font-weight:600; }
.eopyy-source-tabs button[aria-selected="true"] { background:#eaf5f9; color:#17668a;
  border-color:#17668a; box-shadow:inset 0 -2px #17668a; }
.eopyy-intake > .eopyy-upload-panel { border-top:0; padding-top:0; margin-top:0; }
.unified-pdf-upload > form { display:flex; flex-wrap:wrap; align-items:flex-end; gap:.6rem 1rem; }
.unified-pdf-upload > form > label { flex:1 1 360px; min-width:0; margin:0; }
.unified-pdf-upload .eopyy-actions { margin:0; align-items:center; }
.eopyy-upload-panel[hidden], .eopyy-retrieval-controls[hidden] { display:none; }
.unified-pdf-upload summary { cursor:pointer; color:#17668a; font-weight:600; }
.unified-pdf-upload[open] > summary { margin-bottom:.8rem; }
.unified-period { min-width:0; margin:1rem 0; padding:1rem; border:1px solid #d6e3e9;
  border-radius:9px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem; }
.unified-period legend { font-weight:600; padding:0 .4rem; }
.unified-period > details,.unified-period > label:last-child { grid-column:1/-1; }
[data-client-profile] { margin-bottom:1.25rem; }
[data-client-profile][data-editing] { padding:1.2rem; border:1px solid #d6e3e9;
  border-radius:12px; background:white; }
[data-client-profile] h2 { font-size:1.15rem; }
[data-profile-status] { border-left:3px solid #71a7bc; padding:.5rem .8rem; font-size:.85rem; }
.profile-differences { margin-top:.7rem; }
@media (max-width:900px) {
  .eopyy-review-grid { grid-template-columns:1fr; }
  .eopyy-source { grid-row:1; }
}
@media (max-width: 640px) {
  .unified-period { grid-template-columns:1fr; padding:.7rem; }
  .eopyy-result-heading { align-items:flex-start; flex-direction:column; gap:.5rem; }
  .eopyy-dates,.eopyy-contact-grid { grid-template-columns:1fr; gap:0; }
  .eopyy-intake dl { grid-template-columns: 1fr; gap: .25rem; }
  .eopyy-intake dd { margin-bottom: .5rem; }
  .customer-identity dl.customer-details-grid { grid-template-columns: repeat(2,minmax(0,1fr));
    gap: .9rem; }
  .customer-rx-summary { grid-template-columns: 1fr; gap: .35rem; }
  .customer-rx-summary a { min-height: 44px; box-sizing: border-box; display: flex;
    align-items: center; }
  .customer-prescription { padding: .7rem; }
  .customer-filters label { flex: 1 1 100%; }
  .customer-filters select[name=sort] { width: 100%; }
  .customer-filters .customer-date { flex: 1 1 100%; }
  .customer-date-control input[data-greek-date] { width: 100%; }
  .customer-category-filters button { padding: .45rem .6rem; }
  .customer-section, .customer-identity { padding: .75rem; }
}

[data-saved-prescriptions] .saved-rx-heading{
padding:.85rem 1rem;
background:#e8f1f6;
border-left:3px solid #217494;
border-radius:8px}
[data-saved-prescriptions] .saved-rx-heading h2{font-size:1.1rem}
[data-saved-prescriptions] .saved-rx-contact{font-size:.875rem}
[data-saved-prescriptions] .saved-rx-filter{flex:0 1 230px}
[data-saved-prescriptions] .saved-rx-filter select{width:100%}

.saved-rx-groups{
display:grid;
gap:1rem;
margin-top:1rem}

.saved-rx-group{
border:1px solid #d8e4e9;
border-radius:12px;
overflow:hidden;
background:#fff}

.saved-rx-group-header{
padding:1rem 1.15rem;
background:#f3f8fa;
border-bottom:1px solid #d8e4e9}

.saved-rx-group-header h3{
margin:0 0 .65rem;
font-size:calc(1rem + 2px)}

.saved-rx-contexts{
display:grid;
grid-template-columns:minmax(0,1fr);
gap:.85rem}

.saved-rx-context{
min-width:0}
.saved-rx-group-header h3>a{
font-weight:650;
overflow-wrap:anywhere}

.saved-rx-context dl{
display:grid;
grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,.7fr) minmax(0,1.7fr);
gap:.45rem 1.25rem;
margin:0}

.saved-rx-context dt{
font-size:calc(.78rem + 2px);
color:#647580}
.saved-rx-context dd{
margin:0;
font-size:calc(1rem + 2px);
overflow-wrap:anywhere}
.saved-rx-context dd.saved-rx-missing{
font-size:.9rem;
color:#647580;
font-weight:400}

.saved-rx-shared-note{
margin:0;
grid-column:1/-1;
font-size:.88rem;
color:#4a626f}

.saved-rx-periods{
list-style:none;
padding:0!important;
margin:0!important}

.saved-rx-periods>li.saved-rx-period{
display:grid;
grid-template-columns:minmax(10rem,1fr) minmax(13rem,1fr) auto;
gap:.65rem 1rem;
align-items:center;
padding:calc(.7rem - 1px) 1.15rem;
border-bottom:1px solid #e5ebee}

.saved-rx-periods>li:last-child{
border-bottom:0}

.saved-rx-periods>li.saved-rx-with-provision{
grid-template-columns:minmax(10rem,1fr) minmax(13rem,2fr) minmax(13rem,1fr) auto}

.saved-rx-period>*{
min-width:0;
overflow-wrap:anywhere}
.saved-rx-period .saved-rx-dates{
font-variant-numeric:tabular-nums;
font-size:.9rem}

.saved-rx-period .customer-number,.saved-rx-pdf{
font-size:1rem;
white-space:nowrap}
.saved-rx-period .customer-number{font-weight:600}
.saved-rx-period small{
display:block;
margin-top:.2rem}

.saved-rx-unlinked-header{
background:#faf8f1}
.saved-rx-unlinked-header p{
margin:0;
font-size:.88rem}

.prescription-pending-group + .prescription-pending-group{
border-top:1px solid #d8e4e9}
.prescription-pending-header{
padding:.65rem 1.15rem;
background:#faf8f1;
overflow-wrap:anywhere}
.prescription-pending-header h4{
margin:0 0 .3rem;
font-size:.95rem}
.prescription-pending-header p{
margin:.2rem 0 0;
font-size:.85rem}

.saved-rx-compact .saved-rx-groups{gap:.65rem;margin-top:.5rem}
.saved-rx-compact .saved-rx-group-header{padding:.7rem 1rem}
.saved-rx-compact .saved-rx-group-header h3{margin-bottom:.4rem;font-size:1.05rem}
.saved-rx-compact .saved-rx-context dl{display:flex;flex-wrap:wrap;gap:.35rem 1.5rem}
.saved-rx-compact .saved-rx-context dl>div{display:flex;align-items:baseline;gap:.4rem}
.saved-rx-compact .saved-rx-context dt{font-size:.85rem}
.saved-rx-compact .saved-rx-context dd{font-size:.95rem}
.saved-rx-summary{display:flex;justify-content:space-between;flex-wrap:wrap;gap:.25rem 1rem;
margin-top:.45rem;font-size:.9rem;color:#4a626f;line-height:1.5}
.saved-rx-summary a{color:inherit}
.saved-rx-summary strong{font-weight:700}
.saved-rx-empty{padding:.65rem 1rem;margin:0;color:#647580;font-size:.9rem}
.saved-rx-compact .saved-rx-periods>li.saved-rx-period{
grid-template-columns:minmax(10rem,1fr) minmax(13rem,1fr) auto auto;
padding:.6rem 1rem;gap:.45rem .9rem}
.saved-rx-otp{font-size:.85rem;color:#526773;white-space:nowrap}
.saved-rx-otp code{font-size:.95rem;color:#233e4c;font-variant-numeric:tabular-nums}

@media(max-width:900px){
.saved-rx-context dl{grid-template-columns:repeat(2,minmax(0,1fr))}
.saved-rx-periods>li.saved-rx-with-provision{
grid-template-columns:minmax(9rem,1fr) minmax(12rem,2fr)}
.saved-rx-with-provision .saved-rx-pdf{
justify-self:end}
.saved-rx-compact .saved-rx-periods>li.saved-rx-period{grid-template-columns:minmax(0,1fr) auto}
}

@media(max-width:620px){
.saved-rx-context dl{grid-template-columns:minmax(0,1fr)}
.saved-rx-periods>li.saved-rx-period,.saved-rx-periods>li.saved-rx-with-provision{
grid-template-columns:minmax(0,1fr) auto}
.saved-rx-period .saved-rx-dates,.saved-rx-period .saved-rx-provision{
grid-column:1/-1}
.saved-rx-period .saved-rx-pdf{
grid-column:2;
grid-row:1}
.saved-rx-contexts{
grid-template-columns:minmax(0,1fr)}
.saved-rx-compact .saved-rx-context dl>div{flex-wrap:wrap}
.saved-rx-compact .saved-rx-period .saved-rx-otp{grid-column:1/-1}
}


.oxygen-warning { color:#9f242b; background:#fff4f3; border-left:3px solid #bc3941;
  border-radius:4px; padding:.45rem .65rem; margin:.4rem 0; font-size:.9rem;
  line-height:1.45; font-weight:400; grid-column:1/-1; min-width:0; }
.oxygen-warning-item { display:flex; align-items:center; gap:.4rem; font-weight:600; }
.oxygen-warning-item + .oxygen-warning-item { margin-top:.2rem; }
.oxygen-warning-icon { flex:none; }
.oxygen-warning-compact { font-size:.85rem; }
.rental-rx-number > .oxygen-warning { margin-top:.35rem; }


.unified-drive-picker .eopyy-drive-input { display:flex; align-items:end; gap:.6rem; }
.unified-drive-picker .eopyy-drive-input label { flex:1; min-width:0; }
.unified-drive-picker .eopyy-drive-input button { flex:none; }
.unified-drive-picker .eopyy-drive-results { max-height:none; overflow:visible; }
.eopyy-intake .unified-drive-picker button.eopyy-drive-folder {
 background:#edf4fa; border:1px solid #b7cedf;
 color:#164864; font-weight:650; width:100%; text-align:left; }
.eopyy-intake .unified-drive-picker button.eopyy-drive-pdf {
 background:white; border:1px solid #dce5eb;
 width:100%; text-align:left; }
.unified-drive-picker .eopyy-drive-inline { border-left:3px solid #b7cedf;
 margin:.4rem 0 .8rem .6rem; padding:.5rem .7rem; }
.eopyy-drive-status { font-size:.85rem; color:#476274; min-height:1.2em; }
.eopyy-drive-busy .eopyy-drive-status::before { content:""; display:inline-block;
 width:.8rem; height:.8rem; border:2px solid #b7cedf; border-top-color:#17668a;
 border-radius:50%; margin-right:.5rem; animation:eopyy-drive-spin .7s linear infinite; }
@keyframes eopyy-drive-spin { to { transform:rotate(360deg); } }
@media(prefers-reduced-motion:reduce) {
 .eopyy-drive-busy .eopyy-drive-status::before { animation:none; } }
@media(max-width:540px) {
 .unified-drive-picker .eopyy-drive-input { flex-direction:column; align-items:stretch; } }

:root{--workspace-width:1536px;color:#203648;background:#f4f7fa}
body{background:#f4f7fa}
.topbar{border-bottom:1px solid #e0e7ec;box-shadow:0 3px 16px #183a5210;
 background:linear-gradient(to right,#0874b5 78%,#ee482a 78%) top/100% 3px no-repeat,#fff;
 padding-top:3px}
.topbar-inner{min-height:100px;gap:18px;padding:14px 0}
.brand-logo{width:232px;height:auto;max-width:100%}
.main-nav{margin-left:18px;gap:3px;font-size:17px;min-width:0}
.main-nav>a,.main-nav .nav-group-start{padding:12px 13px;border-radius:9px;color:#506577;
 min-height:48px;margin-left:0;border:0;gap:7px;box-sizing:border-box}
.main-nav>a:hover,.main-nav>a:focus-visible{background:#eef3f6;color:#245d7d;text-decoration:none}
.main-nav>a[aria-current=page]{color:#17648d;background:#e7f1f7;box-shadow:none}
.main-nav .home-link{display:none}
.main-nav .nav-group-start:before{display:none}
.nav-section-icon{width:18px;height:18px;flex:0 0 18px}
.header-utilities{gap:9px}.header-utilities .help-link{font-size:0;padding:3px}
.help-mark{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;
 border:1.5px solid #849aa9;background:white;color:#496679;font-size:18px;font-weight:650}
.account-menu>summary{border-radius:50%;background:#176d9c;color:white;width:36px;
 height:36px;min-width:36px;display:grid;place-items:center;padding:7px}
.account-menu>summary .account-name{display:none}
.account-initials{font-size:16px;line-height:1;font-weight:700;letter-spacing:.02em}
.desk-subbar{display:flex;justify-content:space-between;align-items:center;
 max-width:var(--workspace-width);width:calc(100% - 2rem);margin:0 auto;padding:10px 0;
 color:#687c8c;font-size:13px}.desk-clock{font-weight:600;color:#40596b;
 margin-left:12px;padding-left:12px;border-left:1px solid #cbd7df;font-variant-numeric:tabular-nums}
.page{margin-top:22px}.card{border:1px solid #e0e7ec;border-radius:12px;
 box-shadow:0 3px 12px #263d4b04}h1{color:#203648}
.rental-managed-list table,table{font-size:16px}
.rental-managed-list th,th{font-size:14px;color:#40596b;font-weight:700;background:#f7f9fb;
 text-transform:none;letter-spacing:normal}
tbody>tr:nth-child(odd){background:#f8fafb}tbody>tr:nth-child(even){background:#e9eef2}
tr[data-rental-row]:hover,tr[data-sale-row]:hover,tr[data-customer-row]:hover{background:#fcf0ef}
tr[data-rental-row]:focus-within,tr[data-sale-row]:focus-within,
tr[data-customer-row]:focus-within{box-shadow:inset 3px 0 #c45151}
.rental-records td>a:first-child{font-size:17px}
.funding-label{font-size:14px;color:#687c8c;display:table;margin-top:4px;
 padding:2px 7px;border-radius:5px;line-height:1.4}
.rental-kind-dapy .funding-label,.funding-label.rental-kind-dapy{background:#e1edf7;color:#245f8b}
.rental-kind-private .funding-label,.funding-label.rental-kind-private{
 background:#e1e5e8;color:#586776}
.rental-tabs{display:flex;gap:22px;border-bottom:1px solid #e0e7ec;
 margin-bottom:18px}.rental-tabs>a{background:none;color:#607889;border:0;border-radius:0;
 border-bottom:3px solid transparent;padding:14px 4px;font-size:16px}
.rental-tabs>a[aria-current=page]{color:#086caa;border-bottom-color:#dc493b;background:none}
.rental-tabs>a[href*="view=active"],.rental-tabs>a[href*="view=history"],
.rental-tabs>a[href*="view=review"]{font-size:14px}
/* Renewal views share a shell; existing private controls and forms stay intact. */
.renewals-workspace .renewal-hero{gap:24px;margin:0 0 20px}
.renewals-workspace .system-status{background:#f7f9fb;box-shadow:none}
.renewals-workspace .system-status dt,.renewals-workspace .system-status dd{font-size:14px}
.renewals-workspace .renewal-introduction .section-description{margin:0 0 16px;max-width:100%}
.renewals-workspace .renewal-status-strip{display:flex;align-items:center;flex-wrap:wrap;
 gap:12px 24px;padding:12px 16px;margin:0 0 14px;border-radius:9px;
 background:#fffbed;border-color:#e9dfb9}
.renewals-workspace .renewal-status-strip dl{display:flex;flex-wrap:wrap;gap:12px 28px;flex:1}
.renewals-workspace .renewal-status-strip dl>div{display:flex;align-items:baseline;gap:9px;
 justify-content:flex-start}
.renewals-workspace .renewal-status-strip dt{font-weight:500}
.renewals-workspace .renewal-status-strip dd{text-align:left;color:#365b70}
.renewals-workspace .renewal-status-strip .staff-controls{margin:0;flex:0 0 auto}
.renewals-workspace .renewal-status-strip .staff-controls form{margin:0}
.renewals-workspace .renewal-status-strip .staff-controls button{width:auto;font-size:14px;
 min-height:38px;background:white;color:#315f79;border:1px solid #cbd9e2}
.renewals-workspace .renewal-status-strip .staff-controls button:hover{background:#e8f0f5}
@media(max-width:680px){.renewals-workspace .renewal-status-strip{align-items:flex-start}
 .renewals-workspace .renewal-status-strip dl{flex-direction:column;gap:8px}
 .renewals-workspace .renewal-status-strip dl>div{flex-wrap:wrap;gap:4px 9px}}

.renewals-workspace .board-table-card{box-shadow:none;padding:0;overflow:hidden}
.renewals-workspace .renewal-identity-search{padding:14px 16px;gap:10px;align-items:end}
.renewals-workspace .renewal-identity-search label{max-width:420px;margin:0}
.renewals-workspace .renewal-identity-search button{margin:0;min-height:44px}
.renewals-workspace .renewal-identity-search>a{align-self:center}
.renewals-workspace .renewal-identity-search input{min-height:42px}
.renewals-workspace .date-heading h2{font-size:22px;margin:0 0 6px;line-height:1.3}
.renewals-workspace .date-heading p{font-size:14px;line-height:1.4}
.renewals-workspace .date-arrow{box-sizing:border-box;padding-bottom:3px;align-self:center}
.renewals-workspace .renewal-records th{color:#40596b;font-weight:650;background:#f7f9fb}
.renewal-hero .eyebrow{display:none}
[data-sales-workspace] .sales-table tbody td{font-size:17px}
[data-sales-workspace] .sales-table th{font-size:15px}
[data-sales-workspace] .sales-table small{font-size:15px}
.customers-workspace .customer-table tbody th,.customers-workspace .customer-table tbody td{
 font-size:17px;line-height:1.5}
.customers-workspace .customer-table thead th{font-size:15px}
.customers-workspace .customer-table .customer-meta,
.customers-workspace .customer-table small{font-size:15px}
.coverage-state{display:inline-block;max-width:100%;box-sizing:border-box;
 white-space:normal;overflow-wrap:normal;line-height:1.4;font-size:14px;
 padding:3px 7px;border-radius:5px;background:#edf2f5;color:#486171}
.coverage-covered{background:#eaf5f1;color:#296757}
.coverage-soon,.coverage-awaiting,.coverage-review{background:#fff4df;color:#806024}
.coverage-future{background:#eaf2fb;color:#34668e}
.coverage-detail,.coverage-reminder{display:block;font-size:13px;line-height:1.5;
 color:#617381;margin-top:4px;white-space:normal}
.rental-managed-list .rental-records td .contact-phone{font-size:15px;white-space:normal;
 overflow-wrap:anywhere}
.rental-managed-list .rental-communication{font-size:14px}
.rental-managed-list .rental-communication small{font-size:13px;white-space:normal}
.rental-missing-amka{font-size:13px;color:#876329;font-weight:500;white-space:normal}
.rental-managed-list .rental-records td .rental-comment-action{font-size:14px;
 padding:5px 7px;white-space:normal}

/* Explicit rental bands include related comments; prescription rows remain white. */
.rental-records tr.rental-band-a{background:#f8fafb}
.rental-records tr.rental-band-b{background:#e9eef2}
.rental-records tr.rental-data>td{border-top:2px solid #d6e0e7;padding-top:13px;padding-bottom:13px}
.rental-records tr.rental-data:hover>td{background:#fcf0ef}
.rental-records tr.rental-prescription-row>td{background:inherit;padding:2px 18px 10px 38px;
 border-top:0;border-bottom:1px solid #d8e2e9}
.rental-prescription-line{position:relative;display:grid;align-items:center;gap:20px;
 grid-template-columns:minmax(200px,.9fr) minmax(400px,1.6fr) auto;
 width:75%;min-width:900px;box-sizing:border-box;padding:8px 12px;font-size:14px;background:#fff}
.rental-prescription-line:before{content:"";position:absolute;left:-24px;top:-14px;width:17px;
 height:calc(50% + 14px);border-left:1px solid #91a8b7;border-bottom:1px solid #91a8b7}
.rental-prescription-line:after{content:"";position:absolute;left:-11px;top:calc(50% - 3px);
 width:5px;height:5px;border-right:1px solid #91a8b7;border-top:1px solid #91a8b7;
 transform:rotate(45deg)}
.rental-prescription-reference{display:inline-flex;align-items:center;gap:5px;
 font-weight:650;white-space:nowrap;font-size:14px;color:#17668a}
.rental-prescription-reference small{font-size:12px;font-weight:400}
.rental-prescription-period{line-height:1.45;white-space:nowrap;font-size:14px;color:#466072}
.rental-prescription-future{display:inline;font-size:13px;color:#647987;margin-left:5px}
.rental-prescription-otp{margin-left:auto;display:flex;align-items:center;gap:10px;white-space:nowrap}
.rental-prescription-note{margin:0;padding:12px 0;font-size:15px;color:#647987}
.rental-prescription-otp .prescription-otp{font-size:14px;gap:7px;margin:0;padding:0}
.rental-prescription-otp .rental-otp-editor{margin:0;padding:0;border:0}
.rental-prescription-otp .prescription-otp code{font-size:14px;letter-spacing:.04em}
.rental-prescription-otp .prescription-otp>strong{font-size:12px;font-weight:400;color:#6b7f8d}
.rental-managed-list .rental-code{font-family:inherit;color:#17668a}
.rental-managed-list .identity-records th:nth-child(1){width:11%}
.rental-managed-list .identity-records th:nth-child(2){width:12%}
.rental-managed-list .identity-records th:nth-child(3){width:5%}
.rental-managed-list .identity-records th:nth-child(4){width:7%}
.rental-managed-list .identity-records th:nth-child(5){width:12%}
.rental-managed-list .identity-records th:nth-child(6){width:13%}
.rental-managed-list .identity-records th:nth-child(7){width:10%}
.rental-managed-list .identity-records th:nth-child(8){width:11%}
.rental-managed-list .identity-records th:nth-child(9){width:11%}
.rental-managed-list .identity-records th:nth-child(10){width:8%}
.rental-records td[data-label="Πελάτης"]>a,.rental-records td[data-label="ΑΜΚΑ"]>a{
 font-size:15px;font-weight:400;color:#28566f}
.rental-list-board{background:white;border:1px solid #dce5eb;border-radius:12px;overflow:hidden}
.rental-list-board .rental-tabbar{padding:0 18px;margin:0;border:0}
.rental-list-board .rental-tabs{margin:0;flex-wrap:wrap}
.rental-list-board .rental-tabs>a{background:none;border:0;border-radius:0;
 border-bottom:3px solid transparent;padding:14px 4px}
.rental-list-board .rental-tabs>a[aria-current=page]{border-bottom-color:#c04450}
.rental-list-board .rental-toolbar{margin:0;border-radius:0;background:#f8fafb;
 border-bottom:1px solid #dce5eb;padding:14px 18px}
.rental-list-board .rental-filters{column-gap:12px;row-gap:10px}
.rental-list-board .rental-filters select[name=renewal_day]{width:104px;min-width:96px}
.rental-list-board .rental-filters>a[data-rental-export]{margin-left:10px}
.rental-list-board .rental-filters>a:last-of-type{margin-left:6px;white-space:nowrap}
.rental-list-board .rental-filters .filter-separator{padding-left:2px;padding-right:2px}
.rental-list-board .table-wrap{border:0;border-radius:0}
.rental-list-board .rental-bottom-pagination{padding:12px 18px;margin:0}
.rental-status{display:inline-block;padding:2px 7px;border-radius:5px;
 line-height:1.4;font-size:15px}
.rental-status-active{background:#e5f2eb;color:#326b55}
.rental-status-closed{background:#e0e6ea;color:#586776}
.rental-otp-editor>summary{color:#216f99;cursor:pointer;font-size:15px}
.rental-otp-editor form{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:8px 0}
.rental-otp-editor input{width:112px;min-height:38px;padding:5px 8px;font-size:16px}
.rental-otp-editor button{min-height:38px;padding:5px 10px;font-size:15px}
tr[data-customer-row]:hover>td,tr[data-customer-row]:hover>th,
tr[data-sale-row]:hover>td{background:#fcf0ef}
/* Search results are prescriptions, with their own actions and contact context. */
.saved-rx-search-first .prescription-search-card{padding:24px;background:#fff;
 border:1px solid #d7e2e9;border-radius:12px;margin-bottom:20px}
.saved-rx-search-first .saved-rx-search-form .saved-rx-filter{flex:0 1 280px}
.saved-rx-search-first .result-provision{padding:15px 22px 0;color:#496476;font-size:16px}
.saved-rx-search-first .result-person>a{font-size:17px;font-weight:650}
.saved-rx-search-first .result-references{padding:12px 22px 16px;border-top:1px solid #e7edf1;
 font-size:15px;color:#607786}
.saved-rx-search-first .saved-rx-otp{font-size:16px;background:#f0f5f8;padding:6px 9px;
 border-radius:6px;white-space:nowrap}
.saved-rx-search-first .saved-rx-otp code{font-size:17px;color:#294f65}
.saved-rx-search-first .saved-rx-search-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}
.saved-rx-search-first .saved-rx-search-form label{flex:1 1 380px;margin:0;font-size:16px}
.saved-rx-search-first .saved-rx-search-form input{width:100%;min-height:49px;font-size:17px}
.saved-rx-search-first .saved-rx-search-form button{min-height:49px;margin:0}
.saved-rx-search-first .saved-rx-shortcuts{display:flex;flex-wrap:wrap;gap:12px 22px;
 margin:17px 0 24px;font-size:16px}
.saved-rx-search-first .empty-prescription{padding:42px 24px;text-align:center;color:#647b8a;
 background:#fafcfd;border:1px solid #dfe7ed;border-radius:12px}
.saved-rx-search-first .empty-prescription h2{font-size:22px;color:#435f71}
.saved-rx-search-first .prescription-result{border:1px solid #d5e2e9;background:#fff;
 border-radius:12px;overflow:hidden;margin:0 0 16px;font-size:16px}
.saved-rx-search-first .result-top{padding:17px 22px;display:flex;align-items:center;gap:22px;
 flex-wrap:wrap;border-bottom:1px solid #e3ebf0;background:#f8fafb}
.saved-rx-search-first .result-top .rx-number{font-size:19px;font-weight:650}
.saved-rx-search-first .result-state{font-size:15px;background:#edf6f2;color:#34715d;
 padding:4px 8px;border-radius:6px;margin-left:auto}
.saved-rx-search-first .result-state.future-state{color:#526e84;background:#edf2f6}
.saved-rx-search-first .result-state.past-state{color:#606a70;background:#edf0f2}
.saved-rx-search-first .result-middle{padding:18px 22px;display:flex;align-items:center;
 gap:20px;justify-content:space-between;flex-wrap:wrap}
.saved-rx-search-first .result-person{display:flex;flex-direction:column;gap:7px}
.saved-rx-search-first .result-person strong{font-size:17px;color:#3f5767}
.saved-rx-search-first .result-person span{font-size:16px;color:#607786}
.saved-rx-search-first .result-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.saved-rx-search-first .result-actions a,
.saved-rx-search-first .result-actions button{font-size:16px}
@media(max-width:850px){.rental-prescription-line{width:100%}
 .saved-rx-search-first .result-middle{align-items:flex-start;flex-direction:column}}
@media(max-width:680px){.rental-records tr.rental-data>td{border-top:0;padding:.35rem .3rem}
 .rental-records tr.rental-prescription-row>td{padding:0 16px}
 .rental-prescription-line{display:flex;min-width:0;flex-wrap:wrap;gap:12px 20px;padding-left:20px}
 .rental-prescription-otp{margin-left:0}.rental-prescription-period{white-space:normal}
 .saved-rx-search-first .saved-rx-search-form label{flex-basis:100%}
 .saved-rx-search-first .result-top,.saved-rx-search-first .result-middle{padding:16px}
 .saved-rx-search-first .result-state{margin-left:0}}


/* Rental detail columns are visual only; each pencil retains its own versioned form. */
.rental-detail-fields .rental-detail-section{padding:18px 0;border-bottom:1px solid #d6e1e8}
.rental-detail-fields .rental-detail-section>h3{font-size:17px;color:#435e70;
 font-weight:650;margin:0 0 12px}
.rental-detail-fields .rental-detail-grid{display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:24px;align-items:start}
.rental-detail-fields .rental-group-customer,
.rental-detail-fields .rental-group-rental{grid-column:span 2}
.rental-detail-fields .rental-edit-group{min-width:0;padding:0;border:0}
.rental-detail-fields .rental-group-values,.rental-detail-fields .rental-group-controls{
 grid-template-columns:minmax(0,1fr);gap:12px 24px}
.rental-detail-fields .rental-group-customer .rental-group-values,
.rental-detail-fields .rental-group-customer .rental-group-controls,
.rental-detail-fields .rental-group-rental .rental-group-values,
.rental-detail-fields .rental-group-rental .rental-group-controls{
 max-width:none;grid-template-columns:repeat(2,minmax(0,1fr))}
.rental-detail-fields .rental-value-label{font-size:15px;line-height:1.5;padding-right:34px}
.rental-detail-fields .rental-value-text{font-size:18px;line-height:1.5;margin-top:5px}
.rental-detail-fields .rental-group-category .rental-value:first-child
 .rental-value-label{display:block}
.rental-detail-fields .rental-detail-status-row{padding:20px 0;border-bottom:1px solid #d6e1e8}
.rental-detail-fields .rental-detail-status-row{align-items:stretch}
.rental-detail-fields .rental-detail-status-row>.rental-edit-group{padding:14px 16px;
 border:1px solid #dbe5eb;border-radius:8px;background:#f7fafc}
.rental-detail-fields .rental-detail-status-row .rental-field-editor>.rental-pencil{
 top:9px;right:9px}

.rental-detail-fields .rental-group-additional{padding:20px 0}
.rental-detail-fields .rental-group-additional>h3{font-size:17px;margin-bottom:12px}
.rental-detail-fields .rental-field-editor>.rental-pencil{top:0}
.rental-detail-fields .rental-profile-pencil{position:absolute;right:0;top:0;display:inline-flex;
 width:36px;height:36px;align-items:center;justify-content:center;border-radius:6px;color:#247095}
.rental-detail-layout .rental-device-panel{padding:20px 22px;margin:12px 0 20px;
 border:1px solid #cbdfe8;border-left:3px solid #76a7bc;border-radius:10px;background:#edf5f8}
.rental-detail-layout .rental-device-panel h3{font-size:18px;color:#345d73;margin:0 0 12px}
.rental-detail-layout .rental-device-panel p{font-size:16px}
@media(max-width:760px){
 .rental-detail-fields .rental-detail-grid{grid-template-columns:1fr;gap:18px}
 .rental-detail-fields .rental-group-customer,
.rental-detail-fields .rental-group-rental{grid-column:auto}
 .rental-detail-fields .rental-group-customer .rental-group-values,
 .rental-detail-fields .rental-group-customer .rental-group-controls,
 .rental-detail-fields .rental-group-rental .rental-group-values,
 .rental-detail-fields .rental-group-rental .rental-group-controls{grid-template-columns:1fr}
 .rental-detail-layout .rental-device-panel{padding:18px 16px}}

.desk-shortcuts{display:flex;gap:12px;flex-wrap:wrap;margin:14px 0 24px}
.desk-shortcuts a{border:1px solid #e0e7ec;border-radius:8px;padding:12px 16px;background:white;
 color:#42647a;font-size:15px}.desk-shortcuts a:first-child{border-left:3px solid #c84c48}
.new-customer-menu>summary{background:#c22e38;border-radius:7px}
.device-detail-grid h2{font-size:20px}.device-detail-grid dd{font-size:18px}
.device-detail-grid dt{font-size:14px;color:#607889}
.device-markers{display:flex;gap:22px;align-items:center;flex-wrap:wrap}
.device-filters label,.device-filters button{margin:0}
[data-service-toggle-label]{margin-right:16px}
.device-check{font-size:16px}.device-product{border:0;padding:12px 0}
@media(max-width:1500px){.topbar-inner{grid-template-columns:auto 1fr auto;
 grid-template-areas:"brand actions utilities" "navigation navigation navigation";gap:10px 18px}
 .main-nav{margin-left:0;max-width:100%;padding-top:3px}
 .header-actions{justify-self:end}}
@media(max-width:680px){.topbar-inner{grid-template-columns:minmax(0,1fr) auto;
 grid-template-areas:"brand utilities" "navigation navigation" "actions actions"}
 .brand-logo{width:200px}.main-nav{flex-wrap:wrap;gap:3px}
 .main-nav>a,.main-nav .nav-group-start{font-size:16px;padding:10px;border-radius:9px}
 .header-actions{justify-self:start}.desk-subbar{font-size:12px}
 .desk-subbar>span:first-child{display:none}.desk-subbar{justify-content:flex-end}
 .rental-tabs{gap:12px;flex-wrap:wrap}}
.desk-home{font-size:17px;line-height:1.5}
.home-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;
 margin:8px 0 28px}
.home-heading h1{font-size:32px;margin:0 0 7px}.home-heading p{margin:0;color:#607789}
.home-actions{display:flex;gap:12px;flex-wrap:wrap}.home-actions a{padding:13px 19px;
 display:inline-flex;align-items:center;justify-content:center;gap:8px;
 border-radius:9px;font-size:17px;font-weight:650;text-decoration:none;min-height:48px;box-sizing:border-box}
.home-scan-icon{flex:0 0 21px}
.home-primary{background:#bc303b;color:white!important;box-shadow:0 4px 12px #bc303b20}
.home-secondary{background:white;color:#176b96;border:1px solid #c9dbe5}
.home-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.home-metric{position:relative;display:flex;flex-direction:column;padding:29px 30px;
 border:1px solid #dce5eb;border-top:3px solid #4896b9;border-radius:12px;background:white;
 color:#334f62;text-decoration:none;box-shadow:0 4px 14px #263d4b05;transition:box-shadow .15s}
.home-metric>span:first-child{font-size:17px;font-weight:650;padding-right:20px}
.home-metric strong{font-size:42px;line-height:1.2;margin:12px 0;color:#176b96;font-weight:750}
.home-metric small{font-size:15px;color:#607789}.home-red{border-top-color:#c85257}
.home-red strong{color:#a73d45}.home-amber{border-top-color:#d6a353}
.home-amber strong{color:#896323}
.home-arrow{position:absolute;right:20px;top:23px;color:#7a929f;font-size:21px}
.home-metric:hover,.home-work:hover{box-shadow:0 5px 18px #263d4b0e}
.home-count-note{font-size:14px;color:#637888;margin:12px 2px 26px;max-width:1000px}
.home-work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.home-work{padding:30px;border:1px solid #dce5eb;border-radius:12px;background:white}
.home-work h2{font-size:23px;margin:0 0 8px}.home-work h2 a{color:#264a60;text-decoration:none;
 display:flex;justify-content:space-between;align-items:center;min-height:44px}
.home-work h2 span{font-size:20px;color:#8096a4;font-weight:400}
.home-work p{margin:0 0 17px;color:#607789;font-size:16px}
.home-work nav{display:flex;gap:10px;flex-wrap:wrap}
.home-work nav a,.home-find>a{display:inline-flex;align-items:center;min-height:44px;
 box-sizing:border-box;
 padding:9px 14px;border:1px solid #dce6eb;background:#f7fafc;color:#176b96;
 border-radius:7px;font-size:16px;text-decoration:none;font-weight:600}
.home-rentals{background:linear-gradient(120deg,#f6fbfe,white)}
.home-rentals nav a:first-child{background:#176b96;color:white;border-color:#176b96}
.home-find{display:flex;align-items:center;justify-content:space-between;gap:18px;
 padding:28px 30px;margin-top:22px;border-left:3px solid #c85257;border-radius:8px;
 background:#edf3f7}
.home-find strong{font-size:18px;display:block}.home-find span{font-size:16px;color:#607789}
.desk-home a:hover,.desk-home a:focus-visible{text-decoration:none}
.desk-home a:focus-visible{outline:3px solid #176b96;outline-offset:4px}
@media(max-width:1000px){.home-heading{align-items:flex-start;flex-direction:column}
 .home-metric{padding:23px}.home-arrow{right:14px}.home-metric>span:first-child{font-size:16px}}
@media(max-width:650px){.home-metrics,.home-work-grid{grid-template-columns:1fr}
 .home-metric{padding:22px 24px}.home-metric strong{font-size:36px;margin:7px 0}
 .home-heading h1{font-size:28px}.home-actions{width:100%}.home-actions a{flex:1;text-align:center}
 .home-work{padding:23px}.home-find{padding:24px;align-items:flex-start;flex-direction:column}}

.business-reports .card{margin:20px 0;padding:26px 28px;min-width:0}
.business-reports .table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
.business-reports .report-pagination{flex-wrap:wrap}
.business-reports .report-presets{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}
.business-reports .report-presets a{padding:9px 15px;border:1px solid #dce5eb;border-radius:8px;
 background:#f7fafc;font-weight:650}
.business-reports .report-filters{display:flex;gap:18px;align-items:flex-end;flex-wrap:wrap}
.business-reports .report-filters>label{display:flex;flex-direction:column;gap:7px;margin:0}
.business-reports .report-filters input{max-width:190px}
.business-reports .customer-date>label{display:block;margin:0 0 7px}
.business-reports .customer-date .required-marker{display:inline}
.business-reports .report-filters select{min-height:46px;padding:10px 14px;font:inherit;
 border:1px solid #cbd8e0;border-radius:8px;background:#fff;max-width:100%}
.business-reports .report-filters button{min-height:46px}
.business-reports .report-metrics{margin:24px 0}
.business-reports .report-origin-summary{display:flex;gap:18px;flex-wrap:wrap;font-size:16px}
.business-reports th{color:#314b5c;font-weight:750}.business-reports td{font-size:16px}
.business-reports .report-pagination{display:flex;gap:20px;align-items:center;margin-top:20px}
.business-reports .report-metrics article{background:#fff}
@media(max-width:650px){.business-reports .card{padding:20px 16px}
 .business-reports .report-filters{align-items:stretch}
 .business-reports .report-filters>*{width:100%}}


.customer-journey-shell{margin:1rem auto;padding:1.25rem;background:#fff;
border:1px solid #dce1e5;border-radius:14px;font-size:1rem}
.customer-journey-shell{box-sizing:border-box;width:100%;overflow-wrap:anywhere}
.customer-journey-shell .customer-journey{margin:0 0 1.3rem}
.customer-journey-shell .customer-journey-context{margin:.5rem 0 0;font-size:.9rem;color:#53616a}
.customer-journey-title{display:flex;align-items:center;justify-content:space-between;
gap:1rem;flex-wrap:wrap}.customer-journey-title h1{margin:0}
.customer-company-stamp{max-width:280px;box-sizing:border-box;background:#e5f1f7;
border:2px solid #28799a;border-top-width:4px;padding:.75rem .9rem;border-radius:9px}
.customer-card-intake .customer-company-stamp label{color:#174b63;font-weight:700}
.customer-card-intake .customer-company-stamp select{
background:#fff;border-color:#608da2;font-weight:600}
.customer-company-stamp:focus-within{outline:2px solid #28799a;outline-offset:3px}
.customer-card-intake [hidden]{display:none!important}
.customer-card-intake .customer-choice-options{display:flex;gap:1.2rem;flex-wrap:wrap}
.customer-card-intake .customer-choice-options label{display:flex;align-items:center;
gap:.5rem;min-height:44px}
.customer-card-intake .customer-prescription-search{background:#f3f8fa;padding:1rem;
border-radius:9px;margin:.75rem 0}
.customer-card-intake .inline-drive-toolbar{display:flex;align-items:center;gap:.5rem;
flex-wrap:wrap;margin:.4rem 0}.customer-card-intake .inline-drive-list{list-style:none;
padding:0;margin:.4rem 0;max-height:320px;overflow:auto}
.customer-card-intake .inline-drive-list li{margin:0;border-bottom:1px solid #dce5e9}
.customer-card-intake .inline-drive-list button{display:flex;align-items:center;gap:.6rem;
width:100%;min-height:44px;padding:.35rem .55rem;background:transparent;color:#24566c;
border:0;border-radius:0;text-align:left;font-size:.9rem;font-weight:400}
.customer-card-intake .inline-drive-list button:hover{background:#e5eff3}
.customer-card-intake .inline-drive-list button span:last-child{overflow-wrap:anywhere}
.customer-card-intake .inline-drive-toolbar button,.customer-card-intake .selected-pdf button{
min-height:44px;padding:.35rem .55rem;font-size:.9rem;font-weight:400}
.customer-card-intake .selected-pdf{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;
font-size:.95rem}.customer-card-intake .selected-pdf-name{flex:1;min-width:120px}
.customer-card-intake .inline-drive-status{font-size:1rem;margin:.65rem 0;font-weight:650;
color:#125579}
.customer-card-intake .inline-drive-progress{display:block;width:100%;height:16px;
accent-color:#12679b;margin:.6rem 0}
.customer-card-intake .inline-drive-loading{padding:.7rem 1rem;border-left:4px solid #12679b;
border-radius:6px;background:#e3f0f8;margin:.5rem 0}
.customer-drive-search-row{display:flex;align-items:end;gap:.5rem}
.customer-drive-search-row label{flex:1}
.customer-card-intake .customer-drive-search-row button{min-width:44px;min-height:44px;
padding:.4rem;font-size:1.2rem}
.customer-card-intake [data-inline-editor] .rx-editor{box-shadow:none;margin:1rem 0 0;
padding:1rem 0;border:0;border-top:1px solid #dce1e5}
.customer-card-intake [data-inline-editor] [data-card-navigation]{display:none}
.customer-card-intake .rx-clinical-compact{border:0;background:transparent;padding:.25rem 0;
margin:.3rem 0;box-shadow:none}
.customer-card-intake .rx-clinical-compact h4{font-size:.85rem;margin:.2rem 0}
.customer-card-intake .rx-clinical-compact .rx-card-value{font-size:.85rem;line-height:1.4;
white-space:pre-wrap;overflow-wrap:anywhere}
.customer-card-intake .rx-clinical-compact .rx-clinical-source{font-size:.75rem;margin:0}
.customer-card-intake .rx-clinical-compact button.rx-clinical-edit{padding:.1rem .4rem;
min-height:44px;min-width:44px;background:none;border:0}
.customer-card-intake [data-inline-editor] [hidden]{display:none!important}
.customer-card-intake .rx-period-summary .rx-row-otp{display:flex;align-items:center;
gap:.35rem;font-size:.8rem;flex:none;white-space:nowrap}
.customer-card-intake .rx-period-summary .rx-row-otp input{width:6rem;min-height:44px;
padding:.35rem;flex:none}
.customer-card-intake [data-period-panel]{margin-top:.5rem}
.customer-card-intake [data-period-panel] > button{margin:.4rem .5rem .4rem 0}
.customer-card-intake .drive-icon{width:18px;height:18px;flex-shrink:0;fill:none;
stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.customer-journey-shell > .card{border:0;box-shadow:none;padding:0;margin:1rem 0}
.customer-journey-shell .customer-journey-nav{display:flex;gap:.75rem;flex-wrap:wrap;
margin:1.25rem 0;padding-top:1rem;border-top:1px solid #dce1e5}
.customer-journey-shell a.customer-journey-back{display:inline-flex;align-items:center;
min-height:44px;padding:.6rem 1rem;border:1px solid #cbd5dc;border-radius:8px;
background:#f2f5f7;color:#334b5b;text-decoration:none;font-weight:700;box-sizing:border-box}
.customer-journey-shell .journey-browser-nav{display:flex;gap:.5rem;flex-wrap:wrap;
align-items:center;margin:.5rem 0 1rem;font-size:.9rem}
.customer-journey-shell button.journey-text-action{background:none;border:0;color:#126e96;
padding:.35rem 0;min-height:36px;font-weight:400;text-decoration:underline}
.customer-journey-shell .journey-browser-nav span{overflow-wrap:anywhere}
.customer-journey-shell p{font-size:.9rem;color:#53616a;line-height:1.5}
.customer-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;align-items:start}
.customer-card-wide{grid-column:1/-1}
.customer-card-intake label{display:grid;gap:.4rem;min-width:0;margin:0;font-size:.86rem}
.customer-card-intake input:not([type=radio]),.customer-card-intake select,
.customer-card-intake textarea{box-sizing:border-box;width:100%;max-width:100%;
padding:.6rem;font:inherit;border:1px solid #a8b4bc;border-radius:8px;background:#fff}
.customer-card-intake input:not([type=hidden]):not([type=radio]),
.customer-card-intake select{min-height:40px}
.customer-card-intake input[type=radio]{width:18px;height:18px;padding:0;margin:0}
.customer-card-intake fieldset{min-width:0;margin-bottom:1rem;padding:1rem;
border:1px solid #dce1e5;border-radius:10px}
.customer-card-intake legend{font-weight:700;font-size:.95rem;padding:0 .35rem}
.customer-card-intake.customer-simple{border:0;border-radius:0;box-shadow:none;background:#fff}
.customer-simple .customer-journey .eyebrow{display:none}
.customer-card-intake.customer-simple fieldset{border:0;border-radius:0;background:transparent;
padding:0;margin:0 0 1.5rem;min-width:0}
.customer-card-intake.customer-simple legend{padding:0;margin-bottom:.7rem}
.customer-simple [data-activity-questions] > legend{position:absolute;width:1px;height:1px;
overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.customer-card-intake.customer-simple [data-activity-questions] fieldset{margin-bottom:0}
.customer-card-intake.customer-simple .customer-company-stamp{padding:0;border:0;
border-radius:0;background:transparent;min-width:220px}
.customer-card-intake.customer-simple .customer-company-stamp label{color:#202124}
.customer-card-intake.customer-simple .customer-company-stamp:focus-within{outline:0}
.customer-card-intake.customer-simple .customer-prescription-search{padding:0;
border:0;border-radius:0;background:transparent;margin:0 0 1.5rem}
.customer-card-intake.customer-simple input:not([type=radio]):not([type=checkbox]),
.customer-card-intake.customer-simple select,.customer-card-intake.customer-simple textarea{
background:#fff;border-radius:5px}
.customer-card-phone{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
gap:.75rem;margin:1rem 0}.customer-card-phones{margin-bottom:1rem}
.customer-card-intake button[formnovalidate]{background:#f2f5f7;color:#334b5b;
border:1px solid #cbd5dc}
.customers-workspace .customer-create-link{display:inline-block;background:#126e96;
color:white;padding:.7rem 1rem;border-radius:8px;text-decoration:none;font-weight:700}
.customer-card-intake .customer-card-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.customer-card-intake .customer-address-row{grid-template-columns:1fr 2fr 1fr;margin:1rem 0}
.customer-card-intake .customer-card-price{display:grid;grid-template-columns:150px minmax(0,1fr);
gap:1rem;align-items:start;margin-top:1rem}
.customer-card-intake .customer-card-phone{display:grid;grid-template-columns:1fr;
gap:.65rem;margin:0 0 1rem}
.customer-card-intake .customer-card-phones,.customer-record-edit .customer-compact-contact{
display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;align-items:start}
.customer-card-intake .customer-card-phones .customer-card-phone{margin:0;gap:.15rem}
.customer-card-intake input[name=amka]{font-size:1.2rem;font-weight:600;
font-variant-numeric:tabular-nums;letter-spacing:.05em}
.customer-card-phones .customer-phone-add{grid-column:1/-1;justify-self:start}
.customer-searchable{position:relative;min-width:0}
.customer-search-options{position:absolute;top:100%;left:0;right:0;z-index:20;
max-height:240px;overflow:auto;background:white;border:1px solid #aebdc7;
box-shadow:0 4px 12px #0002;border-radius:5px}
.customer-search-options [role=option]{padding:.6rem .8rem;cursor:pointer;font-weight:400}
.customer-search-options [role=option]:hover,
.customer-search-options [aria-selected=true]{background:#e4f1f7}
.customer-card-intake [aria-invalid=true],
.customer-card-intake input:not([type=radio]):not([type=checkbox])[aria-invalid=true]{
border:2px solid #b42318;background:#fff5f4}
.customer-card-intake [aria-invalid=true]:focus{outline:2px solid #b42318;outline-offset:2px}
.customer-field-error{display:block;color:#b42318;font-size:.9rem;font-weight:600;margin-top:.25rem}
.customer-card-intake ul[role=alert]{color:#b42318;border-left:3px solid #b42318;padding:1rem 2rem}
.customer-intake-context{grid-column:1/-1;margin:0}
.customer-card-intake.customer-simple h2,
.customer-card-intake.customer-simple [data-private-section] > legend,
.customer-card-intake.customer-simple [data-relative-fields] > legend{
font-size:1.15rem;line-height:1.4;font-weight:700;width:100%;box-sizing:border-box;
padding:0 0 .5rem;margin:1rem 0 .8rem;border-bottom:2px solid #dce8ef}
.customer-card-intake.customer-simple .customer-card-phones{
grid-template-columns:repeat(2,minmax(0,1fr));margin:.8rem 0 .6rem}
.customer-card-intake .customer-card-phone{position:relative}
.customer-card-intake button.customer-phone-remove{position:absolute;right:.35rem;bottom:.2rem;
padding:.2rem .55rem;min-height:32px;min-width:32px;font-size:1.2rem;line-height:1;
border:0;background:transparent}
.customer-card-intake .customer-card-phone:has(.customer-phone-remove) input[type=tel]{
padding-right:2.7rem}
.customer-card-intake button.customer-phone-add{padding:.4rem .65rem;min-height:36px;
border-radius:5px;font-size:.82rem}
.customer-email-row,.customer-serial-row{max-width:calc(50% - .5rem);margin-bottom:1rem}
.customer-staff-row{margin-bottom:1.2rem}
.customer-card-intake.customer-simple .customer-prescription-search{
border-left:3px solid #a9cfdf;padding:.6rem .8rem;margin:.5rem 0 .8rem;background:#f7fbfd}
.customer-card-intake.customer-simple .customer-prescription-search p{margin:.4rem 0 0;
font-size:.8rem}
@media(max-width:700px){.customer-card-intake .customer-card-phones,
.customer-card-intake.customer-simple .customer-card-phones,
.customer-record-edit .customer-compact-contact{grid-template-columns:1fr}
.customer-email-row,.customer-serial-row{max-width:none}}
.customer-card-intake .customer-contact-secondary{display:grid;gap:1rem;align-content:start}
.customer-card-intake input:not([type=radio]):not([type=checkbox]),.customer-card-intake select,
.customer-card-intake textarea{border-color:#cbd5df;border-radius:9px;padding:.7rem .8rem;
background:#fbfcfe;font-weight:400;transition:border-color .15s,box-shadow .15s}
.customer-card-intake input:not([type=radio]):not([type=checkbox]),
.customer-card-intake select{padding-top:.55rem;padding-bottom:.55rem}
.customer-card-intake input:focus,.customer-card-intake select:focus,
.customer-card-intake textarea:focus{
outline:2px solid #126e96;outline-offset:2px;background:white}
.customer-card-intake .customer-phone-flags{display:flex;flex-wrap:wrap;gap:1rem}
.customer-card-intake .customer-phone-flags label{
display:flex;align-items:center;gap:.4rem;font-weight:400}
.customer-card-intake .customer-phone-flags input{
width:16px;height:16px;min-height:0;padding:0;margin:0;accent-color:#126e96}
.customer-card-intake .customer-required{color:#ba2538;margin-left:.3rem}
.customer-card-intake button.customer-text-action{display:inline-block;width:auto;min-height:36px;
padding:.2rem 0;background:none;border:0;color:#126e96;font-weight:400;text-decoration:underline}
.customer-card-intake .customer-card-actions{display:flex;gap:1rem;flex-wrap:wrap}

/* Private intake follows the same compact customer/activity cards as EOPYY intake. */
.customer-card-intake.customer-private{background:transparent;padding:0;border:0}
.customer-private .customer-journey{margin:0 0 1rem}
.customer-private .customer-journey-title h1{font-size:1.35rem}
.customer-private .private-intake-panel{background:#fff;border:1px solid #dce1e5;
border-radius:12px;padding:1.2rem;margin:1rem 0;box-shadow:0 1px 2px #00000008}
.customer-private.customer-simple h2,.customer-private.customer-simple legend{
border:0;font-size:1rem;margin:0 0 .8rem;padding:0}
.customer-card-intake.customer-private [data-private-section] > legend,
.customer-card-intake.customer-private [data-relative-fields] > legend{
border:0;font-size:1rem;margin:0 0 .8rem;padding:0}
.customer-private .customer-date{gap:.4rem}
.customer-private .customer-date > label{display:block;margin:0}
.customer-private .private-activity-grid{grid-template-columns:minmax(0,2fr)
minmax(0,1fr) minmax(0,1fr)}
.customer-private .private-customer-notes{margin:.8rem 0 0}
.customer-private .private-customer-notes summary{cursor:pointer;color:#126e96;font-size:.9rem}
.customer-private .private-customer-notes label{margin-top:.5rem}
.customer-private .customer-card-grid{gap:.7rem 1rem}
.customer-private .customer-identity-row{grid-template-columns:repeat(3,minmax(0,1fr))}
.customer-private .customer-choice-options{gap:.5rem}
.customer-private .customer-choice-options label{display:flex;align-items:center;gap:.5rem;
min-height:42px;padding:0 .85rem;border:1px solid #a9bdc8;border-radius:7px;cursor:pointer}
.customer-private .customer-choice-options label:has(input:checked){
background:#eaf4f8;border-color:#126e96;color:#125579}
.customer-private .customer-choice-options label:focus-within{outline:2px solid #126e96;
outline-offset:2px}
.customer-private.customer-simple [data-activity-questions]{margin:0}
.customer-private label{font-size:.85rem;color:#4f606a}
.customer-private input:not([type=radio]):not([type=checkbox]),
.customer-private select{height:40px;min-height:40px;font-size:.93rem;padding:.45rem .65rem}
.customer-private input[name=amka]{font-size:.95rem;font-weight:400;letter-spacing:normal}
.customer-private .private-contact-fields{display:grid;
grid-template-columns:repeat(3,minmax(0,1fr));
gap:.7rem 1rem;margin:.8rem 0}
.customer-private.customer-simple .customer-card-phones{display:contents}
.customer-private .customer-email-row{max-width:none;margin:0}
.customer-private .customer-phone-add{order:2;grid-column:1/-1;justify-self:start}
.customer-private .customer-profile-address{display:grid;grid-template-columns:minmax(0,3fr)
minmax(7rem,1fr);gap:1rem;margin:.8rem 0;align-items:start}
.customer-private .customer-profile-address-main{min-width:0}
.customer-private .customer-address-components{margin-top:.5rem}
.customer-private .customer-card-price{grid-template-columns:minmax(8rem,180px) 1fr;
gap:.4rem .75rem;align-items:center;margin:.8rem 0 0}
.customer-private .customer-company-row{margin:.8rem 0}
.customer-private .customer-serial-row{margin:.8rem 0;max-width:calc(50% - .5rem)}
.customer-private .customer-rental-accessories{display:flex;gap:1.4rem;margin:.4rem 0 1rem}
.customer-private .customer-rental-accessories label{display:flex;align-items:center;gap:.4rem}
.customer-private .customer-rental-accessories input{width:17px;height:17px;min-height:17px;
margin:0;padding:0;accent-color:#126e96}
.customer-private textarea{min-height:90px;resize:vertical;font-size:.93rem}
.customer-private .customer-card-actions{margin:1rem 0}
@media(max-width:700px){
.customer-private .private-intake-panel{padding:1rem}
.customer-private .private-contact-fields,.customer-private .customer-card-grid{
grid-template-columns:minmax(0,1fr)}
.customer-private .customer-serial-row{max-width:none}
.customer-private input:not([type=radio]):not([type=checkbox]),
.customer-private select{min-height:44px;height:44px}}

.customer-record-edit .record-edit-clinical{display:grid;gap:1rem}
.customer-record-edit .record-edit-clinical textarea{min-height:120px;resize:vertical}
.customer-record-edit .customer-profile-comment{grid-column:1/-1;min-width:0}
.customer-record-edit .customer-profile-comment textarea{box-sizing:border-box;width:100%;
max-width:100%;min-height:9rem;resize:vertical;padding:.7rem .8rem;font:inherit;
font-size:1rem;font-weight:400;line-height:1.5;border:1px solid #cbd5df;
border-radius:9px;background:#fbfcfe}
.customer-record-edit .customer-profile-comment textarea:focus{
outline:2px solid #126e96;outline-offset:2px;background:white}
.customer-record-edit .record-edit-otp{display:grid;gap:.5rem;margin:1rem 0}
.customer-record-edit .record-edit-otp small{color:#53616a;line-height:1.5}
.customer-record-edit label.record-edit-check{display:flex;align-items:flex-start;gap:.65rem;
line-height:1.5;cursor:pointer}
.customer-record-edit .record-edit-check input[type=checkbox],
.customer-record-edit .customer-phone-options input[type=checkbox]{
width:18px;height:18px;min-height:18px;flex:0 0 18px;padding:0;margin:.15rem 0 0;
accent-color:#126e96}
.customer-record-edit .customer-phone-options{display:flex;flex-wrap:wrap;gap:1rem;margin:.6rem 0}
.customer-record-edit .customer-phone-options label{display:flex;align-items:center;gap:.4rem}
.customer-record-edit .customer-card-actions{margin-top:1rem}
.customer-record-edit label{display:grid;gap:.3rem;min-width:0;margin:0;
font-size:.82rem;font-weight:600;color:#4f606a}
.customer-record-edit input:not([type=checkbox]):not([type=radio]),
.customer-record-edit select,.customer-record-edit textarea{box-sizing:border-box;
width:100%;min-width:0;max-width:100%;min-height:38px;padding:.4rem .6rem;
font:inherit;font-size:.9rem;font-weight:400;color:#263943;
border:1px solid #cbd5df;border-radius:6px;background:#fbfcfe}
.customer-record-edit .customer-card-grid,.customer-record-edit .customer-compact-contact{
gap:.7rem 1rem;margin:.7rem 0}
.customer-record-edit .customer-profile-address{display:grid;
grid-template-columns:minmax(0,3fr) minmax(8rem,1fr);gap:1rem;margin:.7rem 0;
align-items:start}
.customer-record-edit .customer-profile-address-main{min-width:0}
.customer-record-edit .customer-profile-address-components{display:grid;
grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem 1rem}
.customer-record-edit .customer-profile-extra{grid-template-columns:repeat(3,minmax(0,1fr))}
.customer-deceased-row{display:flex;flex-wrap:wrap;align-items:start;gap:1rem;margin:.6rem 0 1rem}
.customer-record-edit .customer-deceased-check{display:flex;flex-direction:row;align-items:center;
 gap:.4rem;padding-top:1.8rem}
.customer-record-edit .customer-deceased-check input{width:auto;min-height:0}
.customer-deceased-date{flex:0 1 240px}
.customer-deceased-warning{display:none;color:#b42318;font-size:.8rem;line-height:1.3;margin-top:.15rem}
.customer-deceased-row:has(input[name="deceased"]:checked) .customer-deceased-warning{display:block}
.customer-deceased-status{display:inline-block;font-size:.85rem;color:#6b5260;margin:.3rem 0}

.customer-record-edit .customer-card-actions button{min-height:36px;padding:.35rem .6rem;
font-size:.82rem;font-weight:500}
.customer-record-edit .customer-profile-comment textarea{font-size:1rem;min-height:9rem}
.customer-record-edit .required-marker{display:inline;color:#ba2538}
@media(max-width:680px){
.customer-record-edit .customer-profile-address{
grid-template-columns:minmax(0,2fr) minmax(7rem,1fr)}
.customer-record-edit .customer-profile-extra{grid-template-columns:minmax(0,1fr)}
.customer-record-edit input:not([type=checkbox]):not([type=radio]),
.customer-record-edit select{min-height:44px}}
.customer-card-intake .customer-secondary-action{
background:white;border:1px solid #126e96;color:#126e96}
.customer-card-intake[data-intake-saved] .customer-card-actions a{
display:inline-flex;align-items:center;min-height:44px;padding:.65rem 1rem;
border-radius:9px;text-decoration:none;box-sizing:border-box}
.customer-card-intake[data-intake-saved] .customer-secondary-action:hover{
background:#eaf4f8;color:#084b6a}
.customer-card-intake .customer-match{
padding:.75rem;border-bottom:1px solid #dce1e5;overflow-wrap:anywhere}
.customer-card-intake #customer-match-results{margin-top:.8rem}
.customer-card-intake #customer-match-results summary{cursor:pointer;color:#126e96}
.customer-card-intake input:not([type=hidden]):not([type=radio]):not([type=checkbox]),
.customer-card-intake select{height:44px}
.customer-card-intake button.customer-text-action{font-size:.8rem}
.customer-card-intake button[formnovalidate]:hover{background:#e2edf3;color:#163e53}
.customer-card-intake button.customer-text-action:hover{background:transparent;color:#084b6a}
.customer-card-intake button.rx-primary{background:#126e96;color:#fff;border-color:#126e96}
.customer-card-intake button.rx-primary:hover{background:#0b526f;color:#fff}
.customer-card-intake .customer-contact-group{margin:1rem 0}
.customer-card-intake .customer-contact-options{margin:0 0 1rem}
.customer-card-intake .customer-notes{margin:1rem 0}
.customer-card-intake .rx-compact-period{background:#f0f6fa;border:1px solid #bfd3df;
border-left:4px solid #287b9f;border-radius:9px;padding:1rem;margin:.8rem 0}
.customer-card-intake .rx-period-summary{padding-bottom:.65rem;border-bottom:1px solid #cbdce5;
margin-bottom:.4rem;gap:.75rem}
.customer-card-intake .rx-period-summary a{font-weight:700}
.customer-card-intake [data-period-display]{margin:.65rem 0}
.customer-card-intake [data-period-display]>summary{font-size:.85rem;color:#175977;cursor:pointer}
.customer-card-intake .rx-period-correction[open]{background:#fff;border-radius:7px;padding:.65rem}
.customer-card-intake .customer-price-unit{align-self:center;font-size:.9rem;color:#415968}
@media(max-width:640px){.customer-card-grid,.customer-card-phone{grid-template-columns:1fr}}
@media(max-width:640px){.customer-card-intake .customer-card-three{grid-template-columns:1fr}
.customer-card-intake .customer-address-row{grid-template-columns:1fr 2fr}
.customer-card-intake .customer-card-price{grid-template-columns:120px minmax(0,1fr);gap:.75rem}
.customer-card-intake input:not([type=hidden]):not([type=radio]):not([type=checkbox]),
.customer-card-intake select{min-height:44px}
.customer-card-intake .customer-card-actions button{width:100%}}

.devices-workspace{width:100%;max-width:none}
.device-filters{display:flex;flex-wrap:wrap;gap:.7rem;align-items:end;padding:1rem;
 background:#edf4f7;border-radius:12px;margin-bottom:1rem}
.device-filters label{display:flex;flex:1 1 160px;flex-direction:column;gap:.3rem}
.device-filters label:first-child{flex:2 1 240px}
.device-filters input,.device-filters select{width:100%;min-height:40px;font:inherit;
 border:1px solid #b8cbd3;border-radius:7px;padding:.45rem;background:white}
.device-table-wrap{overflow-x:auto;background:white;border:1px solid #dce4e8;border-radius:12px}
.device-table{width:100%;border-collapse:collapse;font-size:.93rem}
.device-table th,.device-table td{text-align:left;padding:.7rem .8rem;
 border-bottom:1px solid #e8edf0}
.device-table th{background:#f6f8fa;font-size:.8rem}
.device-table td small{display:block;color:#647681}
.device-table tr[data-device-row]:hover{background:#edf6f8;cursor:pointer}
.device-pager{display:flex;justify-content:flex-end;align-items:center;gap:.7rem;margin:.7rem 0}
.device-pager form{margin:0}.device-tag{display:inline-block;padding:.2rem .45rem;
 border-radius:5px;background:#edf3f6;font-size:.85rem;margin:.1rem}
.device-tag.warn{background:#fff3d5;color:#72520b}
.device-detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}
.device-detail-grid dl{margin:0}.device-detail-grid dt{color:#647681;font-size:.85rem}
.device-detail-grid dd{margin:.25rem 0 1rem;overflow-wrap:anywhere}
.device-note{color:#647681;font-size:.9rem}.device-table a{overflow-wrap:anywhere}
.device-service{margin:1rem 0}.device-service-fields{display:grid;
 grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem}
.device-service label{display:flex;flex-direction:column;gap:.35rem}
.device-service input,.device-service select,.device-service textarea{box-sizing:border-box;
 width:100%;font:inherit;font-weight:400;border:1px solid #b8cbd3;
 border-radius:7px;padding:.6rem;min-height:42px}
.device-service-comment{margin:1rem 0}.device-service-text{white-space:pre-wrap}
.device-service details,.device-service h3{margin-top:1rem}
.device-product-fields{display:flex;flex-wrap:wrap;align-items:end;gap:.6rem}
.device-product-fields label{display:flex;flex-direction:column;gap:.3rem;max-width:100%}
.device-product-fields select{max-width:100%;min-height:40px;font:inherit;padding:.4rem;
 border:1px solid #b8cbd3;border-radius:7px}

.device-detail-grid .card{padding:1rem}.device-detail-grid h2{font-size:1rem;margin:0 0 .8rem}
.device-detail-grid dl{display:grid;grid-template-columns:auto 1fr;gap:.45rem 1rem}
.device-detail-grid dd{margin:0}.device-exclusion{margin:.8rem 0}
.device-exclusion form{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.device-check{display:inline-flex!important;flex-direction:row!important;align-items:center;gap:.5rem}
.device-check input[type=checkbox]{width:1rem!important;min-height:1rem!important;
 height:1rem;margin:0}
.device-exclusion button,.device-pager button{padding:.45rem .8rem;min-height:36px}
.device-product{margin:.7rem 0}.device-product summary{cursor:pointer}
.device-product-fields{margin-top:.6rem}.device-service{padding:1rem}
.device-service form{margin:0}.device-service label{font-size:.9rem;font-weight:500}
.device-service-fields,.device-service-comment{max-width:44rem}
.device-service button{font-size:.9rem;padding:.5rem .8rem}
.device-service h2{font-size:1rem}.device-service-state{max-width:22rem;margin-bottom:.8rem}
.device-service [hidden]{display:none!important}.device-source{margin-top:1rem;color:#647681}
.device-source dd{margin:.25rem 0 .6rem}.device-rental-reference small{display:inline}
.device-filters button,.device-filters>a{align-self:end;min-height:40px;box-sizing:border-box}
.device-filters>a{display:flex;align-items:center;padding:.4rem}
@media(max-width:640px){.device-detail-grid{grid-template-columns:1fr}
.device-detail-grid dl{grid-template-columns:1fr}.device-detail-grid dd{margin-bottom:.5rem}}

.address-input-group { display:grid; grid-template-columns:1fr 1fr; gap:.6rem;
 grid-column:1/-1; min-width:0; }
.address-input-group[hidden] { display:none; }
.address-main-field { grid-column:1/-1; }
.address-component[hidden] { display:none !important; }
.address-assistant { font-size:.82rem; font-weight:400; grid-column:1/-1; min-width:0; }
.address-assistant[hidden] { display:none; }
.address-status { color:#52616c; margin:.2rem 0; }
.address-status:empty { display:none; }
.address-results { display:grid; gap:.15rem; background:#f4f8fb; border-radius:.4rem; }
.address-results:empty { display:none; }
.address-results .address-option { text-align:left; background:white; color:#164864;
 border:1px solid #c9d9e4; padding:.45rem .6rem; font-size:.85rem; font-weight:400; }
.address-option[aria-selected="true"] { outline:2px solid #17668a; }
.address-attribution { display:block; color:#5e5e5e; margin-top:.25rem; font-size:12px; }
.address-attribution[hidden] { display:none; }
.address-preview { margin:.4rem .5rem; }
.address-manual,.address-assistant .address-undo {
 background:transparent; color:#17668a; padding:.3rem .5rem; border:0;
 font-size:.8rem; min-height:0; }
.address-manual { justify-self:start; font-weight:400; }
