:root {
  color-scheme: light;
  --ink: #203548;
  --navy: #223d52;
  --navy2: #183549;
  --muted: #526574;
  --berry: #974157;
  --line: #d5dedd;
  --page: #f4f6f3;
  --white: #fff;
  --pale: #eaf2f0;
  --warm: #f9eee8;
  --radius: 18px;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--page);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.5;
}
button,
input,
select {
  font: inherit;
}
button,
summary,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #307c90;
  outline-offset: 3px;
}
button {
  border: 0;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.15rem, 4.5vw, 3.65rem);
  font-weight: 620;
}
h2 {
  font-size: clamp(1.65rem, 3.1vw, 2.45rem);
  font-weight: 600;
}
h3 {
  font-size: 1.35rem;
  font-weight: 640;
}
h4 {
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}
p {
  overflow-wrap: anywhere;
}
.muted,
small,
.small {
  color: var(--muted);
}
.small {
  font-size: 0.92rem;
}
.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--berry);
  margin-bottom: 0.6rem;
}
.tag {
  display: inline-flex;
  width: fit-content;
  border-radius: 40px;
  align-items: center;
  padding: 5px 12px;
  font-size: 0.8rem;
  font-weight: 650;
  background: #e3eeee;
  color: #24535a;
}
.loading {
  padding: 12vh 7vw;
}
.loading img {
  width: 180px;
}
.mast {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 5;
}
.mast-in {
  max-width: 1350px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 65px);
  min-height: 72px;
}
.logo {
  width: 155px;
  height: auto;
}
.mast-title {
  border-left: 1px solid var(--line);
  padding-left: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}
