:root {
  --bg: #101010;
  --panel: #191919;
  --line: #33312f;
  --text: #f3f1ed;
  --muted: #aaa49d;
  --accent: #ff653c;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    14px/1.65 Arial,
    Helvetica,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
button,
input,
textarea,
select {
  font: inherit;
}
header {
  height: 90px;
  padding: 24px 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.brand img {
  width: 185px;
  height: auto;
  filter: brightness(0) invert(1);
}
.back-site {
  font-size: 12px;
  color: var(--muted);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(30px, 3.4vw, 49px);
  margin-bottom: 20px;
}
h2 {
  font-size: 23px;
}
h3 {
  font-size: 17px;
  margin-top: 28px;
}
p {
  color: var(--muted);
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 17px;
}
.portal-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  max-width: 1600px;
  margin: auto;
  min-height: 75vh;
}
.sidebar {
  padding: 40px 26px;
  border-right: 1px solid var(--line);
  background: #131313;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.user-name {
  font-size: 20px;
  overflow-wrap: anywhere;
}
.sidebar > .muted {
  font-size: 11px;
}
.sidebar nav {
  display: grid;
  width: 100%;
  gap: 7px;
  margin: 32px 0 20px;
}
.sidebar nav a {
  padding: 12px 15px;
  border-radius: 7px;
  color: var(--muted);
  font-size: 12px;
}
.sidebar nav a[aria-current='page'] {
  color: var(--text);
  background: #ff653c18;
  border-left: 2px solid var(--accent);
}
.sidebar-help {
  margin-top: auto;
  padding-top: 45px;
  display: grid;
  font-size: 10px;
  color: var(--muted);
}
.sidebar-help a {
  color: var(--text);
  margin-top: 8px;
}
.portal-main {
  padding: 45px clamp(22px, 4vw, 60px) 65px;
  min-width: 0;
}
.page-heading {
  margin-bottom: 34px;
  max-width: 780px;
}
.page-heading > p:last-child {
  max-width: 650px;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px;
  margin: 24px 0;
  min-width: 0;
}
.panel h2 {
  margin-bottom: 20px;
}
.panel > p {
  font-size: 13px;
}
.narrow {
  max-width: 840px;
}
.auth-main {
  max-width: 530px;
  margin: 65px auto 80px;
  padding: 0 20px;
  min-height: 58vh;
}
.auth-main h1 {
  font-size: 46px;
}
.auth-note {
  font-size: 12px;
  line-height: 1.8;
}
.auth-note a,
.quiet-link {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.quiet-link {
  display: inline-block;
  margin-top: 23px;
  font-size: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid transparent;
  border-radius: 30px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  min-height: 43px;
  line-height: 1.5;
  max-width: 100%;
}
.btn:hover {
  filter: brightness(1.12);
}
.primary {
  background: var(--accent);
  color: #17100c;
}
.primary:hover {
  color: #17100c;
}
.secondary {
  background: #ffffff06;
  border-color: #504840;
  color: var(--text);
}
.subtle {
  color: var(--muted);
  background: transparent;
  border-color: var(--line);
  font-weight: 400;
}
.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.actions form {
  margin: 0;
}
form > label,
.form-grid > label {
  display: grid;
  font-size: 12px;
  font-weight: 600;
  gap: 9px;
  margin-bottom: 20px;
}
input,
textarea,
select {
  width: 100%;
  background: #101010;
  border: 1px solid #49423c;
  border-radius: 7px;
  padding: 12px 13px;
  color: var(--text);
  color-scheme: dark;
  min-width: 0;
}
textarea {
  resize: vertical;
  line-height: 1.7;
}
input[type='file'] {
  font-size: 11px;
  padding: 12px 8px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.check {
  display: flex !important;
  align-items: flex-start;
  gap: 12px !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--muted);
  line-height: 1.7;
}
.check input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  flex-shrink: 0;
  accent-color: var(--accent);
}
.notice {
  border: 1px solid #5d6f45;
  background: #20291b;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 25px;
  color: #e0ebd4;
  overflow-wrap: anywhere;
}
.notice.error {
  background: #321d18;
  border-color: #8d4838;
  color: #ffd6c8;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.stats a {
  padding: 26px;
  background: linear-gradient(130deg, #29221e, #191919);
  border: 1px solid #47372d;
  border-radius: 12px;
}
.stats strong {
  display: block;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -2px;
}
.stats span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 14px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 40px 0 20px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading a {
  font-size: 11px;
  color: var(--muted);
}
.table-scroll {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  min-width: 650px;
}
th {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 400;
  background: #20201f;
}
th,
td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
}
td {
  font-size: 12px;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
.table-sub {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
  max-width: 260px;
}
.badge {
  display: inline-block;
  border: 1px solid #49423a;
  border-radius: 30px;
  padding: 5px 11px;
  color: #c8c0b5;
  background: #ffffff04;
  font-size: 10px;
  line-height: 1.5;
}
.badge.quote_sent {
  color: #ffb193;
  border-color: #8c5035;
  background: #ff653c12;
}
.badge.confirmed,
.badge.completed {
  color: #c7dfb0;
  border-color: #536c40;
}
.badge.cancelled {
  color: #ecab9b;
  border-color: #6f3c30;
}
.badge.production {
  color: #c4c5f0;
  border-color: #4c4f78;
}
.design-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.design-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.design-preview {
  height: 235px;
  background: #252321;
  display: grid;
  place-content: center;
  overflow: hidden;
}
.design-preview img {
  width: 100%;
  height: 235px;
  object-fit: contain;
  display: block;
}
.design-preview.placeholder {
  background: radial-gradient(circle at 30% 30%, #ff653c24, transparent 70%), #201c19;
  text-align: center;
}
.placeholder > span {
  font-size: 65px;
  font-weight: 700;
  letter-spacing: -6px;
  color: #ff653c60;
  line-height: 1;
}
.placeholder > p {
  font-size: 10px;
  letter-spacing: 2px;
  margin: 15px 0 0;
}
.design-copy {
  padding: 26px;
}
.design-copy h2 {
  font-size: 25px;
}
.design-copy > p.preserve {
  font-size: 12px;
}
.design-copy .actions {
  align-items: flex-start;
  flex-direction: column;
}
.preserve {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 25px;
}
.detail-grid > .panel {
  margin-top: 24px;
}
.large-preview {
  display: block;
  width: 100%;
  max-height: 350px;
  object-fit: contain;
  margin-bottom: 30px;
  border-radius: 7px;
  background: #242321;
}
.quote {
  border-color: #6c4938;
  background: linear-gradient(145deg, #2c231e, #191919 60%);
}
.quote > h2 {
  font-size: 35px;
  color: var(--accent);
  letter-spacing: -1px;
}
.fine {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
  font-weight: 400;
}
.muted {
  color: var(--muted);
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline li {
  border-left: 1px solid #625044;
  padding: 0 0 23px 20px;
  position: relative;
}
.timeline li:before {
  content: '';
  position: absolute;
  left: -4px;
  top: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.timeline span {
  font-size: 9px;
  color: #bda38e;
}
.timeline p {
  font-size: 12px;
  margin: 6px 0 0;
}
.timeline li:last-child {
  padding-bottom: 0;
}
.filter {
  display: flex;
  align-items: end;
  gap: 15px;
  flex-wrap: wrap;
  margin: 25px 0;
}
.filter label {
  margin: 0;
  flex: 1;
  min-width: 160px;
}
.filter .btn {
  margin-bottom: 0;
}
.pagination {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  margin: 20px 0;
  font-size: 12px;
}
.pagination span {
  color: var(--muted);
}
.empty {
  text-align: center;
  padding: 50px 25px;
  background: var(--panel);
  border: 1px dashed #49423c;
  border-radius: 12px;
}
.empty p {
  max-width: 430px;
  margin: 0 auto 25px;
}
details summary {
  cursor: pointer;
  font-weight: 600;
}
details form {
  margin-top: 25px;
}
footer {
  padding: 28px 4vw;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
}
.skip {
  position: absolute;
  left: 20px;
  top: -100px;
  background: var(--accent);
  color: #111;
  padding: 12px;
  z-index: 5;
}
.skip:focus {
  top: 12px;
}
.mail-panel {
  margin-top: 45px;
}
.mail-panel .table-scroll {
  margin-top: 25px;
}
@media (max-width: 1050px) {
  .portal-shell {
    grid-template-columns: 205px minmax(0, 1fr);
  }
  .sidebar {
    padding: 30px 18px;
  }
  .portal-main {
    padding: 35px 24px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .design-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    gap: 10px;
  }
  .stats a {
    padding: 20px 15px;
  }
}
@media (max-width: 700px) {
  header {
    height: 75px;
    padding: 20px;
  }
  .brand img {
    width: 155px;
  }
  .back-site {
    font-size: 10px;
  }
  .portal-shell {
    display: block;
  }
  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px 20px;
    display: block;
  }
  .sidebar > .eyebrow {
    margin-bottom: 7px;
  }
  .user-name {
    font-size: 18px;
    margin-right: 12px;
  }
  .sidebar > .muted {
    display: inline;
  }
  .sidebar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 18px 0 14px;
  }
  .sidebar nav a {
    padding: 8px 12px;
    font-size: 11px;
    border: 1px solid var(--line);
  }
  .sidebar nav a[aria-current='page'] {
    border-left: 1px solid var(--accent);
  }
  .sidebar form {
    display: inline-block;
  }
  .sidebar .btn {
    padding: 6px 12px;
    min-height: 34px;
    font-size: 10px;
  }
  .sidebar-help {
    display: none;
  }
  .portal-main {
    padding: 30px 20px 50px;
  }
  .panel {
    padding: 22px 18px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stats a:last-child {
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 18px;
    padding-block: 15px;
  }
  .stats a:last-child span {
    margin-top: 0;
  }
  .stats strong {
    font-size: 35px;
  }
  .stats a:last-child strong {
    font-size: 28px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .detail-grid {
    gap: 0;
  }
  .auth-main {
    margin-top: 45px;
  }
  .auth-main h1 {
    font-size: 38px;
  }
  .filter {
    align-items: stretch;
  }
  .filter .btn {
    align-self: end;
  }
  .section-heading {
    align-items: start;
  }
  .design-copy {
    padding: 22px;
  }
  .actions {
    gap: 10px;
  }
  .page-heading h1 {
    overflow-wrap: anywhere;
  }
  .quote > h2 {
    font-size: 31px;
  }
}

/* Zelfregistratie en aanvragen voor alle diensten. */
.registration-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.request-highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 0;
  background: linear-gradient(125deg, #30231e, #191919);
  border-color: #65432e;
}
.request-highlight h2 {
  margin-bottom: 12px;
}
.request-highlight p:last-child {
  margin-bottom: 0;
}
.request-specs {
  font-size: 12px;
  margin-top: 25px;
}
.request-specs dt {
  color: var(--muted);
  margin-top: 17px;
}
.request-specs dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
}
.badge.new {
  color: #ffb193;
  border-color: #8c5035;
}
.badge.waiting {
  color: #e1cb84;
  border-color: #7d6d3b;
}
.badge.in_progress {
  color: #c4c5f0;
  border-color: #4c4f78;
}
@media (max-width: 700px) {
  .request-highlight {
    align-items: start;
    flex-direction: column;
  }
  .request-highlight .btn {
    width: 100%;
  }
}

/* Privéberichten en persoonlijke meldingen. */
.sidebar nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.unread-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  background: var(--accent);
  color: #17100c;
  border-radius: 30px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}
.unread-count[hidden],
.live-notice[hidden] {
  display: none;
}
.notification-card,
.conversation-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  margin: 16px 0;
  background: var(--panel);
}
.notification-card.is-unread {
  border-left: 3px solid var(--accent);
  background: linear-gradient(120deg, #2a211d, #191919);
}
.notification-card h2,
.conversation-card h2 {
  font-size: 21px;
  margin: 0 0 12px;
}
.notification-card .eyebrow {
  margin-bottom: 12px;
}
.notification-card p,
.conversation-card p {
  font-size: 11px;
  margin-bottom: 0;
}
.notification-card .quiet-link {
  margin-top: 14px;
}
.live-notice {
  background: #ff653c18;
  border: 1px solid #8c5035;
  color: #ffb193;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 12px;
}
.conversation-messages {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 1000px;
  max-height: none;
}
.chat-message {
  background: #242424;
  border: 1px solid #393734;
  border-radius: 12px 12px 12px 0;
  padding: 18px 20px;
  align-self: flex-start;
  width: min(85%, 740px);
}
.chat-message.is-mine {
  background: #ff653c13;
  border-color: #68422f;
  border-radius: 12px 12px 0 12px;
  align-self: flex-end;
}
.chat-meta {
  font-size: 10px;
  color: #d9c5b5;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.chat-meta time {
  color: var(--muted);
}
.chat-message p {
  font-size: 13px;
  margin-bottom: 0;
  color: var(--text);
}
@media (max-width: 700px) {
  .notification-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }
  .notification-card .btn {
    font-size: 11px;
  }
  .chat-message {
    width: 95%;
    padding: 16px;
  }
  .chat-meta {
    gap: 7px;
  }
  .sidebar nav a {
    justify-content: center;
  }
}

/* Alleen mobiel: compact accountmenu. Desktop behoudt de bestaande zijbalk. */
.sidebar-identity,
.account-menu-content {
  display: contents;
}
.sidebar-identity > .muted {
  font-size: 11px;
}
.account-menu-toggle,
.mobile-current {
  display: none;
}
@media (max-width: 700px) {
  .sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0 16px;
    padding: 18px 20px;
  }
  .sidebar-identity {
    display: block;
    min-width: 0;
  }
  .sidebar-identity > .eyebrow {
    font-size: 8px;
    letter-spacing: 1.7px;
    margin-bottom: 5px;
  }
  .sidebar-identity > .user-name {
    display: block;
    font-size: 17px;
    line-height: 1.3;
    margin: 0;
    overflow-wrap: anywhere;
  }
  .sidebar-identity > .muted {
    display: none;
  }
  .mobile-current {
    display: block;
    color: var(--muted);
    font-size: 10px;
    margin-top: 5px;
    line-height: 1.5;
  }
  .account-menu-content {
    display: block;
    grid-column: 1/-1;
  }
  .sidebar.mobile-menu-ready:not(.menu-open) .account-menu-content {
    display: none;
  }
  .sidebar.mobile-menu-ready .account-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid #4d4037;
    border-radius: 10px;
    background: #201b17;
    color: var(--text);
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
  }
  .account-menu-toggle .unread-count {
    min-width: 19px;
    height: 19px;
    font-size: 9px;
    padding: 0 5px;
  }
  .account-menu-toggle svg {
    transition: transform 0.15s;
  }
  .menu-open .account-menu-toggle svg {
    transform: rotate(180deg);
  }
  .sidebar .account-menu-content nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 18px 0 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #171717;
  }
  .sidebar .account-menu-content nav a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin: 0;
    min-height: 46px;
    padding: 12px 15px;
    border: 0;
    border-bottom: 1px solid #2a2825;
    border-radius: 0;
    font-size: 12px;
    line-height: 1.5;
  }
  .sidebar .account-menu-content nav a:last-child {
    border-bottom: 0;
  }
  .sidebar .account-menu-content nav a[aria-current='page'] {
    border-left: 2px solid var(--accent);
    padding-left: 13px;
    background: #ff653c16;
  }
  .sidebar .account-menu-content > form {
    display: block;
    margin: 13px 0 0;
  }
  .sidebar .account-menu-content > form .btn {
    width: 100%;
    min-height: 44px;
    padding: 11px 15px;
    border-radius: 10px;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .account-menu-toggle svg {
    transition: none;
  }
}

