:root {
  --ink: #151515;
  --muted: #666b73;
  --line: #d9dde3;
  --paper: #f6f7f9;
  --white: #ffffff;
  --yellow: #ffc400;
  --red: #e53b35;
  --blue: #2176ff;
  --black: #0c0d0f;
  --green: #0f9f6e;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

a,
button {
  color: inherit;
  font: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: rgba(12, 13, 15, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-actions,
.hero-actions,
.tabs,
.cabinet-top,
.row-actions {
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 14px;
}

.mobile-menu-toggle {
  display: none;
  align-items: center;
  gap: 4px;
  min-height: 42px;
  padding: 8px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.mobile-menu-toggle span + span {
  margin-left: -22px;
  transform: translateY(6px);
}

.mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-6px);
}

.mobile-menu-toggle b {
  margin-left: 6px;
  font: inherit;
  font-weight: 700;
}

.nav a,
.header-phone {
  color: rgba(255, 255, 255, 0.84);
}

.nav a:hover,
.header-phone:hover {
  color: var(--white);
}

.header-actions {
  gap: 10px;
  justify-content: flex-end;
}

.header-phone {
  font-weight: 700;
  white-space: nowrap;
}

.icon-button {
  min-height: 36px;
  padding: 0 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  cursor: pointer;
}

.admin-link {
  color: var(--black);
  background: var(--yellow);
}

.hero {
  position: relative;
  min-height: min(720px, 100svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--black);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.36) 45%, rgba(0, 0, 0, 0.06) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0) 42%);
}

.hero-content {
  position: relative;
  width: min(1180px, 100%);
  padding: 112px clamp(20px, 5vw, 72px) 40px;
}

.hero-content h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.employee-link {
  color: #fff;
  font-size: 0.78rem;
  opacity: 0.78;
  text-decoration: none;
}

.employee-link:hover {
  opacity: 1;
  text-decoration: underline;
}

.hero-brand-logo {
  width: min(320px, 72vw);
  margin: -26px 0 -28px -24px;
  clip-path: ellipse(38% 31% at 50% 48%);
  filter: drop-shadow(0 0 18px rgba(19, 139, 255, 0.35));
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(64px, 11vw, 150px);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
  line-height: 1.15;
}

.lead {
  max-width: 680px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 1.6vw, 20px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--black);
  background: var(--yellow);
  border-color: var(--yellow);
}

.button.secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
}

.button.small {
  min-height: 36px;
  padding: 0 14px;
}

