:root {
  --ink: #23232e;
  --muted: #747582;
  --line: #dedee6;
  --purple: #6c4bd7;
  --pale: #f1edff;
  --bg: #f7f7fa;
  --radius: 15px;
  font:
    15px/1.5 "Inter",
    "Pretendard",
    "Apple SD Gothic Neo",
    "Malgun Gothic",
    system-ui,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
select,
input,
textarea {
  font: inherit;
}
button,
a,
select,
input {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid #a78cf8;
  outline-offset: 3px;
}
header {
  background: #1d1c29;
  color: #f9f9fd;
}
.top {
  height: 70px;
  max-width: 1536px;
  margin: auto;
  padding: 0 clamp(20px, 4vw, 70px);
  display: flex;
  align-items: center;
  gap: 58px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
  font-size: 27px;
  font-weight: 740;
  letter-spacing: -1.5px;
}
.brand img {
  width: 34px;
  height: 34px;
}
nav {
  align-self: stretch;
  display: flex;
  gap: 28px;
}
nav button {
  padding: 0 3px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #aeacbb;
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  font-size: 14px;
  font-weight: 600;
  padding-top: 3px;
}
nav button.active {
  color: white;
  border-bottom-color: #b396ff;
}
.topstatus {
  margin-left: auto;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  color: #dbd9e7;
}
.roleicon {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  background: #393647;
  display: grid;
  place-items: center;
  color: #d0baff;
}
.i {
  --size: 18px;
  display: inline-block;
  flex: none;
  width: var(--size);
  height: var(--size);
  background: currentColor;
  mask: var(--icon) center/contain no-repeat;
  -webkit-mask: var(--icon) center/contain no-repeat;
  vertical-align: -3px;
}
main {
  max-width: 1536px;
  margin: auto;
  padding: 27px clamp(20px, 4vw, 70px) 30px;
}
.bread {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #767681;
  font-size: 12px;
}
.bread .i {
  --size: 14px;
}
.heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 24px;
  gap: 16px;
}
.heading h1 {
  font-size: clamp(26px, 2.5vw, 38px);
  letter-spacing: -1.7px;
  margin: 0;
  font-weight: 760;
  line-height: 1.3;
}
.heading .titlebtn {
  border: 0;
  background: none;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
}
.titlebtn .i {
  color: #757482;
}
.subline {
  color: var(--muted);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
}
.subline .i {
  --size: 15px;
}
.actions {
  display: flex;
  gap: 8px;
  align-items: center;
}
.btn,
.iconbtn,
.chip,
.selectlike {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  min-height: 36px;
}
.btn:hover,
.iconbtn:hover,
.chip:hover,
.selectlike:hover {
  background: #f7f5ff;
  border-color: #c7b8f2;
}
.btn.primary,
.iconbtn.primary {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
}
.btn.primary:hover,
.iconbtn.primary:hover {
  background: #5837c0;
}
.iconbtn {
  padding: 6px;
  width: 34px;
  height: 34px;
  min-height: 0;
}
.iconbtn.quiet {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}
.btn .i {
  --size: 16px;
}
.workspace {
  display: grid;
  grid-template-columns: clamp(252px, 23vw, 325px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.sidebar,
.rightcol {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 4px #24203604;
}
.panelhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 19px;
  border-bottom: 1px solid #ededf2;
  min-height: 60px;
}
.sectiontitle {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0;
  font-size: 16px;
  font-weight: 730;
  letter-spacing: -0.55px;
}
.count {
  font-size: 11px;
  min-width: 21px;
  text-align: center;
  background: #efeff4;
  color: #676778;
  line-height: 20px;
  border-radius: 6px;
  font-weight: 650;
}
.square {
  width: 29px;
  height: 29px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  background: #efeafd;
  color: var(--purple);
}
.square .i {
  --size: 17px;
}
.songlist {
  display: grid;
  gap: 4px;
  padding: 9px;
}
.songrow {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 13px 10px;
  min-height: 65px;
}
.songrow:hover {
  background: #f8f7fb;
}
.songrow.current {
  background: var(--pale);
  border-color: #ddcffd;
}
.num {
  height: 33px;
  width: 33px;
  flex: none;
  border-radius: 8px;
  background: #f2f2f5;
  color: #7c7c88;
  font:
    600 12px ui-monospace,
    monospace;
  display: grid;
  place-items: center;
}
.current .num {
  color: white;
  background: var(--purple);
}
.track {
  min-width: 0;
  flex: 1;
}
.track b {
  font-size: 14px;
  letter-spacing: -0.35px;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.current .track b {
  color: #5f3aba;
}
.meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #777786;
  margin-top: 4px;
}
.meta .i {
  --size: 12px;
}
.keytag {
  font-size: 10px;
  font-weight: 700;
  padding: 0 5px;
  border: 1px solid #d7d6e1;
  border-radius: 4px;
  color: #575463;
  line-height: 16px;
}
.current .keytag {
  border-color: #d4c6f3;
  color: #7548c1;
}
.bars {
  display: inline-flex;
  gap: 2px;
  align-items: center;
  height: 17px;
  color: var(--purple);
}
.bars i {
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: currentColor;
}
.bars i:nth-child(2) {
  height: 16px;
}
.bars i:nth-child(3) {
  height: 11px;
}
.bars i:nth-child(4) {
  height: 6px;
}
.addbtn {
  width: calc(100% - 28px);
  margin: 0 14px 14px;
  background: #fff;
  border: 1px dashed #cfced9;
  color: #696775;
}
.sync {
  padding: 18px;
}
.sync .line,
.line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.sync p,
.hint {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin: 9px 0 0;
}
.switch {
  width: 35px;
  height: 21px;
  border: 0;
  background: #b8b6c2;
  border-radius: 20px;
  padding: 3px;
  flex: none;
}
.switch:before {
  content: "";
  display: block;
  background: white;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  box-shadow: 0 1px 2px #0002;
}
.switch.on {
  background: var(--purple);
}
.switch.on:before {
  margin-left: auto;
}
.importcard {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid #dcd4ed;
  border-radius: var(--radius);
  background: linear-gradient(110deg, #f0e9ff, #f8f5ff);
  text-align: left;
  padding: 20px 16px;
  width: 100%;
}
.importcard b {
  display: block;
  font-size: 14px;
  letter-spacing: -0.3px;
}
.importcard small {
  display: block;
  color: #796e8f;
  font-size: 11px;
  margin-top: 3px;
}
.importcard > .i {
  margin-left: auto;
  --size: 15px;
  color: #7c679c;
}
.scanpic {
  position: relative;
  width: 40px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #8860cf;
  background: #fffc;
  border: 1px solid #cbb7ec;
  border-radius: 7px;
  transform: rotate(-6deg);
  box-shadow: 3px 3px #ded2f3;
}
.scanpic:after {
  content: "";
  position: absolute;
  width: 47px;
  height: 2px;
  background: #a174e4;
  box-shadow: 0 2px 6px #b898f9;
  top: 23px;
  left: -4px;
}
.viewer .panelhead {
  min-height: 58px;
  padding: 12px 17px;
}
.toolbar {
  display: flex;
  gap: 7px;
  align-items: center;
}
.toolbar .btn,
.toolbar .selectlike {
  font-size: 12px;
  min-height: 31px;
  padding: 5px 10px;
}
.toolbar .iconbtn {
  width: 31px;
  height: 31px;
}
.selectlike select {
  border: 0;
  background: transparent;
  color: inherit;
  font-weight: 600;
  cursor: pointer;
  max-width: 96px;
}
.stage {
  background-color: #ebeaf0;
  background-image: radial-gradient(#ceccd8 0.85px, transparent 0.85px);
  background-size: 12px 12px;
  padding: 22px clamp(16px, 3.3vw, 52px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  overflow: auto;
}
.paper {
  width: min(100%, 1040px);
  background: #fff;
  box-shadow:
    0 3px 10px #28233414,
    0 1px 2px #25213418;
  padding: 22px 5% 14px;
  color: #17181b;
  position: relative;
}
.paperhead {
  text-align: center;
}
.paperhead h2 {
  margin: 0;
  font-size: clamp(20px, 1.85vw, 28px);
  line-height: 1.45;
  letter-spacing: -1px;
  font-family: "AppleMyungjo", "Batang", Georgia, serif;
  font-weight: 700;
}
.paperhead small {
  display: block;
  font:
    italic 13px Georgia,
    serif;
  color: #77737b;
  line-height: 1.5;
}
.notationmeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #43414a;
  font-family: Georgia, serif;
  margin: 8px 0 1px;
}
.notationmeta b {
  display: inline-block;
  padding: 1px 6px;
  border: 1px solid #6c6973;
  font-size: 12px;
  margin-right: 6px;
}
.notation {
  width: 100%;
  min-height: 135px;
}
.notation svg {
  display: block;
  max-width: 100%;
  height: auto;
}
.sheetfoot {
  font:
    10px Georgia,
    serif;
  letter-spacing: 1px;
  color: #aaa5af;
  text-align: center;
  margin-top: 5px;
}
.viewerfoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 17px;
  gap: 10px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.doclabel,
.paging {
  display: flex;
  align-items: center;
  gap: 8px;
}
.paging {
  gap: 9px;
}
.paging strong {
  font:
    650 13px ui-monospace,
    monospace;
  color: #33313c;
}
.paging .iconbtn {
  width: 29px;
  height: 29px;
}
.formpanel {
  padding: 17px 19px;
}
.formpanel .line {
  margin-bottom: 13px;
}
.formpanel .line button {
  background: transparent;
  color: #73717f;
  border: 0;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.formpanel .line button .i {
  --size: 13px;
}
.flow {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.flow > .i {
  --size: 13px;
  color: #b4afbf;
}
.segment {
  border: 1px solid #dcd7ea;
  color: #746487;
  background: #f6f3fb;
  font-size: 12px;
  font-weight: 650;
  padding: 5px 12px;
  border-radius: 6px;
}
.segment.tone1 {
  color: #32776a;
  background: #edf7f3;
  border-color: #cde6dc;
}
.segment.tone2 {
  color: #a36b32;
  background: #fcf3e6;
  border-color: #ecdabc;
}
.segment.active {
  color: #fff;
  background: #7151d4;
  border-color: #7151d4;
}
.saveled {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.saveled:before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #66a690;
}
.footnote {
  margin-top: 20px;
  color: #888693;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 11px;
  gap: 7px;
}
kbd {
  font: 11px system-ui;
  background: white;
  padding: 0 4px;
  border: 1px solid #dcdbe3;
  border-radius: 4px;
}
.library {
  padding: 20px;
}
.librarygrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.libraryitem {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 17px;
  display: grid;
  gap: 9px;
  background: #fff;
}
.libraryitem h3 {
  font-size: 17px;
  margin: 0;
}
.libraryitem .square {
  width: 37px;
  height: 37px;
}
.empty {
  padding: 32px;
  text-align: center;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 0;
  width: min(460px, calc(100vw - 28px));
  color: var(--ink);
  max-height: 90dvh;
  overflow: auto;
  box-shadow: 0 20px 90px #1b142440;
}
dialog::backdrop {
  background: #17152065;
  backdrop-filter: blur(3px);
}
#modal {
  padding: 22px;
}
.modalhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.modalhead h2 {
  font-size: 21px;
  letter-spacing: -0.8px;
  margin: 0;
}
.field {
  display: grid;
  gap: 6px;
  margin: 13px 0;
  font-size: 13px;
  font-weight: 650;
}
.field input,
.field select,
.field textarea,
.search {
  width: 100%;
  border: 1px solid #d4d1de;
  border-radius: 7px;
  padding: 9px 11px;
  background: #fff;
  color: var(--ink);
}
.modalfoot {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.pick {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}
.pick strong {
  flex: 1;
}
.pick .iconbtn {
  height: 28px;
  width: 28px;
}
.drop {
  display: grid;
  place-items: center;
  text-align: center;
  gap: 8px;
  border: 1.5px dashed #c4b2e7;
  border-radius: 10px;
  background: #faf7ff;
  padding: 25px 12px;
  font-size: 13px;
  cursor: pointer;
}
.drop .i {
  --size: 30px;
  color: var(--purple);
}
.drop input {
  max-width: 100%;
}
.error {
  color: #954349;
}
.sectionedit {
  display: grid;
  grid-template-columns: 1fr 52px 52px;
  gap: 6px;
  margin: 6px 0;
}
.sectionedit input {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px;
}
.prompt {
  background: #191b23;
  color: white;
  border-radius: 12px;
  padding: 19px;
  display: grid;
  gap: 9px;
}
.prompt b {
  font-size: 20px;
}
.prompt small {
  color: #c9baff;
}
.prompt p {
  margin: 0;
}
#toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  background: #282432;
  color: white;
  padding: 10px 16px;
  border-radius: 9px;
  font-size: 13px;
  box-shadow: 0 3px 16px #0002;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
}
#toast.show {
  opacity: 1;
}
.viewer:fullscreen,
.viewer.focusmode {
  background: white;
  display: flex;
  flex-direction: column;
}
.viewer:fullscreen .stage,
.viewer.focusmode .stage {
  flex: 1;
}
.viewer.focusmode {
  position: fixed;
  inset: 0;
  z-index: 9;
  border-radius: 0;
}
.viewer:fullscreen .paper,
.viewer.focusmode .paper {
  max-width: 1050px;
}
.hidden {
  display: none !important;
}
@media (min-width: 1550px) {
  .stage {
    padding-block: 30px;
  }
  .paper {
    padding-top: 30px;
  }
  .songrow {
    min-height: 76px;
  }
}
@media (max-width: 950px) {
  main {
    padding: 20px;
  }
  .top {
    padding: 0 20px;
    gap: 30px;
  }
  .workspace {
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 12px;
  }
  .panelhead {
    padding: 13px;
  }
  .stage {
    padding: 16px;
  }
  .paper {
    padding: 16px 4% 12px;
  }
  .songlist {
    padding: 6px;
  }
  .songrow {
    gap: 8px;
  }
  .doclabel {
    font-size: 11px;
  }
  .flow {
    gap: 4px;
  }
  .segment {
    padding: 4px 8px;
  }
  .formpanel {
    padding: 14px;
  }
}
@media (max-width: 740px) {
  .top {
    height: 58px;
    gap: 20px;
  }
  .brand {
    font-size: 22px;
    gap: 6px;
  }
  .brand img {
    width: 29px;
    height: 29px;
  }
  nav {
    gap: 11px;
  }
  nav button {
    font-size: 12px;
    gap: 4px;
  }
  nav .i {
    --size: 15px;
  }
  .topstatus {
    gap: 0;
  }
  .topstatus > span:last-child {
    display: none;
  }
  .roleicon {
    width: 28px;
    height: 28px;
  }
  main {
    padding: 16px 12px;
  }
  .heading {
    margin: 10px 0 16px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .heading h1 {
    font-size: 26px;
  }
  .workspace {
    display: flex;
    flex-direction: column;
  }
  .rightcol {
    order: -1;
    width: 100%;
    gap: 10px;
  }
  .sidebar {
    width: 100%;
    gap: 10px;
  }
  .paper {
    padding: 14px 4% 8px;
  }
  .stage {
    padding: 12px 8px;
  }
  .panelhead,
  .viewer .panelhead {
    min-height: 48px;
    padding: 8px 12px;
  }
  .notation {
    min-height: 110px;
  }
  .viewerfoot {
    padding: 8px 11px;
  }
  .heading .actions {
    gap: 5px;
  }
  .heading .btn {
    padding: 7px 9px;
    font-size: 12px;
    min-height: 31px;
  }
  .bread {
    font-size: 11px;
  }
  .footnote {
    display: none;
  }
  .formpanel {
    padding: 11px 13px;
  }
  .formpanel .line {
    margin-bottom: 8px;
  }
  .toolbar {
    gap: 3px;
  }
  .sectiontitle {
    font-size: 14px;
    gap: 7px;
  }
  .btn .i {
    --size: 15px;
  }
}
@media (max-width: 425px) {
  .top {
    padding: 0 12px;
    gap: 16px;
  }
  .topstatus {
    display: none;
  }
  .heading {
    align-items: flex-start;
  }
  .subline {
    font-size: 11px;
  }
  .square {
    width: 24px;
    height: 24px;
  }
  .doclabel .i {
    display: none;
  }
  .viewerfoot {
    font-size: 11px;
  }
  .toolbar .btn,
  .toolbar .selectlike {
    padding: 4px 6px;
  }
  .paperhead small {
    font-size: 11px;
  }
}
.selectlike {
  position: relative;
}
.selectlike .overlaySelect {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  max-width: none;
}
.selectlike .i:last-child {
  --size: 12px;
}
@media (min-width: 951px) and (max-height: 850px) {
  .top {
    height: 61px;
  }
  main {
    padding-top: 19px;
  }
  .heading {
    margin: 7px 0 17px;
  }
  .songrow {
    padding-block: 9px;
    min-height: 57px;
  }
  .panelhead {
    padding-block: 11px;
    min-height: 52px;
  }
  .paper {
    padding-top: 15px;
    padding-bottom: 9px;
  }
  .stage {
    padding-block: 16px;
  }
  .formpanel {
    padding-block: 13px;
  }
  .formpanel .line {
    margin-bottom: 10px;
  }
  .importcard {
    padding-block: 14px;
  }
  .sidebar,
  .rightcol {
    gap: 12px;
  }
}
#review details {
  font-size: 13px;
  border-block: 1px solid var(--line);
  padding: 10px 0;
  margin: 9px 0;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
.lyricrow {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 5px 0;
  flex-wrap: wrap;
}
.lyricrow small {
  min-width: 36px;
}
.lyricrow input {
  width: 44px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 5px;
  text-align: center;
}
dialog:has(.cuebars) {
  width: min(900px, 96vw);
}
.cuebars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 295px), 1fr));
  gap: 10px;
  margin: 5px 0;
}
.cuebar {
  min-width: 0;
  padding: 8px 10px;
  background: #24242d;
  border-inline: 2px solid #787386;
}
.cuebar > small {
  font: 11px system-ui;
  color: #beb8cd;
}
.cue-scroll {
  overflow-x: auto;
  padding-bottom: 3px;
}
.cue-track {
  height: 66px;
  position: relative;
  background: repeating-linear-gradient(
    90deg,
    #ffffff23 0 1px,
    transparent 1px var(--beat)
  );
}
.cuepoint {
  position: absolute;
  top: 15px;
  display: grid;
  grid-template-rows: 24px 26px;
  white-space: nowrap;
  padding-left: 2px;
}
.prompt .cuepoint b {
  font: 650 15px/24px system-ui;
  color: #d2baff;
}
.cuepoint > span {
  font-size: 17px;
  line-height: 26px;
}
.cuepoint .rest {
  color: #a49daa;
  font-size: 12px;
}
.originalscan {
  display: block;
  width: 100%;
  height: auto;
}
.cue-scroll {
  scrollbar-width: thin;
}
#review .hint {
  overflow-wrap: anywhere;
}

.cuebeat {
  position: absolute;
  top: 0;
  padding-left: 2px;
  color: #b5adbf;
  font: 10px/14px system-ui;
}

nav .worknav {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 600;
  color: #d8d6e5;
  text-decoration: none;
}
nav .worknav:hover,
.top nav a:hover {
  color: white;
  text-decoration: underline;
}
a.worklink {
  color: inherit;
  text-decoration: none;
}
@media (max-width: 780px) {
  .top:has(.worknav) {
    height: auto;
    min-height: 58px;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 8px;
  }
  .top:has(.worknav) nav {
    order: 3;
    width: 100%;
    gap: 18px;
    overflow: auto;
    min-height: 38px;
  }
  .top:has(.worknav) nav button,
  .top:has(.worknav) nav a {
    white-space: nowrap;
    flex-shrink: 0;
  }
}
