/* 7MDigital - the clinic's dashboard at /dashboard (login.html #customerShell, drawn by assets/js/customer-dashboard.js).
   It wears the admin order page's own rules from login.html - header, .header-inner, .crumbs, .logout-btn, .main,
   .detail-grid, .detail-card, .detail-row, .section-card, .badge, .key-box, .key-text, .copy-btn, .btn, the .modal sheet
   and its .modal-field inputs, and the .cs dropdown - so this sheet holds ONLY what the clinic's view adds. Every rule is
   scoped to #customerShell, #cdEditModal or a cd- class: nothing here restyles the admin panel. Loaded after login.html's
   own <style>, so on an equal selector this sheet comes last. */

/* ---- the shell: the admin #appShell's frame, shown by the [hidden] attribute instead of an inline style ---- */
#customerShell{display:flex;flex-direction:column;min-height:100vh;background:var(--bg)}
#customerShell[hidden]{display:none}
#customerShell .cd-view{flex:1 1 100%;min-width:0}
#customerShell [hidden]{display:none}

/* ---- header: the logo and "Dashboard" light together, as #brandHome and #crumbHome do on the admin page ---- */
#cdBrand{display:inline-flex;align-items:center;height:auto}
#customerShell .header-inner:has(#cdBrand:hover) #cdCrumbHome,
#customerShell .header-inner:has(#cdCrumbHome:hover) #cdCrumbHome{color:rgb(236 236 236)}
#customerShell .header-inner:has(#cdBrand:hover) #cdBrand img,
#customerShell .header-inner:has(#cdCrumbHome:hover) #cdBrand img{filter:brightness(1.4)}
#customerShell .logout-btn:disabled{opacity:.6;cursor:default}
/* The admin header grows to 597px at <=350px for its own stacked rows. The clinic's header has three short items: it
   keeps its natural height there, the logo, the crumb and Sign Out wrapping onto centred lines. */
@media(max-width:350px){
  #customerShell header{height:auto;padding-top:14px;padding-bottom:14px}
  #customerShell .header-inner{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
  #customerShell .header-inner .crumbs{flex:1 1 100%;justify-content:center}
}

/* ---- the account bar: who is signed in, and the order switcher when the account has several orders ---- */
#customerShell .section-card.cd-account{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 49px;padding:26px;word-break: normal;/*! display: flex; *//*! flex-wrap: wrap; *//*! align-items: center; *//*! justify-content: space-between; *//*! gap: 10px 18px; *//*! padding: 14px; */}
.cd-who{display:flex;flex-direction:column;gap:9px;min-width:0;flex:1 1 938px;}
.cd-k{font-size:11px;font-weight:700;text-transform:uppercase;/*! letter-spacing:.05em; */color:var(--muted);font-family:system-ui,-apple-system,sans-serif;color: #;/*! color: #555; */color: #555;/*! font-weight: 600; *//*! padding-bottom: 8px; */font-size: 11px;font-weight: 700;text-transform: unset;/*! margin-bottom: 5px; */font-family: system-ui, -apple-system, sans-serif;display: inline-flex;width: -moz-available;width: stretch;width: -webkit-fill-available;align-content: space-around;align-items: baseline;border-bottom: 1px solid #f1f5f9;justify-content: flex-start;gap: 3px;color: var(--muted);align-self: normal;font-size: 12px;font-weight: 500;text-align: center;/*! color: rgb(115, 115, 115); *//*! display: inline-flex; *//*! align-content: center; *//*! justify-content: center; */align-items: center;width: auto;color: var(--muted);flex-shrink: 0;/*! margin-right: 12px; */font-family: system-ui, -apple-system, sans-serif;font-size: 13px;color: #616161;font-size: 11.5px;/*! font-weight: 700; *//*! text-transform: uppercase; *//*! letter-spacing: .05em; *//*! font-family: system-ui, -apple-system, sans-serif; *//*! padding-bottom: 8px; */font-size: 11px;font-weight: 700;text-transform: uppercase;/*! margin-bottom: 5px; *//*! font-family: system-ui, -apple-system, sans-serif; *//*! display: inline-flex; *//*! width: -moz-available; */width: stretch;/*! width: -webkit-fill-available; *//*! align-content: space-around; *//*! align-items: baseline; *//*! border-bottom: 1px solid #f1f5f9; *//*! justify-content: flex-start; *//*! gap: 3px; */color: var(--muted);}
/* c4-1120 (Commander 2026-11-20): the signed-in e-mail in ONE colour, the muted one */
/* c4b4-1120: Commander's own rule for the signed-in e-mail */
#customerShell .cd-who strong{font-size:14px;font-weight:500;color:var(--muted);overflow-wrap:anywhere;font-family:inherit;font-size: 13px;text-align: end;word-break: normal;font-family: system-ui, -apple-system, sans-serif;/*! font-weight: 600; */flex-wrap: wrap;flex-direction: row;align-items: center;min-width: 0;overflow-wrap: anywhere;/*! background: #e9e9e9; */color: var(--text);text-align: unset;white-space: pre;color: var(--muted);flex-shrink: 0;/*! margin-right: 12px; */font-family: system-ui,-apple-system,sans-serif;font-size: 13px;}
.cd-pick{display:flex;align-items:center;gap:10px;flex:0 1 380px;min-width:0}
.cd-pick>label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);white-space:nowrap;font-family:system-ui,-apple-system,sans-serif;color: #616161;font-size: 11.5px;font-weight: 700;text-transform: uppercase;letter-spacing: .05em;font-family: system-ui, -apple-system, sans-serif;}
.cd-pick>select,.cd-pick>.cs{flex:1 1 auto;min-width:0}
/* r2: a long clinic name is cut with an ellipsis inside the switcher, never pushing the page sideways. The admin .cs-val sets
   ellipsis and nowrap but no overflow (Chromium, Firefox, WebKit); and in WebKit a select's text runs past its box, both the
   native picker on phones (.cd-pick>select) and the hidden one behind the desktop dropdown (.cd-pick .cs-native). WebKit
   clips a select only when it draws no native control, so the hidden one (opacity 0, never seen) draws none either. */