/* Dezelfde taalkeuze voor klanten en beheerders. */
/* Meerdere varianten blijven samen onder één ontwerp staan. */
.btn.danger {
  color: #ffd5ce;
  border-color: #a84130;
  background: #742b2229;
}
.btn.danger:hover,
.btn.danger:focus-visible {
  background: #742b225c;
  border-color: #ff836d;
}
.danger-link {
  color: #ffad9e;
}
.permanent-file-links {
  padding-left: 20px;
  margin: 20px 0;
}
.permanent-file-links li,
.loose-files h2,
.deletion-confirm li {
  overflow-wrap: anywhere;
}
.loose-files {
  display: grid;
  gap: 15px;
}
.loose-files h2 {
  font-size: 20px;
}
.deletion-confirm {
  border-color: #a84130;
}
.review-settings {
  min-width: 0;
  margin: 20px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.review-settings legend {
  padding: 0 8px;
  font-weight: 600;
}
.review-card-link {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.review-card-link .fine {
  width: 100%;
}
.review-summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.review-summary h2 {
  margin-bottom: 10px;
}
.review-cover {
  display: block;
  margin-bottom: 20px;
}
.review-event {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.review-event:last-child {
  border-bottom: 0;
}
.design-downloads {
  width: 100%;
  min-width: 0;
}
.design-downloads ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.design-downloads .file-download {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border-radius: 12px;
  white-space: normal;
  text-align: left;
}
.download-name,
.design-file-row h3 {
  overflow-wrap: anywhere;
}
.download-name {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.design-file-editor {
  min-width: 0;
  margin: 25px 0;
  padding: 0;
  border: 0;
}
.design-file-editor legend {
  margin-bottom: 15px;
  font-weight: 600;
}
.design-file-row {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
}
.design-file-row h3 {
  margin-bottom: 8px;
  font-size: 16px;
}
.design-file-row input[type='file'] {
  width: 100%;
  min-width: 0;
}
header .back-site {
  margin-left: auto;
}
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 30px;
  flex-shrink: 0;
}
.language-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 50%;
  opacity: 0.8;
  transition:
    opacity 0.2s,
    box-shadow 0.2s;
}
.language-switch .language-flag {
  display: block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: contain;
}
.language-switch a:hover,
.language-switch a:focus-visible,
.language-switch a[aria-current='true'] {
  opacity: 1;
}
.language-switch a[aria-current='true'] {
  background: transparent;
  box-shadow: inset 0 0 0 2px var(--accent);
}
.language-switch a::after {
  display: none;
}
@media (max-width: 700px) {
  header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    flex-wrap: wrap;
    height: auto;
    min-height: 75px;
  }
  header .brand img {
    width: 135px;
    max-width: 100%;
  }
  header .back-site {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    text-align: right;
    font-size: 10px;
  }
  header .language-switch {
    grid-column: 2;
    grid-row: 1;
  }
  .language-switch a {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
}