.brand {
  background: transparent;
  padding: 0;
}
.desk-nav,
.mobile-nav {
  display: flex;
  gap: 4px;
}
.desk-nav button,
.mobile-nav button {
  background: transparent;
  border-radius: 12px;
  color: var(--muted);
  padding: 10px 12px;
  min-height: 44px;
  font-size: 0.93rem;
  font-weight: 600;
}
.desk-nav button span {
  display: none;
}
.desk-nav button.active,
.mobile-nav button.active,
.role-tabs .active {
  background: var(--pale);
  color: #20565d;
}
.identity {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--muted);
}
.mobile-nav {
  display: none;
}
.primary,
.secondary,
.pale,
.selected,
.quiet,
.link-btn,
.quiz-choice,
.role-tabs .active {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 620;
  line-height: 1.3;
  font-size: 1rem;
}
.primary {
  background: var(--navy);
  color: white;
}
.primary:hover {
  background: #31566c;
}
.secondary,
.quiz-choice {
  border: 1px solid #b9c9c9;
  background: white;
  color: var(--ink);
}
.secondary:hover,
.quiz-choice:hover {
  background: #f0f5f4;
}
.selected {
  background: #e3efeb;
  color: #174d49;
  border: 1px solid #88ada2;
}
.pale {
  background: #f8ece2;
  color: #263b43;
}
.quiet,
.link-btn {
  background: transparent;
  color: #305d69;
}
.quiet:hover,
.link-btn:hover {
  background: var(--pale);
}
.link-btn {
  padding: 8px 0;
  justify-content: flex-start;
}
.login-grid {
  width: min(1250px, 100%);
  margin: auto;
  min-height: calc(100svh - 74px);
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(28px, 6vw, 100px);
  align-items: center;
  padding: clamp(22px, 4vw, 65px);
}
.cover {
  isolation: isolate;
  min-height: 520px;
  height: min(670px, calc(100svh - 148px));
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  background: #d8c1a3;
}
.cover img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: 52% 42%;
  z-index: -2;
}
.cover:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #172521dc, transparent 48%);
  z-index: -1;
}
.cover-caption {
  position: absolute;
  inset: auto 9% 8%;
  color: #fff;
}
.cover-caption span {
  font-weight: 600;
  letter-spacing: 0.07em;
}
.cover-caption h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 0.99;
  font-size: clamp(3.5rem, 6vw, 6rem);
  margin-top: 0.6rem;
}
.login-card {
  max-width: 470px;
  width: 100%;
}
.login-card h2 {
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  margin-bottom: 10px;
}
.demo-options {
  margin: 26px 0 15px;
}
.role-card {
  width: 100%;
  display: grid;
  grid-template-columns: 40px 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  text-align: left;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 13px 18px;
  margin: 8px 0;
  color: var(--ink);
  font-weight: 650;
}
.role-card:hover {
  border-color: #74999b;
  background: #eef5f1;
}
.role-symbol {
  grid-row: 1/3;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  background: #e9f0ef;
  display: grid;
  place-items: center;
  color: #395c62;
  font-size: 1.25rem;
}
.role-sub {
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--muted);
}
details.personal {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
.personal p {
  margin: 12px 0;
}
.vstack {
  display: grid;
  gap: 13px;
  margin-top: 16px;
}
.personal summary,
summary {
  cursor: pointer;
  font-weight: 620;
}
.workspace,
.client {
  max-width: 1290px;
  margin: 0 auto;
  padding: clamp(25px, 4vw, 54px) clamp(16px, 4vw, 58px) 65px;
}
.section-top {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.section-top .eyebrow {
  margin-bottom: 5px;
}
.home-hero {
  border-radius: 22px;
  background: var(--navy2);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 285px;
  color: white;
}
.hero-text {
  padding: clamp(24px, 3.8vw, 54px);
  align-self: center;
}
.hero-text .eyebrow {
  color: #eed1c5;
}
.hero-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: Georgia, serif;
  font-weight: 400;
}
.hero-text p:not(.eyebrow) {
  color: #ebf0f1;
  max-width: 440px;
  margin: 14px 0 24px;
}
.home-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 400px;
}
.quick-grid,
.offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0;
}
.quick,
.metrics article,
.guide-card,
.panel,
.offer {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.quick,
.metrics article {
  padding: clamp(18px, 2.3vw, 30px);
}
.quick-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: var(--pale);
  color: #2e6870;
  font-size: 1.35rem;
  margin-bottom: 18px;
}
.quick p,
.metrics p {
  margin: 6px 0;
  color: var(--muted);
}
.quick .link-btn {
  margin-top: 8px;
}
.panel {
  padding: clamp(18px, 3.4vw, 40px);
  margin-bottom: 20px;
}
.panel > h2,
.panel > h3 {
  margin-bottom: 10px;
}
.panel > .muted {
  margin: 0 0 18px;
}
.steps,
.tabs,
.role-tabs,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.steps {
  margin: 0 0 20px;
  gap: 0;
  border-bottom: 1px solid #c5d2d1;
}
.steps button {
  display: flex;
  gap: 9px;
  align-items: center;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  padding: 14px 22px;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
}
.steps button.active {
  border-bottom-color: var(--berry);
  color: var(--ink);
}
.steps b {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e0e7e6;
  font-size: 0.83rem;
}
.steps .active b {
  background: var(--berry);
  color: white;
}
label {
  display: grid;
  gap: 6px;
  font-size: 0.925rem;
  color: #344a58;
  font-weight: 570;
  align-content: start;
}
input,
select {
  background: #fff;
  border: 1px solid #b5c4c5;
  color: var(--ink);
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 1rem;
  min-height: 44px;
}
select {
  padding-right: 32px;
}
input::placeholder {
  color: #6d7c84;
  font-weight: 400;
}
.fields,
.eyes {
  display: grid;
  gap: 14px;
  margin: 16px 0;
}
.two,
.eyes {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.eye {
  margin: 10px 0 0;
  padding: 12px 17px 16px;
  border: 1px solid var(--line);
  background: #f7faf8;
  border-radius: 12px;
  min-width: 0;
}
.eye legend {
  font-weight: 650;
  padding: 0 5px;
}
.eye details {
  font-size: 0.87rem;
}
.eye .fields {
  margin: 7px 0 12px;
}
.tick {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 18px 0;
}
.tick input {
  width: 20px;
  min-height: 20px;
  height: 20px;
  accent-color: #315e62;
}
.divide {
  padding-top: 22px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
  justify-content: flex-end;
}
.tabs,
.role-tabs {
  margin-bottom: 16px;
}
.role-tabs button {
  font-size: 0.9rem;
}
.notice,
.error {
  background: var(--warm);
  padding: 16px 20px;
  border-radius: 12px;
  border-left: 4px solid #b67661;
  margin: 15px 0;
  color: #5c453c;
}
.error {
  background: #fff0f1;
  color: #813346;
}
.notice ul {
  margin: 0;
  padding-left: 20px;
}
.notice li + li {
  margin-top: 6px;
}
.empty {
  padding: 20px 0;
  color: var(--muted);
}
.order-row {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.order-row > div:last-child {
  display: grid;
  gap: 12px;
  text-align: right;
}
.order-row h3 {
  margin: 6px 0;
}
.order-row p {
  font-size: 0.92rem;
  color: var(--muted);
}
.order-entry {
  min-width: 0;
  padding-bottom: 12px;
}
.order-row > div:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.order-summary > summary {
  width: fit-content;
  padding: 10px 0;
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
}
.order-sheet {
  max-width: 44rem;
  padding: 12px clamp(10px, 3vw, 22px);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.order-sheet h4 {
  margin: 12px 0 6px;
  font-size: 1rem;
}
.order-sheet dl {
  display: grid;
  gap: 4px;
  margin: 6px 0 12px;
}
.order-sheet dl > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}
.order-sheet dt, .order-sheet dd, .order-sheet th, .order-sheet td {
  overflow-wrap: anywhere;
}
.order-sheet dt {
  color: var(--muted);
}
.order-sheet dd {
  margin: 0;
}
.order-sheet table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}
.order-sheet th, .order-sheet td {
  padding: 6px 4px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.order-sheet th:first-child {
  width: 50%;
}
.order-sheet tbody th {
  font-weight: 500;
}
.order-sheet .muted {
  margin: 8px 0 16px;
  font-size: .88rem;
}
.claim {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.claim label {
  max-width: 380px;
  flex: 1;
}
.offer {
  padding: clamp(15px, 2vw, 26px);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.offer.first {
  background: linear-gradient(155deg, #ecf5f0 0%, #fff 60%);
  border-color: #8eafa2;
}
.offer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 18px;
}
.offer-top .eyebrow {
  margin: 0;
}
.offer h3 {
  font-size: 1.55rem;
}
.coating,
.offer p {
  font-size: 0.96rem;
  line-height: 1.52;
}
.coating {
  margin-top: 5px;
  color: var(--muted);
}
.rule {
  height: 1px;
  background: var(--line);
  margin: 16px 0;
}
.offer h4 {
  margin: 6px 0 3px;
}
.offer p + h4 {
  margin-top: 12px;
}
.price {
  display: grid;
  margin-top: auto;
  padding: 22px 0 10px;
}
.price strong,
.amount strong {
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}
.price span {
  font-size: 0.84rem;
  color: var(--muted);
}
.offer details {
  font-size: 0.86rem;
  margin: 8px 0 16px;
}
.offer a,
.sources a,
.doc-list a,
a {
  color: #265e73;
  text-underline-offset: 3px;
}
.total-panel {
  background: var(--pale);
  border-radius: 13px;
  padding: 20px;
  margin: 20px 0;
}
.total-panel h3,
.total-panel p {
  margin-bottom: 7px;
}
.amount {
  display: flex;
  align-items: center;
  gap: 15px;
}
.illustration {
  margin: 16px 0;
}
.illustration img,
.client-figure img {
  max-height: 280px;
  object-fit: contain;
  margin: 12px 0;
}
.illustration figcaption,
.client-figure figcaption {
  font-size: 0.87rem;
  color: var(--muted);
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}
.guide-card {
  padding: 20px;
}
.guide-card summary {
  display: block;
  position: relative;
  padding-right: 26px;
}
.guide-card summary:after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--berry);
  font-size: 1.3rem;
}
.guide-card[open] summary:after {
  content: "−";
}
.guide-card summary p {
  font-weight: 400;
  color: var(--muted);
  margin-top: 6px;
}
.guide-card li,
.quiz-choice,
.sources > * {
  margin-bottom: 6px;
}
.sources {
  display: grid;
  font-size: 0.84rem;
  line-height: 1.4;
}
.quiz,
.doc-entry,
.fin-order {
  border-top: 1px solid var(--line);
  padding: 15px 0;
}
.quiz h3 {
  margin: 8px 0 14px;
}
.quiz-choice {
  display: block;
  text-align: left;
  width: 100%;
}
.feedback {
  color: #27595c;
}
.doc-list {
  margin-top: 22px;
}
.doc-entry p {
  color: var(--muted);
  font-size: 0.9rem;
}
.fin-order form {
  display: grid;
  gap: 13px;
  margin: 16px 0;
}
.fin-order form > button {
  justify-self: start;
}
.finance-table {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr 1.2fr;
  align-items: center;
  gap: 8px;
  max-width: 610px;
}
.finance-table b {
  font-size: 0.84rem;
}
.sr {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.metrics article:nth-child(2) {
  background: #e6f0e9;
}
.client {
  min-height: 100vh;
}
.client header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.client-title {
  padding: clamp(24px, 5vw, 60px);
  border-radius: 20px;
  background:
    linear-gradient(90deg, #152d3a 0%, #1e3448ed 46%, #20354835 100%),
    url("/hero.webp") 65% 53% / cover;
  margin: 28px 0 20px;
  color: white;
}
.client-title .eyebrow {
  color: #f2cbbc;
}
.client-title p:last-child {
  margin-top: 10px;
}
.client > .secondary {
  margin-top: 18px;
}
#live {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 12px);
  background: #233c4c;
  color: white;
  padding: 10px 18px;
  border-radius: 12px;
  z-index: 11;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.18s;
  text-align: center;
  max-width: min(90vw, 570px);
  width: max-content;
}
#live.visible {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
}
[hidden] {
  display: none !important;
}
@media (max-width: 970px) {
  .mast-in {
    gap: 12px;
    padding: 12px 20px;
  }
  .desk-nav button {
    padding: 10px;
  }
  .identity {
    gap: 4px;
  }
  .offers {
    gap: 9px;
  }
  .eye .three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .login-grid {
    gap: 30px;
  }
  .offer-top .tag {
    font-size: 0.72rem;
  }
}
@media (max-width: 760px) {
  .desk-nav {
    display: none;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    justify-content: space-around;
    padding: 4px 3px max(5px, env(safe-area-inset-bottom));
    gap: 0;
    z-index: 8;
  }
  .mobile-nav button {
    font-size: 0.76rem;
    line-height: 1.2;
    display: grid;
    gap: 1px;
    justify-items: center;
    flex: 1;
    padding: 3px;
    min-height: 45px;
  }
  .mobile-nav span {
    font-size: 1.1rem;
  }
  .mast-in {
    min-height: 59px;
  }
  .logo {
    width: 132px;
  }
  .workspace {
    padding-bottom: 95px;
  }
  .home-hero {
    grid-template-columns: 1.25fr 0.9fr;
    min-height: 240px;
  }
  .hero-text {
    padding: 24px;
  }
  .quick-grid {
    gap: 10px;
  }
  .quick {
    padding: 15px;
  }
  .login-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    max-width: 620px;
    gap: 22px;
    padding-top: 18px;
  }
  .cover {
    height: 185px;
    min-height: 0;
    border-radius: 18px;
  }
  .cover img {
    object-position: 50% 50%;
  }
  .cover:after {
    background: linear-gradient(90deg, #192e30cc, transparent 80%);
  }
  .cover-caption {
    inset: auto 6% 14%;
  }
  .cover-caption h1 {
    font-size: 2.6rem;
  }
  .cover-caption span {
    display: none;
  }
  .login-card {
    max-width: none;
  }
  .login-card .eyebrow {
    margin-bottom: 4px;
  }
  .demo-options {
    margin-top: 15px;
  }
  .offers {
    grid-template-columns: 1fr;
  }
  .offer {
    padding: 19px;
  }
  .offer-top {
    margin-bottom: 6px;
  }
  .price {
    padding-top: 14px;
  }
  .four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .eyes {
    grid-template-columns: 1fr;
  }
  .eye .three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .section-top {
    margin-bottom: 15px;
  }
  .section-top .secondary,
  .section-top .primary {
    font-size: 0.88rem;
  }
  .panel {
    padding: 18px;
  }
  .claim {
    align-items: stretch;
    flex-direction: column;
  }
  .claim label {
    max-width: none;
  }
  .steps button {
    padding: 12px 9px;
    gap: 5px;
  }
  .client-title {
    margin-top: 16px;
  }
  #live {
    bottom: 77px;
  }
}
@media (max-width: 520px) {
  .home-hero {
    grid-template-columns: 1fr;
  }
  .home-hero img {
    max-height: 145px;
    object-position: 50% 55%;
  }
  .quick-grid {
    grid-template-columns: 1fr;
  }
  .quick {
    display: grid;
    grid-template-columns: 44px 1fr;
    column-gap: 12px;
  }
  .quick-icon {
    grid-row: 1/4;
    margin: 0;
  }
  .quick p,
  .quick .link-btn {
    margin: 0;
  }
  .quick .link-btn {
    min-height: 30px;
  }
  .fields.two,
  .three {
    grid-template-columns: 1fr;
  }
  .eye .three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .steps {
    justify-content: space-between;
  }
  .steps button {
    font-size: 0.92rem;
  }
  .identity span {
    display: none;
  }
  .identity .quiet {
    padding: 8px;
  }
  .mast-title {
    padding-left: 12px;
  }
  .client .tag {
    font-size: 0.7rem;
  }
  .actions {
    justify-content: flex-start;
  }
  .tabs {
    gap: 5px;
  }
  .tabs button {
    padding: 9px;
    font-size: 0.87rem;
  }
  .order-row {
    align-items: flex-start;
  }
  .order-row h3 {
    font-size: 1.15rem;
  }
  .finance-table {
    gap: 5px;
  }
  .finance-table b {
    font-size: 0.78rem;
  }
  .metrics article {
    padding: 14px 18px;
  }
  .metrics h2 {
    font-size: 1.55rem;
  }
  .fin-order summary {
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.reconciliation {
  padding: 12px 16px;
  margin: 12px 0;
  background: var(--pale);
  border-radius: 9px;
}
.rx-check {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.rx-check p {
  margin-top: 8px;
}
.client-figure {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px;
  margin: 18px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}
.client-figure img {
  width: min(55%, 430px);
  height: auto;
  border-radius: 10px;
}
.client-figure figcaption {
  max-width: 320px;
}
@media (max-width: 520px) {
  .client-figure {
    display: block;
  }
  .client-figure img {
    width: 100%;
  }
}
.measure-guide{padding:clamp(14px,2.8vw,28px);margin:18px 0 24px;border:1px solid #bfdcda;border-radius:20px;background:linear-gradient(120deg,#f4fbf9,#f1f5fa);color:#233c50}
.measure-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:20px;align-items:center}.measure-intro svg{display:block;width:100%;height:auto}.measure-guide dl{margin:12px 0}.measure-guide dt{margin-top:8px;color:#125660;font-weight:700}.measure-guide dd{margin:1px 0;color:#344d5b}.measure-guide summary{cursor:pointer;font-weight:650}.measure-guide details p{margin:10px 0}.measure-estimates{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.measure-estimates>div{display:grid;gap:3px;border:1px solid #cee1e1;background:#fff;border-radius:12px;padding:12px}.measure-estimates strong{font-size:1.25rem;color:#145c68}.measure-estimates span{font-weight:650}.measure-estimates small{font-size:.82rem}
@media(max-width:700px){.measure-intro{grid-template-columns:1fr;gap:0}.measure-intro svg{max-height:155px}.measure-estimates>div{padding:9px}}

.showroom {
  --sh-ink: #142e45;
  --sh-paper: #f5f6f3;
  --sh-accent: #aed2cb;
  --sh-tint: #e9f3ef;
  --sh-panel: #183449;
  --sh-muted: #49606e;
  min-height: 100svh;
  width: 100%;
  background: var(--sh-paper);
  color: var(--sh-ink);
  touch-action: pan-y pinch-zoom;
}
.showroom.sh-free {
  --sh-ink: #452c40;
  --sh-panel: #59374a;
  --sh-accent: #e6b9c1;
  --sh-tint: #f7edee;
  --sh-paper: #f9f6f4;
  --sh-muted: #685665;
}
.sh-bar {
  height: 59px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(16px, 4vw, 70px);
  border-bottom: 1px solid #d9dfdf;
}
.sh-bar .logo {
  width: 134px;
}
.sh-system {
  display: flex;
  align-items: center;
  gap: 9px;
}
.sh-utility,
.sh-switch {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sh-ink);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
}
.sh-utility:hover,
.sh-switch:hover {
  background: #e8eeeb;
}
.sh-fs {
  color: #465f6f;
}
.sh-body {
  width: 100%;
  padding: 0 clamp(16px, 4vw, 70px) 28px;
}
.sh-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: clamp(17px, 2.8vh, 36px) 0;
}
.sh-kicker {
  color: var(--sh-muted);
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  margin: 0 0 4px;
}
.sh-heading h1 {
  font-size: clamp(2.3rem, 5.1vw, 5.5rem);
  line-height: 0.96;
  font-weight: 640;
  letter-spacing: -0.065em;
}
.sh-navigation {
  display: grid;
  justify-items: end;
  gap: 2px;
}
.sh-navigation small {
  font-size: 0.8rem;
  color: var(--sh-muted);
}
.sh-switch {
  border-color: #afbdbe;
  background: white;
  flex-direction: row-reverse;
}
.sh-switch[data-move="-1"] {
  flex-direction: row;
}
.sh-switch span {
  font-size: 1.6rem;
  line-height: 0.7;
}
.sh-note {
  font-size: 0.95rem;
  color: var(--sh-muted);
  margin: 0 0 12px;
}
.sh-feature {
  border-radius: clamp(16px, 2vw, 30px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  background: var(--sh-panel);
  color: white;
}
.sh-art {
  position: relative;
  min-height: 320px;
  isolation: isolate;
  overflow: hidden;
  background: #c9d8d9;
}
.sh-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 39%;
}
.sh-art span {
  position: absolute;
  bottom: 10px;
  left: 13px;
  max-width: 90%;
  border-radius: 5px;
  padding: 3px 7px;
  background: #101d248f;
  color: white;
  font-size: 0.72rem;
}
.sh-copy {
  padding: clamp(22px, 3vw, 56px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  min-width: 0;
}
.sh-copy .sh-kicker {
  color: var(--sh-accent);
  margin: 0 0 8px;
}
.sh-copy h2 {
  font:
    400 clamp(2rem, 3.7vw, 4.5rem) / 0.99 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -0.04em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  margin: 0;
}
.sh-coating {
  color: #eaf0ef;
  font-weight: 600;
  margin: 7px 0 0;
}
.sh-adv {
  font-size: clamp(1.08rem, 1.55vw, 1.5rem);
  line-height: 1.2;
  font-weight: 630;
  margin: clamp(14px, 2.3vh, 27px) 0 6px;
  color: #fff;
}
.sh-benefit {
  font-size: 1rem;
  line-height: 1.47;
  color: #edf2f1;
  max-width: 62ch;
}
.sh-fit {
  color: var(--sh-accent);
  font-size: 0.85rem;
  margin: 6px 0 0;
}
.sh-purchase {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  justify-content: start;
  column-gap: 11px;
  row-gap: 1px;
  margin: clamp(11px, 2vh, 25px) 0 12px;
}
.sh-purchase > span {
  font-size: 0.88rem;
  grid-column: 1/-1;
  color: #e4edeb;
}
.sh-purchase strong {
  font-size: clamp(1.8rem, 2.6vw, 3.2rem);
  font-weight: 610;
  line-height: 1.07;
  letter-spacing: -0.045em;
}
.sh-purchase small {
  color: #dbe7e5;
  font-size: 0.87rem;
}
.sh-choose {
  min-height: 44px;
  font-size: 0.95rem;
  background: #f6eee2;
  color: #1f3443;
  border-radius: 9px;
  padding: 10px 16px;
  font-weight: 650;
}
.sh-choose[aria-pressed="true"] {
  background: #cae2d8;
  color: #153f37;
}
.sh-caption {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 5px 18px;
  margin: 9px 0 0;
}
.sh-total {
  border: 0;
  font-size: 0.9rem;
  color: var(--sh-muted);
}
.sh-total summary {
  min-height: 34px;
  padding: 4px 0;
}
.sh-total > div {
  padding: 3px 0 8px;
  min-width: min(280px, 90vw);
}
.sh-total div p {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: baseline;
  color: var(--sh-ink);
}
.sh-receipt {
  font-size: 0.88rem;
  font-weight: 630;
  color: var(--sh-ink);
  margin-top: 4px;
}
.sh-series,
.sh-info {
  margin-top: clamp(20px, 3.5vw, 46px);
}
.sh-section-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 5px 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.sh-section-title h2,
.sh-info h2 {
  font-size: clamp(1.5rem, 2.35vw, 2.6rem);
  letter-spacing: -0.035em;
}
.sh-section-title > span {
  color: var(--sh-muted);
  font-size: 0.9rem;
}
.sh-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.sh-tile {
  background: #fff;
  text-align: left;
  isolation: isolate;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto minmax(20px, 1fr) auto;
  gap: 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 13px;
  border: 1px solid #cad4d2;
  padding: 0 0 10px;
  position: relative;
  color: var(--sh-ink);
}
.sh-tile[aria-pressed="true"] {
  border: 2px solid var(--sh-panel);
  padding-bottom: 9px;
  background: var(--sh-tint);
}
.sh-tile:hover {
  border-color: var(--sh-panel);
  background: var(--sh-tint);
}
.sh-thumb {
  width: 100%;
  height: clamp(68px, 10vw, 140px);
  object-fit: cover;
  object-position: center 38%;
  margin: 0 0 9px;
}
.sh-tile-title,
.sh-tile-coat,
.sh-tile strong {
  margin: 0 12px;
  overflow-wrap: anywhere;
}
.sh-tile-title {
  font-size: clamp(0.94rem, 1.32vw, 1.28rem);
  line-height: 1.15;
  font-weight: 650;
  letter-spacing: -0.025em;
}
.sh-tile-coat {
  font-size: 0.84rem;
  color: var(--sh-muted);
  margin-top: 4px;
}
.sh-tile strong {
  margin-top: 6px;
  font-size: 1.06rem;
  color: var(--sh-ink);
}
.sh-info {
  background: white;
  border: 1px solid #d3dcd9;
  border-radius: 16px;
  padding: clamp(18px, 2.4vw, 34px);
  display: grid;
  grid-template-columns: minmax(200px, 0.75fr) minmax(0, 1.45fr);
  align-items: center;
  gap: clamp(16px, 3vw, 46px);
}
.sh-info h3 {
  font-size: 0.98rem;
  line-height: 1.25;
  margin: 16px 0 5px;
}
.sh-info p {
  font-size: 0.95rem;
  max-width: 64ch;
}
.sh-info .sh-origin {
  color: var(--sh-muted);
  font-size: 0.8rem;
  margin-top: 12px;
}
.sh-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  align-items: start;
  gap: 13px;
}
.sh-proof {
  margin: 0;
}
.sh-proof-image {
  width: 100%;
  max-height: 215px;
  object-fit: contain;
  background: #f3f5f4;
  border-radius: 7px;
}
.sh-proof figcaption {
  font-size: 0.79rem;
  line-height: 1.4;
  color: var(--sh-muted);
  margin-top: 5px;
}
.sh-foot {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: space-between;
  color: var(--sh-muted);
  padding: 24px 0 10px;
}
.sh-foot p {
  max-width: 62ch;
  font-size: 0.9rem;
}
.showroom button {
  touch-action: pan-y pinch-zoom;
}
.staff-all-offers {
  margin: 14px 0;
  border: 1px solid #ccdad5;
  padding: 12px 16px;
  border-radius: 12px;
}
.staff-all-offers summary {
  cursor: pointer;
  font-weight: 620;
}
@media (min-width: 1450px) {
  .sh-art {
    max-height: 600px;
  }
  .sh-feature {
    min-height: 450px;
  }
}
@media (max-width: 1000px) {
  .sh-body {
    padding-inline: 20px;
  }
  .sh-copy {
    padding: 22px;
  }
  .sh-heading {
    padding: 20px 0;
  }
  .sh-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sh-feature {
    grid-template-columns: 0.92fr 1.08fr;
  }
  .sh-purchase {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
  }
  .sh-purchase > span {
    width: 100%;
  }
}
@media (max-width: 640px) {
  .sh-bar {
    height: 51px;
    padding: 0 12px;
  }
  .sh-bar .logo {
    width: 101px;
  }
  .sh-system {
    gap: 1px;
  }
  .sh-utility {
    font-size: 0.79rem;
    padding: 6px 7px;
  }
  .sh-body {
    padding-inline: 12px;
  }
  .sh-copy {
    padding: 17px;
  }
  .sh-kicker {
    font-size: 0.76rem;
  }
  .sh-heading {
    padding: 14px 2px;
  }
  .sh-navigation small {
    font-size: 0.73rem;
  }
  .sh-switch {
    min-height: 38px;
    font-size: 0.8rem;
    padding: 5px 8px;
  }
  .sh-feature {
    grid-template-columns: 1fr;
  }
  .sh-art {
    min-height: 0;
    height: clamp(138px, 23svh, 218px);
  }
  .sh-hero-image {
    object-position: 50% 34%;
  }
  .sh-art span {
    bottom: 5px;
    font-size: 0.66rem;
  }
  .sh-copy h2 {
    font-size: clamp(1.8rem, 7vw, 2.55rem);
  }
  .sh-copy .sh-kicker {
    margin-bottom: 3px;
  }
  .sh-adv {
    margin-top: 12px;
  }
  .sh-benefit {
    font-size: 0.93rem;
  }
  .sh-purchase {
    margin: 11px 0 9px;
  }
  .sh-choose {
    width: 100%;
  }
  .sh-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .sh-thumb {
    height: 82px;
  }
  .sh-info {
    grid-template-columns: 1fr;
  }
  .sh-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .sh-gallery:has(figure:only-child) {
    grid-template-columns: 1fr;
  }
  .sh-foot {
    align-items: flex-start;
    flex-direction: column;
  }
  .sh-receipt {
    width: 100%;
  }
}
@media (max-width: 380px) {
  .sh-fs {
    padding: 4px;
  }
  .sh-fs span:last-child {
    display: none;
  }
  .sh-heading h1 {
    font-size: 2.1rem;
  }
  .sh-thumb {
    height: 66px;
  }
}

.sh-pager {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0 3px;
  flex-wrap: wrap;
}
.sh-position {
  margin-right: auto;
  color: var(--sh-muted);
  font-size: 0.88rem;
}
.sh-position b {
  color: var(--sh-ink);
}
.sh-adjacent {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 1px 8px;
  background: #fff;
  color: var(--sh-ink);
  text-align: left;
  border: 1px solid #c5d0ce;
  border-radius: 9px;
  padding: 6px 11px;
  min-height: 42px;
}
.sh-adjacent > span {
  grid-column: 1/-1;
  color: var(--sh-muted);
  font-size: 0.76rem;
}
.sh-adjacent b {
  font-size: 0.9rem;
}
.sh-adjacent small {
  font-size: 0.76rem;
  color: var(--sh-muted);
}
.sh-adjacent:hover {
  background: var(--sh-tint);
}
.sh-view-evidence {
  color: var(--sh-ink);
  min-height: 32px;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0 6px;
}
.sh-upgrade {
  margin-top: 12px;
  background: var(--sh-tint);
  border-radius: 9px;
  padding: 10px 12px;
}
@media (max-width: 640px) {
  .sh-position {
    width: 100%;
  }
  .sh-adjacent {
    flex: 1;
    grid-template-columns: 1fr;
  }
  .sh-adjacent > span {
    grid-column: auto;
  }
  .sh-pager {
    gap: 4px;
  }
  .sh-caption {
    align-items: baseline;
  }
}

.ks {
  display: grid;
  gap: 24px;
}
.ks h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin: 0 0 14px;
}
.ks-search,
.ks-faq {
  border: 1px solid var(--line, #d7dedd);
  border-radius: 18px;
  background: #fff;
  padding: clamp(16px, 3vw, 34px);
  min-width: 0;
}
.ks-form {
  display: grid;
  gap: 5px;
}
.ks-form label {
  font-size: 0.9rem;
  font-weight: 650;
  color: #355466;
}
.ks-input-row {
  display: flex;
  gap: 10px;
}
.ks-input-row input {
  flex: 1;
  min-width: 0;
}
.ks-input-row button {
  flex-shrink: 0;
}
.ks-hint {
  font-size: 0.91rem;
  color: #526574;
  margin: 9px 0 0;
}
.ks-dialog:empty {
  display: none;
}
.ks-dialog {
  margin-top: 20px;
  display: grid;
  gap: 18px;
}
.ks-exchange {
  display: grid;
  gap: 8px;
  min-width: 0;
}
.ks-asked {
  justify-self: end;
  margin: 0;
  max-width: min(85%, 610px);
  background: #234354;
  color: #fff;
  border-radius: 13px 13px 3px 13px;
  padding: 9px 15px;
  overflow-wrap: anywhere;
}
.ks-response {
  border-left: 3px solid #7d9f9c;
  background: #f4f7f5;
  padding: 16px 17px;
  border-radius: 3px 12px 12px 3px;
  min-width: 0;
}
.ks-response h3 {
  font-size: 1.12rem;
  line-height: 1.35;
  margin: 0 0 8px;
}
.ks-response p,
.ks-answer p {
  margin: 0 0 8px;
  line-height: 1.56;
}
.ks-response p:last-child,
.ks-answer p:last-child {
  margin-bottom: 0;
}
.ks-citations {
  display: grid;
  gap: 3px;
  margin: 10px 0 0;
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}
.ks-citations b {
  font-weight: 600;
  color: #475e68;
}
.ks-citations a {
  width: fit-content;
  color: #235b69;
}
.ks-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}
.ks-faq-grid > details {
  padding: 0;
  border: 1px solid #d8e2df;
  border-radius: 11px;
  min-width: 0;
}
.ks-faq-grid summary {
  padding: 12px 14px;
  line-height: 1.4;
}
.ks-faq-grid .ks-answer {
  padding: 0 14px 14px;
}
.ks-excerpt-list {
  margin-top: 13px;
}
.ks-excerpt {
  margin: 14px 0;
}
.ks-excerpt p {
  white-space: pre-line;
}
.ks-related {
  display: grid;
  justify-content: start;
  gap: 3px;
  margin-top: 14px;
}
.ks-related span {
  color: #526574;
  font-size: 0.86rem;
}
.ks-related button {
  color: #235b69;
  background: none;
  text-align: left;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.94rem;
}
@media (max-width: 700px) {
  .ks-faq-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 500px) {
  .ks-input-row {
    display: grid;
  }
  .ks-input-row button {
    justify-self: start;
  }
  .ks-search,
  .ks-faq {
    padding: 16px;
  }
  .ks-asked {
    max-width: 94%;
  }
}

.rota-app {
  --rota-ink: #19324c;
  --rota-line: #cddbe5;
  color: var(--rota-ink);
  min-width: 0;
}
.rota-heading { margin-bottom: 18px; }
.rota-heading h1 { margin: 2px 0 0; line-height: 1.12; }
.rota-tools, .rota-period, .rota-actions, .rota-dialog-head, .rota-cell-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rota-tools { flex-wrap: wrap; margin-bottom: 18px; }
.rota-tools .primary, .rota-tools .secondary { min-height: 42px; padding: 8px 16px; }
.rota-period {
  border: 1px solid var(--rota-line);
  border-radius: 15px;
  background: #ffffffb8;
  min-height: 44px;
  overflow: hidden;
  gap: 0;
}
.rota-period input, .rota-period button {
  color: var(--rota-ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 4px 7px;
  min-height: 40px;
  min-width: 0;
  width: auto;
}
.rota-period button { font-size: 24px; width: 38px; }
.rota-sheet {
  border-radius: 24px;
  border: 1px solid #ffffffed;
  background: linear-gradient(132deg,#fff 3%,#f6f9fd 90%);
  box-shadow: 0 12px 40px #233b4d12, inset 0 0 0 1px #cddbe55a;
  padding: clamp(14px,2.7vw,33px);
}
.rota-summary { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 15px; }
.rota-summary h2 { font-size: clamp(21px,2.5vw,31px); line-height: 1.2; margin: 0; }
.rota-summary h2 small { font-size: .66em; white-space: nowrap; color: #587087; }
.rota-summary p, .rota-notes { color: #526578; margin: 6px 0 0; }
.rota-legend { display: grid; grid-template-columns: repeat(2,max-content); gap: 5px 14px; }
.rota-legend span { display: flex; align-items: center; gap: 5px; font-size: 13px; }
.rota-legend i { width: 17px; height: 11px; border-radius: 10px; flex: none; }
.rota-legend small { font-size: 12px; color: #526578; }
.rota-totals { margin: 18px 0 14px; border-radius: 14px; background: #e8f0f8; padding: 10px 12px; }
.rota-totals h3 { font-size: 15px; margin: 0 0 6px; line-height: 1.3; }
.rota-totals > div { display: flex; flex-wrap: wrap; gap: 6px; }
.rota-chip { display: block; padding: 3px 7px; border-radius: 7px; font-size: 13px; font-style: normal; font-weight: 650; }
.rota-totals .rota-chip { padding: 5px 10px; flex: 1 1 125px; text-align: center; }
.rota-totals b { font-weight: 580; }
.rota-empty, .rota-day-note { color: #586b7c; font-size: 13px; }
.rota-c0 { background: #bedaf8; color: #204f82; }
.rota-c1 { background: #caf1cd; color: #236436; }
.rota-c2 { background: #fad4e6; color: #843558; }
.rota-c3 { background: #ffeaa5; color: #785109; }
.rota-c4 { background: #dedaff; color: #574481; }
.rota-c5 { background: #c2eeeb; color: #21635f; }
.rota-c6 { background: #f8daca; color: #83452a; }
.rota-c7 { background: #e2eabf; color: #506322; }
.rota-calendar { overflow: hidden; border: 1px solid var(--rota-line); border-radius: 13px; }
.rota-week, .rota-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); }
.rota-week { background: #18324a; color: #fff; font-weight: 650; font-size: 13px; text-align: center; }
.rota-week span { padding: 7px 0; }
.rota-grid { gap: 1px; background: var(--rota-line); }
.rota-day, .rota-blank {
  padding: 6px; background: #fff; color: var(--rota-ink); border: 0; border-radius: 0;
  display: flex; flex-direction: column; gap: 3px; text-align: left; min-width: 0;
  min-height: 87px; font: inherit; line-height: 1.25;
}
.rota-blank, .rota-early { background: #f5f7fa; color: #718193; }
button.rota-day:hover { background: #f1f7fd; box-shadow: inset 0 0 0 2px #96b7d0; }
button.rota-day:focus-visible { outline-offset: -3px; }
.rota-cell-head { gap: 3px; min-height: 21px; }
.rota-cell-head b { font-size: clamp(15px,1.6vw,21px); line-height: 1; }
.rota-cell-head small { display: none; }
.rota-cell-head i {
  margin-left: auto; max-width: 75%; border-radius: 5px; background: #f0e3fc; color: #613488;
  font-size: 10px; font-weight: 650; font-style: normal; padding: 3px; overflow-wrap: anywhere;
}
.rota-day-staff { display: grid; gap: 3px; }
.rota-day .rota-chip, .rota-vacant { text-align: center; line-height: 1.12; overflow-wrap: anywhere; }
.rota-vacant { color: #697988; font-size: 10px; padding: 4px 1px; }
.rota-day-note { font-size: 11px; overflow-wrap: anywhere; }
.rota-pay { margin-top: 13px; font-weight: 700; white-space: pre-wrap; }
.rota-notes { white-space: pre-line; font-size: 14px; }
.rota-dialog {
  position: fixed; inset: 0; padding: 0; margin: auto; border: 1px solid #ffffff;
  border-radius: 22px; width: min(90vw,460px); max-height: 86dvh; overflow-y: auto;
  color: #20364b; background: #f7fbff; box-shadow: 0 22px 75px #102f4752;
}
.rota-dialog::backdrop { background: #142e4375; backdrop-filter: blur(4px); }
.rota-form { display: grid; gap: 12px; padding: 22px; }
.rota-form p { font-size: 14px; }
.rota-dialog-head { justify-content: space-between; }
.rota-dialog-head h2 { margin: 0; font-size: 22px; }
.rota-dialog-head button { width: 38px; height: 38px; border-radius: 50%; color: var(--rota-ink); background: #e7eef3; font-size: 23px; }
.rota-form label { display: grid; gap: 5px; font-size: 14px; font-weight: 600; color: #30485d; }
.rota-form :is(input,select,textarea) {
  font: inherit; font-weight: 400; width: 100%; min-width: 0; min-height: 42px;
  border: 1px solid #adbfcd; background: white; color: #183047; padding: 8px 10px; border-radius: 9px;
}
.rota-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rota-form fieldset { border: 1px solid #c5d3dd; border-radius: 12px; display: grid; gap: 7px; padding: 10px; min-width: 0; }
.rota-form legend { font-weight: 700; padding: 0 5px; }
.rota-actions { justify-content: flex-end; flex-wrap: wrap; }
.rota-error { color: #9a3641; }
.rota-planning { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 13px; }
.rota-stage { padding: 5px 11px; border-radius: 20px; color: #31596c; background: #e2eff2; font-weight: 650; font-size: 13px; }
.rota-planning :is(.rota-wishes,.rota-detail) { width: 100%; background: #ffffffd9; border: 1px solid var(--rota-line); border-radius: 15px; padding: 13px 16px; }
.rota-planning p, .rota-planning small { font-size: 14px; color: #506579; }
.rota-wishes h3 { margin: 0 0 4px; }
.rota-wishes small { display: inline-block; margin: 7px; }
.rota-wish-days { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 4px; max-width: 460px; margin: 12px 0; text-align: center; }
.rota-wish-days b { font-size: 12px; color: #536a7d; }
.rota-wish-days label { display: block; position: relative; }
.rota-wish-days input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.rota-wish-days span { display: grid; place-items: center; min-height: 39px; border-radius: 8px; background: #f1f5f8; color: #324a60; border: 1px solid transparent; }
.rota-wish-days input:checked + span { background: #204f66; color: white; }
.rota-wish-days input:focus-visible + span { outline: 3px solid #307c90; outline-offset: 1px; }
.rota-detail summary { cursor: pointer; font-weight: 650; }
.rota-issues { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 6px; }
.rota-issues .secondary { min-height: 35px; font-size: 12px; padding: 3px 7px; }
.rota-form .rota-check { display: flex; align-items: center; font-size: 14px; }
.rota-form .rota-check input { width: 20px; height: 20px; min-height: 0; }
.rota-print-poster { display: none; }
@page rota-paper { size: A4 landscape; margin: 7mm; }
@media print {
  body.rota-printing { margin: 0 !important; padding: 0 !important; min-height: 0 !important; background: #fff; }
  body.rota-printing > :not(.rota-print-poster) { display: none !important; }
  .rota-print-poster { display: block; page: rota-paper; break-inside: avoid; }
  .rota-print-poster canvas { display: block; width: auto; height: auto; max-width: 282mm; max-height: 194mm; margin: 0 auto; }
}
@media(max-width: 730px) {
  .rota-week, .rota-blank { display: none; }
  .rota-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rota-day { display: grid; grid-template-rows: min-content auto; align-content: start; padding: 8px; min-height: 77px; }
  .rota-cell-head small { display: inline; color: #627789; text-transform: capitalize; }
  .rota-cell-head b { font-size: 20px; }
  .rota-early { min-height: auto; }
  .rota-legend { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rota-legend span { flex-wrap: wrap; gap: 3px; }
  .rota-summary { display: grid; }
  .rota-tools { gap: 6px; }
  .rota-tools .primary, .rota-tools .secondary { font-size: 14px; }
  .rota-sheet { padding: 12px; border-radius: 17px; }
  .rota-totals { margin: 13px 0 10px; }
}
@media(max-width: 350px) {
  .rota-legend { grid-template-columns: 1fr; }
  .rota-tools .primary, .rota-tools .secondary { padding: 7px 10px; }
}

.fb {
  --frame-border: rgba(70,103,119,.2);
  --frame-accent: #0b615a;
  display: grid;
  gap: 16px;
}
.fb h1,.fb h2,.fb p { margin: 0; }
.fb-head,.fb-section,.fb-progress,.fb-page,.fb-actions,.fb-totals { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.fb-head>div { flex:1; min-width:0; }
.fb-head p { margin-top:5px; overflow-wrap:anywhere; }
.fb-head small,.fb small,.fb-section span,.fb-import p,.fb-order p { color:var(--muted,#516572); }
.fb-head>label { width:min(100%,340px); }
.fb .fb-panel {
  border:1px solid var(--frame-border); border-radius:22px; padding:clamp(16px,3vw,26px);
  background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(242,251,250,.84));
  box-shadow:0 6px 20px rgba(44,77,92,.05), inset 0 1px 0 #fff;
}
.fb summary { cursor:pointer; font-weight:650; }
.fb details[open]>summary { margin-bottom:12px; }
.fb .fb-section+details { margin-top:14px; }
.fb label { display:grid; gap:5px; min-width:0; font-size:.88rem; font-weight:600; }
.fb input,.fb select { max-width:100%;width:100%;min-height:44px;padding:8px 12px;border:1px solid var(--frame-border);border-radius:10px;background:rgba(255,255,255,.92);color:var(--ink,#203548);font:inherit; }
.fb button { min-height:42px; padding:8px 16px; border:1px solid var(--frame-border);border-radius:12px; background:#f7fbfa;color:var(--ink,#203548);font-weight:650; }
.fb button.primary,.fb button.fb-yes { background:#0a615a;color:white;border-color:#0a615a; }
.fb button.fb-no { color:#88354d;background:#fff2f4; }
.fb button:disabled { opacity:.48; }
.fb .fb-import form,.fb-order { display:grid;gap:12px; }
.fb .fb-import button { justify-self:start; }
.fb-filter { display:grid;grid-template-columns:repeat(auto-fit,minmax(min(150px,100%),1fr));gap:10px;margin:14px 0; }
.fb-voter { width:min(100%,770px); margin-inline:auto; }
.fb-voter progress { width:100%;height:7px;accent-color:var(--frame-accent); }
.fb-card { overflow:hidden;border:1px solid var(--frame-border);border-radius:18px; background:#fff;touch-action:none; }
.fb-photo { width:100%;height:clamp(165px,28vw,310px); display:grid;place-items:center; padding:14px; color:#586d79; background:#fff; }
.fb-photo img,.fb-mini img { display:block; width:100%; height:100%; object-fit:contain; min-height:0; }
.fb-caption { padding:16px 18px;background:linear-gradient(115deg,#edf8f5,#f7f7fa); }
.fb-caption>span,.fb-description small:first-child { font-size:.8rem;font-weight:700;letter-spacing:.04em; color:#24645d; }
.fb-caption h2 { font-size:clamp(1.35rem,2.5vw,2rem); }
.fb-caption p { margin:5px 0;color:#485b67; }
.fb-example { padding-top:8px;font-size:.92rem;color:#405967; }
.fb-voter .fb-actions { margin:12px 0; }
.fb-actions button { flex:1; }
.fb-rules { border-block:1px solid var(--frame-border);padding:12px 0;margin:12px 0; }
.fb-rules fieldset { display:flex;gap:8px; flex-wrap:wrap; border:0; padding:0; margin:12px 0; }
.fb-rules legend { font-weight:600; margin-bottom:6px; }
.fb-rules fieldset label { display:flex;align-items:center;gap:4px;background:#edf5f2;padding:5px 9px;border-radius:9px; }
.fb-rules fieldset input { width:16px;min-height:16px;accent-color:var(--frame-accent); }
.fb-staff { list-style:none;padding:0;display:grid;gap:5px; }
.fb-staff li { display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px; }
.fb-rank article { display:grid;grid-template-columns:74px minmax(0,1fr) minmax(76px,auto) 64px;align-items:center;gap:12px; padding:10px 0;border-top:1px solid var(--frame-border); }
.fb-mini { display:grid;place-items:center; max-width:74px; height:48px; border-radius:9px;background:#fff; }
.fb-metric,.fb-description { display:grid;gap:2px;overflow-wrap:anywhere; }
.fb-qty input { text-align:center;padding-inline:3px; }
.fb-page { justify-content:center; margin-top:12px; }
.fb-order p,.fb-empty p { margin:6px 0; }
.fb-live:not(:empty) { color:#135d51;font-weight:600; }
.fb-empty { text-align:center;padding:25px; }
@media(max-width:600px) {
  .fb-head { align-items:stretch; }
  .fb .fb-panel { border-radius:16px; }
  .fb-rank article { grid-template-columns:54px minmax(0,1fr) 59px; gap:7px; }
  .fb-mini { width:54px;grid-row:span 2; }
  .fb-description { grid-column:2; }
  .fb-metric { grid-column:2;grid-row:auto;display:flex;gap:5px;flex-wrap:wrap; font-size:.82rem; }
  .fb-qty { grid-column:3;grid-row:span 2; }
  .fb-qty input { width:56px; }
  .fb-actions { gap:5px; }
  .fb-actions button { padding-inline:7px; }
}

/* Tablet workspace. The glass is concentrated in the controls, away from data and photography. */
:root {
  --ink:#152f40; --navy:#12574f; --navy2:#143e43; --muted:#4c646b;
  --line:#cfddda; --pale:#e2f3ed; --page:#ecf3f1; --berry:#326760;
  font-family:"Source Sans 3",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body {background:radial-gradient(ellipse at 90% 3%,#e1eeec,transparent 42%),linear-gradient(128deg,#eaf1ed,#eef2f5 69%,#e7efeb);}
.salon-shell {min-height:100vh;min-height:100svh}
.salon-shell .workspace {width:100%;min-width:0;}
.salon-shell .section-top h1,.login-card h2 {font-weight:620;letter-spacing:-.055em}
.salon-shell .eyebrow {letter-spacing:.115em}
.salon-shell .tag {background:#edf8f3;border:1px solid #bfd8cb;color:#27554d}
.salon-rail {background:#f8fbf8;z-index:12;}
.salon-rail button {touch-action:manipulation}
.salon-rail nav button {display:flex;align-items:center;gap:11px;text-align:left;letter-spacing:-.015em;}
.account-link,.bell-link {display:flex;align-items:center;text-align:left;gap:9px;min-height:44px;border:0;border-radius:12px;padding:8px 10px;background:transparent;color:var(--ink)}
.account-link span {font-weight:650;line-height:1.22}.account-link small {display:block;font-weight:400;margin-top:3px}
.bell-link {position:relative;}[data-notice-count]:not([hidden]) {background:#a54240;color:white;border-radius:20px;padding:1px 6px;font-size:.7rem;font-weight:750;}
.bell-link .bell-label{order:0}.bell-link [data-notice-count]{order:1}
.account-link:hover,.bell-link:hover,.salon-rail nav button:hover {background:#e8f2ee}
.salon-rail nav button.active {background:#165a50;color:white;box-shadow:inset 0 1px 0 #ffffff3b,0 3px 9px #16483d20;}
.workspace .panel,.quick,.metrics article,.guide-card,.offer,.login-card {border-radius:20px;background:#fcfdfc;border:1px solid #ceddd7;box-shadow:0 5px 20px #24483f08,0 1px 2px #24483f05;}
.login-card{padding:clamp(20px,3.3vw,46px)}.login-card .personal,.narrow-panel .personal{padding:13px 0}
.section-top {margin-bottom:19px}
.home-hero {background:linear-gradient(135deg,#153d41,#1e5650);box-shadow:0 12px 30px #1a463e1b;border-radius:24px;min-height:239px}
.hero-text .eyebrow {color:#b8e6cf}.hero-text p:not(.eyebrow) {margin:12px 0 20px}
.home-hero img {min-height:100%;object-position:50% 52%}
.quick-grid{gap:13px;margin-top:16px}.quick{position:relative;overflow:hidden}
.quick h3 {font-size:1.17rem}.quick-icon{height:38px;width:38px;margin-bottom:14px;color:#1f6056;background:linear-gradient(140deg,#eff8f4,#c8e4d6);border:1px solid #c7ded2}
.quick-frames .quick-icon,.quick-guide .quick-icon{background:#e8eaf6;color:#524d79;border-color:#d9d9ec}
.quick-owner .quick-icon,.quick-account .quick-icon{background:#faeede;color:#825727;border-color:#eadac1}
.quick .link-btn{padding-left:0;gap:6px;min-height:44px;color:#195b53}
.primary,.selected {background:#18584f;box-shadow:inset 0 1px 0 #ffffff30;border-radius:13px}
.primary:hover,.selected:hover {background:#0a4742}
.secondary,.pale,.quiet {border-radius:13px}.pale{background:#e6fae7;color:#163f3e}
.salon-shell input:not([type=checkbox]):not([type=radio]),.salon-shell select,.login-grid input {min-height:46px;font-size:16px;}
.team-grid {display:grid;gap:16px;grid-template-columns:1.1fr 1fr;align-items:start}
.roster-person {display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #dce6e2;overflow-wrap:anywhere}
.roster-person:last-child {border:0}.roster-person small{display:block}.person-symbol{flex:0 0 38px;display:grid;place-items:center;height:38px;border-radius:50%;background:#deeee8;color:#195c51;font-weight:700}
.remove-person{margin-left:auto;color:#953f44}.narrow-panel{max-width:640px}.account-first {display:grid;grid-template-columns:minmax(0,480px);justify-content:center;min-height:75vh}.account-first .logo{margin-bottom:22px}
.frame-layout,.frame-inputs,.lens-eye {min-width:0}
.frame-inputs .eyes {margin-top:15px}.frame-inputs .fields{align-items:end}
.measure-guide {margin-top:4px}.measure-guide h3{font-family:inherit}.measure-guide small{line-height:1.3}
.lens-delivery {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 7px}
.lens-eye {display:grid;align-content:start;gap:4px;padding:11px;border:1px solid #c9dcd5;border-radius:12px;background:#f0f7f4;overflow-wrap:anywhere}
.lens-pair {font-size:.9rem;color:#445f64}
.sh-bar {border-bottom:1px solid #c8ded6;background:#f9fcfa}
.sh-adjacent,.sh-view-evidence,.sh-fs,.sh-exit,.sh-switch {min-height:44px}
@supports ((backdrop-filter:blur(12px)) or (-webkit-backdrop-filter:blur(12px))) {
  .salon-rail,.mobile-nav,.sh-bar{background:rgba(248,252,249,.86);-webkit-backdrop-filter:blur(16px) saturate(120%);backdrop-filter:blur(16px) saturate(120%)}
}
@media (min-width:1000px) and (min-aspect-ratio:1/1) {
  .salon-shell {display:grid;grid-template-columns:clamp(164px,16vw,218px) minmax(0,1fr)}
  .salon-rail {position:sticky;top:0;height:100vh;height:100dvh;border:0;border-right:1px solid #cbdad3;box-shadow:1px 0 0 #ffffffa6}
  .salon-rail .mast-in {height:100%;padding:25px 12px max(15px,env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:stretch;gap:18px;overflow-y:auto;}
  .salon-rail .brand {align-self:flex-start;margin:0 10px 7px}
  .salon-rail .brand img {width:132px;max-width:100%}
  .desk-nav {display:flex;flex-direction:column;gap:3px}
  .salon-rail nav button {min-height:46px;padding:8px 13px;font-size:15px}
  .salon-rail .identity {display:flex;flex-direction:column;align-items:stretch;width:100%;margin:auto 0 0;gap:2px;border-top:1px solid #cfddd7;padding-top:10px}
  .identity .quiet {align-self:start;min-height:44px;padding:8px 13px;font-size:.88rem}
  .workspace {padding:clamp(24px,2.7vw,40px) clamp(20px,3vw,48px) 55px;max-width:1550px}
  .workspace .panel {padding:clamp(19px,2.4vw,34px)}
  .frame-layout{display:grid;grid-template-columns:minmax(220px,.78fr) minmax(0,1.45fr);gap:18px;align-items:start}
  .frame-layout .measure-guide {padding:15px;margin:0}.frame-layout .measure-intro{display:block}.frame-layout .measure-intro svg{max-height:145px}
  .frame-layout .measure-guide dl{font-size:.9rem}.frame-layout .measure-guide summary{font-size:.95rem}
  .frame-layout .frame-inputs .fields.four {grid-template-columns:repeat(2,minmax(0,1fr))}
  .frame-inputs .eye{padding:13px}.frame-inputs .eye .fields{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:999px), (max-aspect-ratio:1/1) {
  .salon-rail .desk-nav {display:none}.salon-rail .mast-in{min-height:60px;padding:5px clamp(12px,3vw,28px)}
  .salon-rail .logo{width:127px}.salon-rail .identity{gap:4px}.salon-rail .identity>.quiet,.bell-label{display:none;}
  .mobile-nav{display:flex;position:fixed;left:50%;right:auto;bottom:max(8px,env(safe-area-inset-bottom));transform:translateX(-50%);width:min(540px,calc(100% - 16px));padding:4px;gap:1px;justify-content:space-between;z-index:15;border:1px solid #c0d2cb;border-radius:21px;box-shadow:0 6px 26px #123b3830;}
  .mobile-nav button{display:grid;justify-items:center;gap:3px;flex:1;min-width:0;min-height:48px;padding:3px 1px;font-size:.76rem;line-height:1.1}
  .mobile-nav button.active{border-radius:15px;background:#daeee5;color:#124a41}
  .salon-shell .workspace {padding-bottom:calc(100px + env(safe-area-inset-bottom))}
  .bell-link [data-notice-count]:not([hidden]){position:absolute;right:2px;top:0}
}
@media (min-width:761px) and (max-aspect-ratio:1/1) {
  .workspace{padding-top:24px}.measure-intro{grid-template-columns:.85fr 1.2fr}.measure-guide{padding:18px}.quick-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:680px) {
  .team-grid{grid-template-columns:1fr}.lens-delivery{grid-template-columns:1fr}.roster-person{flex-wrap:wrap}
  .salon-shell .workspace{padding-left:13px;padding-right:13px}.account-link span{font-size:.82rem}.account-link small{font-size:.74rem}
}
@media (prefers-reduced-transparency:reduce),(prefers-reduced-motion:reduce) {
  .salon-rail,.mobile-nav,.sh-bar{background:#f8fbf8;backdrop-filter:none;-webkit-backdrop-filter:none}
}
@media print {.salon-rail,.mobile-nav{display:none!important}.salon-shell{display:block}.salon-shell .workspace{padding:0;max-width:none}}
.lesson-tip{margin:16px 0;padding:12px 16px;border:1px solid #bfd7ce;border-radius:15px;background:#f1f7f4}.lesson-tip summary{font-weight:650;color:#205c50;cursor:pointer;padding:5px 0;min-height:36px}.lesson-body{padding:5px 0}.lesson-body p{margin:8px 0}.lesson-body ol{padding-left:22px}.lesson-body li{margin:7px 0}.example-rx{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}.example-rx>div{padding:12px;border:1px solid #d2dfda;border-radius:12px;background:white}.example-rx small,.example-rx strong{display:block}.example-rx strong{margin-top:4px}.pickup [data-pickup-result]{font-weight:650;color:#18584f}@media(max-width:620px){.example-rx{grid-template-columns:1fr}}
.camera-report{display:block;width:100%;height:calc(100vh - 140px);height:calc(100dvh - 140px);min-height:530px;background:white;border:1px solid var(--line);border-radius:19px}
@media(max-width:999px),(max-aspect-ratio:1/1){.camera-report{height:calc(100dvh - 240px);min-height:430px}}
[data-feedback-form] textarea{font:inherit;font-size:1rem;font-weight:400;color:var(--ink);background:#fff;border:1px solid #b5c4c5;border-radius:12px;padding:12px;min-height:120px;width:100%;resize:vertical}
[data-feedback-form] textarea:focus-visible{outline:3px solid #307c90;outline-offset:3px}

.notice-count {
  display: inline-grid;
  place-items: center;
  min-inline-size: 1.3rem;
  block-size: 1.3rem;
  padding-inline: .24rem;
  border-radius: 2rem;
  background: #075b83;
  color: #fff;
  font-size: .72rem;
  font-weight: 750;
  line-height: 1;
}
.notice-count[hidden] { display: none; }
.notice-list { display: grid; gap: .8rem; }
.notice-item {
  padding: clamp(1rem, 3vw, 1.55rem);
  border: 1px solid rgba(94, 144, 164, .25);
  border-radius: 1.2rem;
  background: rgba(255,255,255,.58);
}
.notice-item.notice-unread { border-inline-start: .24rem solid #1880a1; }
.notice-item h3 { margin: .3rem 0; }
.notice-item p { margin: .4rem 0; }
.notice-file { overflow-wrap: anywhere; }
.notice-item .actions { margin-top: .85rem; }
@media (max-width: 520px) {
  .notices-panel .section-top, .notice-item .actions { align-items: flex-start; flex-wrap: wrap; }
}

.prac-panel { max-width: 58rem; }
.prac-panel p { max-width: 72ch; }
.prac-slip {
  max-width: 49rem;
  margin: 1.1rem 0;
  padding: 1rem clamp(.8rem, 2.8vw, 1.45rem);
  border: 1px solid rgba(52,105,132,.24);
  border-radius: 1.1rem;
  background: rgba(244,250,252,.88);
}
.prac-slip h3 { margin: 0 0 .6rem; }
.prac-slip table { width: 100%; max-width: 36rem; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.prac-slip th, .prac-slip td { padding: .45rem; text-align: left; }
.prac-slip thead { border-bottom: 1px solid rgba(52,105,132,.28); }
.prac-slip ul, [data-practice-feedback] ul { display: grid; gap: .5rem; padding-inline-start: 1.2rem; }
.prac-panel input[aria-invalid="true"], .prac-panel select[aria-invalid="true"] { border-color: #a23529; }
.prac-panel [data-practice-feedback] li { color: #8f3027; }
.prac-panel .prac-date { display: grid; max-width: 17rem; gap: .35rem; }
.prac-panel form > .primary { margin-top: .95rem; }
.prac-panel .fields label, .prac-panel fieldset { min-width: 0; }
