.desk {
  --desk-line: #354239;
  --desk-muted: #b0beb3;
  padding-block: clamp(26px, 4vw, 62px) clamp(54px, 7vw, 104px);
}
.desk-heading .breadcrumb { margin: 0 0 clamp(16px, 2vw, 26px); }
.desk-heading h1 {
  margin: 0 0 .32em;
  font-size: clamp(2.55rem, 6vw, 5.6rem);
  letter-spacing: -.055em;
  line-height: 1.08;
}
.desk-tabs {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: clamp(18px, 2.6vw, 38px);
}
.desk-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 18px;
  border-radius: 30px;
  color: #c1cdc4;
  border: 1px solid #324036;
  font-size: .9rem;
  font-weight: 620;
}
.desk-tabs a:hover { background: #253028; }
.desk-tabs a[aria-current="page"] { color: #173121; border-color: #b7edc7; background: #c3f0ce; }
.desk-tabs small, .desk-counter {
  min-width: 1.45em;
  padding-inline: 3px;
  border-radius: 12px;
  background: #718d7729;
  text-align: center;
  font-size: .8rem;
  font-weight: 750;
}
.desk-grid, .desk-settings { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(14px, 1.5vw, 22px); }
.desk-grid > *, .desk-settings > * { min-width: 0; }
.desk-panel, .desk-pass, .desk-guide, .desk-empty { border-radius: clamp(21px, 2vw, 30px); }
.desk-panel, .desk-empty {
  background: #19221c;
  color: #f1f5ec;
  border: 1px solid var(--desk-line);
  padding: clamp(22px, 2.6vw, 40px);
}
.desk h2, .desk h3 { margin: 0; letter-spacing: -.045em; line-height: 1.14; }
.desk h2 { font-size: clamp(1.45rem, 2vw, 2.12rem); font-weight: 610; }
.desk-panel p, .desk-empty p { font-size: 1rem; color: var(--desk-muted); line-height: 1.65; }
.desk-panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.desk-symbol { display: inline-grid; place-items: center; width: 43px; height: 43px; flex: none; border: 1px solid currentColor; border-radius: 14px; }
.desk-symbol svg { width: 21px; height: 21px; }
.desk-pass {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  min-height: clamp(250px, 23vw, 315px);
  padding: clamp(23px, 2.7vw, 43px);
  border: 1px solid #709781;
  background: radial-gradient(ellipse at 85% 0, #6d9482 0, transparent 55%), linear-gradient(114deg, #163528, #28513e 61%, #4b7361);
  color: #f2ffed;
  box-shadow: inset 0 1px 0 #d4f8d659;
}
.desk-pass::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #17392b80 22%, #214431a8 50%, transparent 71%), linear-gradient(0deg, #123023b0, transparent 50%);
}
.desk-pass-brand { display: inline-flex; align-items: center; gap: .48rem; margin: 0 0 .6rem; color: #dcf8dc; font-size: .81rem; font-weight: 800; letter-spacing: .1em; }
.desk-pass-brand img { width: 20px; height: 20px; }
.desk-pass h2 { position: relative; max-width: 76%; font-size: clamp(2.1rem, 4.15vw, 4.25rem); line-height: 1.04; font-weight: 520; letter-spacing: -.052em; }
.desk-pass-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; width: 100%; padding-top: 34px; margin-top: auto; }
.desk-pass-foot > span { min-width: 0; flex: 1; }
.desk-pass-foot small { display: block; color: #cee4d0; font-size: .8rem; }
.desk-pass-foot strong { display: block; color: #fff; font-size: clamp(1.15rem, 1.8vw, 1.55rem); overflow-wrap: anywhere; }
.desk-pass-foot a { flex: none; padding: 7px 12px; color: #edfdeb; background: #173c2ebf; border: 1px solid #b7d4bc73; border-radius: 9px; font-size: .84rem; font-weight: 640; }
.desk-pass-foot a:hover { background: #224d37; }
.desk-pass-print { position: absolute; z-index: -1; pointer-events: none; width: 70%; height: 140%; right: -12%; top: -29%; transform: rotate(27deg); }
.desk-pass-print i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-radial-gradient(ellipse closest-side, transparent 0 3px, #e6ffe5ad 3.6px 4.6px, #93b79e24 5px 6px);
  mask-image: radial-gradient(ellipse closest-side, transparent 54%, black 55% 98%, transparent 100%);
}
.desk-pass-print i:nth-child(2) { transform: rotate(25deg) scaleX(.88); opacity: .65; }
.desk-pass-print i:nth-child(3) { transform: rotate(-26deg) scaleX(.83); opacity: .47; }
.desk-bag { display: flex; flex-direction: column; align-items: flex-start; color: #1d3023; background: #e9eee3; border-color: #eef5e9; }
.desk-bag .desk-panel-heading { width: 100%; }
.desk-bag .desk-symbol { color: #637865; border-color: #b9c6b6; }
.desk-bag .btn { margin-top: auto; min-height: 43px; padding: 9px 16px; }
.desk-bag p { color: #4b5c4f; margin: 6px 0 18px; }
.desk-bag-total { display: block; margin-top: .3em; font-weight: 570; letter-spacing: -.055em; font-size: clamp(2.4rem, 4.4vw, 4rem); line-height: 1.12; }
.desk-bag-empty { margin-top: 18px; }
.desk-bag-empty strong { font-size: clamp(1.5rem, 2.5vw, 2.25rem); font-weight: 550; letter-spacing: -.05em; }
.desk-bag p span { font-size: .83em; white-space: nowrap; }
.desk-link { display: inline-flex; min-height: 40px; align-items: center; padding: 4px 0; border: 0; color: #b9edc6; background: none; text-decoration: underline; text-underline-offset: .23em; font-size: .91rem; font-weight: 630; }
.desk-link:hover { color: #e1ffe5; }
.desk-recent > p { max-width: 34em; margin: 12px 0 10px; }
.desk-recent ul { margin: 15px 0 0; padding: 0; list-style: none; }
.desk-recent li + li { border-top: 1px solid #344338; }
.desk-recent-link { display: flex; gap: 12px; padding: 12px 0; align-items: center; }
.desk-brand-tile { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--tile); }
.desk-brand-tile img { width: 27px; height: 27px; object-fit: contain; mix-blend-mode: multiply; }
.desk-recent-name { min-width: 0; flex: 1; }
.desk-recent-name strong, .desk-recent-name small { display: block; }
.desk-recent-name small { color: var(--desk-muted); font-size: .84rem; line-height: 1.45; }
.desk-recent-link b { font-size: 1rem; color: #c2efd0; white-space: nowrap; }
.desk-recent-link:hover strong { text-decoration: underline; }
.desk-guide {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 198px;
  padding: clamp(22px, 2.6vw, 40px);
  border: 1px solid #485249;
  background: radial-gradient(ellipse at 96% 60%, #35483b, #202c25 66%);
}
.desk-guide > img {
  position: absolute;
  width: 42%;
  height: 100%;
  object-fit: contain;
  right: 0;
  bottom: 0;
  mix-blend-mode: lighten;
}
.desk-guide > div { position: relative; width: 64%; }
.desk-guide > div p { color: #bac9bf; margin: 10px 0 18px; font-size: .96rem; line-height: 1.55; }
.desk-guide .btn { min-height: 42px; padding: 9px 14px; }
.desk-shelf > .desk-panel-heading { justify-content: flex-start; margin: 0 0 20px; }
.desk-counter { min-width: 1.8rem; line-height: 1.8rem; color: #c9e9d0; }
.desk-empty { padding-block: 34px; }
.desk-empty .desk-symbol, .desk-orders .desk-symbol { margin-bottom: 18px; color: #bce8c7; border-color: #597361; }
.desk-empty h3 { font-size: 1.7rem; }
.desk-empty p { margin: .65em 0 1.3em; }
.desk-orders { max-width: 800px; }
.desk-orders p { max-width: 37em; margin: 12px 0 20px; }
.desk-orders > .desk-link { margin-left: 15px; }
.desk-settings { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.desk-settings h2 { margin-bottom: 18px; }
.desk-settings form { display: grid; gap: 10px; }
.desk-settings form label, .desk-pref strong { color: #f2f6ef; font-size: .98rem; font-weight: 650; }
.desk-settings input { width: 100%; min-width: 0; padding: 12px 14px; min-height: 47px; background: #101913; color: white; border: 1px solid #526957; border-radius: 10px; }
.desk-settings form p { font-size: .9rem; line-height: 1.5; margin: 1px 0 8px; }
.desk-settings form .btn { justify-self: start; min-height: 43px; }
.desk-pref { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 15px 0; border-top: 1px solid var(--desk-line); }
.desk-pref:last-child { padding-bottom: 0; }
.desk-pref small { display: block; color: var(--desk-muted); font-size: .84rem; line-height: 1.5; margin-top: 3px; }
.desk-switch { display: inline-flex; align-items: center; position: relative; width: 48px; min-width: 48px; min-height: 44px; padding: 0; border: 0; background: none; }
.desk-switch::before { content: ''; width: 46px; height: 26px; background: #404d44; border: 1px solid #84978a; border-radius: 24px; }
.desk-switch i { position: absolute; left: 5px; top: 50%; margin-top: -9px; width: 18px; height: 18px; border-radius: 50%; background: #eef3ec; }
.desk-switch[aria-checked="true"]::before { border-color: #a4deb3; background: #b5e5bd; }
.desk-switch[aria-checked="true"] i { left: 25px; background: #1c4327; }
.desk-pref .desk-link { flex: none; }
@media (max-width: 760px) {
  .desk-grid, .desk-settings { grid-template-columns: minmax(0,1fr); }
  .desk-pass { min-height: 228px; }
  .desk-bag { min-height: 210px; }
  .desk-guide { min-height: 176px; }
}
@media (max-width: 480px) {
  .desk { padding-block-start: 22px; }
  .desk-heading h1 { font-size: clamp(2.2rem, 9.5vw, 2.85rem); margin-bottom: 20px; }
  .desk-tabs { gap: 4px; }
  .desk-tabs a { padding-inline: 9px; min-height: 40px; font-size: .84rem; gap: 4px; }
  .desk-pass { min-height: 207px; }
  .desk-bag { min-height: 0; }
  .desk-bag-empty { margin-top: 12px; }
  .desk-panel, .desk-guide { padding: 20px; }
  .desk-recent-link { gap: 8px; }
  .desk-orders > .desk-link { margin: 8px 0 0; display: flex; width: fit-content; }
}