#customerShell .cd-pick .cs-val{overflow:hidden}
.cd-pick select{overflow:hidden}
.cd-pick .cs-native{-webkit-appearance:none;appearance:none}
/* Phones and tablets: the native picker, in the admin "Hours for" navy. 16px so iOS does not zoom the page on focus. */
.cd-pick>select{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;padding:12px 42px 12px 14px;font-size:16px;font-weight:700;font-family:system-ui,-apple-system,sans-serif;color:#fff;cursor:pointer;border:none;border-radius:6px;outline:none;text-overflow:ellipsis;background-color:#13244c;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238dc1ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"),var(--brand-dark);background-repeat:no-repeat,no-repeat;background-position:right 15px center,center;background-size:17px,auto}
.cd-pick>select:focus-visible{box-shadow:0 0 0 3px rgba(141,193,255,.4)}
.cd-pick>select option{color:#111827;background:#fff;font-weight:600}
@media(max-width:520px){
  .cd-pick{flex:1 1 100%;flex-direction:column;align-items:stretch;gap:6px}
}

/* ---- notes, messages and the empty / loading cards ---- */
#customerShell .login-err.cd-banner{margin:0 0 14px;text-align:left}
.cd-note{margin:0 0 14px;padding:12px 14px;border-radius:4px;font-size:13px;line-height:1.5;color:#585037;background:#fff0dd;border:1px solid #fff0dd;border-left:4.5px solid #ffba68b0;font-family:system-ui,-apple-system,sans-serif;overflow-wrap:anywhere}
.cd-note .btn{margin-top:10px}
/* r2: the answer under "Email me a confirmation link" (the old .cd-note p+p never matched: a button sits between the two). */
.cd-note .btn+p{margin-top:8px}
.cd-msg{margin:4px 0 8px;/*! font-size:13px; *//*! line-height:1.55; */color:var(--text);font-family:system-ui,-apple-system,sans-serif;font-family: sans-serif;font-size: 12px;color: #888;}
.cd-hint{margin:8px 0 6px;font-size:12px;/*! line-height:1.5; */color:var(--muted);font-family:system-ui,-apple-system,sans-serif;padding: 10px 12px;margin-bottom: 14px;align-self: normal;font-size: 12px;font-weight: 500;color: rgb(115, 115, 115);}
.cd-hint a,.cd-msg a,.cd-foot a{color:#555;font-weight:600;/*! text-decoration:underline; */color: var(--muted);font-size: 12px;/*! color: #003d84; *//*! font-weight: 700; *//*! color: #00479b; *//*! color: #003d84; *//*! color: #003d84; *//*! color: var(--muted); *//*! color: #6188b7; */}
#customerShell .section-card.cd-loading{padding:22px 16px;color:var(--muted);font-size:13px;font-family:system-ui,-apple-system,sans-serif}
.cd-foot{margin:4px 0 28px;text-align:center;font-size:12px;line-height:1.6;color:var(--muted);font-family:system-ui,-apple-system,sans-serif}

/* ---- the cards: a title with its pill or its Edit button, a missing value in words, an amber "waiting" pill ---- */
#customerShell .cd-h3 .badge{margin-left:6px;font-size:10px;padding:5px 7px}
#customerShell .cd-h3 .cd-edit{margin-left:auto;align-self:center}
#customerShell .btn.cd-edit{padding:8px 13px;font-size:11.5px;letter-spacing:.03em;border-radius:6px;gap:5px}
#customerShell .detail-row .val.cd-none{color:var(--muted);font-weight:500;font-size: 13px;font-variant-numeric: tabular-nums;letter-spacing: .01em;color: var(--text);font-family: system-ui, -apple-system, sans-serif;font-weight: 600;}
/* c4-1120: a plan label keeps its line breaks (one phase of a custom deal on each line) */
#customerShell .detail-row .val.cd-plan{white-space:pre-line}
#customerShell .badge.cd-wait{/*! background:#e3e3e3; */color:#92400e;background: rgb(255, 243, 228);/*! border: 1px solid rgb(255 230 197); */color: rgb(119 87 45);border-color: #ffffff;color: rgb(119 87 45);font-family: sans-serif;/*! font-size: 12px; *//*! line-height: 1.25; */text-transform: initial;display: inline-flex;padding: 5px 8px;border-radius: 6px;font-size: 10.5px;font-weight: 600;font-family: system-ui;text-transform: uppercase;text-align: center;white-space: nowrap;letter-spacing: .0102956rem;background: rgb(255 230 197);border: 1px solid rgb(255 230 197);color: rgb(119 87 45);color: #4e5052;}
/* r2: between waiting and done - the eForm is in the clinic's Oscar, its key not entered yet. */
#customerShell .badge.cd-mid{background:#dbeafe;color:#1e40af}
/* The order card's header: Edit details on the left where the admin card has Back, the EMR emblem on the right. With no
   button (a clinic 7MDigital edits for it) the emblem sits in the middle. */
/* c4b4-1120: "Edit Details" sits at the TOP of its card, as the admin's Back button does: the header and the button take the
   admin's own measures (header 20px above and below; button 15px, 22px 44px inside, no margin, sharing the row with the mark) */
#customerShell .detail-card>.page-hdr.cd-hdr{padding:20px 0;}
#customerShell .detail-card>.page-hdr .btn.cd-edit-big{flex:1 1 0%;font-size:15px;padding:22px 44px;margin:0;gap:3px}
#customerShell .cd-hdr-solo .emr-mark{align-content:center}
/* <=700px the admin grid becomes an inline column that shrinks to its content: here the cards keep the full width. */
#customerShell .cd-view .detail-grid{width:100%}

/* ---- the activation key: the admin .key-box, wrapping a long key instead of running past a phone screen ---- */
/* c4b4-1120 (Commander 2026-11-20): the key box IS the admin's. No rule of this sheet touches .key-box, .key-text or .copy-btn
   of a key: the admin's own rules draw them (navy ground in the 6px blue frame, the key at 21px bold in the system font, the
   admin's Copy button), at every width; on a phone the key wraps at its hyphens, as on the admin page. Only the line shown
   when there is NO key yet (a status, not a key) has its own size, and its box does not answer to the pointer. */
#customerShell .key-text.cd-key-status{font-size:15px;font-weight:600}
#customerShell .key-box.cd-nokey,#customerShell .key-box.cd-nokey:hover{cursor:default;background:#061537}
/* r2: "Email me a confirmation link" under a key that waits for the email to be verified. */
#customerShell .cd-keycard .btn.cd-verify{margin-top:4px}

/* ---- c4b-1120: the table of orders of an account with several (customer-dashboard.js showList), and the way back ---- */
#customerShell .section-card.cd-list{padding:16px}
.cd-rows{display:flex;flex-direction:column;margin-top:6px;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;font-family:system-ui,-apple-system,sans-serif}
.cd-row{display:grid;grid-template-columns:1.25fr 1.6fr 2.2fr .9fr .9fr 1.2fr;gap:10px;align-items:center;padding:11px 14px;font-size:13px;line-height:1.4;color:var(--text);text-decoration:none;border-top:1px solid #eef2f7;background:#fff}
.cd-row-head{border-top:0;background:#f8fafc;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
a.cd-row{cursor:pointer;}
a.cd-row:hover{background:#f1f6ff;}
a.cd-row:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
.cd-row .cd-cell{min-width:0;overflow-wrap:anywhere}
.cd-row .cd-cell strong{font-weight:500;color:var(--brand-navy);white-space:nowrap}
.cd-row .badge{font-size:10px;padding:5px 7px}
.cd-back{display:inline-flex;align-items:center;gap:6px;margin:0 0 12px;padding:8px 12px 8px 8px;/*! font:650 12.5px/1.2 system-ui,-apple-system,sans-serif; */color:var(--brand-navy);background:#fff;border:1px solid #cbd5e1;border-radius:6px;cursor:pointer;padding: 22px 44px;display: inline-flex;margin: 0;flex: inherit;justify-content: center;align-content: space-around;align-items: center;font-size: 15px;margin: 20px 0px;text-decoration: unset;border: 2.5px solid #13244c;background: #13244c;color: #fff;text-transform: capitalize;border-radius: 6px;font-weight: 600;height: 72px;line-height: 1.25;font-family: system-ui;letter-spacing: .017rem;padding: 22px 44px;display: inline-flex;margin: 0;flex: inherit;justify-content: center;align-content: space-around;align-items: center;font-size: 15px;margin-bottom: 20px;}
.cd-back[hidden]{display:none}
.cd-back:hover{background:#f1f6ff;background: var(--blue2);border-color: #1a3e8c !important;/*! fill: #ffff; */}
.cd-back .cd-back-i{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;fill: none;stroke-width: 2.5;stroke-linecap: round;stroke-linejoin: round;width: 18px;height: 18px;stroke: rgb(135 190 255);}
.cd-rows,.cd-rows *,.cd-back{transition:none!important;animation:none!important}
@media(max-width:760px){
  .cd-row-head{display:none}
  .cd-row{grid-template-columns:1fr 1fr;gap:8px 12px;padding:12px 14px}
  .cd-row .cd-cell::before{content:attr(data-l);display:block;font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);margin-bottom:2px}
  .cd-row .cd-cell[data-l="Plan"]{grid-column:1/-1}
}
/* ---- the eForm card: two downloads side by side, the install steps under a summary ---- */
.cd-actions{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 4px}
.cd-actions .btn{flex:1 1 200px;padding:15px 18px;font-size:12.5px;letter-spacing:.02em}
#customerShell .btn.cd-alt{background:#e9e9e9;color:#252525;border:2.5px solid #e9e9e9}
#customerShell .btn.cd-alt:hover{background:#dedede;border-color:#dedede}
/* c4b-1120 (Commander 2026-11-20): the install steps in the card's OWN type, one system with the lines above it: the title reads
   like the "7mdigital.com/eform-download" link of the hint (12px, 650, the link blue, underlined), a chevron in place of the
   browser's own marker, the steps at the hint size (12px). NO transition or animation anywhere in the block: it opens at once
   and customer-dashboard.js brings it into view. The scroll margins are the room kept under the page's header (57px, it stays
   on top) and above the bottom edge. */
.cd-guide{margin-top:10px;border-top:0px solid #f1f5f9;padding-top:0px;/*! font-family:system-ui,-apple-system,sans-serif; */letter-spacing:normal;scroll-margin-top:72px;scroll-margin-bottom:16px}
.cd-guide,.cd-guide *{transition:none!important;animation:none!important;/*! color: #000; *//*! background: #132a60; *//*! color: #ffffff; */background: #f1f1f1;/*! color: #ffffff; */background: #165eb2;border-radius: 12PX;color: #cecece;background-color: #034ea7;/*! border-radius: 35px; *//*! font-weight: 650; */background: #001033;/*! margin: 12px; */}
/* c4b4-1120: the title is written like the admin's block titles (.ob-blk-title: 12px, bold, brand navy, the font of the page),
   with ONE thin line under the words, below the descenders (a border, not a text underline), and the chevron on their middle */
.cd-guide summary{display:flex;align-items:center;justify-content:flex-start;gap:7px;cursor:pointer;list-style:none;padding:4px 0;font-family:inherit;font-size:inheritinheritinitialinitialinheritinheritinheritxxx-large13px;line-height:normal;font-weight:700;letter-spacing:normal;/*! color:var(--brand-navy); */-webkit-tap-highlight-color:transparent;background: var(--brand-dark);/*! min-height: 44px; */font-size: 14.5px;font-weight: 700;letter-spacing: .01em;border: none;border-radius: 6px;padding: 11px 12px;text-align: left;cursor: pointer;color: #fff;border: 6px solid #165eb2;background: #061537;padding: 5px;padding: 14px;display: flex;gap: 10px;border-radius: 8.5px;background: #8888;border-radius: 0;border: 6px solid #003d85;background: #001033;background: #999;border-radius: 10px;border: 6px solid #006ed3;background: #061537;border-radius: 8.5px;padding: 14px;}
.cd-guide .cd-guide-t{/*! text-decoration:none; */border-bottom:1px solid currentColor;/*! padding-bottom:2px; *//*! color: #00d30078; *//*! text-decoration-color: #464646; *//*! color: #bfdbfe; *//*! text-decoration: underline; */text-decoration-thickness: auto;text-underline-offset: 6px;text-underline-offset: 4px;/*! text-decoration-thickness: 2px; *//*! text-decoration: underline; */text-decoration-color: #999;-webkit-text-decoration-color: #b7b7b7;text-decoration-color: #b7b7b7;text-underline-offset: 10px;text-decoration-color: #2482ef;color: #1f2f55;font-size: 14px;font-weight: 600;color: var(--blue);/*! margin-bottom: 6px; */font-family: system-ui;color: #fff;padding: 11px 12px;text-align: left;cursor: pointer;color: #fff;gap: 13px;min-height: 44px;font-size: 14.5px;font-weight: 700;letter-spacing: .01em;border: none;border-radius: 6px;width: auto;justify-items: center;align-content: space-between;justify-content: left;flex-direction: row;display: flex;flex-wrap: wrap;align-items: center;width: -webkit-fill-available;font-family: sans-serif;text-overflow: ellipsis;white-space: nowrap;font-family: system-ui;text-transform: uppercase;font-weight: 600;font-size: 13px;/*! letter-spacing: -.00884rem; */text-overflow: ellipsis;white-space: nowrap;font-family: system-ui;text-transform: initial;/*! font-weight: 600; */font-size: 14px;/*! letter-spacing: -.00884rem; *//*! text-decoration: underline; */background: transparent;/*! padding: 14px; */display: flex;/*! gap: 10px; */border-radius: 28.5px;align-items: center;/*! border: 6px solid #165eb2; */background: #061537;cursor: pointer;flex: 1;display: inline-flex;font-weight: 700;color: #cecece;/*! letter-spacing: -.0011rem; */flex-direction: column;flex-wrap: nowrap;justify-content: start;align-items: baseline;font-size: 21px;text-align: center;font-family: inherit;font-size: 21px;text-align: center;display: inline-flex;font-weight: 700;color: #cecece;/*! letter-spacing: -.0011rem; */border: 0;color: #cecece;border-radius: 0;background: transparent;font-family: system-ui;/*! font-family: sans-serif; */text-transform: capitalize;}
.cd-guide summary::-webkit-details-marker{display:none}
.cd-guide summary::marker{content:''}
.cd-guide summary:focus-visible{/*! outline:2px solid var(--blue); *//*! outline-offset:3px; *//*! border-radius:4px */}
.cd-guide .cd-chev{flex:0 0 auto;width:12px;height:12px;margin-top:-2px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;width: 17px;height: 17px;stroke: #8dc1ff;stroke-width: 2.5;background: transparent;}
.cd-guide[open] .cd-chev{transform:rotate(180deg)}
.cd-steps{margin:-5px 0 4px;padding-left:20px;font-size:15.5px;line-height:1.55;/*! letter-spacing:normal; */color:var(--text);font-family: inherit;/*! text-align: end; */word-break: normal;font-family: system-ui, -apple-system, sans-serif;font-weight: 600;flex-wrap: wrap;flex-direction: row;align-items: center;/*! min-width: 0; */overflow-wrap: anywhere;word-break: break-word;/*! font-family: system-ui, -apple-system, sans-serif; */font-weight: 600;font-size: 13px;border: 6px solid #006ed3;border-top-left-radius: 0;border-top-right-radius: 0;background: #001033;padding: 16px;padding-right: 99px;padding-left: 58px;border: 10px solid #006ed3;}
.cd-steps li{/*! margin:10px 0px 10px; */padding: 3px;margin: 9px 1px 12px;/*! color: unset; */text-decoration: none;cursor: text;font-size: 13px;font-weight: 600;word-break: normal;font-variant-numeric: tabular-nums;line-height: 1.45;color: #fff;letter-spacing: -.00241rem;font-family: system-ui;margin-bottom: 16px;color: #d7d7d7;cursor: text;-webkit-user-select: text;user-select: text;/*! border: 6px solid #165eb2; */}
.cd-steps code{font-family:unset;font-size:11.5px;font-weight:500;background:#30343d;border-radius:4px;padding:5px 7px;overflow-wrap:anywhere;/*! letter-spacing: 0.035rem; */color: #fff;font-size: 14px;background: #ededed;font-weight: 600;font-family: system-ui,-apple-system,sans-serif;color: #464545;max-width: unset;padding: 9px;border-radius: 6px;font-size: 12.5px;/*! background: #f0f0f0; */font-weight: 600;font-family: system-ui,-apple-system,sans-serif;/*! position: relative; *//*! top: -7px; */flex-wrap: wrap;flex-direction: row;align-items: center;min-width: 0;overflow-wrap: anywhere;display: inline-flex;justify-content: space-evenly;text-align: end;word-break: normal;/*! color: #2b5fca; *//*! border: 2.5px solid #13244c; *//*! background: #13244c; *//*! color: #2b437b; *//*! border: 1.5px solid #204599; */border-radius: 4px;/*! background: linear-gradient(158deg,#104e85 0%,#2b50a5 45%,#032a83 100%); *//*! color: #fff; *//*! overflow: hidden; *//*! background: linear-gradient(158deg,#d9d9d9 0%,#cecece 45%,#ffffffa6 100%); *//*! color: #fdfdfd; *//*! background: #efefef; *//*! background: #0c1e48; *//*! color: #fff; */text-decoration: underline;text-underline-offset: 5px;text-decoration-color: #7bb8ff;text-decoration-thickness: 2px;/*! background: #efefef; */background: linear-gradient(158deg,#ddd 0%,#d9d9d9fa 45%,#b2b2b2f2 100%);text-decoration-color: #5887d1;/*! color: #352d2d; */color: #272727;}

/* ---- the edit sheet: the admin order sheet, smaller. 16px fields on iOS only, so the page does not zoom in. ---- */
#cdEditModal .modal{max-width:620px}
#cdEditModal .modal-field input:disabled{background:#f1f5f9;color:var(--muted)}
/* r2: under the Oscar box, the address that will be saved; and, for a connected clinic, what changing it does. */
#cdEditModal .cd-oscar-norm{margin:5px 0 0;font-size:12px;line-height:1.45;color:var(--muted);overflow-wrap:anywhere;font-family:system-ui,-apple-system,sans-serif}
#cdEditModal .cd-oscar-warn{grid-column:1/-1;padding:10px 12px;border-radius:4px;font-size:12.5px;line-height:1.5;color:#585037;background:#fff0dd;border-left:4.5px solid #ffba68b0;font-family:system-ui,-apple-system,sans-serif;overflow-wrap:anywhere}
#cdEditModal .cd-oscar-warn p{margin:0 0 8px}
#cdEditModal .cd-check{display:flex;align-items:center;gap:8px;font-weight:650;color:#3d3520;cursor:pointer}
#cdEditModal .cd-check input{width:18px;height:18px;margin:0;flex:0 0 auto;accent-color:var(--blue)}
@supports (-webkit-touch-callout:none){
  #cdEditModal .modal-field input,#cdEditModal .modal-field select{font-size:16px}
}

/* ---- c4b3-1120: the small neutral line under the buttons of the edit sheet, when a view-only sign-in pressed Save ---- */
#cdEditModal .modal-actions.cd-has-note{flex-wrap:wrap}
#cdEditModal .cd-edit-note{flex:0 0 100%;order:9;margin:10px 0 0;padding:0;font-size:12.5px;line-height:1.4;font-weight:500;color:#cbd5e1;text-align:center}

/* ---- c8a-1120 (Commander 2026-11-20): "Change password" in the header, and the password sheet. ADDITIONS ONLY: every rule
   above this line is the g1120c sheet, byte for byte. Every selector starts at #customerShell. No transitions, no animations. ---- */
#customerShell .cd-pw-btn:disabled{opacity:.6;cursor:default}
/* the sheet: the hint under the two new-password boxes, and the "Show passwords" tick (the edit sheet's tick, restated for this sheet) */
#customerShell .cd-pw-modal .cd-pw-hint{margin:0 0 12px;font-family:system-ui,-apple-system,sans-serif}
#customerShell .cd-pw-modal label.cd-check{display:flex;align-items:center;gap:8px;margin:0;font-family:system-ui,-apple-system,sans-serif;font-size:12.5px;line-height:1.5;font-weight:650;letter-spacing:0;text-transform:none;color:#3d3520;cursor:pointer}
#customerShell .cd-pw-modal label.cd-check input{width:18px;height:18px;margin:0;padding:0;flex:0 0 auto;accent-color:var(--blue);outline:0 !important}
/* 700 px and less: the header has no room for the words, so the entry is its lock alone: the words are kept at no width (the button
   keeps the line height of Sign Out, and its name for a screen reader and as a tip). Wider, the words show. */
@media(max-width:700px){
  #customerShell .cd-pw-btn{gap:0;padding-left:13px;padding-right:13px}
  #customerShell .cd-pw-btn .cd-pw-txt{display:inline-block;/*! width:0; *//*! overflow:hidden; *//*! white-space:nowrap */}
}
/* 351 to 380 px: the ONE-row header is at its tightest there (logo, crumb, lock, Sign Out), so the lock is slimmer and the crumb
   keeps the two lines it has today. */
@media(min-width:351px) and (max-width:380px){
  #customerShell .cd-pw-btn{padding-left:6px;padding-right:6px}
}
/* 350 px and less: the stacked header (logo, crumb, Sign Out, each on its line). The lock stands to the left of Sign Out but OUT of
   the flow, at the foot of the header where the Sign Out line is, so the logo and Sign Out stay exactly where they are today. */
@media(max-width:350px){
  #customerShell .header-inner{position:relative}
  #customerShell .cd-pw-btn{position:absolute;bottom:0;right:calc(50% + 59.5px);margin:0}
}


.cd-back svg {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    width: 18px;
    height: 18px;
    stroke: rgb(135 190 255);
}
.cd-back:hover svg {
  fill: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 18px;
  height: 18px;
  stroke: #fff;
}






.cd-back svg {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    width: 18px;
    height: 18px;
    stroke: rgb(135 190 255);
}
.cd-back:hover svg {
  fill: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  width: 18px;
  height: 18px;
  stroke: #fff;
}
#cdBack {
}
strong {
}
.cd-guide summary:hover, .cd-guide .cd-guide-t:hover {
  background: #000;
  /*! border: 6px solid #165eb2; */
  /*! background: #162036; */
  /*! cursor: pointer; */
  /*! text-transform: capitalize; */
  background: #162036;
  /*! border: 10px solid #6666; */
}
strong {
}
strong {
}
summary {
}
#cdGuide:open {
  /*! background: #fff; */
}
#cdGuide:open .cd-guide summary {
  background: #fff;
}
#cdVersion {
  /*! font-size: 12px; */
  /*! color: #6188b7; */
  font-weight: 600;
  color: var(--muted);

  
  
  

}   /* j1129: closes #cdVersion, which Ab's saved file leaves open at its end (a browser closes it the same way at the end of a file) */


/* ===================================================================================================================
   j1129 (Grok Bot for Ab, 2026-11-29): Ab's sheet above is kept exactly as he saved it. Everything below is ADDED:
   his inline edits from the 11-29 9 AM page, moved into rules, plus the parts the new markup needs. No transitions,
   no shadow hover effects (Ab's rules). Scoped to #customerShell / cd- classes so the admin panel is untouched.
   =================================================================================================================== */

/* Signed in as + Contact Us / Change password: its own section under the header (Ab's 9 AM layout) */
#customerShell .section-card.cd-account{align-items:center}
#customerShell .cd-acct-btns{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch;flex:0 1 auto}
#customerShell .cd-acct-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:15px 16px;min-height:48px;
  background:#f6f6f6;color:#4b4949;border:1px solid #eee;outline:1px solid #fff;border-radius:5.5px;font-family:system-ui,-apple-system,sans-serif;
  font-size:13px;font-weight:600;letter-spacing:.026rem;text-transform:uppercase;text-decoration:none;cursor:pointer;white-space:nowrap;transition:none}
#customerShell .cd-acct-btn:hover{background:#ececec;color:#252525}
#customerShell .cd-acct-btn svg{width:16px;height:16px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* "Orders": the admin page's back button, opening a drop-down of the account's orders */
#customerShell .cd-omenu{position:relative;display:inline-flex}
#customerShell .cd-omenu-list{position:absolute;top:calc(100% + 6px);left:0;z-index:40;min-width:290px;max-width:min(420px,86vw);max-height:60vh;overflow:auto;
  background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:6px;font-family:system-ui,-apple-system,sans-serif}
#customerShell .cd-omenu-list[hidden]{display:none}
#customerShell .cd-omenu-item{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:10px 10px;border-radius:6px;
  color:var(--text);text-decoration:none;font-size:13px;line-height:1.35}
#customerShell .cd-omenu-item:hover,#customerShell .cd-omenu-item:focus-visible{background:#f1f6ff;text-decoration:none}
#customerShell .cd-omenu-item.is-current{background:#eef4ff}
#customerShell .cd-omenu-item strong{font-weight:600;color:var(--brand-navy);white-space:nowrap;font-variant-numeric:tabular-nums}
#customerShell .cd-omenu-name{color:var(--muted);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#customerShell .cd-omenu-item .badge{font-size:10px;padding:4px 7px;margin:0;border-width:1px}
#customerShell .cd-omenu-all{display:block;width:100%;margin-top:4px;padding:10px;border:0;border-top:1px solid #eef2f7;background:none;border-radius:0 0 6px 6px;
  font:600 12px system-ui,-apple-system,sans-serif;letter-spacing:.04em;text-transform:uppercase;color:#1f6fd1;cursor:pointer;text-align:center}
#customerShell .cd-omenu-all:hover{background:#f1f6ff}

/* Payment row: Paid badge + Download receipt, closer together (Ab's inline values) */
#customerShell .cd-pay{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
#customerShell .cd-pay .badge-active{color:#ececec;background:#257908;border:2.5px solid #1c6d00;padding:8px 13px;font-size:11.5px;line-height:1.3;
  letter-spacing:.03em;border-radius:6px;display:inline-block;vertical-align:middle;margin:0}
#customerShell .cd-pay .cd-receipt{margin:0;padding:8px 13px;font-size:11.5px;line-height:1.3;letter-spacing:.03em;border-radius:6px;gap:5px;
  vertical-align:middle;display:inline-block;width:auto;min-height:0}

/* The action row (Edit / View Plan / Pay Invoice Now): the admin card header; a plan row asked for is marked for a moment */
#customerShell .detail-row.cd-flag{background:#fff3bf}

/* Links on the order: the admin link look, a quiet dashed line that brightens with the text on hover */
#customerShell .detail-row .val a.link-url{color:#1f6fd1;text-decoration:underline dashed;text-decoration-color:rgba(36,130,239,.45);
  text-decoration-thickness:1.5px;text-underline-offset:4px}
#customerShell .detail-row .val a.link-url:hover{color:#2482ef;text-decoration-color:#2482ef}

/* Footer: number and e-mail without the default underline */
#customerShell .cd-foot a{text-decoration:none}
#customerShell .cd-foot a:hover{text-decoration:none;color:var(--text)}

/* Oscar Installation - 10 Easy Steps: step titles (Ab's inline values) */
#customerShell .cd-steps li strong{font-weight:600;color:#cbdcff;font-family:system-ui,-apple-system,sans-serif;letter-spacing:0;font-size:14px;margin-bottom:6px}

/* The orders table: the admin panel's own table (login.html rules), with the admin View button; no underline anywhere on hover */
#customerShell .cd-table{margin:0 0 18px}
#customerShell .cd-table a,#customerShell .cd-table a:hover,#customerShell .cd-table td,#customerShell .cd-table tr:hover td{text-decoration:none}
#cdOrdersTable .btn-sm{padding:7px 13px;font-size:11px;letter-spacing:.045em;font-family:'Poppins',system-ui,-apple-system,sans-serif;font-weight:unset;border:2.5px solid #0c1b3a;background:#0f1d3e;color:#fff}
#cdOrdersTable tr:hover .btn-blue{background:#142d62;border:2.5px solid #142d62}

/* Edit sheet inputs (Ab, mic142) */
:where(#orderModal,#cdEditModal) .field input,:where(#orderModal,#cdEditModal) .modal-field input,:where(#orderModal,#cdEditModal) .modal-field select,:where(#orderModal,#cdEditModal) .flag-note{
  height:40px;font-weight:600;overflow:auto;border-radius:inherit}

/* Phones: Ab's manual paddings broke under 480px; the same look, sized for the screen (checked at 390 and 350 wide) */
@media (max-width:720px){
  #customerShell .section-card.cd-account{padding:18px;gap:14px}
  #customerShell .cd-who{flex:1 1 100%}
  #customerShell .cd-acct-btns{flex:1 1 100%}
  #customerShell .cd-acct-btn{flex:1 1 0}
}
@media (max-width:480px){
  #customerShell .section-card.cd-account{padding:14px}
  #customerShell .cd-who strong{white-space:normal;overflow-wrap:anywhere}
  #customerShell .cd-acct-btn{padding:13px 10px;font-size:12px;letter-spacing:.01rem}
  #customerShell .cd-omenu-list{min-width:0;width:calc(100vw - 48px)}
  #customerShell .cd-pay .badge-active,#customerShell .cd-pay .cd-receipt{padding:7px 11px;font-size:11px}
  #customerShell .cd-steps li strong{font-size:13.5px}
}
@media (max-width:360px){
  #customerShell .cd-acct-btns{flex-direction:column}
  #customerShell .cd-acct-btn{flex:1 1 auto;width:100%}
}

/* j1129c (Ab 10:36 AM): the orders table fills the same width as the cards above. The admin rule gives <table> display:table-caption,
   which shrinks it to its content; as in the admin (#viewOrders .table-wrap) the wrap is a flex column so the table stretches to 100%. */
#customerShell #cdList.cd-table{width:100%;max-width:none;box-sizing:border-box}
#customerShell #cdList .table-wrap{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;width:100%;max-width:none;box-sizing:border-box}
#customerShell #cdList .table-wrap>table{width:100%!important;max-width:none;box-sizing:border-box;align-self:stretch}
@media (min-width:1177px){
#customerShell #cdList .table-wrap>table{display:block}
#customerShell #cdList table>thead,#customerShell #cdList table>tbody{display:block;width:100%}
#customerShell #cdList thead tr,#customerShell #cdList tbody tr{display:flex;width:100%;align-items:center;flex-wrap:nowrap}
#customerShell #cdList th,#customerShell #cdList td{min-width:0;box-sizing:border-box;overflow-wrap:anywhere}
#customerShell #cdList th:nth-child(1),#customerShell #cdList td:nth-child(1){flex:1.1 1 0}
#customerShell #cdList th:nth-child(2),#customerShell #cdList td:nth-child(2){flex:1.5 1 0}
#customerShell #cdList th:nth-child(3),#customerShell #cdList td:nth-child(3){flex:2.3 1 0}
#customerShell #cdList th:nth-child(4),#customerShell #cdList td:nth-child(4){flex:1.1 1 0}
#customerShell #cdList th:nth-child(5),#customerShell #cdList td:nth-child(5){flex:0.9 1 0}
#customerShell #cdList th:nth-child(6),#customerShell #cdList td:nth-child(6){flex:1.2 1 0}
#customerShell #cdList th:nth-child(7),#customerShell #cdList td:nth-child(7){flex:0.8 1 0}
#customerShell #cdList th,#customerShell #cdList td{padding-left:8px;padding-right:8px}
#customerShell #cdList th:first-child,#customerShell #cdList td:first-child{padding-left:13px}
#customerShell #cdList th:last-child,#customerShell #cdList td:last-child{padding-right:12px}
#customerShell #cdList thead tr{align-items:stretch}
}

/* k1129 (Ab 2026-11-29): a plain orders <select> on the LEFT of the order card, the admin panel's navy dropdown look.
   8px corners, no transition, no shadow on hover. The ticket-style .cd-omenu list is no longer used. */
#customerShell .cd-pick-left{flex:1 1 260px;max-width:420px;min-width:0;margin:0;align-self:stretch;align-items:stretch}
#customerShell .detail-card>.page-hdr.cd-hdr{align-items:flex-end;gap:12px;flex-wrap:wrap}
#customerShell .cd-pick-left>select,#customerShell .cd-pick-left .cs-trigger{border-radius:8px}
#customerShell .cd-pick-left>select{font-weight:600;font-size:14px;padding:11px 42px 11px 14px}
#customerShell .cd-pick-left .cs{width:100%;min-width:0}
#customerShell .cd-pick-left .cs-trigger{min-height:44px;transition:none;box-shadow:none}
#customerShell .cd-pick-left .cs-trigger:hover,#customerShell .cd-pick-left .cs-trigger:focus{box-shadow:none}
#customerShell .cd-pick-left .cs-menu{box-shadow:none;border:1px solid #d5ddec}
@media(max-width:520px){
  #customerShell .cd-pick-left{flex:1 1 100%;max-width:none}
}