.button.danger {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.button:hover,
.icon-button:hover,
.tab:hover,
.manager-toggle:hover {
  transform: translateY(-1px);
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  color: var(--white);
  background: var(--black);
}

.strip-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 18px;
  min-height: 112px;
  padding: 24px clamp(20px, 5vw, 56px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.strip-item div strong,
.strip-item div span {
  display: block;
}

.strip-item div strong {
  margin-bottom: 7px;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.15;
}

.strip-item div span {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.45;
}

.strip-number {
  padding-top: 3px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

.intro p:last-child {
  color: var(--muted);
  font-size: 20px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-head p {
  color: var(--muted);
  font-size: 18px;
}

.catalog-section {
  position: relative;
}

.catalog-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  align-items: end;
  margin-bottom: 24px;
}

.catalog-heading .section-head {
  margin-bottom: 0;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.price-conditions {
  color: var(--white);
  background: var(--black);
}

.price-conditions-inner {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(480px, 1.3fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  padding-top: 56px;
  padding-bottom: 56px;
}

.price-conditions-heading h2 {
  margin: 0;
}

.price-conditions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.price-condition {
  display: grid;
  gap: 5px;
  min-height: 92px;
  padding: 18px 20px;
  background: #171717;
}

.price-condition span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.price-condition strong {
  color: var(--yellow);
  font-size: 20px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.filter-chip strong {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  color: var(--muted);
  background: var(--white);
  border-radius: 8px;
  font-size: 12px;
}

.filter-chip.active {
  color: var(--black);
  background: var(--yellow);
  border-color: var(--yellow);
}

.filter-chip.active strong {
  color: var(--white);
  background: var(--black);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.work-card,
.request-form,
.modal-card,
.order-card,
.admin-row {
  border-radius: var(--radius);
}

.service-card,
.request-form,
.order-card,
.admin-row {
  border: 1px solid var(--line);
  background: var(--white);
}

.service-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  min-height: 420px;
  padding: 0 22px 22px;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  height: 5px;
  background: var(--blue);
}

.service-card.signs::before {
  background: var(--yellow);
}

.service-card.production::before {
  background: var(--red);
}

.service-card.polygraphy::before {
  background: var(--green);
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(21, 21, 21, 0.24);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.12);
}

.service-photo {
  width: calc(100% + 44px);
  max-width: none;
  height: auto;
  aspect-ratio: 2 / 1;
  margin: 0 -22px 18px;
  object-fit: cover;
  background: var(--paper);
}

.service-slider {
  position: relative;
  width: calc(100% + 44px);
  height: auto;
  aspect-ratio: 2 / 1;
  margin: 0 -22px 18px;
  overflow: hidden;
  background: var(--paper);
}

.service-slider-track,
.service-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.service-slide {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 420ms ease, transform 700ms ease;
}

.service-slide.active {
  opacity: 1;
  transform: scale(1);
}

.service-slider-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--white);
  background: rgba(10, 10, 10, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(4px);
}

.service-slider-arrow.previous { left: 10px; }
.service-slider-arrow.next { right: 10px; }

.service-slider-dots {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 10px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
}

.service-slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(0, 0, 0, 0.28);
  border-radius: 50%;
  cursor: pointer;
}

.service-slider-dots button[aria-pressed="true"] {
  width: 24px;
  background: var(--yellow);
  border-radius: 999px;
}

.service-card-top,
.service-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-card-top {
  margin-bottom: 18px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--white);
  background: var(--black);
  border-radius: 8px;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.service-tag {
  display: inline-flex;
  min-width: 0;
  padding: 6px 9px;
  color: var(--blue);
  background: rgba(33, 118, 255, 0.08);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.service-card.signs .service-tag {
  color: #946c00;
  background: rgba(255, 196, 0, 0.14);
}

.service-card.production .service-tag {
  color: var(--red);
  background: rgba(229, 59, 53, 0.1);
}

.service-card.polygraphy .service-tag {
  color: var(--green);
  background: rgba(15, 159, 110, 0.1);
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  margin-bottom: 24px;
}

.service-card-foot {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.service-card small {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  color: var(--black);
  background: var(--paper);
  border-radius: 8px;
  font-weight: 800;
}

.service-card-foot button {
  min-height: 34px;
  padding: 0 12px;
  color: var(--white);
  background: var(--black);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.service-card p,
.work-card p,
.request-layout p,
.process p,
.form-note,
.admin-row p,
.order-card p {
  color: var(--muted);
}

.band {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.calculator-band {
  color: var(--white);
  background: var(--black);
}

.calculator-band-secondary {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: #202329;
}

.calculator-band-tertiary {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: #15181d;
}

.calculator-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(360px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.calculator-layout p {
  color: rgba(255, 255, 255, 0.72);
}

.material-source-note {
  display: grid;
  gap: 8px;
  max-width: 680px;
  margin-top: 22px;
  padding: 15px 17px;
  color: #4e4230;
  background: #fff7dc;
  border: 1px solid #ead38a;
  border-radius: 12px;
}

.material-source-note span {
  font-size: 0.86rem;
  line-height: 1.5;
}

.material-source-note a {
  width: fit-content;
  color: #1f5cae;
  font-size: 0.82rem;
  font-weight: 800;
}

.material-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.address-presets {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.address-presets legend {
  margin-bottom: 10px;
  font-weight: 800;
}

.address-preset-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.address-preset-card {
  display: grid;
  align-content: start;
  min-width: 0;
  padding: 7px;
  text-align: left;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.address-preset-card:hover {
  transform: translateY(-2px);
  border-color: rgba(21, 21, 21, 0.35);
}

.address-preset-card.active {
  border-color: var(--yellow);
  box-shadow: 0 0 0 2px rgba(255, 196, 0, 0.2);
}

.address-preset-card img {
  width: 100%;
  height: 92px;
  margin-bottom: 8px;
  object-fit: cover;
  border-radius: 7px;
}

.address-preset-card span {
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.25;
}

.address-preset-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
}

.calculator-card {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
}

.calculator-card .form-note {
  color: var(--muted);
}

.service-detail-card strong {
  font-size: 22px;
}

.service-detail-card p {
  margin: 0;
  color: var(--muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.calculator-details {
  display: grid;
  gap: 16px;
}

.calc-result {
  display: grid;
  gap: 6px;
  padding: 18px;
  color: var(--white);
  background: var(--black);
  border-radius: 8px;
}

.calc-result span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.calc-result strong {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.05;
}

.calc-result p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.calc-result.muted-result {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
}

.calc-result.muted-result span,
.calc-result.muted-result p {
  color: var(--muted);
}

.process {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: 50px;
}

.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps span {
  grid-row: span 2;
  color: var(--red);
  font-weight: 900;
}

.steps strong {
  font-size: 20px;
}

.steps p {
  margin-bottom: 0;
}

.portfolio-section {
  border-top: 1px solid var(--line);
}

.portfolio-intro {
  max-width: 720px;
}

.portfolio-filters {
  margin: 26px 0 22px;
}

.portfolio-filter-mobile {
  display: none;
}

.section-more {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.section-more:has(> [hidden]) {
  display: none;
}

main > section[id] {
  scroll-margin-top: 88px;
}

@media (min-width: 621px) and (max-width: 980px) {
  #services-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .portfolio-section .section-head {
    margin-bottom: 18px;
  }

  .portfolio-section .portfolio-filters {
    display: none;
  }

  .portfolio-filter-mobile {
    display: grid;
    gap: 6px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 14px;
  }

  .portfolio-filter-mobile select {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    font: inherit;
    font-weight: 700;
  }
}

.portfolio-grid {
  column-count: 3;
  column-gap: 20px;
}

.portfolio-card {
  break-inside: avoid;
  margin-bottom: 20px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.portfolio-media {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: #ede9e3;
}

.portfolio-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 220ms ease;
}

.portfolio-card:hover .portfolio-media img {
  transform: scale(1.025);
}

.portfolio-card-content {
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: 22px;
}

.portfolio-category {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 5px 9px;
  color: #744f00;
  background: #fff1bd;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portfolio-card h3 {
  overflow-wrap: anywhere;
  margin: 0 0 9px;
  font-size: 21px;
  line-height: 1.2;
}

.portfolio-card p {
  margin: 0 0 18px;
  color: var(--muted);
}

.portfolio-calculator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin-top: auto;
  padding: 13px 0 0;
  color: var(--ink);
  background: transparent;
  border-top: 1px solid var(--line);
  cursor: pointer;
  font-weight: 900;
  text-align: left;
}

.portfolio-calculator span {
  color: var(--red);
  font-size: 22px;
}

.portfolio-lightbox[hidden] {
  display: none;
}

.portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.portfolio-lightbox-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  background: rgba(5, 7, 10, 0.88);
  cursor: zoom-out;
}

.portfolio-lightbox-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(1180px, 100%);
  max-height: calc(100vh - 48px);
  margin: 0;
  overflow: auto;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.portfolio-lightbox-card > img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: calc(100vh - 48px);
  object-fit: contain;
  background: #ede9e3;
}

.portfolio-lightbox-copy {
  min-width: 0;
  overflow-wrap: anywhere;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.portfolio-lightbox-copy > span {
  margin-bottom: 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-lightbox-copy > strong {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.08;
}

.portfolio-lightbox-copy p {
  color: var(--muted);
}


.portfolio-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
}

@media (max-width: 940px) {
  .portfolio-grid {
    column-count: 2;
  }

  .portfolio-lightbox-card {
    grid-template-columns: 1fr;
  }

  .portfolio-lightbox-card > img {
    min-height: 0;
    max-height: calc(100vh - 48px);
  }
}

@media (max-width: 620px) {
  .portfolio-grid {
    column-count: 1;
  }

  .portfolio-lightbox {
    padding: 10px;
  }

  .portfolio-lightbox-card {
    max-height: calc(100vh - 20px);
  }

  .portfolio-lightbox-copy {
    padding: 24px 20px;
  }
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.contact-mini {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  font-size: 20px;
  font-weight: 800;
}

.request-form,
.panel-form {
  display: grid;
  gap: 16px;
}

.request-form {
  padding: clamp(20px, 4vw, 34px);
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
}

textarea {
  resize: vertical;
}

.request-form .button,
.panel-form .button {
  width: 100%;
}

.form-note {
  margin-bottom: 0;
  font-size: 13px;
}

.personal-consent {
  display: grid;
  gap: 7px;
  padding: 12px 14px;
  color: var(--muted);
  background: #f7f8fa;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
}

.personal-consent label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 600;
}

.personal-consent input {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 1px;
}

.legal-inline-button,
.footer-legal button {
  width: fit-content;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.estimate-disclaimer {
  margin: -5px 0 0;
  padding-left: 12px;
  color: var(--muted) !important;
  border-left: 3px solid var(--yellow);
  font-size: 12px;
  line-height: 1.45;
}

.contacts {
  color: var(--white);
  background: var(--black);
}

.contacts-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 1fr) auto;
  gap: 28px;
  align-items: start;
}

.contacts h2 {
  margin-bottom: 10px;
}

.contacts p {
  color: rgba(255, 255, 255, 0.72);
}

.location-block {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(360px, 1.2fr);
  gap: 28px;
  max-width: 1180px;
  margin: 34px auto 0;
  padding: 0 24px 52px;
}

.location-copy,
.office-map {
  min-height: 330px;
  border-radius: var(--radius);
}

.location-copy {
  padding: 30px;
  background: #fff;
  color: #141414;
}

.location-copy h2 {
  margin: 8px 0 14px;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.location-copy p:not(.section-kicker) {
  color: #5d626b;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.office-map {
  width: 100%;
  border: 0;
  background: #202226;
}

.reviews-source {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 0.7fr);
  gap: 28px;
  align-items: center;
  padding: clamp(48px, 8vw, 92px) max(24px, calc((100vw - 1180px) / 2));
  background: #f3f4f6;
}

.reviews-source h2 {
  margin: 8px 0 14px;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.reviews-source p:not(.section-kicker) {
  max-width: 720px;
  color: #5d626b;
}

.review-source-card {
  display: grid;
  gap: 10px;
  padding: 28px;
  color: #111;
  background: #fff;
  border: 1px solid #d9dde3;
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 16px 50px rgb(20 25 35 / 8%);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.review-source-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgb(20 25 35 / 13%);
}

.review-source-logo {
  width: max-content;
  padding: 7px 11px;
  color: #fff;
  background: #e93030;
  border-radius: 8px;
  font-weight: 900;
}

.review-source-card strong { font-size: 1.25rem; }
.review-source-card small { color: #686f79; }

.account-consent {
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.35;
}

.account-consent input {
  width: auto;
  margin-top: 3px;
}

/* Separate employee portal */
.staff-body {
  min-height: 100vh;
  margin: 0;
  background: #f1f3f6;
  color: #15171a;
}

.staff-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 12px clamp(18px, 4vw, 54px);
  color: #fff;
  background: #111316;
  border-bottom: 3px solid #ffc400;
}

.staff-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
}

.staff-brand img {
  width: 112px;
  height: 44px;
  object-fit: contain;
}

#staff-logout { color: var(--black); }

.staff-header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.staff-shell {
  width: min(1460px, calc(100% - 32px));
  margin: 34px auto 70px;
}

.staff-auth-card {
  width: min(520px, 100%);
  margin: 7vh auto;
  padding: clamp(24px, 5vw, 48px);
  background: #fff;
  border: 1px solid #d7dbe1;
  border-radius: 22px;
  box-shadow: 0 22px 70px rgb(24 30 40 / 10%);
}

.staff-auth-card h1 {
  margin: 8px 0 14px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.staff-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.staff-tabs b {
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  margin-left: 6px;
  padding: 0 5px;
  color: #111;
  background: #ffc400;
  border-radius: 999px;
  font-size: 0.72rem;
}

.staff-panel {
  padding: clamp(18px, 3vw, 34px);
  background: #fff;
  border: 1px solid #d7dbe1;
  border-radius: 22px;
}

.staff-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.staff-panel-head h2 {
  margin: 4px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.staff-order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 16px;
}

.staff-order-card {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid #dfe3e8;
  border-left: 5px solid #ffc400;
  border-radius: 14px;
}

.staff-order-card.status-done { border-left-color: #28a45f; }
.staff-order-card.status-cancelled { border-left-color: #8b929c; opacity: 0.72; }
.staff-order-card header { display: flex; justify-content: space-between; gap: 12px; }
.staff-order-card header span { color: #747b85; font-size: 0.78rem; }
.staff-order-card p { margin: 0; overflow-wrap: anywhere; }
.staff-order-card dl { display: grid; gap: 8px; margin: 0; }
.staff-order-card dl div { display: grid; grid-template-columns: 76px 1fr; gap: 8px; }
.staff-order-card dt { color: #747b85; }
.staff-order-card dd { margin: 0; font-weight: 700; }
.staff-order-card select { width: 100%; margin-top: 5px; }

.staff-chat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: -8px 0 14px;
}

.staff-chat-toolbar > span {
  color: #626974;
  font-size: 0.82rem;
  white-space: nowrap;
}

.staff-chat-filters {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 2px;
}

.staff-chat-filters button {
  min-height: 34px;
  padding: 0 12px;
  color: #3e444d;
  white-space: nowrap;
  background: #f1f3f6;
  border: 1px solid #d9dde3;
  border-radius: 999px;
  cursor: pointer;
}

.staff-chat-filters button.active {
  color: #171717;
  background: #ffc400;
  border-color: #ffc400;
  font-weight: 800;
}

.staff-chat-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(390px, 1fr);
  min-height: 590px;
  overflow: hidden;
  border: 1px solid #d9dde3;
  border-radius: 16px;
}

.staff-chat-threads {
  overflow: auto;
  background: #f6f7f9;
  border-right: 1px solid #d9dde3;
}

.staff-chat-thread {
  position: relative;
  display: grid;
  width: 100%;
  gap: 5px;
  padding: 16px;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e0e3e8;
  cursor: pointer;
}

.staff-chat-thread.active { background: #fff; box-shadow: inset 4px 0 #ffc400; }
.staff-chat-thread span, .staff-chat-thread small { color: #747b85; }
.staff-chat-thread b { position: absolute; top: 14px; right: 12px; padding: 3px 7px; background: #ffc400; border-radius: 999px; }
.staff-chat-thread.status-done { opacity: 0.7; }

.staff-thread-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 2px 0;
}

.staff-thread-labels em,
.staff-thread-labels i {
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-style: normal;
  line-height: 1.2;
}

.staff-thread-labels em { color: #255139; background: #dff4e7; }
.staff-thread-labels i { color: #3f4f71; background: #e8efff; }

.staff-chat-room { display: grid; grid-template-rows: auto 1fr auto auto; min-width: 0; }
.staff-chat-room-head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 16px 18px; border-bottom: 1px solid #d9dde3; }
#staff-chat-head { display: grid; flex: 1 1 300px; gap: 3px; }
#staff-chat-head span, #staff-chat-head small { color: #747b85; }
#staff-chat-head a { color: inherit; font-weight: 800; }
.staff-chat-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.staff-chat-room-head > .form-note { flex-basis: 100%; margin: 0; }
.chat-status-mark { padding: 3px 7px; color: #255139; background: #dff4e7; border-radius: 999px; }
.chat-status-mark.status-new { color: #6d5000; background: #fff0b5; }
.chat-status-mark.status-done { color: #555d68; background: #e7eaee; }
.staff-chat-messages { display: flex; flex-direction: column; gap: 10px; padding: 20px; overflow: auto; background: #fff; }
.staff-chat-message { align-self: flex-start; max-width: min(680px, 86%); padding: 12px 14px; background: #eef1f5; border-radius: 14px 14px 14px 3px; }
.staff-chat-message.manager { align-self: flex-end; background: #fff0b5; border-radius: 14px 14px 3px 14px; }
.staff-chat-message.manager.assistant { color: #263452; background: #e8efff; border: 1px solid #cfdcff; }
.staff-chat-message p { margin: 0 0 7px; }
.staff-chat-message span { color: #747b85; font-size: 0.72rem; }
.staff-quick-replies { display: flex; align-items: center; gap: 7px; padding: 10px 14px 0; overflow-x: auto; border-top: 1px solid #d9dde3; }
.staff-quick-replies span { color: #747b85; font-size: 0.75rem; white-space: nowrap; }
.staff-quick-replies button { padding: 7px 10px; color: #3e444d; white-space: nowrap; background: #f1f3f6; border: 1px solid #d9dde3; border-radius: 999px; cursor: pointer; }
.staff-quick-replies button:hover { border-color: #ffc400; }
.staff-reply { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 14px; border-top: 1px solid #d9dde3; }
.staff-reply textarea { resize: vertical; }

.staff-table-wrap { overflow: auto; }
.staff-table { width: 100%; border-collapse: collapse; }
.staff-table th, .staff-table td { padding: 13px 12px; text-align: left; border-bottom: 1px solid #e0e3e8; }
.staff-table th { color: #626974; font-size: 0.78rem; text-transform: uppercase; }
.staff-user-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin-bottom: 28px; }

.staff-settings-form > #staff-tariff-fields {
  display: grid;
  gap: 18px;
}

.staff-tariff-group {
  margin: 0;
  padding: 18px;
  border: 1px solid #d9dde3;
  border-radius: 16px;
}

.staff-tariff-group legend {
  padding: 0 8px;
  font-size: 1.05rem;
  font-weight: 900;
}

.staff-tariff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.staff-tariff-grid label,
.staff-catalog-form label {
  display: grid;
  gap: 6px;
  color: #4f5661;
  font-size: 0.78rem;
  font-weight: 800;
}

.staff-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.staff-catalog-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.staff-catalog-form .wide { grid-column: 1 / -1; }
.staff-catalog-form .staff-settings-actions { margin-top: 0; }

.staff-service-list {
  display: grid;
  gap: 10px;
}

.staff-service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 16px;
  border: 1px solid #dfe3e8;
  border-radius: 14px;
}

.staff-service-row h3 { margin: 0 0 4px; }
.staff-service-row p { margin: 7px 0 0; color: #626974; }
.staff-service-row small { color: #747b85; }
.staff-service-row-actions { display: flex; flex-wrap: wrap; align-content: start; gap: 7px; }
.staff-service-row-actions button { min-height: 36px; padding: 0 11px; border: 1px solid #d9dde3; border-radius: 9px; background: #f6f7f9; cursor: pointer; }

@media (max-width: 760px) {
  .location-block,
  .reviews-source,
  .staff-chat-layout {
    grid-template-columns: 1fr;
  }

  .location-block { padding-inline: 16px; }
  .staff-chat-threads { max-height: 240px; border-right: 0; border-bottom: 1px solid #d9dde3; }
  .staff-chat-toolbar { align-items: flex-start; flex-direction: column; }
  .staff-chat-toolbar > span { white-space: normal; }
  .staff-chat-room-head { align-items: flex-start; }
  .staff-header { align-items: flex-start; }
  .staff-brand span, #staff-identity { display: none; }
  .staff-shell { width: min(100% - 18px, 1460px); margin-top: 14px; }
  .staff-reply { grid-template-columns: 1fr; }
  .staff-catalog-form { grid-template-columns: 1fr; }
  .staff-service-row { grid-template-columns: 1fr; }
}

.contact-links {
  display: grid;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
}

.contact-manager {
  display: grid;
  gap: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.messenger-links,
.order-share-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.messenger-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 7px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.messenger-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 24px rgba(0, 0, 0, 0.16);
}

.messenger-link img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  border-radius: 7px;
}

.messenger-link.whatsapp {
  border-color: rgba(40, 190, 75, 0.42);
}

.messenger-link.telegram {
  border-color: rgba(42, 171, 238, 0.48);
}

.messenger-link.max {
  border-color: rgba(91, 80, 238, 0.42);
}

.schedule {
  display: grid;
  gap: 6px;
  min-width: 220px;
  padding: 18px 20px;
  text-align: right;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.schedule-label {
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.schedule strong {
  color: var(--white);
  font-size: 20px;
}

.schedule small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.footer {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(250px, auto) auto;
  align-items: start;
  gap: 28px;
  padding: 20px clamp(20px, 5vw, 56px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  gap: 7px;
}

.footer-main p {
  max-width: 680px;
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.footer-legal {
  display: grid;
  gap: 6px;
  font-size: 12px;
}

.footer-legal button:hover,
.footer-top:hover,
.legal-inline-button:hover {
  color: var(--ink);
}

.footer-top {
  white-space: nowrap;
}

.manager-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 56px;
}

.manager-toggle {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  color: var(--black);
  text-align: left;
  background: var(--yellow);
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.manager-toggle span {
  font-size: 13px;
}

.manager-toggle strong {
  font-size: 17px;
}

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 70px;
  width: min(360px, calc(100vw - 40px));
  max-height: calc(100svh - 110px);
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.chat-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  color: var(--white);
  background: var(--black);
}

.chat-head span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
}

.chat-mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px 12px 8px;
  background: var(--white);
}

.chat-mode-switch button {
  display: grid;
  gap: 3px;
  padding: 10px;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.chat-mode-switch button.active {
  color: var(--black);
  background: rgba(255, 193, 7, 0.16);
  border-color: var(--yellow);
  box-shadow: inset 0 0 0 1px var(--yellow);
}

.chat-mode-switch button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.chat-mode-switch strong {
  font-size: 13px;
}

.chat-mode-switch span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.chat-ai-warning {
  margin: 0 12px 10px;
  padding: 9px 10px;
  color: #624700;
  background: #fff6d6;
  border: 1px solid #efd77a;
  border-radius: 7px;
  font-size: 11px;
  line-height: 1.4;
}

.close-button {
  width: 34px;
  height: 34px;
  color: inherit;
  background: transparent;
  border-radius: 8px;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.chat-messages {
  display: grid;
  gap: 10px;
  max-height: 280px;
  padding: 14px;
  overflow-y: auto;
  background: var(--paper);
}

.chat-message {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--white);
}

.chat-message.client {
  justify-self: end;
  color: var(--white);
  background: var(--blue);
}

.chat-message p {
  margin-bottom: 4px;
}

.chat-message span {
  font-size: 11px;
  opacity: 0.7;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
}

.chat-form button {
  padding: 0 12px;
  color: var(--black);
  background: var(--yellow);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.chat-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.chat-status {
  min-height: 18px;
  margin: -4px 12px 8px;
  color: var(--muted);
  font-size: 12px;
}

.chat-form .personal-consent-compact {
  grid-column: 1 / -1;
  padding: 9px 10px;
  font-size: 10px;
}

.chat-form .personal-consent-compact .legal-inline-button {
  min-height: 0;
  padding: 0;
  color: var(--muted);
  background: transparent;
  font-size: 10px;
  font-weight: 600;
}

.chat-local-note {
  margin: 0;
  padding: 0 12px 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.notification-badge,
.tab-badge {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  color: var(--white);
  background: var(--red);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
}

.notification-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  border: 2px solid var(--white);
}

.tab-badge {
  display: inline-grid;
  margin-left: 5px;
}

.modal[hidden],
[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.64);
}

.modal-card {
  position: relative;
  width: min(760px, 100%);
  max-height: min(820px, calc(100vh - 40px));
  overflow-y: auto;
  padding: clamp(20px, 4vw, 34px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.admin-card {
  width: min(1040px, 100%);
}

.order-share-card {
  width: min(720px, 100%);
  border-radius: 18px;
}

.legal-card {
  width: min(820px, 100%);
  border-radius: 14px;
}

.legal-document h2 {
  margin-bottom: 20px;
}

.legal-document h3 {
  margin: 24px 0 8px;
  font-size: 17px;
}

.legal-document p,
.legal-document li,
.legal-requisites {
  color: var(--muted);
  line-height: 1.62;
}

.legal-warning {
  margin: 0 0 20px;
  padding: 14px 16px;
  color: #6b4100;
  background: #fff4d6;
  border: 1px solid #efca72;
  border-radius: 8px;
  line-height: 1.5;
}

.legal-requisites {
  display: grid;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.legal-requisites div {
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) 1fr;
  gap: 18px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.legal-requisites div:last-child {
  border-bottom: 0;
}

.legal-requisites dt {
  color: var(--ink);
  font-weight: 800;
}

.legal-requisites dd {
  margin: 0;
}

.legal-missing {
  color: #a13d1f;
  font-weight: 800;
}

.legal-list {
  display: grid;
  gap: 12px;
  padding-left: 22px;
}

.storage-notice {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 45;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: center;
  gap: 18px;
  width: min(760px, calc(100vw - 36px));
  padding: 14px 16px;
  color: var(--white);
  background: #17191d;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.storage-notice p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.storage-notice div {
  display: flex;
  gap: 8px;
}

.storage-notice .button:not(.primary) {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}

.order-share-summary {
  margin: 18px 0;
  padding: 14px 16px;
  color: var(--muted);
  background: var(--paper);
  border-left: 4px solid var(--yellow);
  border-radius: 8px;
  white-space: pre-wrap;
}

.order-share-managers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.order-share-managers article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.order-share-max {
  margin-top: 14px;
}

.admin-chat-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(320px, 1.3fr);
  min-height: 480px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.admin-chat-threads {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 10px;
  overflow-y: auto;
  background: var(--paper);
  border-right: 1px solid var(--line);
}

.admin-chat-thread {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 12px;
  text-align: left;
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.admin-chat-thread.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(33, 118, 255, 0.1);
}

.admin-chat-thread span,
.admin-chat-head span {
  color: var(--muted);
  font-size: 12px;
}

.admin-chat-thread b {
  justify-self: start;
  min-width: 20px;
  padding: 2px 6px;
  color: var(--white);
  background: var(--red);
  border-radius: 999px;
  font-size: 11px;
}

.admin-chat-dialog {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-width: 0;
}

.admin-chat-head {
  display: grid;
  gap: 3px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.admin-chat-messages {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 16px;
  overflow-y: auto;
  background: var(--white);
}

.admin-chat-message {
  max-width: 82%;
  padding: 10px 12px;
  background: var(--paper);
  border-radius: 10px;
}

.admin-chat-message.manager {
  justify-self: end;
  color: var(--white);
  background: var(--blue);
}

.admin-chat-message p {
  margin-bottom: 4px;
  white-space: pre-wrap;
}

.admin-chat-message span {
  font-size: 11px;
  opacity: 0.72;
}

.admin-chat-reply {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  color: var(--ink);
}

.modal-head {
  position: relative;
  padding-right: 42px;
}

.admin-logout {
  margin-bottom: 18px;
}

.tabs {
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.tab {
  min-height: 40px;
  padding: 0 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.tab.active {
  color: var(--black);
  background: var(--yellow);
  border-color: var(--yellow);
}

.cabinet-top {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--paper);
  border-radius: 8px;
}

.cabinet-top span {
  display: block;
  color: var(--muted);
}

.compact-order {
  margin-bottom: 28px;
}

.order-list,
.admin-list {
  display: grid;
  gap: 10px;
}

.order-card {
  padding: 16px;
}

.order-card div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.order-card span,
.admin-row span,
.admin-row small {
  color: var(--muted);
  font-size: 13px;
}

.order-card small {
  display: inline-flex;
  padding: 4px 8px;
  color: var(--black);
  background: var(--yellow);
  border-radius: 8px;
  font-weight: 800;
}

.admin-panel {
  margin-top: 18px;
}

.admin-grid {
  grid-template-columns: repeat(3, 1fr);
  padding: 18px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.admin-grid .wide {
  grid-column: 1 / -1;
}

.admin-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.admin-row p {
  margin: 8px 0 0;
}

.row-actions {
  gap: 8px;
}

.row-actions button {
  min-height: 34px;
  padding: 0 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.data-tools {
  display: grid;
  gap: 14px;
}

.roland-cost-panel {
  display: grid;
  gap: 18px;
}

.tariff-panel {
  display: grid;
  gap: 18px;
}

.tariff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.roland-cost-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
}

.roland-cost-head h3,
.roland-cost-head p {
  margin-top: 0;
}

.roland-cost-head h3 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 34px);
}

.roland-cost-head > div > p:last-child {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--muted);
}

.roland-cost-status {
  min-width: 220px;
  padding: 14px 16px;
  color: #6d2b00;
  background: #fff2d8;
  border: 1px solid #f2c36b;
  border-radius: 8px;
}

.roland-cost-status.complete {
  color: #165c35;
  background: #e9f8ef;
  border-color: #9bd0ae;
}

.roland-cost-status strong,
.roland-cost-status span {
  display: block;
}

.roland-cost-status span {
  margin-top: 4px;
  font-size: 13px;
}

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

.roland-cost-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.roland-cost-form legend {
  padding: 0 8px;
  font-weight: 900;
}

.roland-field-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.roland-field-grid label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.roland-field-grid input,
.roland-field-grid select {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.roland-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 14px;
}

.roland-checks label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 800;
}

.roland-checks input {
  width: 18px;
  height: 18px;
}

.source-note {
  margin: 12px 0 0;
  padding: 10px 12px;
  color: var(--muted);
  background: var(--white);
  border-left: 4px solid var(--yellow);
  font-size: 13px;
}

.roland-layout-result {
  display: grid;
  gap: 5px;
  padding: 16px;
  background: #111;
  border-radius: 8px;
  color: var(--white);
}

.roland-layout-result span,
.roland-layout-result small {
  color: rgba(255, 255, 255, 0.72);
}

.roland-cost-result {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 14px;
}

.roland-cost-lines,
.roland-totals {
  display: grid;
  gap: 8px;
}

.roland-cost-lines {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.roland-cost-lines p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}

.roland-cost-lines p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.roland-totals article {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: var(--paper);
  border-radius: 8px;
}

.roland-totals article.accent {
  background: var(--yellow);
}

.roland-totals strong {
  font-size: 24px;
}

.roland-totals small {
  color: var(--muted);
}

.roland-totals small::after {
  content: " / м²";
}

.roland-warnings {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 14px 18px 14px 36px;
  color: #6d2b00;
  background: #fff8ea;
  border: 1px solid #f2d49c;
  border-radius: 8px;
}

.file-drop {
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.empty-state {
  margin: 0;
  padding: 18px;
  color: var(--muted);
  background: var(--paper);
  border-radius: 8px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    justify-self: start;
  }

  .nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px clamp(18px, 4vw, 56px) 16px;
    background: rgba(12, 13, 15, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.24);
  }

  .site-header.menu-open .nav {
    display: flex;
  }

  .nav a {
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .strip,
  .service-grid,
  .work-grid,
  .intro,
  .process,
  .calculator-layout,
  .request-layout,
  .contacts-inner,
  .admin-grid,
  .catalog-heading,
  .price-conditions-inner {
    grid-template-columns: 1fr;
  }

  .roland-cost-head,
  .roland-cost-result,
  .roland-field-grid,
  .order-share-managers,
  .admin-chat-layout {
    grid-template-columns: 1fr;
  }

  .admin-chat-threads {
    max-height: 190px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .roland-cost-status {
    min-width: 0;
  }

  .catalog-stat {
    min-width: 0;
  }

  .strip-item {
    min-height: 92px;
  }

  .contacts-inner {
    gap: 20px;
  }

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

  .footer-top {
    grid-column: 1 / -1;
  }

  .schedule {
    text-align: left;
  }

  .header-phone {
    display: none;
  }

}

@media (max-width: 560px) {
  .address-preset-grid {
    grid-template-columns: 1fr;
  }

  .address-preset-card {
    grid-template-columns: 94px 1fr;
    column-gap: 10px;
  }

  .address-preset-card img {
    grid-row: 1 / 3;
    height: 68px;
    margin: 0;
  }

  .price-conditions-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: fixed;
    grid-template-columns: auto 1fr;
    gap: 10px;
    min-height: 0;
  }

  .header-actions {
    justify-content: flex-end;
  }

  .hero {
    min-height: min(760px, 100svh);
  }

  .hero-media img {
    object-position: 78% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.5)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 60%);
  }

  .hero-content {
    padding: 112px 20px 40px;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.02;
    letter-spacing: -0.04em;
    text-wrap: wrap;
  }

  .hero-content .lead {
    font-size: 1rem;
  }

  .hero-brand-logo {
    width: min(300px, 86vw);
    margin-left: -24px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section {
    width: calc(100% - 32px);
    padding: 58px 0;
  }

  .service-card,
  .work-card {
    min-height: auto;
  }

  .catalog-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-chip {
    justify-content: space-between;
  }

  .service-card-foot {
    align-items: stretch;
    display: grid;
  }

  .service-card-foot button {
    min-height: 42px;
  }

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

  .footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-column: auto;
  }

  .legal-requisites div,
  .storage-notice {
    grid-template-columns: 1fr;
  }

  .storage-notice {
    left: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .storage-notice div {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .manager-widget {
    right: 12px;
    bottom: 12px;
    width: 56px;
  }

  .modal {
    padding: 10px;
  }

  .modal-card {
    max-height: calc(100vh - 20px);
  }

  .admin-row,
  .order-card div {
    grid-template-columns: 1fr;
    display: grid;
  }

  .row-actions {
    justify-content: flex-start;
  }

  .admin-chat-reply {
    grid-template-columns: 1fr;
  }
}

/* Public site refinement: consistent hierarchy, spacing and navigation. */
.site-header { grid-template-columns: auto 1fr auto; gap: 32px; }
.header-brand { display: grid; gap: 3px; color: #fff; font-size: 23px; font-weight: 800; line-height: 1; }
.header-brand span { color: #b8bec7; font-size: 10px; font-weight: 400; letter-spacing: .02em; }
.nav { justify-content: flex-start; gap: 28px; font-size: 17px; font-weight: 600; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a[aria-current="location"] { color: #fff; border-color: var(--yellow); }
.header-call { display: none; }
.header-actions .icon-button { min-height: 44px; background: transparent; font-weight: 400; }
.hero { min-height: min(700px, 100svh); align-items: center; }
.hero-content { padding-top: 96px; padding-bottom: 40px; }
.hero-logo-frame { position: relative; width: 205px; height: 112px; margin-bottom: 16px; overflow: hidden; }
.hero-logo-frame .hero-brand-logo { position: absolute; width: 270px; max-width: none; top: -30px; left: -32px; margin: 0; filter: none; }
.hero-content h1 { font-size: clamp(2.25rem, 4.8vw, 4.25rem); line-height: 1.03; }
.hero-content .lead { max-width: 640px; margin-top: 18px; margin-bottom: 24px; }
.section-kicker { color: #866000; font-size: 14px; }
.hero .eyebrow, .calculator-band .section-kicker, .contacts .section-kicker { color: var(--yellow); }
.intro { gap: 32px; padding-bottom: 28px; }
.intro h2 { max-width: 520px; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.1; }
.intro > p { max-width: 620px; margin: 0; font-size: 18px; line-height: 1.6; }
.intro .section-kicker { font-size: 14px; }
.catalog-section { padding-top: 32px; }
.section-head p:last-child { margin-bottom: 0; }
.service-card-top { margin-bottom: 12px; }
.service-icon { width: 42px; height: 42px; box-shadow: none; background: var(--paper); color: var(--ink); }
.service-card-foot { padding-top: 14px; }
.service-card p { margin-bottom: 18px; }
.service-detail-info { max-width: 650px; margin-top: 24px; }
.service-detail-info h3 { margin: 22px 0 8px; font-size: 18px; color: #fff; }
.service-detail-info p { color: #c4c8cf; }
.service-detail-info .service-price-note { padding-top: 14px; border-top: 1px solid #45484e; font-size: 14px; }
.service-detail-fallback { scroll-margin-top: 76px; }
.portfolio-kind-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 14px; }
.portfolio-kind-filters button { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 7px 12px; border-radius: 8px; color: var(--muted); border: 1px solid transparent; background: transparent; cursor: pointer; font-size: 15px; }
.portfolio-kind-filters button[aria-pressed="true"] { color: var(--white); background: var(--black); }
.portfolio-kind-filters button small { font-size: 12px; opacity: .75; }
.portfolio-kind-filters button:disabled, .filter-chip:disabled { opacity: .38; cursor: default; }
.portfolio-filters { margin: 0 0 20px; }
.portfolio-media img { display: block; }
.portfolio-card:hover .portfolio-media img { transform: none; }
.process { gap: 40px; }
.process h2 { max-width: 440px; font-size: clamp(30px, 3.5vw, 44px); line-height: 1.12; }
.steps li { padding-top: 20px; padding-bottom: 20px; }
.form-note { margin-top: 4px; font-size: 14px; line-height: 1.5; }
.field-optional { color: var(--muted); font-size: 13px; font-weight: 400; }
input::placeholder, textarea::placeholder { color: #727780; opacity: 1; font-weight: 400; }
.personal-consent { font-size: 14px; line-height: 1.5; }
.personal-consent label { font-weight: 400; }
.checkbox-line { font-weight: 400; }
.contact-manager-label { display: block; margin-bottom: 6px; color: #b9bec6; font-size: 14px; }
.contacts-inner { padding-top: 48px; padding-bottom: 32px; }
.location-copy { padding: 26px; }
.location-copy, .office-map { min-height: 310px; }
.reviews-source { padding-top: 48px; padding-bottom: 48px; gap: 32px; }
.reviews-source h2 { font-size: clamp(30px, 3.5vw, 44px); line-height: 1.1; }
.review-source-card { padding: 24px; box-shadow: none; }
.footer { padding-top: 28px; padding-bottom: 30px; }
.footer-main p, .footer-legal { font-size: 14px; line-height: 1.5; }
.footer-legal { gap: 10px; }
.footer .employee-link { color: var(--muted); font-size: 14px; opacity: 1; }
button:focus-visible, a:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #a77800; outline-offset: 3px; }

@media (max-width: 1100px) {
  .site-header { gap: 20px; }
  .nav { gap: 18px; font-size: 16px; }
  .header-brand span { display: none; }
}
@media (max-width: 980px) {
  .site-header { grid-template-columns: auto 1fr; gap: 12px; }
  .header-brand { display: none; }
  .nav { font-size: 18px; }
  .nav a { min-height: 48px; }
  .header-call { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 8px 12px; color: var(--black); background: var(--yellow); border-radius: 8px; font-weight: 700; }
  .intro { gap: 20px; }
  .intro > p { font-size: 17px; }
  .process { gap: 24px; }
}
@media (max-width: 620px) {
  .site-header { padding: 10px 16px; }
  .header-actions { gap: 6px; }
  .header-actions .icon-button { padding: 0 9px; font-size: 14px; }
  .header-call { padding: 8px 10px; font-size: 14px; }
  .hero { min-height: min(700px, 100svh); }
  .hero-content { padding: 94px 20px 32px; }
  .hero-logo-frame { width: 160px; height: 87px; margin-bottom: 10px; }
  .hero-logo-frame .hero-brand-logo { width: 210px; left: -25px; top: -23px; }
  .hero .eyebrow { margin-bottom: 10px; font-size: 12px; }
  .hero-content h1 { font-size: 2rem; line-height: 1.04; }
  .hero-content .lead { margin-top: 14px; margin-bottom: 20px; font-size: 16px; }
  .strip { padding: 6px 16px; }
  .strip .strip-item { min-height: 0; padding: 14px 0; }
  .section { padding-top: 40px; padding-bottom: 40px; }
  .intro { padding-bottom: 20px; }
  .intro h2 { margin-bottom: 0; }
  .catalog-section { padding-top: 24px; }
  .section-head { margin-bottom: 22px; }
  .service-card { padding-left: 18px; padding-right: 18px; }
  .service-photo, .service-slider { width: calc(100% + 36px); margin-left: -18px; margin-right: -18px; }
  .service-card-foot { display: flex; align-items: center; gap: 8px; }
  .service-card-foot button { min-height: 42px; }
  .service-card small { padding: 0 8px; font-size: 12px; }
  .portfolio-kind-filters { gap: 4px; flex-wrap: nowrap; }
  .portfolio-kind-filters button { flex: 1; flex-direction: column; gap: 2px; min-width: 0; padding: 8px 6px; font-size: 13px; line-height: 1.3; text-align: center; }
  .portfolio-filter-mobile { margin-bottom: 16px; }
  .request-form { gap: 16px; padding: 20px; }
  .personal-consent { padding: 12px; }
  .contacts-inner { padding-top: 40px; padding-bottom: 24px; }
  .contact-manager-label { margin-top: 4px; }
  .location-block { gap: 18px; margin-top: 16px; padding-left: 16px; padding-right: 16px; padding-bottom: 40px; }
  .location-copy { min-height: 0; padding: 24px; }
  .reviews-source { padding: 40px 16px; }
}

/* Customer directions and an introduction to the workshop. */
.strip-item { color: var(--white); transition: background-color .18s ease; }
.strip-item:hover { background: #202226; }
.strip-item:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; background: #202226; }
.strip-item .strip-action { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--yellow); font-size: 14px; font-weight: 700; }
.strip-item .strip-action span { color: inherit; transition: transform .18s ease; }
.strip-item:hover .strip-action span { transform: translateX(4px); }
@media (max-width: 980px) {
}
@media (max-width: 760px) {
}
@media (max-width: 620px) {
  .strip-item .strip-action { margin-top: 9px; }
  #service-filters { display: flex; flex-wrap: wrap; gap: 8px; }
  #service-filters .filter-chip { justify-content: flex-start; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .strip-item, .strip-item .strip-action span { transition: none; }
}

/* Text introduction restored; optional request attachments. */
.intro { column-gap: 32px; row-gap: 14px; }
.intro > .section-kicker { grid-column: 1 / -1; grid-row: 1; margin: 0; color: #866000; font-size: 14px; line-height: 1.5; }
.intro > h2 { grid-column: 1; grid-row: 2; margin: 0; }
.intro > .intro-description { grid-column: 2; grid-row: 2; margin: 0; }
:is(.request-form,.compact-order) .request-files-title { margin: 0 0 10px; color: var(--ink); font-size: 16px; line-height: 1.5; font-weight: 700; }
:is(.request-form,.compact-order) .request-file-picker { display: flex; position: relative; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 16px; border: 1px dashed #a9afb9; border-radius: 8px; background: var(--paper); color: var(--ink); cursor: pointer; font-weight: 700; }
.request-file-picker:hover { border-color: var(--ink); background: #eef0f3; }
.request-file-picker:focus-within { outline: 3px solid var(--yellow); outline-offset: 2px; }
.request-file-picker:has(input:disabled) { opacity: .6; cursor: wait; }
:is(.request-form,.compact-order) .request-files-help { margin: 9px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.request-files-list { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.request-files-list:empty { display: none; }
.request-files-list li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.request-file-icon { display: grid; place-items: center; width: 40px; height: 44px; flex: 0 0 40px; color: var(--muted); background: var(--paper); border-radius: 5px; font-size: 10px; font-weight: 700; }
.request-file-info { display: grid; min-width: 0; flex: 1; font-size: 14px; overflow-wrap: anywhere; }
.request-file-info small { color: var(--muted); font-size: 12px; }
.request-file-remove { flex: 0 0 auto; min-height: 44px; padding: 8px; background: transparent; color: #525862; text-decoration: underline; cursor: pointer; font-size: 13px; }
:is(.request-form,.compact-order) .request-files-error { margin: 8px 0 0; color: #b72020; font-size: 14px; }
.request-files-error:empty { display: none; }
.order-attachments { display: grid; gap: 7px; margin: 12px 0; padding: 0; list-style: none; }
.order-attachments a { color: #1855a5; text-decoration: underline; overflow-wrap: anywhere; }
.order-attachments small { color: var(--muted); font-size: 12px; }
.account-text-button { justify-self: start; min-height: 44px; padding: 8px 0; color: #1855a5; background: transparent; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }
.account-text-button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.account-text-button:disabled { opacity: .6; cursor: wait; }
.account-email-notice { margin: 0 0 22px; padding: 16px; border: 1px solid #ead58b; border-radius: 10px; background: #fff9e6; }
.account-email-notice.is-verified { border-color: #c8dfce; background: #f3faf5; }
.account-email-notice .form-note { margin: 8px 0 12px; }
.account-email-notice.is-verified .form-note { margin-bottom: 0; }
#email-action-view .panel-form { margin-top: 20px; }
#account-note:empty, #cabinet-order-note:empty { display: none; }
@media (max-width: 980px) {
 .intro { grid-template-columns: 1fr; }
 .intro > .intro-description { grid-column: 1; grid-row: 3; }
}
