:root {
  color-scheme: light;
  font: 1rem/1.55 system-ui, sans-serif;
  color: #192e44;
  background: #f4f7fb;
}
* { box-sizing: border-box; }
body { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: arkita-header; }
  ::view-transition-group(root) { animation-duration: 180ms; }
  ::view-transition-old(root) { animation: none; mix-blend-mode: normal; }
  ::view-transition-new(root) { animation: page-reveal 180ms ease-out both; mix-blend-mode: normal; }
  @keyframes page-reveal { from { opacity: 0; } to { opacity: 1; } }
  ::view-transition-group(arkita-header),
  ::view-transition-new(arkita-header) { animation: none; }
  ::view-transition-old(arkita-header) { display: none; }
}
.site-header {
  --site-header-height: 4rem;
  position: sticky;
  inset-block-start: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  min-height: var(--site-header-height);
  padding: .5rem max(1.25rem, calc((100% - 76rem) / 2));
  background: #fff;
  border-bottom: 1px solid #dce5ef;
}
.site-footer { border-top: 1px solid #d0dce8; background: #f4f7fb; }
.site-footer nav { max-width: 68rem; margin-inline: auto; gap: .45rem 1.25rem; padding: 1rem; font-size: .9rem; }
.legal-document { max-width: 50rem; margin-inline: auto; }
.legal-document section + section { margin-top: 1.5rem; }
.legal-document li + li { margin-top: .45rem; }
.legal-version { color: #486178; font-size: .9rem; }
.legal-details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: .45rem 1rem; }
.legal-details dt { font-weight: 600; overflow-wrap: anywhere; }
.legal-details dd { margin: 0; overflow-wrap: anywhere; }
.registration-terms .check { gap: .55rem; }
@media (max-width: 36rem) {
  .legal-details { grid-template-columns: minmax(0, 1fr); }
}
nav, .row, .pager { display: flex; align-items: end; flex-wrap: wrap; gap: .75rem; }
nav { align-items: center; }
.brand { display: inline-flex; align-items: center; justify-self: start; gap: .55rem; color: inherit; font-size: 1.375rem; font-weight: 700; text-decoration: none; }
.site-leading { display: flex; align-items: center; gap: clamp(.75rem, 1.7vw, 1.5rem); min-width: 0; }
.site-links { gap: .2rem; flex-wrap: nowrap; }
.site-actions { justify-self: end; }
.site-link, .site-action, .site-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 2.75rem;
  padding: .45rem .65rem;
  border: 1px solid transparent;
  border-radius: .5rem;
  background: transparent;
  color: #344f68;
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.site-link:hover, .site-action:hover, .site-menu-toggle:hover { background: #f0f5fa; color: #192e44; }
.site-link[aria-current], .site-link[data-active], .site-action[aria-current] { background: #e3f0f7; color: #173f5a; }
.site-action { border-color: #b8cbd9; }
.site-menu-toggle, .site-menu, .site-support-popup { display: none; }
.site-support-trigger { anchor-name: --site-support-trigger; }
.site-support-trigger::after { content: ''; width: .35rem; height: .35rem; border: solid currentColor;
  border-width: 0 1px 1px 0; transform: translateY(-.1rem) rotate(45deg); }
.site-support-popup:popover-open {
  position: absolute;
  position-anchor: --site-support-trigger;
  inset: 4.25rem auto auto 1rem;
  inset-inline-start: anchor(left);
  inset-block-start: calc(anchor(bottom) + .4rem);
  position-try-fallbacks: flip-inline;
  display: grid;
  gap: .25rem;
  width: min(16rem, calc(100% - 2rem));
  margin: 0;
  padding: .5rem;
  color: #192e44;
  background: #fff;
  border: 1px solid #d0dce8;
  border-radius: .7rem;
  box-shadow: 0 .75rem 1.75rem #192e4424;
}
.site-support-popup .site-link { justify-content: flex-start; }
.site-submenu { display: grid; border-top: 1px solid #dce5ef; margin-top: .3rem; padding-top: .3rem; }
:is(.site-header button, .site-header a):focus-visible { outline: 3px solid #498ac9; outline-offset: 2px; }
@media (max-width: 64rem) {
  .site-header { padding-inline: 1rem; }
  .site-leading { gap: .625rem; }
  .site-links { display: none; }
  .site-menu-toggle { display: inline-flex; width: 2.75rem; border-color: #b8cbd9; }
  .site-menu:popover-open {
    position: fixed;
    inset: calc(4rem + .375rem) auto auto 1rem;
    display: grid;
    gap: .25rem;
    width: min(17rem, calc(100% - 2rem));
    max-height: calc(100dvh - 5rem);
    overflow: auto;
    margin: 0;
    padding: .5rem;
    color: #192e44;
    background: #fff;
    border: 1px solid #d0dce8;
    border-radius: .7rem;
    box-shadow: 0 .75rem 1.75rem #192e4424;
  }
  .site-menu .site-link { justify-content: flex-start; }
}
@media (max-width: 30rem) {
  .site-actions button.site-action { width: 2.75rem; }
  .site-actions button.site-action span { display: none; }
  .site-leading > .site-support-trigger { padding-inline: .45rem; }
  .site-leading > .site-support-trigger span { display: none; }
  .site-leading > .site-download-link { padding-inline: .45rem; }
  .site-leading > .site-download-link span { display: none; }
  .site-support-popup:popover-open { inset-inline-start: 1rem; }
}
@media (max-width: 22.5rem) {
  .site-actions a.site-action { width: 2.75rem; }
  .site-actions a.site-action span { display: none; }
}
main { max-width: 68rem; margin: 2.5rem auto; padding: 0 1rem; }
main.home { max-width: none; margin: 0; padding: 0; }
.home-hero {
  position: relative;
  isolation: isolate;
  background: #f9f3ee;
}
.home-art { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.home-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #f6f0ea 0%, rgba(246,240,234,.9) 22%, rgba(246,240,234,.58) 37%, transparent 58%);
  pointer-events: none;
}
.home-inner { width: min(76rem, calc(100% - 2.5rem)); margin-inline: auto; padding-block: clamp(2.75rem, 6vw, 6rem); }
.home-copy { max-width: 29rem; }
.home-copy h1 {
  max-width: 11ch;
  font: 400 clamp(3rem, 5.4vw, 5.1rem) / 1.02 Georgia, serif;
  letter-spacing: -.035em;
  margin-bottom: 1.25rem;
}
.home-copy h1 span { white-space: nowrap; }
.home-copy p { max-width: 29rem; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: #3c526a; margin: 0 0 1.45rem; }
.home-overview {
  width: min(76rem, calc(100% - 2.5rem));
  margin: clamp(2rem, 5vw, 3.75rem) auto;
}
.home-overview h2 { margin: 0 0 1.15rem; font: 400 clamp(1.75rem, 3.6vw, 2.5rem) / 1.12 Georgia, serif; }
.home-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: 1.25rem; }
.home-feature { overflow: hidden; background: #fff; border: 1px solid #d0dce8; border-radius: .85rem; }
.home-feature img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #f8f4ed; }
.home-feature-copy { padding: 1.25rem; }
.home-feature h3 { margin: 0 0 .4rem; font-size: 1.2rem; line-height: 1.25; }
.home-feature p { margin: 0; color: #3c526a; }
.home-feature a { display: inline-block; margin-top: .65rem; font-weight: 600; text-underline-offset: .2em; }
.download-history li { justify-content: space-between; }
.dashboard-home {
  max-width: none;
  min-height: calc(100svh - 4rem);
  margin: 0;
  padding: 2.5rem 1rem;
  background:
    linear-gradient(90deg, #f4f7fbe8, #f4f7fb85 55%, #f4f7fb45),
    linear-gradient(180deg, #f4f7fb 5%, transparent 27% 76%, #f4f7fb),
    url('/assets/drafting-room.webp') right calc(50% + 6rem) / cover no-repeat #f4f7fb;
}
.dashboard-home .dashboard { max-width: 66rem; margin-inline: auto; }
.dashboard { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; gap: 1.35rem; }
.dashboard-creations, .dashboard-support { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.35rem; }
.dashboard-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .45rem 1rem; margin-bottom: 1rem; }
.dashboard-heading h1, .dashboard-heading h2, .dashboard-heading p { margin: 0; }
.dashboard-creations .dashboard-heading :is(h1, h2) { font-size: clamp(1.55rem, 5vw, 2rem); }
.dashboard-heading p, .dashboard-empty { color: #486178; }
.dashboard-notifications, .dashboard-tickets { margin: 0; padding: 1.15rem; }
.dashboard-ticket-list { list-style: none; padding: 0; margin: 0 0 .95rem; }
.dashboard-ticket-list li { display: grid; gap: .2rem; padding: .65rem 0; border-bottom: 1px solid #dce5ef; overflow-wrap: anywhere; }
.dashboard-ticket-list li span { font-size: .875rem; color: #486178; }
.notification-count { padding: .05rem .55rem; border-radius: 1rem; background: #e3f0f7; color: #173f5a; font-weight: 700; }
.notification-list { list-style: none; padding: 0; margin: 0 0 .95rem; }
.notification-list li { display: grid; gap: .2rem; padding: .65rem 0; border-bottom: 1px solid #dce5ef; overflow-wrap: anywhere; }
.notification-list time { font-size: .875rem; color: #486178; }
.notification-kind { font-weight: 600; }
.notification-dot { display: inline-block; width: .5rem; height: .5rem; margin-inline-start: .45rem; border-radius: 50%; background: #08768a; vertical-align: middle; }
.text-button { padding: 0; border: 0; border-radius: 0; color: #075569; background: transparent; text-decoration: underline; text-align: left; }
#mes-dessins { scroll-margin-top: 5rem; }
@media (max-width: 48rem) {
  .dashboard-home { background-position: center, center, 74% center; }
  .dashboard { grid-template-columns: minmax(0, 1fr); }
}
.primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .6rem 1.05rem;
  border-radius: .4rem;
  background: #214d69;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.primary-link:hover { background: #163850; }
@media (max-width: 56rem) {
  .home-hero { display: grid; grid-template-columns: minmax(0, 1fr); }
  .home-hero::after { content: none; }
  .home-art { position: static; z-index: auto; grid-row: 2; height: clamp(10rem, 35vw, 17rem); object-position: 78% 65%; }
  .home-inner { grid-row: 1; padding-block: clamp(2rem, 7vw, 4rem) 1.25rem; }
}
h1 { margin: 0 0 1rem; font-size: clamp(1.55rem, 5vw, 2rem); }
.section-heading { display: flex; align-items: flex-start; gap: .5em; line-height: 1.2; }
.section-heading > svg { flex: none; width: 1em; height: 1em; margin-block-start: .1em; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.0625rem; }
.panel { background: #fff; border: 1px solid #d0dce8; border-radius: .85rem; padding: clamp(1rem, 4vw, 1.75rem); margin: 0 0 1rem; }
.panel h2:first-child { margin-top: 0; }
.auth { max-width: 30rem; margin: 2rem auto; }
.account-content {
  display: flow-root;
  background: linear-gradient(90deg, #f4f7fb, rgba(244,247,251,.72) 38%, rgba(244,247,251,.12) 83%),
    url('/assets/account-personal-tray.webp') right top / min(64rem, 100%) auto no-repeat;
}
.account-content > .panel { max-width: 38rem; background-color: rgba(255,255,255,.94); }
.auth-page {
  --auth-paper: #faf3eb;
  --auth-art-width: min(100vw, 112rem);
  --auth-art-height: calc(var(--auth-art-width) * 941 / 1672);
  --auth-art-position: right center;
  min-height: 100vh;
  background:
    linear-gradient(180deg, var(--auth-paper), transparent 18% 73%, var(--auth-paper))
      var(--auth-art-position) / var(--auth-art-width) var(--auth-art-height) no-repeat,
    linear-gradient(90deg, var(--auth-paper) 8%, color-mix(in srgb, var(--auth-paper) 72%, transparent) 38%,
      color-mix(in srgb, var(--auth-paper) 16%, transparent) 85%)
      var(--auth-art-position) / var(--auth-art-width) var(--auth-art-height) no-repeat,
    url('/assets/auth-key-lock-sketch.webp')
      var(--auth-art-position) / var(--auth-art-width) var(--auth-art-height) no-repeat var(--auth-paper);
  background-attachment: fixed;
}
.auth-page .auth { margin-inline: 0; background-color: rgba(255,255,255,.94); }
@media (max-width: 64rem) {
  .auth-page {
    --auth-art-height: 18rem;
    --auth-art-width: calc(var(--auth-art-height) * 1672 / 941);
    --auth-art-position: right 4rem;
    background-attachment: scroll;
  }
  :is(.account-page, .auth-page) main { margin-top: 1rem; }
  .account-content > .panel { max-width: none; }
  .auth-page .auth { margin: 12rem auto 2rem; }
}
.section-tabs { display: flex; flex-wrap: wrap; gap: .2rem .35rem; margin-bottom: 1rem; border-bottom: 1px solid #d0dce8; }
.section-tabs a { display: inline-flex; align-items: center; gap: .5rem; padding: .65rem .8rem; border-bottom: 3px solid transparent; border-radius: .45rem .45rem 0 0; text-decoration: none; }
.section-tabs a:hover { background: #eaf1f7; }
.section-tabs a[aria-current="page"] { border-bottom-color: #214d69; background: #e3edf7; color: #163850; font-weight: 650; }
.section-tabs svg { flex: none; }
.account-content:has(> .preferences-layout) { background: none; }
.preferences-layout { display: grid; grid-template-columns: minmax(0, 25rem) minmax(0, 1fr); gap: 1.25rem; align-items: center; }
.preferences-layout > img { display: block; width: 100%; height: auto; }
.unit-preferences { margin: 0; }
.unit-preferences form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (max-width: 48rem) {
  .preferences-layout { grid-template-columns: minmax(0, 1fr); }
  .preferences-layout > .unit-preferences { width: 100%; max-width: 25rem; }
}
.autosave-field select { width: 100%; }
.field-save-message { position: absolute; clip-path: inset(50%); }
.autosave-field:has(select[data-save-state="error"]) .field-save-message { position: static; clip-path: none; color: #9a3030; font-size: .875rem; }
select[data-save-state="error"] { border-color: #b43a3a; }
select[data-save-state="saved"] { animation: field-saved-fade 1.8s ease-out; }
@keyframes field-saved-fade {
  0%, 20% { border-color: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.22); }
  100% { border-color: #758f9f; box-shadow: 0 0 0 3px transparent; }
}
@media (prefers-reduced-motion: reduce) {
  select[data-save-state="saved"] { animation: none; border-color: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.22); }
}
.account-section .fields { width: min(100%, 33rem); margin: .8rem 0 0; }
.account-section details { border-top: 1px solid #dce5ef; padding-block: .65rem; }
.account-section summary { cursor: pointer; font-weight: 600; }
.account-hint { margin: .6rem 0; color: #486178; font-size: .9375rem; }
.sponsor-code { width: min(100%, 21rem); font: 600 1.0625rem/1.5 ui-monospace, monospace; letter-spacing: .08em; }
.account-counts { display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; }
.account-counts dt { color: #486178; }
.account-counts dd { margin: 0; font-size: 1.25rem; font-weight: 650; }
.danger-zone { border-color: #e0b8b8; }
.danger-zone h2 { color: #85292d; }
.danger-button { background: #952d31; border-color: #952d31; }
.fields, label { display: grid; gap: .4rem; }
[data-support-version][hidden] { display: none; }
.fields { gap: .85rem; margin: 0 0 .9rem; }
input, select, textarea, button { font: inherit; min-width: 0; border: 1px solid #758f9f; border-radius: .4rem; padding: .5rem .65rem; color: inherit; background: #fff; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #498ac9; outline-offset: 2px; }
textarea { resize: vertical; }
button { background: #214d69; color: #fff; border-color: #214d69; cursor: pointer; }
button:hover { filter: brightness(.9); }
.quiet { background: #f0f5fa; color: #24475f; border-color: #a9bfd0; }
.alternatives { display: flex; flex-wrap: wrap; gap: .6rem; padding-top: .85rem; border-top: 1px solid #ccd8de; }
.notice { padding: .65rem .8rem; background: #e3f0f7; border-radius: .4rem; }
.check { display: flex; align-items: center; padding: .5rem 0; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { border-bottom: 1px solid #d6dfe4; padding: .55rem .65rem; }
.pager { padding-top: .75rem; }
.history { padding: 0; list-style: none; }
.history li { display: flex; flex-wrap: wrap; gap: .6rem; padding: .45rem 0; border-bottom: 1px solid #d6dfe4; }
.history time { color: #4b6573; }
a { color: #075569; }
body:has(.catalogue-heading) {
  --catalogue-art-height: clamp(18rem, 30vw, 26rem);
  --catalogue-art-width: calc(var(--catalogue-art-height) * 1672 / 941);
  min-height: 100vh;
  background:
    linear-gradient(180deg, transparent 76%, #f4f7fb) right 4rem / 100% var(--catalogue-art-height) no-repeat,
    linear-gradient(90deg, #f4f7fb, transparent 26%) right 4rem / var(--catalogue-art-width) var(--catalogue-art-height) no-repeat,
    url('/assets/catalogue-archive-sketch.webp') right 4rem / auto var(--catalogue-art-height) no-repeat #f4f7fb;
}
.catalogue-heading { min-height: calc(var(--catalogue-art-height) - 4.5rem); }
@media (max-width: 42rem) {
  body:has(.catalogue-heading) { --catalogue-art-height: clamp(14rem, 66vw, 18rem); }
  body:has(.catalogue-heading) main { margin-top: 1rem; }
  .catalogue-heading { min-height: calc(var(--catalogue-art-height) - 2.75rem); }
}
.catalogue-search { margin: 0 0 1.25rem; }
.catalogue-submit { flex: 0 0 100%; }
.catalogue-search .check { cursor: pointer; }
.catalogue-tabs { gap: .25rem; margin-bottom: -1px; padding-inline: .5rem; }
.catalogue-tabs a {
  padding: .6rem clamp(.8rem, 3vw, 1.5rem);
  border: 1px solid #b9ccdd;
  border-radius: .5rem .5rem 0 0;
  background: #e7eff8;
  color: #344f68;
  font-weight: 600;
  text-decoration: none;
}
.catalogue-tabs a:hover { background: #dbe8f5; }
.catalogue-tabs a[aria-current="page"] { border-bottom-color: #fff; background: #fff; color: #142b44; }
.catalogue-tabs a:focus-visible { outline: 2px solid #214d69; outline-offset: -4px; }
.catalogue-pane {
  padding: clamp(.85rem, 3vw, 1.5rem);
  border: 1px solid #b9ccdd;
  border-radius: .65rem;
  background: #fff;
}
body:has(.catalogue-listing) .catalogue-heading { min-height: 0; }
.catalogue-criteria { width: 66.6667%; }
.catalogue-criteria .catalogue-search { margin: 0; }
.catalogue-criteria > p:last-child { margin-bottom: 0; }
.catalogue-results { width: 100%; margin-top: 1.25rem; }
@media (max-width: 50rem) {
  .catalogue-criteria { width: 100%; }
}
.catalogue-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.dashboard-card-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); align-items: start; gap: .8rem; }
.dashboard-card-grid > .catalogue-card { margin: 0; }
.drawing-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.texture-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
@media (max-width: 50rem) {
  .drawing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 32rem) {
  .drawing-grid { grid-template-columns: minmax(0, 1fr); }
}
.catalogue-card { min-width: 0; }
.catalogue-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #f4f7fb; border-radius: .4rem; }
.texture-card, .drawing-result-card { padding: 0; overflow: hidden; }
.drawing-result-card img, .texture-card img { display: block; aspect-ratio: 4 / 3; border-radius: 0; }
.drawing-result-card img { background-color: #f0f2f5; }
.texture-card img { object-fit: cover; }
.material-card-link { display: block; text-decoration: none; }
.material-card-link:is(:hover, :focus-visible) h2 { text-decoration: underline; }
.drawing-result-card h2, .material-card-link h2 { margin: 0; padding: 1rem 1rem 0; overflow-wrap: anywhere; }
.drawing-result-card h2 { padding: .6rem .75rem 0; font-size: 1.05rem; line-height: 1.3; }
.drawing-result-body { display: grid; gap: .4rem; padding: .35rem .75rem .75rem; font-size: .9rem; }
.drawing-result-body > p { margin: 0; }
.drawing-result-meta { display: flex; align-items: baseline; gap: .5rem; color: #486178; }
.drawing-result-saved { color: #486178; }
.drawing-result-status { margin-inline-start: auto; }
.drawing-result-body .catalogue-description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.texture-card-body { padding: 1rem; }
.texture-card-body p { margin: .35rem 0 .75rem; }
.catalogue-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.catalogue-card-actions form { margin: 0; }
.drawing-card-link { display: block; border-radius: .4rem; text-decoration: none; }
.drawing-card-link:is(:hover, :focus-visible) :is(h2, h3) { text-decoration: underline; }
.drawing-page { margin-block: clamp(1.5rem, 4vw, 3rem); }
.drawing-page #parameters { scroll-margin-top: 5rem; }
.drawing-title { font-size: clamp(1.75rem, 5vw, 2.75rem); line-height: 1.15; overflow-wrap: anywhere; }
.drawing-detail, .material-detail { padding: 0; overflow: hidden; overflow-wrap: anywhere; }
.drawing-detail:has(.drawing-preview), .material-detail { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.material-preview { display: grid; align-content: start; background: #eef3f5; }
.material-preview img { display: block; width: 100%; max-height: 44rem; object-fit: contain; }
.material-edit { display: grid; gap: .75rem; margin-bottom: 1rem; }
.material-edit fieldset { min-width: 0; border: 1px solid #d0dce8; border-radius: .5rem; }
.material-edit button { justify-self: start; }
.drawing-preview {
  display: grid; place-items: center; padding: clamp(.75rem, 2vw, 1.25rem);
  background: linear-gradient(#dbe5ea 1px, transparent 1px), linear-gradient(90deg, #dbe5ea 1px, transparent 1px), #eef3f5;
  background-size: 1.5rem 1.5rem;
}
.drawing-preview img { display: block; width: 100%; max-height: 30rem; object-fit: contain; }
.drawing-summary { padding: clamp(1rem, 3vw, 1.75rem); }
.drawing-summary > :first-child { margin-top: 0; }
.drawing-edit { max-width: 42rem; }
.drawing-edit form { display: grid; gap: 1rem; }
.drawing-visibility { margin: 0; padding: 0; border: 0; }
.drawing-visibility legend { font-weight: 600; padding: 0; }
.drawing-visibility .check { cursor: pointer; gap: .45rem; }
.drawing-visibility input { accent-color: #214d69; cursor: pointer; margin: 0; }
@media (max-width: 43rem) {
  .drawing-detail:has(.drawing-preview), .material-detail { grid-template-columns: minmax(0, 1fr); }
}
.drawing-detail-facts > div { display: flex; flex-wrap: wrap; gap: .25rem .75rem; padding-block: .25rem; }
.drawing-detail-facts dt { font-weight: 600; }
.drawing-detail-facts dd { margin: 0; }
.drawing-parameter-group { margin-block: 1rem; }
.drawing-parameter-group dl { margin: 0; }
.drawing-parameter-group dl > div {
  display: grid; grid-template-columns: minmax(6rem, 1fr) minmax(0, 2fr); gap: .75rem;
  border-top: 1px solid #dce5ef; padding-block: .55rem; overflow-wrap: anywhere;
}
.drawing-parameter-group dt { font-weight: 600; }
.drawing-parameter-group dd { margin: 0; }
.drawing-parameter-detail { display: block; color: #486178; font-size: .875rem; }
.drawing-parameter-description { margin: .25rem 0; white-space: pre-wrap; }
.catalogue-search-row { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; }
.catalogue-search-row .catalogue-search { min-width: 0; }
.catalogue-icon {
  display: inline-grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem;
  padding: 0; border: 1px solid #b8cbd9; border-radius: .5rem; color: #344f68; background: #fff; cursor: pointer;
}
.catalogue-icon:hover { background: #e3f0f7; color: #173f5a; }
.catalogue-icon:focus-visible { outline: 2px solid #498ac9; outline-offset: 2px; }
.catalogue-import { flex: none; }
.catalogue-import > button { anchor-name: --catalogue-import; }
.catalogue-import-popover {
  position: fixed; position-anchor: --catalogue-import; inset: auto 1rem 1rem auto;
  inset-inline-end: anchor(right); inset-block-start: calc(anchor(bottom) + .5rem); inset-block-end: auto;
  position-try-fallbacks: flip-block; max-width: min(21rem, calc(100vw - 2rem));
  margin: 0; padding: 1rem; color: #192e44; background: #fff; border: 1px solid #d0dce8;
  border-radius: .7rem; box-shadow: 0 .75rem 1.75rem #192e4424;
}
.catalogue-import-popover p { margin: 0 0 .65rem; }
.catalogue-import-form { max-width: 48rem; }
.catalogue-import-form fieldset { margin: .75rem 0; border: 1px solid #d0dce8; border-radius: .5rem; }
.developer-docs { max-width: 62rem; }
.developer-tabs a[aria-current="page"] { background: transparent; }
.developer-docs section { margin-block: 1rem; scroll-margin-block-start: 5rem; }
.developer-docs pre { overflow: auto; padding: 1rem; background: #eef4f8; border-radius: .5rem; }
.developer-tool { padding: .5rem 0; border-top: 1px solid #dce5ef; }
.developer-tool summary { cursor: pointer; overflow-wrap: anywhere; }
.catalogue-card .row { align-items: center; }
.catalogue-card .catalogue-rating { align-items: end; margin-top: 1rem; }
.drawing-result-card .catalogue-rating { margin-top: 0; }
.catalogue-description { white-space: pre-wrap; overflow-wrap: anywhere; }
.account-pseudonym-form { display: flex; align-items: end; gap: .5rem; }
.account-pseudonym-form label { min-width: 0; }
.account-pseudonym-form button { display: grid; place-items: center; flex: none; width: 2.75rem; min-height: calc(1lh + 1rem + 2px); padding: 0; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1rem; }
.admin-stat { margin: 0; }
.admin-stat dt { color: #3c526a; }
.admin-stat dd { margin: .2rem 0 0; font-size: 1.9rem; font-weight: 650; }
.admin-filters { margin-block: .75rem 1rem; }
.admin-details { display: grid; grid-template-columns: minmax(7rem, max-content) minmax(0, 1fr); gap: .5rem 1rem; }
.admin-details dd { margin: 0; overflow-wrap: anywhere; }
.admin-section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1rem; }
.admin-section-heading h2 { margin: 0; }
fieldset { min-width: 0; border: 1px solid #d0dce8; border-radius: .45rem; margin: 0 0 .8rem; padding: .35rem .8rem .65rem; }
legend { font-weight: 600; }
.section-heading-row, .support-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1rem; }
:is(.section-heading-row, .support-heading) > h1 { margin: 0; overflow-wrap: anywhere; }
.support-tabs { gap: .4rem; margin-bottom: 1rem; }
.support-tabs a { padding: .45rem .65rem; border-radius: .5rem; }
.support-tabs a[aria-current] { background: #e3f0f7; color: #173f5a; text-decoration: none; font-weight: 600; }
.support-filters { margin-bottom: 1rem; }
.support-status { display: inline-block; padding: .2rem .55rem; border-radius: .4rem; background: #edf3f9; color: #214d69; white-space: nowrap; font-size: .875rem; }
.support-description dt { font-weight: 650; }
.support-description dd { margin: .2rem 0 .85rem; }
.support-description dd, .support-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.support-comment-author { color: #4b6573; font-size: .9rem; }
.support-comments, .support-matches { padding: 0; list-style: none; }
.support-comments li, .support-matches li { border-top: 1px solid #d6dfe4; padding-block: .75rem; }
.support-matches li p, .support-comments li p { margin: .35rem 0 0; }
.support-proofs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: .8rem; margin-bottom: 1rem; }
.support-proofs figure { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.support-proofs img, .support-proofs video { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #edf3f9; border-radius: .5rem; }
.support-upload-status:empty { display: none; }
.bug-report-page {
  min-height: 100vh;
  background: linear-gradient(90deg, #f4f7fb 0%, rgba(244,247,251,.84) 36%, rgba(244,247,251,.25) 100%),
    url('/assets/bug-report-sketch.webp') right center / cover no-repeat #f4f7fb;
  background-attachment: fixed;
}
.bug-report-page main > .panel { background-color: rgba(255,255,255,.94); }
.bug-report-form main > .panel { max-width: 37rem; }
.download-page {
  min-height: 100vh;
  background: linear-gradient(90deg, #f4f7fb, rgba(244,247,251,.78) 33%, rgba(244,247,251,.12) 78%),
    url('/assets/download-drawing-kit.webp') right 62% / cover no-repeat #f4f7fb;
  background-attachment: fixed;
}
.download-page main > .panel { max-width: 32rem; background-color: rgba(255,255,255,.94); }
html:has(> body.support-help-page) { scrollbar-gutter: stable; }
.support-help-page:has(.help-installation) {
  min-height: 100vh;
  background: linear-gradient(90deg, #f4f7fb, rgba(244,247,251,.78) 38%, rgba(244,247,251,.12) 85%),
    url('/assets/online-help-sketch.webp') right center / cover no-repeat #f4f7fb;
  background-attachment: fixed;
}
.support-help-page main { max-width: 50rem; }
.help-content { max-width: 48rem; }
.help-installation > .panel { background-color: rgba(255,255,255,.94); }
.help-content li + li { margin-top: .45rem; }
.help-commands { margin: 1rem 0; }
.help-commands > div { display: grid; grid-template-columns: minmax(9rem, 28%) 1fr; gap: .75rem; padding: .65rem 0; border-top: 1px solid #dce5ef; }
.help-commands dt { font-weight: 650; }
.help-commands dd { margin: 0; }
.help-content kbd { padding: .04rem .24rem; border: 1px solid #cad8e7; border-bottom-width: 2px; border-radius: .25rem; background: #f6f8fb; font-size: .875em; white-space: nowrap; }
.help-demo { margin: 1.2rem 0 0; border: 1px solid #d0dce8; border-radius: .7rem; background: #f5f8fc; overflow: hidden; }
.help-demo canvas { display: block; width: 100%; height: auto; }
.help-demo figcaption { padding: .75rem 1rem 1rem; border-top: 1px solid #d0dce8; }
.help-demo figcaption p { margin: 0 0 .5rem; }
.help-demo-controls { display: flex; flex-wrap: wrap; align-items: end; gap: .5rem; }
.help-demo-controls button { min-width: 5.5rem; }
.help-camera-gesture { margin: 1.25rem 0; }
.help-camera-gesture h3 { margin: 0 0 .3rem; font-size: 1.15rem; }
.help-camera-gesture p { margin: 0; }
.camera-demo { margin-top: .6rem; }
.camera-demo .camera-demo-bar { display: flex; align-items: center; gap: .65rem; padding: .45rem .65rem; background: #fff; }
.camera-demo-play { display: inline-grid; flex: none; place-items: center; width: 2.25rem; height: 2.25rem; padding: 0; }
.camera-demo-play span { width: 0; height: 0; border: .4rem solid transparent; border-right: 0; border-left: .6rem solid currentColor; }
.camera-demo-play[data-playing] span { width: .65rem; height: .8rem; border: 0; border-inline: .2rem solid currentColor; }
.camera-demo-input { color: #344f68; font-size: .925rem; }
@media (max-width: 42rem) {
  .bug-report-page { background-position: center, 76% center; }
  .support-help-page main { margin-top: 1rem; }
  .help-commands > div { grid-template-columns: 1fr; gap: .2rem; }
}
@media (max-width: 55rem) {
  .download-page {
    background: linear-gradient(180deg, rgba(244,247,251,.75), transparent 10rem, #f4f7fb 22rem),
      linear-gradient(90deg, #f4f7fb, transparent 28%) right 4rem / 32rem 18rem no-repeat,
      url('/assets/download-drawing-kit.webp') right 4rem / auto 18rem no-repeat #f4f7fb;
  }
  .download-page main > h1 { min-height: 13rem; }
  .support-help-page:has(.help-installation) {
    background: linear-gradient(180deg, rgba(244,247,251,.72), transparent 10rem, #f4f7fb 24rem),
      linear-gradient(90deg, #f4f7fb, transparent 25%) right 4rem / 34rem 19rem no-repeat,
      url('/assets/online-help-sketch.webp') right 4rem / auto 19rem no-repeat #f4f7fb;
  }
  .help-installation > h1 { min-height: 9rem; }
}
.support-reactions { align-items: center; }
.support-reactions form { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
#participation, #preuves, #discussion, #traitement { scroll-margin-top: 5rem; }
input[type=file] { max-width: 100%; }
