:root {
  --bg: #f8fafc;
  --ink: #111827;
  --ink-soft: #4b5563;
  --line: #e2e8f0;
  --card: #ffffff;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  --grad: #4f46e5;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: break-word;
}

button,
input,
select {
  font-family: inherit;
}

a {
  color: inherit;
}

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

h1,
h2,
p,
ul {
  margin: 0;
}

.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250, 248, 246, 0) 0%, var(--bg) 72%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.7;
}

.orb-a {
  width: 42vw;
  height: 42vw;
  left: -8vw;
  top: -18vw;
  background: radial-gradient(circle, rgba(255, 176, 150, 0.45), transparent 70%);
  animation: drift 22s ease-in-out infinite;
}

.orb-b {
  width: 36vw;
  height: 36vw;
  right: -10vw;
  top: -14vw;
  background: radial-gradient(circle, rgba(176, 160, 255, 0.28), transparent 70%);
  animation: drift 26s ease-in-out infinite reverse;
}

.orb-c {
  width: 28vw;
  height: 28vw;
  left: 34vw;
  top: 8vh;
  background: radial-gradient(circle, rgba(255, 210, 220, 0.4), transparent 70%);
  animation: drift 30s ease-in-out infinite;
}

.skip,
.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -40px;
  background: white;
  color: #111;
  padding: 8px 12px;
  z-index: 6;
}

.skip:focus {
  top: 12px;
}

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

.site-header {
  z-index: 5;
}

.site-header::after {
  content: "";
  display: block;
  height: 1px;
  background: var(--line);
}

.bar,
.site-footer,
.hero,
.catalog,
.watch,
.steps,
.guide,
.split,
.faq,
.gate,
.result {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-lockup {
  display: block;
  height: 40px;
  width: auto;
}

.lang {
  position: relative;
}

.lang button,
.lang-menu a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
}

.lang button {
  height: 34px;
  max-width: 100%;
  padding: 0 10px 0 7px;
  border: 1px solid rgba(28, 22, 20, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.lang button span {
  white-space: nowrap;
}

.lang button:hover,
.lang button[aria-expanded="true"] {
  border-color: rgba(28, 25, 23, 0.28);
}

.chev {
  width: 10px;
  height: 10px;
  flex: none;
  margin-inline-start: 1px;
  color: #8a817c;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 8;
  width: min(240px, calc(100vw - 32px));
  max-height: min(70vh, 420px);
  margin: 0;
  padding: 6px;
  overflow: auto;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(28, 22, 20, 0.08);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(48, 24, 32, 0.12);
}

.lang-menu[hidden] {
  display: none;
}

.lang-menu li {
  margin: 0;
  list-style: none;
}

.lang-menu a {
  display: flex;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.lang-menu a:hover,
.lang-menu a[aria-current="true"] {
  background: #f3efe8;
}

.lang-menu a[aria-current="true"]::after {
  content: "";
  width: 6px;
  height: 10px;
  margin-inline-start: auto;
  border-right: 2px solid #1c1917;
  border-bottom: 2px solid #1c1917;
  transform: rotate(45deg) translateY(-1px);
}

.flag {
  display: block;
  flex: none;
  width: 22px;
  height: 15px;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(28, 22, 20, 0.16);
}

[dir="rtl"] .flag {
  transform: none;
}

.hero {
  padding: 9vh 0 12px;
}

.tool-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(1040px, calc(100% - 48px));
  padding: 7vh 0 8px;
}

.tool-hero h1,
.tool-hero .lede,
.tool-hero .consent,
.tool-hero .disclaimer,
.tool-hero .form-error {
  text-align: center;
}

.tool-hero .finder {
  width: 100%;
  max-width: none;
}

.eyebrow {
  margin-bottom: 18px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero h1,
.gate h1,
.prose h1 {
  font-weight: 750;
  letter-spacing: -0.05em;
  line-height: 1.18;
}

.hero h1 {
  max-width: 14em;
  font-size: clamp(1.85rem, 5.4vw, 4.15rem);
}

.shine {
  color: #8a8178;
}

.lede {
  max-width: 36rem;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}

.finder {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 720px;
  margin-top: 36px;
  padding: 12px;
  background: white;
  border: 1px solid rgba(28, 22, 20, 0.08);
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.finder:focus-within {
  border-color: rgba(28, 25, 23, 0.28);
  box-shadow: 0 0 0 4px rgba(28, 25, 23, 0.06), var(--shadow);
}

.picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 2px;
}

.pick {
  position: relative;
  flex: none;
}

.finder .pick input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  flex: none;
  opacity: 0;
  cursor: pointer;
}

.pick span {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.pick input:checked + span {
  color: #fffcf8;
  border-color: #1c1917;
  background: #1c1917;
}

.pick input:focus-visible + span {
  outline: 2px solid #1c1917;
  outline-offset: 2px;
}

.finder-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 60px;
  padding: 6px 6px 6px 16px;
  background: #f6f3f1;
  border-radius: 18px;
}

.finder-row input {
  flex: 1;
  min-width: 0;
  height: 46px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1.02rem;
  padding: 0;
  outline: none;
}

.finder input::placeholder {
  color: #b3aaa4;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 13px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.btn-hot,
.btn-solid {
  background: #1c1917;
  color: #f6f4f1;
  box-shadow: none;
}

.btn-hot:hover,
.btn-solid:hover {
  background: #3a342e;
}

.btn-solid {
  min-width: 220px;
}

.btn.is-waiting {
  background: #ece7e1;
  color: #6d675f;
  box-shadow: none;
  cursor: progress;
}

.btn[aria-busy="true"] {
  opacity: 0.72;
}

.form-error {
  margin-top: 12px;
  color: #9a3b32;
  font-weight: 500;
}

.disclaimer,
.fine,
.back,
.stories-more {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

.tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}

.tools a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
}

.tools a[aria-current="page"] {
  color: #d1236a;
  border-color: rgba(209, 35, 106, 0.35);
}

.focus-empty {
  padding: 0 18px 8px;
}

.stories-label {
  margin-top: 48px;
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.brands li {
  display: inline-flex;
  align-items: center;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-link:hover,
.brand-link[aria-current="page"] {
  color: #d1236a;
}

.brands svg {
  width: 18px;
  height: 18px;
  display: block;
  flex: none;
}

.board {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
  gap: 10px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}

.board li {
  display: block;
  min-width: 0;
}

.board .brand-link {
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 108px;
  padding: 16px 10px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(28, 22, 20, 0.045);
  font-size: 0.84rem;
  text-align: center;
}

.board .brand-link svg {
  width: 32px;
  height: 32px;
}

.board .brand-link:hover {
  border-color: rgba(209, 35, 106, 0.35);
  transform: translateY(-1px);
}

.result {
  padding-bottom: 12px;
}

.tool-hero ~ .result {
  width: min(1040px, calc(100% - 48px));
}

.result-card,
.gate-card,
.questions,
.steps ol {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.result-card {
  overflow: hidden;
}

.media {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
}

.shot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border-radius: 16px;
  background: #f4eef1;
  overflow: hidden;
}

.shot img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 148px;
  object-fit: contain;
}

.media .thumb {
  width: 100%;
  height: 112px;
  border-radius: 16px;
  background: #f4eef1;
}

.media h2,
.gate-card h2 {
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.meta,
.gate-card p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.chips span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 26px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #f6f1f3;
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.3;
}

.consent {
  max-width: 40rem;
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.65;
}

.consent a {
  color: #c4235c;
  text-underline-offset: 3px;
}

.saves {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.guide {
  margin-top: 28px;
  padding: 28px 32px 22px;
  background: #fff;
  border: 1px solid rgba(28, 22, 20, 0.08);
  border-radius: 28px;
}

.guide h2 {
  max-width: 18em;
  margin-top: 8px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.guide p {
  max-width: 68ch;
  margin-top: 12px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.guide .stories-label {
  margin-top: 28px;
}

.guide .stories-label:first-child {
  margin-top: 0;
}

.choose {
  margin: 2px 14px 0;
  padding: 8px 4px 8px;
  color: #c4376a;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.option {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 12px 10px;
  padding: 12px 12px 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
}

.option:hover {
  background: #faf6f4;
}

.option b {
  flex: 1;
  min-width: 0;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.option i {
  flex: none;
  color: var(--ink-soft);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.option em {
  display: inline-flex;
  align-items: center;
  flex: none;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: #fff4f7;
  border: 1px solid rgba(209, 35, 106, 0.22);
  color: #d1236a;
  font-style: normal;
  font-size: 0.84rem;
  font-weight: 650;
}

.option:hover em {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
}

.steps {
  padding: 28px 0 0;
}

.steps .eyebrow {
  margin-bottom: 0;
}

.steps ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.steps li {
  padding: 16px 18px 18px;
  border: 1px solid rgba(28, 22, 20, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}

.steps li span {
  display: block;
  font-weight: 650;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  line-height: 1;
  color: #d1236a;
}

.steps h2 {
  margin-top: 8px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.split h2,
.faq h2 {
  margin-top: 12px;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.steps p {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.about,
.questions p {
  margin-top: 10px;
  color: var(--ink-soft);
  line-height: 1.7;
}

.faq {
  padding-top: 72px;
}

.split {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 32px;
  align-items: start;
  margin-top: 72px;
  padding: 32px 36px 36px;
  background: #fff;
  border: 1px solid rgba(28, 22, 20, 0.08);
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(48, 24, 32, 0.05);
}

.about {
  font-size: 1.05rem;
  line-height: 1.8;
}

.faq h2 {
  margin-bottom: 8px;
}

.questions {
  margin-top: 18px;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(28, 22, 20, 0.08);
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(48, 24, 32, 0.05);
  backdrop-filter: none;
}

.questions details {
  border-top: 0;
  padding: 0;
}

.questions details + details {
  border-top: 1px solid var(--line);
}

.questions details:last-child {
  border-bottom: 0;
}

.questions summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 14px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: -0.03em;
  list-style: none;
}

.questions summary::-webkit-details-marker {
  display: none;
}

.questions summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #fff0f3;
  color: #d1236a;
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1;
}

.questions summary:hover::after,
.questions details[open] summary::after {
  background: #ffe4ea;
}

.questions details[open] summary::after {
  content: "–";
}

.questions p {
  max-width: 68ch;
  margin: 0 14px 16px;
}

.ad-slot {
  width: min(1120px, calc(100% - 40px));
  margin: 64px auto;
}

.ad-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gate {
  width: min(760px, calc(100% - 32px));
  padding: 28px 0 56px;
}

.gate .eyebrow {
  margin-bottom: 8px;
}

.gate h1 {
  max-width: 16em;
  font-size: clamp(1.65rem, 4vw, 2.25rem);
}

.gate .lede {
  max-width: 40rem;
  margin-top: 10px;
  font-size: 0.98rem;
  line-height: 1.6;
}

.gate-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding: 12px;
}

.gate-copy h2 {
  font-size: 1.12rem;
}

.gate-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
}

.gate-actions .fine,
.gate-actions .back {
  margin-top: 0;
}

.prose {
  width: min(68ch, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 80px;
}

.prose h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 8px;
}

.prose h2 {
  margin-top: 2rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.prose p,
.prose li {
  margin-top: 0.75rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.prose a {
  color: #c4235c;
}

.prose ul {
  margin: 0;
  padding-inline-start: 1.2rem;
}

.note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 45, 70, 0.1);
  border: 1px solid rgba(255, 77, 109, 0.28);
  color: var(--ink);
}

.site-footer {
  display: grid;
  gap: 16px;
  margin-top: 72px;
  padding: 22px 0 36px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.site-footer .brands {
  margin-top: 0;
  gap: 10px 16px;
}

.site-footer .brand-link {
  font-size: 0.84rem;
  font-weight: 550;
  color: var(--ink);
}

.site-footer .brand-link:hover,
.site-footer .brand-link[aria-current="page"] {
  color: #d1236a;
}

.site-footer .brands svg {
  width: 15px;
  height: 15px;
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

.site-footer a {
  text-underline-offset: 3px;
}

.site-footer a:hover,
.back a:hover {
  color: var(--ink);
}

.footer-langs {
  padding-top: 4px;
}

.footer-langs ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-langs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.footer-langs .flag {
  width: 16px;
  height: 11px;
  border-radius: 1px;
}

.footer-langs a[aria-current="true"] {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 720px) {
  .bar {
    gap: 10px;
    padding: 12px 0;
  }

  .logo-lockup {
    height: 30px;
  }

  .lang button {
    height: 30px;
    padding: 0 8px 0 6px;
    font-size: 0.72rem;
    gap: 5px;
  }

  .lang .flag {
    width: 18px;
    height: 12px;
  }

  .footer-langs ul {
    gap: 6px 12px;
  }
}

:focus-visible {
  outline: 2px solid #ff4d7a;
  outline-offset: 3px;
}

::selection {
  background: rgba(255, 61, 130, 0.22);
  color: var(--ink);
}

[dir="rtl"] .hero h1,
[dir="rtl"] .gate h1,
[dir="rtl"] .prose h1 {
  letter-spacing: 0;
}

@media (max-width: 800px) {
  .steps ol,
  .split,
  .media,
  .gate-card {
    grid-template-columns: 1fr;
  }

  .shot img {
    max-height: 220px;
  }

  .steps ol {
    gap: 0;
    padding: 4px 0;
    background: #fff;
    border: 1px solid rgba(28, 22, 20, 0.08);
    border-radius: 20px;
  }

  .steps li {
    padding: 14px 16px 15px;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .steps li + li {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .finder-row .btn-hot {
    width: auto;
    flex: none;
    padding: 0 16px;
  }

  .gate .btn-solid {
    width: 100%;
  }

  .finder-row {
    min-height: 64px;
    padding-left: 14px;
  }

  .finder-row input {
    font-size: 16px;
  }

  .hero {
    padding-top: 48px;
  }

  .faq {
    padding-top: 56px;
  }

  .steps {
    padding-top: 32px;
  }

  .guide,
  .split {
    margin-top: 28px;
    padding: 22px 18px 18px;
    gap: 12px;
    border-radius: 22px;
  }

  .questions {
    border-radius: 22px;
  }

  .questions summary {
    padding: 14px 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .orb {
    animation: none;
  }
}

@keyframes drift {
  0%,
  100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4%, -3%, 0) scale(1.06); }
}

.catalog {
  position: relative;
  padding: 3.5vh 0 64px;
}

.catalog-play {
  position: relative;
  width: min(100%, 560px);
  margin-inline: auto;
  padding-top: 18px;
}

.catalog-face {
  display: flex;
  justify-content: center;
}

.catalog-head {
  position: relative;
  z-index: 1;
  margin: 6px auto 0;
  padding: 0;
  text-align: center;
}

.shelf-cat {
  display: block;
  width: 108px;
  height: auto;
}

.catalog h1 {
  max-width: 16em;
  margin-inline: auto;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.catalog .lede {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 1rem;
}

.catalog-head .tool-search {
  width: 100%;
  margin-top: 22px;
  background: #fff;
  box-shadow: none;
}

@keyframes cat-play {
  0%, 9% {
    left: 6%;
    top: 44%;
    transform: scaleX(1) rotate(0deg);
  }
  13% {
    left: 18%;
    top: 2%;
    transform: scaleX(1) rotate(-10deg);
  }
  17%, 28% {
    left: 30%;
    top: 40%;
    transform: scaleX(1) rotate(0deg);
  }
  32% {
    left: 42%;
    top: 0%;
    transform: scaleX(1) rotate(12deg);
  }
  36%, 47% {
    left: calc(100% - 96px);
    top: 42%;
    transform: scaleX(1) rotate(0deg);
  }
  49% {
    left: calc(100% - 96px);
    top: 42%;
    transform: scaleX(-1) rotate(0deg);
  }
  53% {
    left: 54%;
    top: 6%;
    transform: scaleX(-1) rotate(8deg);
  }
  57%, 68% {
    left: 34%;
    top: 58%;
    transform: scaleX(-1) rotate(0deg);
  }
  72% {
    left: 16%;
    top: 22%;
    transform: scaleX(-1) rotate(-12deg);
  }
  76%, 86% {
    left: 2%;
    top: 60%;
    transform: scaleX(-1) rotate(0deg);
  }
  90% {
    left: 8%;
    top: 4%;
    transform: scaleX(1) rotate(8deg);
  }
  94%, 100% {
    left: 6%;
    top: 44%;
    transform: scaleX(1) rotate(0deg);
  }
}

@keyframes cat-trot {
  0%,
  100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-6px) rotate(3deg); }
}

@keyframes tail-wag {
  0%,
  100% { transform: rotate(8deg); }
  50% { transform: rotate(-16deg); }
}

.tool-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(100%, 520px);
  min-height: 52px;
  margin: 26px auto 0;
  padding: 0 16px 0 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.tool-search:focus-within {
  border-color: rgba(28, 25, 23, 0.35);
}

.search-paw {
  width: 18px;
  height: 18px;
  flex: none;
  fill: #1c1917;
}

.tool-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  outline: none;
}

.tool-search input::-webkit-search-cancel-button {
  cursor: pointer;
}

.shelf-empty {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  text-align: center;
}

@media (max-width: 640px) {
  .catalog-play {
    padding-top: 8px;
  }

  .shelf-cat {
    width: 92px;
  }

  .tool-search input {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-play {
    padding-top: 0;
  }
}

.share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  margin-top: 16px;
  padding: 0 16px 0 11px;
  border: 1px solid rgba(231, 160, 143, 0.75);
  border-radius: 999px;
  background: #fffaf4;
  box-shadow: 0 8px 18px rgba(28, 25, 23, 0.05);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.share:hover {
  border-color: #e7a08f;
}

.sns-read {
  width: min(1040px, calc(100% - 48px));
  margin: 36px auto 12px;
}

.sns-read .sns-about,
.sns-read .explain {
  width: 100%;
  margin-inline: auto;
}

.sns-read .explain {
  margin-top: 20px;
}

.sns-about {
  width: min(1040px, calc(100% - 48px));
  margin: 8px auto 20px;
}

.sns-about h2,
.sns-about > p {
  text-align: center;
}

.sns-about h2 {
  margin: 0 0 18px;
  font-size: 1.22rem;
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.3;
}

.sns-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sns-points li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  height: 100%;
  padding: 22px 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
}

.point-emoji,
.explain-emoji {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #fff6f2;
  border: 1px solid rgba(231, 160, 143, 0.45);
  color: inherit;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  font-size: 16px;
  line-height: 1;
}

.sns-points strong {
  font-size: 1.02rem;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.sns-points span,
.sns-about p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.65;
  text-wrap: pretty;
  word-break: keep-all;
}

.sns-points .point-emoji {
  color: inherit;
}

.sns-about p {
  max-width: 40rem;
  margin: 18px auto 0;
}

.explain {
  width: min(1040px, calc(100% - 48px));
  margin: 28px auto 16px;
  padding: 12px clamp(22px, 11vw, 148px) 18px;
  background: #fff;
  border: 1px solid rgba(28, 22, 20, 0.08);
  border-radius: 28px;
}

.watch + .explain {
  margin-top: 36px;
}

.explain ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.explain li {
  padding: 26px 0 22px;
  border-top: 1px solid var(--line);
}

.explain li:first-child {
  border-top: 0;
}

.explain h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.explain-no {
  flex: none;
  width: 1.6rem;
  color: #c4376a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.explain-title {
  min-width: 0;
}

.explain p,
.explain dd {
  margin: 10px 0 0;
  margin-inline-start: calc(1.6rem + 52px);
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.75;
  text-wrap: pretty;
  word-break: keep-all;
}

.explain-faq {
  border-top: 1px solid var(--line);
  padding: 22px 0 16px;
}

.explain-faq > h2 {
  margin-bottom: 2px;
}

.explain-faq dl {
  margin: 0;
}

.explain-faq div {
  padding: 14px 0 0;
}

.explain-faq dt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.98rem;
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.45;
  word-break: keep-all;
}

.explain-faq dd {
  margin-inline-start: 42px;
}

.explain-faq div:first-child dt {
  margin-top: 4px;
}

@media (max-width: 640px) {
  .explain {
    padding: 4px 18px 8px;
    border-radius: 22px;
  }

  .explain p,
  .explain dd,
  .explain-faq dd {
    margin-inline-start: 0;
  }
}

@media (max-width: 900px) {
  .sns-points {
    grid-template-columns: 1fr;
  }

  .sns-points li {
    padding: 22px 22px 24px;
  }
}

.more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: min(1040px, calc(100% - 48px));
  margin: 28px auto 48px;
}

.more p {
  margin: 0 2px 0 0;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 650;
}

.more ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 11px 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: inherit;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.more a:hover {
  border-color: rgba(28, 25, 23, 0.28);
}

.more svg {
  flex: none;
}

.shelf {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(1120px, 100%);
  margin: 28px auto 0;
  padding: 0;
  list-style: none;
}

.shelf > li {
  width: min(100%, 248px);
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  min-height: 72px;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
}

.tool-card:hover {
  border-color: rgba(28, 25, 23, 0.28);
}

.tool-mark {
  flex: none;
}

.tool-mark svg {
  display: block;
  width: 32px;
  height: 32px;
}

.tool-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.tool-name {
  font-size: 0.92rem;
  font-weight: 680;
  letter-spacing: -0.03em;
}

.tool-body {
  color: var(--ink-soft);
  font-size: 0.78rem;
  line-height: 1.35;
}

.tool-go {
  margin-inline-start: auto;
  color: #8a8178;
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .shelf {
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
  }

  .shelf > li {
    width: calc((100% - 24px) / 4);
    flex: none;
  }

  .tool-card {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-height: 92px;
    padding: 12px 6px 10px;
    border-radius: 18px;
    box-shadow: 0 8px 18px rgba(28, 25, 23, 0.04);
    text-align: center;
  }

  .tool-mark svg {
    width: 36px;
    height: 36px;
  }

  .tool-copy {
    width: 100%;
    align-items: center;
  }

  .tool-name {
    width: 100%;
    font-size: 0.72rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
  }

  .tool-body,
  .tool-go {
    display: none;
  }
}

.crumb {
  color: inherit;
  text-decoration: none;
}

.crumb:hover {
  text-decoration: underline;
}

.tool-hero h1,
.watch h1 {
  max-width: 14em;
  margin-inline: auto;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 680;
  letter-spacing: -0.046em;
  line-height: 1.15;
}

.tool-hero .lede,
.watch .lede {
  max-width: 34rem;
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.65;
  text-wrap: pretty;
  word-break: keep-all;
}

.watch {
  width: min(1040px, calc(100% - 48px));
  padding: 7vh 0 8px;
  text-align: center;
}

.watch .eyebrow,
.watch h1,
.watch .lede {
  text-align: center;
}

.modes {
  display: flex;
  width: min(100%, 440px);
  margin: 22px auto 0;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.modes button {
  flex: 1;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6d675f;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.modes button[aria-selected="true"] {
  background: #1c1917;
  color: #f6f1ea;
}

.modes button:disabled {
  cursor: default;
}

.panel {
  width: 100%;
  height: 248px;
  margin: 18px auto 0;
  padding: 12px;
  border-radius: 32px;
  background: linear-gradient(180deg, #2c2825 0%, #141210 22%);
  box-shadow: 0 30px 54px rgba(28, 25, 23, 0.18);
}

.panel-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 48px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 32%),
    #0e0c0b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  user-select: none;
}

.panel-kicker {
  color: #b7aea4;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.panel-kicker strong {
  font-weight: 680;
  font-variant-numeric: tabular-nums;
}

.digits {
  margin: 0;
  color: #f6f1ea;
  font-variant-numeric: tabular-nums;
  font-size: clamp(3.4rem, 7vw, 6rem);
  font-weight: 560;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.digits span:last-child {
  font-size: 0.46em;
  letter-spacing: -0.04em;
  color: #c8b8a4;
}

.chrono-status {
  color: #8a8178;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.chrono.is-running .chrono-status {
  color: #e07a5f;
}

.chrono.is-hurry .digits,
.chrono.is-hurry .digits span:last-child {
  color: #ffb089;
}

.chrono.is-done .panel-screen {
  animation: done-flash 0.7s ease 3;
}

.chrono.is-done .digits,
.chrono.is-done .digits span:last-child,
.chrono.is-done .chrono-status {
  color: #fff7f2;
}

@keyframes done-flash {
  50% { background: #3d241e; }
}

.meter {
  width: min(72%, 480px);
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.meter span {
  display: block;
  height: 100%;
  width: 0;
  background: #e07a5f;
  border-radius: inherit;
}

.chrono.is-up .attack-only,
.chrono.is-down .up-only {
  display: none;
}

.chrono-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 6vw, 48px);
  margin-top: 22px;
}

.chrono-actions button {
  min-width: 132px;
  min-height: 64px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 1.02rem;
  font-weight: 680;
  letter-spacing: -0.03em;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.12s ease, background 0.15s ease;
}

.chrono-actions button:active:not(:disabled) {
  transform: scale(0.96);
}

.chrono-actions button:disabled {
  cursor: default;
  opacity: 0.38;
}

.chrono-go {
  min-width: 156px;
  border: 0;
  background: #1c1917;
  color: #f6f1ea;
}

.chrono.is-running .chrono-go {
  background: #c4553a;
}

.chrono.is-done .chrono-go {
  background: #1c1917;
}

.chrono-side {
  border: 1px solid rgba(28, 25, 23, 0.14);
  background: #fff;
  color: #1c1917;
}

.presets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 16px auto 0;
}

.presets button {
  min-width: 64px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(28, 25, 23, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #1c1917;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.presets button[aria-pressed="true"] {
  background: #1c1917;
  border-color: #1c1917;
  color: #f6f1ea;
}

.presets button:disabled {
  cursor: default;
}

.setter {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}

.setter label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6d675f;
  font-size: 0.82rem;
  font-weight: 700;
}

.setter input {
  width: 68px;
  height: 44px;
  border: 1px solid rgba(28, 25, 23, 0.14);
  border-radius: 12px;
  background: #fff;
  color: #1c1917;
  font: inherit;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.chrono-tools {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.chrono-hint {
  margin: 0;
  color: #8a8178;
  font-size: 0.82rem;
  text-align: center;
}

.sound {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex: none;
  border: 1px solid rgba(28, 25, 23, 0.12);
  border-radius: 50%;
  background: #fff;
  color: #1c1917;
  cursor: pointer;
}

.sound svg {
  width: 18px;
  height: 18px;
}

.sound .sound-off,
.chrono.is-muted .sound-on {
  display: none;
}

.chrono.is-muted .sound-off {
  display: block;
}

.lap-sheet {
  width: 100%;
  margin: 28px auto 0;
  padding: 16px 18px 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  text-align: start;
}

.lap-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lap-bar h2 {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.copy {
  border: 0;
  background: transparent;
  color: #8a8178;
  font-size: 0.85rem;
  font-weight: 650;
  cursor: pointer;
}

.lap-sheet p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.lap-head,
.lap-sheet li {
  display: grid;
  grid-template-columns: 42px 1.3fr 1fr;
  gap: 8px;
  align-items: baseline;
  font-variant-numeric: tabular-nums;
}

.lap-head {
  margin-top: 12px;
  color: #8a8178;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lap-sheet ol {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  max-height: 320px;
  overflow: auto;
}

.lap-sheet li {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 1.02rem;
  animation: lap-in 0.18s ease;
}

.lap-sheet li span:nth-child(2)[data-tag]::after {
  content: attr(data-tag);
  margin-inline-start: 8px;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lap-sheet li.is-fast span:nth-child(2) {
  color: #c4553a;
  font-weight: 700;
}

.lap-sheet li.is-slow span:nth-child(2) {
  color: #8a8178;
}

@keyframes lap-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lap-sheet li,
  .chrono-actions button,
  .chrono.is-done .panel-screen {
    animation: none;
    transition: none;
  }
}

.prose h3 {
  margin-top: 1.25rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.squeeze {
  width: 100%;
  margin: 22px auto 0;
  text-align: start;
}

.drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 196px;
  padding: 28px 22px;
  background: #fff;
  border: 1px solid rgba(28, 22, 20, 0.08);
  border-radius: 28px;
  color: inherit;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 18px 40px rgba(28, 25, 23, 0.04);
}

.drop.is-over {
  background: #fff6f2;
  border-color: #e7a08f;
}

.drop-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 4px;
  border-radius: 16px;
  background: #fff6f2;
}

.drop-mark svg {
  display: block;
}

.drop-title {
  font-size: 1.12rem;
  font-weight: 680;
  letter-spacing: -0.03em;
}

.drop-hint {
  max-width: 28em;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.45;
}

.squeeze-panel {
  margin-top: 12px;
  padding: 6px 22px 18px;
  background: #fff;
  border: 1px solid rgba(28, 22, 20, 0.08);
  border-radius: 28px;
}

.squeeze-row {
  padding: 16px 0 2px;
}

.squeeze-row + .squeeze-row {
  border-top: 1px solid var(--line);
}

.squeeze-label,
.squeeze-kicker {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  color: #1c1917;
  font-size: 0.95rem;
  font-weight: 680;
  letter-spacing: -0.03em;
}

.squeeze-label strong {
  color: #6d675f;
  font-size: 0.84rem;
  font-weight: 680;
  font-variant-numeric: tabular-nums;
}

.squeeze-label strong[hidden],
.squeeze-label strong span[hidden] {
  display: none;
}

.squeeze-quality {
  display: block;
  margin: 0;
}

.squeeze-quality input {
  width: 100%;
  accent-color: #1c1917;
}

.squeeze-quality input:disabled {
  opacity: 0.38;
}

.squeeze-hint,
.squeeze-alert {
  margin: 10px 0 0;
  font-size: 0.84rem;
  line-height: 1.5;
}

.squeeze-hint {
  color: #8a8178;
}

.squeeze-hint:empty,
.squeeze-alert:empty {
  display: none;
}

.squeeze-alert {
  color: #9a3b32;
}

.squeeze .modes,
.squeeze .presets {
  width: 100%;
  margin: 0;
}

.squeeze .modes button[aria-pressed="true"] {
  background: #1c1917;
  color: #f6f1ea;
}

.squeeze-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  min-height: 0;
}

.squeeze-bar:not(:has(p:not([hidden]))):not(:has(button:not([hidden]))) {
  display: none;
}

.squeeze-bar p {
  margin: 0;
  color: #1c1917;
  font-size: 0.92rem;
  font-weight: 680;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.squeeze-clear {
  margin-inline-start: auto;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(28, 25, 23, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #1c1917;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.squeeze-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.squeeze-list li {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(28, 22, 20, 0.08);
  border-radius: 22px;
}

.squeeze-list img,
.squeeze-thumb {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 16px;
  background:
    linear-gradient(45deg, #f3ebe3 25%, transparent 25%),
    linear-gradient(-45deg, #f3ebe3 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #f3ebe3 75%),
    linear-gradient(-45deg, transparent 75%, #f3ebe3 75%);
  background-size: 16px 16px;
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-color: #fffaf4;
}

.squeeze-thumb[hidden] {
  display: none;
}

.squeeze-copy {
  min-width: 0;
}

.squeeze-size,
.squeeze-status,
.squeeze-file,
.squeeze-note {
  display: block;
  margin: 0;
}

.squeeze-size {
  overflow: hidden;
  color: #1c1917;
  font-size: 1.05rem;
  font-weight: 680;
  letter-spacing: -0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.squeeze-status {
  margin-top: 3px;
  color: #3d6b4f;
  font-size: 0.88rem;
  font-weight: 680;
}

.squeeze-list li.is-kept .squeeze-status,
.squeeze-list li.is-wait .squeeze-status,
.squeeze-list li.is-bad .squeeze-status {
  color: #8a8178;
  font-weight: 650;
}

.squeeze-list li.is-bad .squeeze-status {
  color: #9a3b32;
}

.squeeze-file,
.squeeze-note {
  margin-top: 4px;
  color: #8a8178;
  font-size: 0.8rem;
  line-height: 1.45;
}

.squeeze-file {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.squeeze-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: #1c1917;
  color: #f6f1ea;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .drop {
    min-height: 168px;
    border-radius: 22px;
  }

  .squeeze-panel {
    padding-inline: 16px;
    border-radius: 22px;
  }

  .squeeze-list li {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .squeeze-list img,
  .squeeze-thumb {
    width: 64px;
    height: 64px;
  }

  .squeeze-save {
    grid-column: 1 / -1;
  }
}

body:has(.desk) {
  background: #f4f6f9;
}

body:has(.desk) .site-header,
body:has(.desk) .site-footer {
  background: #fff;
}

body:has(.desk) .bar,
body:has(.desk) .site-footer {
  width: min(1440px, calc(100% - 48px));
}

.desk {
  display: block;
  background: transparent;
}

.desk-nav {
  background: #fff;
  border-inline-end: 1px solid #e6e9f0;
  padding: 22px 12px 32px;
}

.desk-nav p {
  margin: 0 8px 10px;
  color: #8b909a;
  font-size: 0.75rem;
  font-weight: 700;
}

.desk-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.desk-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  color: #1c1917;
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.desk-nav a[aria-current="page"] {
  background: #eef2f7;
}

.desk-nav a:hover {
  background: #f6f8fb;
}

.desk-nav svg {
  flex: none;
}

.desk-main {
  width: min(1080px, 100%);
  padding: 28px 32px 56px;
}

.desk-crumb {
  margin: 0 0 14px;
  color: #8b909a;
  font-size: 0.8rem;
}

.desk-crumb a {
  color: inherit;
  text-decoration: none;
}

.desk-crumb a:hover {
  text-decoration: underline;
}

.desk-title {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.desk-head h1 {
  margin: 0;
  max-width: none;
  font-size: 1.7rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1.25;
  text-align: start;
}

.desk .lede {
  max-width: 40rem;
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: start;
}

.desk .share {
  flex: none;
  margin-top: 0;
  background: #fff;
  border-color: #e6e8ee;
  box-shadow: none;
}

.desk-work {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  align-items: start;
  margin-top: 22px;
}

.desk-stage {
  min-height: 420px;
  padding: 28px;
  background: #fff;
  border: 1px solid #e6e9f0;
  border-radius: 16px;
}

.desk-stage:has(.finder) {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.desk .finder {
  width: min(100%, 560px);
  max-width: none;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.desk-stage .consent,
.desk-stage .disclaimer,
.desk-stage .form-error {
  max-width: 36rem;
  margin-inline: auto;
  text-align: center;
}

.desk .panel,
.desk .squeeze,
.desk .presets,
.desk .lap-sheet {
  width: 100%;
}

.desk .modes {
  width: min(100%, 420px);
  margin-inline: auto;
}

.desk .squeeze-panel,
.desk .drop {
  box-shadow: none;
}

.desk .squeeze-panel {
  margin-top: 8px;
  padding: 4px 2px 0;
  background: transparent;
  border: 0;
}

.desk .drop {
  background: #f7f9fc;
  border: 1px dashed #d5dbe6;
}

.desk-facts {
  padding: 18px 18px 16px;
  background: #fff;
  border: 1px solid #e6e9f0;
  border-radius: 16px;
}

.desk-facts h2 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.desk-facts dl,
.desk-facts ol {
  margin: 0;
  padding: 0;
}

.desk-facts ol {
  list-style: none;
}

.desk-facts dl div,
.desk-facts li {
  padding: 10px 0;
  border-top: 1px solid #eef0f4;
  font-size: 0.92rem;
  line-height: 1.5;
}

.desk-facts dl div:first-child,
.desk-facts li:first-child {
  border-top: 0;
  padding-top: 0;
}

.desk-facts dt,
.desk-facts li span {
  display: block;
  color: #8b909a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.desk-facts dd {
  margin: 4px 0 0;
}

.desk-facts > p {
  margin: 12px 0 0;
  color: #8b909a;
  font-size: 0.82rem;
  line-height: 1.55;
}

.desk .result {
  width: auto;
  margin-top: 16px;
}

.desk .explain {
  width: auto;
  margin: 28px 0 0;
  padding: 8px 28px 18px;
  border-radius: 16px;
}

.desk .explain-emoji {
  width: auto;
  height: auto;
  border: 0;
  background: none;
  font-size: 1rem;
}

.desk .more {
  width: auto;
  justify-content: flex-start;
  margin: 22px 0 0;
}

@media (max-width: 900px) {
  .desk {
    display: block;
  }

  .desk-nav {
    border-inline-end: 0;
    border-bottom: 1px solid #e6e9f0;
    padding: 12px 16px;
  }

  .desk-nav ul {
    flex-direction: row;
    overflow: auto;
  }

  .desk-nav a {
    white-space: nowrap;
  }

  .desk-main {
    padding: 20px 16px 40px;
  }

  .desk-work {
    grid-template-columns: 1fr;
  }

  .desk-stage {
    min-height: 0;
    padding: 18px;
  }

  .desk-title {
    align-items: flex-start;
  }
}

body {
  background: #f8fafc;
  color: #0b1120;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", sans-serif;
  font-size: 16px;
}

.app-shell {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100vh;
  background: #f8fafc;
}

.app-side {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow: auto;
  background: #fff;
  border-inline-end: 1px solid #e6e9f0;
  padding: 18px 12px 28px;
}

.side-brand {
  display: flex;
  align-items: center;
  height: 44px;
  margin: 0 8px 18px;
}

.side-brand .shelf-cat {
  height: 36px;
  width: auto;
}

.app-side ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.side-link svg {
  flex: none;
  color: #4f46e5;
}

.side-link[aria-current="page"],
.side-link:hover {
  background: #eef2ff;
  color: #4338ca;
}

.app-content {
  min-width: 0;
  padding: 12px 36px 48px;
}

.app-shell .site-header {
  background: transparent;
}

.app-shell .site-header::after {
  display: none;
}

.app-shell .bar,
.app-shell .site-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.app-shell .bar {
  justify-content: flex-end;
  min-height: 40px;
}

.app-shell .catalog,
.app-shell .desk-main,
.app-shell .prose,
.app-shell .gate {
  width: min(980px, 100%);
  margin: 0;
  text-align: start;
}

.app-shell .catalog-head {
  margin: 0;
  text-align: start;
}

.app-shell .catalog h1,
.app-shell .desk-head h1,
.app-shell .prose h1 {
  max-width: 14em;
  margin: 8px 0 0;
  color: #0b1120;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  text-align: start;
}

.app-shell .lede,
.app-shell .desk .lede {
  max-width: 40rem;
  margin: 10px 0 0;
  color: #64748b;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  text-align: start;
}

.app-shell .share {
  margin-top: 14px;
  border-color: #e2e8f0;
  background: #fff;
  box-shadow: none;
  color: #334155;
}

.app-shell .tool-search {
  display: flex;
  align-items: center;
  width: min(560px, 100%);
  height: 56px;
  margin: 22px 0 0;
  padding: 0 18px 0 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 0 0 2px #4f46e5,
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 10px 28px -18px rgba(79, 70, 229, 0.3);
}

.app-shell .search-paw {
  width: 18px;
  height: 18px;
  fill: #4f46e5;
}

.app-shell .tool-search input {
  height: 100%;
  border: 0;
  background: transparent;
  color: #0b1120;
  font-size: 15px;
  font-weight: 500;
}

.app-shell .shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  margin-top: 28px;
}

.app-shell .shelf > li {
  width: auto;
  flex: none;
}

.app-shell .tool-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  min-height: 168px;
  height: 100%;
  padding: 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px #e2e8f0, 0 1px 2px rgba(15, 23, 42, 0.04);
}

.app-shell .tool-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px #4f46e5, 0 12px 28px -16px rgba(79, 70, 229, 0.45);
}

.app-shell .tool-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: #eef2ff;
}

.app-shell .tool-name {
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.app-shell .tool-body {
  margin-top: 6px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.app-shell .tool-go {
  display: none;
}

.app-shell .desk-main {
  width: min(980px, 100%);
  padding: 0;
}

.app-shell .desk-crumb {
  color: #94a3b8;
}

.app-shell .desk-stage,
.app-shell .desk-facts,
.app-shell .explain {
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px #e2e8f0, 0 1px 2px rgba(15, 23, 42, 0.04);
}

.app-shell .btn-hot,
.app-shell .chrono-go,
.app-shell .squeeze-save,
.app-shell .modes button[aria-selected="true"],
.app-shell .squeeze .modes button[aria-pressed="true"],
.app-shell .presets button[aria-pressed="true"] {
  border-color: transparent;
  background: linear-gradient(135deg, #6366f1, #4f46e5 55%, #7c3aed);
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(79, 70, 229, 0.55);
}

.app-shell .finder-row input,
.app-shell .setter input {
  border-color: #e5e7eb;
  background: #f9fafb;
  border-radius: 12px;
}

.app-shell .finder-row input:focus,
.app-shell .setter input:focus {
  border-color: #4f46e5;
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.app-shell .panel {
  background: #0f172a;
}

.app-shell .site-footer {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  background: transparent;
}

@media (max-width: 980px) {
  .app-shell .shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .app-shell {
    display: block;
  }

  .app-side {
    position: static;
    height: auto;
    border-inline-end: 0;
    border-bottom: 1px solid #e6e9f0;
    padding: 12px 16px;
  }

  .app-side ul {
    flex-direction: row;
    overflow: auto;
  }

  .side-link {
    white-space: nowrap;
  }

  .side-brand {
    margin-bottom: 10px;
  }

  .app-content {
    padding: 12px 16px 36px;
  }

  .app-shell .catalog h1,
  .app-shell .desk-head h1 {
    font-size: 24px;
  }

  .app-shell .shelf,
  .app-shell .shelf > li {
    width: auto;
  }

  .app-shell .shelf {
    grid-template-columns: 1fr;
  }

  .app-shell .tool-card {
    min-height: 0;
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  .app-shell .tool-mark {
    margin-bottom: 0;
  }

  .app-shell .tool-body,
  .app-shell .tool-go {
    display: block;
  }

  .app-shell .tool-go {
    display: none;
  }
}

.app-shell {
  background: #f8fafc;
  color: #111827;
  font-size: 16px;
}

.app-content {
  position: relative;
  padding: 0;
}

.app-side {
  padding: 0;
  border-inline-end: 1px solid #e5e7eb;
}

.side-brand {
  height: auto;
  margin: 0;
  padding: 24px 20px 20px;
  border-bottom: 1px solid #f3f4f6;
}

.app-side ul {
  gap: 2px;
  padding: 12px 8px;
}

.side-link {
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.side-link[aria-current="page"],
.side-link:hover {
  background: #eef2ff;
  color: #3730a3;
}

.app-shell .site-header {
  position: absolute;
  top: 12px;
  inset-inline-end: 16px;
  z-index: 5;
  width: auto;
  background: transparent;
}

.app-shell .lang button {
  height: 36px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #4b5563;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.app-shell .catalog {
  width: min(1160px, 100%);
  padding: 32px 40px 64px;
}

.app-shell .catalog h1 {
  max-width: 22ch;
  margin: 16px 0 0;
  color: #0b1120;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.app-shell .catalog .lede {
  max-width: 40rem;
  margin: 16px 0 0;
  color: #6b7280;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.app-shell .catalog .tool-search {
  margin: 28px 0 0;
}

.app-shell .tool-search input {
  font-size: 15px;
  font-weight: 500;
  color: #0b1120;
}

.app-shell .tool-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.app-shell .tool-body {
  font-size: 13px;
  font-weight: 400;
  color: #64748b;
}

.app-shell .desk-main {
  width: 100%;
  max-width: none;
  padding: 16px 16px 64px;
}

.app-shell .desk-crumb {
  margin: 0 0 16px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 400;
}

.app-shell .desk-title {
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
}

.app-shell .desk-head h1 {
  margin: 0;
  max-width: none;
  color: #111827;
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: -0.025em;
}

.app-shell .desk .lede {
  max-width: none;
  margin: 12px 0 0;
  color: #4b5563;
  font-size: 15px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0;
}

.app-shell .share {
  height: 36px;
  min-height: 36px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  color: #4b5563;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
}

.app-shell .catalog .share {
  margin-top: 16px;
}

.app-shell .desk-work {
  grid-template-columns: minmax(0, 1fr) 354px;
  gap: 24px;
  margin-top: 20px;
}

.app-shell .desk-stage {
  min-height: 380px;
  padding: 56px 24px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.6);
  box-shadow: none;
}

.app-shell .desk-facts {
  padding: 18px 20px;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #fff;
  box-shadow: none;
}

.app-shell .desk-facts h2 {
  margin: 0 0 12px;
  color: #475569;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.app-shell .desk-facts dl div {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 0 12px;
  align-items: start;
  padding: 9px 0;
  border-top: 1px solid #e2e8f0;
}

.app-shell .desk-facts dt {
  color: #475569;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.app-shell .desk-facts dd {
  margin: 0;
  color: #1e2d3d;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.app-shell .finder {
  width: min(100%, 440px);
}

.app-shell .picker {
  justify-content: center;
}

.app-shell .pick span {
  height: 32px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #4b5563;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
}

.app-shell .pick input:checked + span,
.app-shell .pick input:focus-visible + span {
  border-color: transparent;
  background: #eef2ff;
  color: #3730a3;
  outline: none;
}

.app-shell .desk .finder-row {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  min-height: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.app-shell .desk .finder-row input,
.app-shell .setter input {
  flex: none;
  width: 100%;
  height: 48px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #111827;
  font-size: 15px;
  font-weight: 500;
}

.app-shell .desk .finder-row input::placeholder {
  color: #9ca3af;
}

.app-shell .desk .btn-hot {
  width: 100%;
  min-height: 52px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
}

.app-shell .drop {
  min-height: 280px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.app-shell .drop-mark {
  display: none;
}

.app-shell .drop-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 20px 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1, #4f46e5 55%, #7c3aed);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 8px 20px -8px rgba(79, 70, 229, 0.55);
}

.app-shell .drop-hint,
.app-shell .consent,
.app-shell .disclaimer {
  color: #475569;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.app-shell .squeeze-panel {
  width: min(100%, 520px);
  margin: 8px auto 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.app-shell .squeeze-label,
.app-shell .squeeze-kicker {
  color: #111827;
  font-size: 14px;
  font-weight: 600;
}

.app-shell .modes {
  width: min(100%, 420px);
  margin: 0 auto 8px;
  padding: 4px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}

.app-shell .modes button {
  min-height: 36px;
  border-radius: 8px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 600;
}

.app-shell .panel,
.app-shell .panel-screen {
  height: auto;
  margin: 8px 0 0;
  padding: 12px 0 4px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.app-shell .digits,
.app-shell .digits span:last-child,
.app-shell .chrono.is-done .digits,
.app-shell .chrono.is-done .digits span:last-child {
  color: #111827;
}

.app-shell .panel-kicker,
.app-shell .chrono-status,
.app-shell .chrono.is-running .chrono-status,
.app-shell .chrono.is-done .chrono-status {
  color: #64748b;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.app-shell .chrono-actions {
  justify-content: center;
  gap: 10px;
}

.app-shell .chrono-go,
.app-shell .chrono-side {
  min-height: 48px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
}

.app-shell .chrono-side {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #374151;
  box-shadow: none;
}

.app-shell .presets button {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #4b5563;
  font-size: 13px;
  font-weight: 600;
}

.app-shell .explain {
  margin-top: 28px;
  padding: 28px 32px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
  color: #374151;
  font-size: 15px;
  line-height: 1.7;
}

.app-shell .explain h2 {
  color: #111827;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.app-shell .explain-emoji {
  background: #eef2ff;
  color: #4338ca;
}

.app-shell .site-footer {
  margin: 0;
  padding: 18px 16px 32px;
  border-top: 1px solid #e2e8f0;
  background: transparent;
  color: #6b7280;
  font-size: 13px;
}

.app-shell:has(.catalog) .site-footer {
  padding-inline: 40px;
}

@media (max-width: 980px) {
  .app-shell .desk-work {
    grid-template-columns: 1fr;
  }

  .app-shell .catalog {
    padding: 24px 16px 48px;
  }

  .app-shell .catalog h1 {
    font-size: 28px;
  }

  .app-shell:has(.catalog) .site-footer {
    padding-inline: 16px;
  }
}

.mobile-logo,
.mobile-tab {
  display: none;
}

.app-shell .search-paw {
  width: 19px;
  height: 19px;
  color: #4f46e5;
  fill: none;
}

.app-shell .shelf {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.app-shell .tool-card {
  min-height: 173px;
  padding: 20px;
  text-align: start;
}

.app-shell .site-header .share {
  margin: 0;
}

@media (max-width: 1023px) {
  .app-side {
    display: none;
  }

  .app-shell {
    display: block;
  }

  .mobile-logo {
    display: flex;
    align-items: center;
    min-height: 36px;
  }

  .mobile-logo .shelf-cat {
    width: auto;
    height: 32px;
  }

  .app-shell .site-header {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px 0;
    background: #fff;
  }

  .app-shell .bar {
    width: auto;
    min-height: 0;
    padding: 0;
    gap: 8px;
  }

  .app-content {
    padding-bottom: 72px;
  }

  .home-hero {
    background: #fff;
    padding: 8px 20px 16px;
    border-bottom: 1px solid #f3f4f6;
  }

  .app-shell .catalog {
    width: 100%;
    padding: 0 0 28px;
    background: transparent;
  }

  .app-shell .catalog h1 {
    max-width: none;
    margin: 16px 0 0;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.03em;
  }

  .app-shell .catalog .lede {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: 0;
  }

  .app-shell .catalog .tool-search {
    width: 100%;
    height: 44px;
    min-height: 44px;
    margin-top: 14px;
  }

  .app-shell .shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: auto;
    margin: 20px 20px 0;
  }

  .app-shell .tool-card {
    min-height: 168px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px;
    text-align: start;
  }

  .app-shell .tool-copy,
  .app-shell .tool-name {
    align-items: flex-start;
    width: auto;
    text-align: start;
    font-size: 15px;
  }

  .app-shell .tool-body {
    font-size: 13px;
    text-align: start;
  }

  .app-shell .tool-mark {
    margin-bottom: 12px;
  }

  .app-shell .desk-main {
    padding: 8px 16px 28px;
  }

  .app-shell:has(.catalog) .site-footer,
  .app-shell .site-footer {
    padding-inline: 20px;
  }

  .mobile-tab {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    height: 53px;
    padding-bottom: env(safe-area-inset-bottom);
    background: #fff;
    border-top: 1px solid #e5e7eb;
  }

  .mobile-tab a {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    color: #6b7280;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
  }

  .mobile-tab a[aria-current="page"] {
    color: #4f46e5;
  }

  .mobile-tab span {
    max-width: 100%;
    overflow: hidden;
    padding: 0 4px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.home-list-title {
  margin: 36px 0 14px;
  color: #0b1120;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.cat-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.cat-chip {
  flex: none;
  height: 40px;
  padding: 0 14px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.cat-chip[aria-selected="true"] {
  border-color: transparent;
  background: linear-gradient(135deg, #6366f1, #4f46e5 55%, #7c3aed);
  color: #fff;
}

.app-shell .recent {
  margin-top: 28px;
}

.app-shell .recent-title {
  margin: 0 0 12px;
  color: #0b1120;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.app-shell .recent-row {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.app-shell .recent-row::-webkit-scrollbar,
.cat-row::-webkit-scrollbar {
  display: none;
}

.cat-row {
  padding-bottom: 0;
  scrollbar-width: none;
}

.app-shell .recent-row > li {
  flex: 0 0 220px;
  width: 220px;
}

.app-shell .recent-row .tool-card {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  height: 72px;
  padding: 12px 14px;
}

.app-shell .recent-row .tool-mark {
  flex: none;
  width: 40px;
  height: 40px;
}

.app-shell .recent-row .tool-mark svg {
  width: 22px;
  height: 22px;
}

.app-shell .recent-row .tool-copy {
  min-width: 0;
}

.app-shell .recent-row .tool-name {
  display: block;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-shell .recent-row .tool-body,
.app-shell .recent-row .tool-go {
  display: none;
}

.app-shell:has(.home-list) .shelf {
  margin-top: 18px;
}

div.tool-card {
  cursor: default;
}

div.tool-card:hover {
  transform: none;
  box-shadow: none;
}

:root {
  --bg: #f3efe8;
  --ink: #1c1917;
  --ink-soft: #6f675f;
  --line: #e4ddd3;
  --card: #fffcf8;
  --shadow: none;
  --grad: #1c1917;
}

body,
.app-shell {
  background: #f3efe8;
  color: #1c1917;
}

.app-side {
  background: #f7f4ef;
  border-inline-end: 1px solid #e6dfd4;
}

.side-brand {
  border-bottom-color: #efeae3;
}

.side-link {
  color: #4a453f;
  border-radius: 10px;
}

.side-link svg {
  color: #1c1917;
}

.side-link:hover {
  background: #efeae3;
  color: #1c1917;
}

.side-link[aria-current="page"] {
  background: #1c1917;
  color: #f6f3ee;
}

.side-link[aria-current="page"] svg {
  color: #f6f3ee;
}

.app-shell .catalog h1,
.app-shell .desk-head h1,
.app-shell .prose h1 {
  color: #1c1917;
  font-weight: 650;
  letter-spacing: -0.045em;
}

.app-shell .catalog h1 {
  font-size: 38px;
  line-height: 1.18;
}

.app-shell .lede,
.app-shell .catalog .lede,
.app-shell .desk .lede {
  color: #6f675f;
  font-weight: 400;
}

.app-shell .tool-search {
  height: 52px;
  border: 1px solid #d9d1c6;
  border-radius: 14px;
  background: #fffcf8;
  box-shadow: none;
}

.app-shell .tool-search:focus-within {
  border-color: #1c1917;
}

.app-shell .search-paw {
  color: #1c1917;
  fill: none;
}

.app-shell .tool-search input,
.app-shell .desk .finder-row input,
.app-shell .setter input {
  color: #1c1917;
}

.app-shell .desk .finder-row input,
.app-shell .setter input {
  border-color: #d9d1c6;
  background: #fffcf8;
}

.app-shell .desk .finder-row input:focus,
.app-shell .setter input:focus,
.app-shell .finder-row input:focus {
  border-color: #1c1917;
  box-shadow: 0 0 0 3px rgba(28, 25, 23, 0.08);
}

.app-shell .tool-card {
  border: 1px solid #e6dfd4;
  border-radius: 14px;
  background: #fffcf8;
  box-shadow: none;
}

.app-shell a.tool-card:hover {
  transform: none;
  border-color: #1c1917;
  background: #fff;
  box-shadow: none;
}

.app-shell .tool-mark {
  width: 44px;
  height: 44px;
  border: 1px solid #e4dbd0;
  border-radius: 999px;
  background: transparent;
  color: #1c1917;
}

.app-shell .tool-name {
  color: #1c1917;
  font-weight: 650;
}

.app-shell .tool-body {
  color: #6f675f;
}

.home-list-title,
.recent-title {
  color: #1c1917;
}

.home-list-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.home-list-title::before {
  content: "";
  width: 18px;
  height: 1px;
  background: #1c1917;
}

.cat-chip {
  border-color: #d9d1c6;
  background: transparent;
  color: #3f3a34;
}

.cat-chip[aria-selected="true"] {
  border-color: #1c1917;
  background: #1c1917;
  color: #f6f3ee;
}

.app-shell .recent-row .tool-card {
  min-height: 64px;
  height: 64px;
  padding: 10px 14px;
  border-radius: 12px;
}

.app-shell .recent-row .tool-mark {
  width: 36px;
  height: 36px;
  margin-bottom: 0;
}

.app-shell .share,
.app-shell .lang button {
  border-color: #e4ddd3;
  border-radius: 999px;
  background: transparent;
  color: #3f3a34;
}

.app-shell .desk-crumb {
  color: #8a8178;
}

.app-shell .desk-stage {
  border-color: #e6dfd4;
  border-radius: 18px;
  background: #f7f4ef;
}

.app-shell .desk-facts,
.app-shell .explain {
  border-color: #e6dfd4;
  border-radius: 16px;
  background: #fffcf8;
}

.app-shell .desk-facts h2 {
  color: #8a8178;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.app-shell .desk-facts dl div,
.app-shell .site-footer {
  border-color: #e6dfd4;
}

.app-shell .desk-facts dt {
  color: #6f675f;
}

.app-shell .desk-facts dd,
.app-shell .explain h2,
.app-shell .squeeze-label,
.app-shell .squeeze-kicker {
  color: #1c1917;
}

.app-shell .explain {
  color: #3f3a34;
}

.app-shell .explain-emoji {
  background: #f3eee6;
  color: #1c1917;
}

.app-shell .pick span,
.app-shell .modes,
.app-shell .modes button,
.app-shell .presets button,
.app-shell .chrono-side {
  border-color: #d9d1c6;
  background: #fffcf8;
  color: #3f3a34;
}

.app-shell .pick input:checked + span,
.app-shell .pick input:focus-visible + span {
  border-color: #1c1917;
  background: #1c1917;
  color: #f6f3ee;
}

.app-shell .btn-hot,
.app-shell .chrono-go,
.app-shell .squeeze-save,
.app-shell .modes button[aria-selected="true"],
.app-shell .squeeze .modes button[aria-pressed="true"],
.app-shell .presets button[aria-pressed="true"],
.app-shell .drop-title {
  border-color: #1c1917;
  background: #1c1917;
  color: #f6f3ee;
  box-shadow: none;
}

.app-shell .drop-title {
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.app-shell .desk .btn-hot,
.app-shell .chrono-go {
  border-radius: 999px;
  font-weight: 650;
}

.app-shell .drop-hint,
.app-shell .consent,
.app-shell .disclaimer,
.app-shell .site-footer {
  color: #6f675f;
}

.app-shell .panel {
  height: 248px;
  margin: 8px auto 0;
  padding: 12px;
  border-radius: 28px;
  background: linear-gradient(180deg, #2c2825 0%, #141210 22%);
  box-shadow: 0 24px 40px -28px rgba(28, 25, 23, 0.55);
}

.app-shell .panel-screen {
  height: 100%;
  margin: 0;
  padding: 20px 24px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 32%),
    #0e0c0b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.app-shell .digits {
  color: #f6f1ea;
}

.app-shell .digits span:last-child {
  color: #c8b8a4;
}

.app-shell .panel-kicker,
.app-shell .chrono-status {
  color: #b7aea4;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.app-shell .chrono.is-running .chrono-status {
  color: #e07a5f;
}

.app-shell .chrono.is-hurry .digits,
.app-shell .chrono.is-hurry .digits span:last-child {
  color: #ffb089;
}

.app-shell .chrono.is-done .digits,
.app-shell .chrono.is-done .digits span:last-child,
.app-shell .chrono.is-done .chrono-status {
  color: #fff7f2;
}

@media (max-width: 1023px) {
  .app-shell .site-header,
  .home-hero {
    background: transparent;
    border-bottom: 0;
  }

  .app-shell .catalog h1 {
    font-size: 28px;
    font-weight: 650;
    letter-spacing: -0.04em;
  }

  .app-shell .catalog .tool-search {
    height: 46px;
    min-height: 46px;
  }

  .app-shell .recent,
  .app-shell .home-list {
    padding-inline: 20px;
  }

  .mobile-tab {
    background: #f7f4ef;
    border-top-color: #e6dfd4;
  }

  .mobile-tab a {
    color: #8a8178;
  }

  .mobile-tab a[aria-current="page"] {
    color: #1c1917;
  }
}

.side-open,
.mobile-find {
  display: none;
}

.app-shell {
  background: #f4f3ef;
}

.app-side {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 0 18px;
  background: #fff;
  border-inline-end: 1px solid #eceae4;
}

.side-top {
  padding: 18px 18px 12px;
  border-bottom: 1px solid #f0eee9;
}

.side-brand {
  height: auto;
  margin: 0;
}

.side-brand .shelf-cat {
  height: 34px;
}

.side-find {
  position: relative;
  margin: 14px 14px 4px;
}

.app-side .side-search {
  width: auto;
  height: 40px;
  min-height: 40px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #e6e2da;
  border-radius: 12px;
  background: #f7f6f3;
  box-shadow: none;
}

.app-side .side-search:focus-within {
  border-color: #0f6b56;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 107, 86, 0.12);
}

.app-side .search-paw {
  width: 16px;
  height: 16px;
  color: #6f6a62;
}

.side-favs {
  padding: 14px 16px 8px;
  border-bottom: 1px solid #f0eee9;
}

.side-favs h2,
.fav-sheet-card h2 {
  margin: 0 0 8px;
  color: #6f6a62;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.side-fav-empty {
  margin: 0;
  color: #8a847b;
  font-size: 13px;
  line-height: 1.45;
}

.side-favs ul,
.fav-sheet-card ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.side-favs a,
.fav-sheet-card a {
  display: block;
  padding: 7px 8px;
  border-radius: 8px;
  color: #1c1b18;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.side-favs a:hover,
.fav-sheet-card a:hover {
  background: #e7f3ee;
  color: #0f6b56;
}

.side-cats {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 0;
  margin-top: 8px;
  padding: 0 10px;
  overflow: auto;
}

.side-cat {
  display: flex;
  align-items: center;
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #3f3b36;
  font-size: 14px;
  font-weight: 600;
  text-align: start;
}

.side-cat[aria-selected="true"] {
  background: #e7f3ee;
  color: #0f6b56;
}

.app-shell .catalog,
.app-shell .desk-main {
  width: min(1120px, 100%);
}

.home-hero .tool-search {
  width: min(640px, 100%);
  height: 58px;
  margin-top: 22px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow:
    0 0 0 2px #0f6b56,
    0 12px 28px -18px rgba(15, 107, 86, 0.55);
}

.home-hero .search-paw {
  color: #0f6b56;
}

.app-shell .catalog h1 {
  max-width: 14em;
  font-size: 34px;
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.22;
}

.home-list-title {
  margin: 34px 0 14px;
  font-size: 26px;
  font-weight: 720;
  letter-spacing: -0.03em;
}

.home-list-title::before {
  display: none;
}

.cat-chip {
  height: 40px;
  border-radius: 999px;
  background: #fff;
}

.cat-row .cat-chip[aria-selected="true"] {
  border-color: transparent;
  background: #0f6b56;
  color: #fff;
}

.app-shell .shelf {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.app-shell .tool-card,
div.tool-card {
  position: relative;
  min-height: 178px;
  padding: 18px 16px 16px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(28, 27, 24, 0.07), 0 1px 2px rgba(28, 27, 24, 0.04);
}

.app-shell a.tool-card:hover {
  transform: translateY(-3px);
  border-color: transparent;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(15, 107, 86, 0.45),
    0 18px 32px -22px rgba(28, 27, 24, 0.45);
}

div.tool-card:hover {
  transform: none;
  box-shadow: 0 0 0 1px rgba(28, 27, 24, 0.07), 0 1px 2px rgba(28, 27, 24, 0.04);
}

.app-shell .tool-mark {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border: 0;
  border-radius: 12px;
  background: #e7f3ee;
  color: #0f6b56;
}

.app-shell .tool-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.app-shell .tool-body {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
}

.card-star,
.fav-toggle {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #b7b1a8;
  cursor: pointer;
}

.tool-card .card-star {
  position: absolute;
  top: 12px;
  inset-inline-end: 10px;
}

.card-star:hover,
.fav-toggle:hover,
.card-star[aria-pressed="true"],
.fav-toggle[aria-pressed="true"] {
  color: #b8860b;
  background: #f8f1de;
}

.card-star[aria-pressed="true"] path,
.fav-toggle[aria-pressed="true"] path {
  fill: currentColor;
}

.app-shell .desk-head h1 {
  font-weight: 720;
  letter-spacing: -0.03em;
}

.app-shell .btn-hot,
.app-shell .chrono-go,
.app-shell .squeeze-save,
.app-shell .drop-title,
.app-shell .modes button[aria-selected="true"],
.app-shell .squeeze .modes button[aria-pressed="true"],
.app-shell .presets button[aria-pressed="true"] {
  border-color: #0f6b56;
  background: #0f6b56;
  color: #fff;
}

.app-shell .pick input:checked + span,
.app-shell .pick input:focus-visible + span {
  border-color: #0f6b56;
  background: #0f6b56;
  color: #fff;
}

.side-scrim {
  position: fixed;
  inset: 0;
  z-index: 55;
  border: 0;
  background: rgba(28, 27, 24, 0.32);
}

.side-scrim[hidden] {
  display: none !important;
}

.fav-sheet[hidden] {
  display: none !important;
}

@media (max-width: 1180px) {
  .app-shell .shelf {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1023px) {
  .side-open {
    display: grid;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #1c1b18;
  }

  .app-shell .site-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 12px 0;
    background: #f4f3ef;
  }

  .site-header:has(.mobile-find) .lang button span,
  .site-header:has(.mobile-find) .lang .chev {
    display: none;
  }

  .site-header:has(.mobile-find) .bar {
    flex: none;
    width: auto;
  }

  .site-header:has(.mobile-find) .lang button {
    width: 40px;
    min-width: 40px;
    padding: 0;
    justify-content: center;
  }

  .mobile-find {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 6px;
    min-width: 0;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e6e2da;
    border-radius: 12px;
    background: #fff;
    color: #6f6a62;
  }

  .mobile-find svg {
    flex: none;
  }

  .mobile-find input {
    width: 100%;
    min-width: 0;
    height: 38px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1c1b18;
    font: inherit;
    font-size: 16px;
    outline: none;
  }

  .app-side {
    position: fixed;
    z-index: 60;
    inset: 0 auto 0 0;
    width: min(320px, 88vw);
    height: 100vh;
    transform: translateX(-105%);
    transition: transform 0.2s ease;
  }

  [dir="rtl"] .app-side {
    inset: 0 0 0 auto;
    transform: translateX(105%);
  }

  .app-side.is-open,
  [dir="rtl"] .app-side.is-open {
    transform: none;
    box-shadow: 24px 0 48px rgba(28, 27, 24, 0.16);
  }

  .app-shell .catalog h1 {
    font-size: 26px;
  }

  .home-hero .tool-search {
    height: 48px;
    border-radius: 14px;
  }

  .app-shell .shelf {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .app-shell .tool-card,
  div.tool-card {
    min-height: 168px;
    padding: 16px 14px 14px;
  }

  .mobile-tab {
    height: 58px;
    background: #fff;
    border-top: 1px solid #eceae4;
  }

  .mobile-tab a,
  .mobile-tab button {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #8a847b;
    font: inherit;
    font-size: 11px;
    font-weight: 650;
    cursor: pointer;
  }

  .mobile-tab a[aria-current="page"],
  .mobile-tab button[aria-expanded="true"] {
    color: #0f6b56;
  }

  .fav-sheet,
  .search-sheet {
    position: fixed;
    z-index: 45;
    inset-inline: 12px;
    bottom: calc(66px + env(safe-area-inset-bottom));
  }

  .search-sheet-card {
    padding: 12px;
    border: 1px solid #e6e1d8;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 22px 48px -28px rgba(28, 27, 24, 0.5);
  }

  .search-sheet-field {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    padding: 0 14px;
    border: 1px solid #e6e2da;
    border-radius: 16px;
    background: #f7f6f3;
    color: #6f675f;
  }

  .search-sheet-field:focus-within {
    border-color: #0f6b56;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(15, 107, 86, 0.14);
  }

  .search-sheet-field svg {
    flex: none;
  }

  .search-sheet-field input {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1c1b18;
    font: inherit;
    font-weight: 650;
    outline: none;
  }

  .search-sheet .search-drop {
    max-height: min(46vh, 360px);
    margin-top: 8px;
    padding: 4px;
    border: 0;
    box-shadow: none;
    overflow: auto;
  }

  .fav-sheet-card {
    padding: 16px;
    border: 1px solid #eceae4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 40px -24px rgba(28, 27, 24, 0.45);
  }

  .app-side.is-open {
    z-index: 70;
    background: #fff;
  }
}

.home-hero {
  text-align: center;
}

.hero-face {
  display: block;
  width: 72px;
  height: 78px;
  margin: 0 auto 12px;
}

.app-shell .catalog .home-hero h1 {
  margin: 0 auto;
  max-width: 14em;
  font-size: clamp(1.7rem, 3.4vw, 2.15rem);
  font-weight: 720;
  letter-spacing: -0.04em;
  line-height: 1.28;
  text-align: center;
}

.app-shell .catalog .home-hero .lede {
  margin: 8px auto 0;
  max-width: 28em;
  color: #6f675f;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.5;
  text-align: center;
}

.home-hero .tool-search {
  margin-inline: auto;
}

#tool-search,
#side-search,
#sheet-search,
#mobile-find,
.app-shell .tool-search input,
.mobile-find input,
.search-sheet-field input {
  font-size: 16px;
}

.search-drop {
  margin: 8px 0 0;
  padding: 6px;
  list-style: none;
  border: 1px solid #e6e1d8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px -28px rgba(28, 27, 24, 0.55);
}

.search-drop[hidden] {
  display: none !important;
}

.search-drop li + li {
  margin-top: 2px;
}

.search-drop a,
.search-miss {
  display: block;
  padding: 9px 10px;
  border-radius: 12px;
  color: #1c1b18;
  text-decoration: none;
  text-align: start;
}

.search-drop a:hover,
.search-drop a:focus-visible {
  background: #e7f3ee;
  outline: none;
}

.search-drop strong {
  display: block;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.search-drop span {
  display: block;
  margin-top: 2px;
  color: #6f675f;
  font-size: 12px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-miss {
  color: #6f675f;
  font-size: 13px;
}

.home-hero .search-drop {
  width: min(640px, 100%);
  margin: 10px auto 0;
}

.side-find .search-drop {
  position: absolute;
  z-index: 6;
  top: calc(100% + 6px);
  inset-inline: 0;
  max-height: 320px;
  overflow: auto;
}

.search-sheet[hidden] {
  display: none !important;
}

.shelf > li.is-paged-out {
  display: none;
}

.shelf-pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 28px 0 8px;
}

.shelf-pages[hidden] {
  display: none !important;
}

.shelf-pages button {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #e6e1d8;
  border-radius: 12px;
  background: #fff;
  color: #1c1b18;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.shelf-pages button[aria-current="page"] {
  border-color: #0f6b56;
  background: #0f6b56;
  color: #fff;
}

.shelf-pages button:disabled {
  color: #b7b1a8;
  cursor: default;
}

.home-story {
  display: grid;
  gap: 16px;
  width: min(1120px, 100%);
  margin: 36px 0 8px;
}

.home-faq,
.home-about {
  padding: 28px 32px;
  border: 1px solid #e6dfd4;
  border-radius: 18px;
  background: #fff;
}

.home-faq h2,
.home-about h2 {
  margin: 0 0 8px;
  color: #1c1b18;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 760;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.home-faq dl {
  margin: 8px 0 0;
}

.home-faq div + div {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0ece6;
}

.home-faq dt,
.home-faq dd {
  margin: 0;
  color: #1c1b18;
  font-size: 15px;
  line-height: 1.7;
  word-break: keep-all;
}

.home-faq dt {
  font-weight: 750;
  letter-spacing: -0.02em;
}

.home-faq dd {
  margin-top: 8px;
  color: #3f3a34;
}

.home-about p {
  margin: 14px 0 0;
  color: #3f3a34;
  font-size: 15px;
  line-height: 1.8;
  word-break: keep-all;
}

.home-about a {
  color: #0f6b56;
  font-weight: 750;
}

@media (max-width: 640px) {
  .home-faq,
  .home-about {
    padding: 22px 18px;
  }
}

.side-scrim {
  z-index: 50;
  background: rgba(28, 27, 24, 0.08);
}

.desk-crumb {
  font-size: 13px;
  font-weight: 600;
}

.desk-crumb a {
  color: #0f6b56;
}

.app-shell .desk-head h1 {
  font-size: clamp(1.7rem, 3vw, 2rem);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.app-shell .desk .lede {
  max-width: 40rem;
  font-size: 15px;
  line-height: 1.7;
}

.desk-stage.is-compact {
  min-height: 0;
  padding: 22px 22px 18px;
  text-align: start;
}

.name-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.name-field label {
  font-size: 14px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.name-field button,
.name-clear {
  border: 0;
  background: transparent;
  color: #0f6b56;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.name-box {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 0 14px;
  height: 52px;
  border: 1px solid #e4e0d8;
  border-radius: 14px;
  background: #fff;
}

.name-box:focus-within {
  border-color: #0f6b56;
  box-shadow: 0 0 0 3px rgba(15, 107, 86, 0.12);
}

.name-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #1c1b18;
  font: inherit;
  font-size: 16px;
  font-weight: 650;
  outline: none;
}

.name-clear {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f3f1ec;
  color: #1c1b18;
  font-size: 18px;
  line-height: 1;
}

.name-alert,
.name-split {
  margin: 10px 0 0;
  color: #6f675f;
  font-size: 13px;
  line-height: 1.5;
}

.name-alert {
  color: #9a3412;
}

.name-results {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.name-results li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 12px;
  border: 1px solid #eceae4;
  border-radius: 12px;
  background: #fff;
}

.name-results li.is-lead {
  border-color: #0f6b56;
  background: #f3faf7;
}

.name-results span {
  color: #6f675f;
  font-size: 13px;
  font-weight: 700;
}

.name-results strong {
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.name-results button {
  height: 32px;
  padding: 0 12px;
  border: 1px solid #d9d3c8;
  border-radius: 999px;
  background: #fff;
  color: #1c1b18;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.name-results li.is-lead button {
  border-color: #0f6b56;
  background: #0f6b56;
  color: #fff;
}

.tool-note,
.tool-why {
  margin-top: 22px;
  padding: 18px 20px;
  border: 1px solid #e6dfd4;
  border-radius: 16px;
  background: #fffcf8;
}

.tool-note {
  border-inline-start: 4px solid #0f6b56;
}

.tool-note h2,
.tool-why h2 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.tool-note p,
.tool-why p {
  margin: 8px 0 0;
  color: #3f3a34;
  font-size: 15px;
  line-height: 1.75;
  word-break: keep-all;
}

.app-shell .desk .explain {
  padding: 8px 22px 20px;
}

.app-shell .desk .explain h2 {
  font-size: 1.15rem;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.app-shell .desk .explain-no {
  color: #0f6b56;
}

.app-shell .desk .explain p,
.app-shell .desk .explain dd {
  color: #3f3a34;
  font-size: 15px;
  line-height: 1.75;
}

.sample {
  margin: 16px 0 0;
  margin-inline-start: calc(1.6rem + 10px);
  overflow: hidden;
  border: 1px solid #e6dfd4;
  border-radius: 14px;
  background: #fff;
}

.sample-put {
  display: flex;
  gap: 12px;
  margin: 0 !important;
  padding: 12px 14px;
  background: #f7f4ef;
}

.sample-put span {
  color: #6f675f;
  font-weight: 700;
}

.sample table {
  width: 100%;
  border-collapse: collapse;
}

.sample th,
.sample td {
  padding: 11px 14px;
  border-top: 1px solid #eeeae4;
  text-align: start;
  font-size: 14px;
}

.sample th {
  width: 34%;
  color: #6f675f;
  font-weight: 700;
}

.sample td {
  font-weight: 750;
  letter-spacing: 0.01em;
}

.q-mark {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-inline-end: 8px;
  border-radius: 6px;
  background: #e7f3ee;
  color: #0f6b56;
  font-size: 12px;
  font-weight: 800;
  vertical-align: 1px;
}

.q-mark.is-a {
  background: #f3eee6;
  color: #1c1b18;
}

.explain-faq dd {
  display: block;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.tool-tags li {
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3eee6;
  color: #3f3a34;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .sample {
    margin-inline-start: 0;
  }

  .name-results li {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .name-results button {
    grid-column: 2;
    justify-self: start;
  }
}

body:has(.desk) .app-shell .site-footer {
  width: min(1120px, 100%);
  max-width: none;
  margin: 0;
  padding: 8px 16px 28px;
  box-sizing: border-box;
}

.app-shell .desk-main .ad-slot,
.app-shell .catalog .ad-slot {
  width: 100%;
  max-width: none;
  margin: 28px 0 4px;
  padding: 10px 12px 12px;
  border: 1px dashed #e0dbd3;
  border-radius: 16px;
  background: #f7f6f3;
  box-sizing: border-box;
}

.app-shell .catalog .ad-slot.is-reserved {
  min-height: 120px;
}

.app-shell .catalog .ad-label,
.app-shell .desk-main .ad-label {
  margin-bottom: 8px;
  color: #8a8178;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
}

.app-shell .catalog .adsbygoogle,
.app-shell .desk-main .adsbygoogle {
  min-height: 90px;
}

.desk-stage.is-board {
  padding: 16px;
  min-height: 0;
}

.pdf-app .drop {
  min-height: 0;
  margin: 0;
}

.pdf-app [hidden] {
  display: none !important;
}

.pdf-bar,
.pdf-actions,
.photo-options,
.pdf-range {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
}

.pdf-range {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: center;
}

.pdf-range input {
  height: 40px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  font: inherit;
}

.pdf-range small,
.pdf-empty {
  color: #6f675f;
  font-size: 13px;
}

.pdf-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pdf-choices label {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
}

.pdf-files,
.pdf-pages,
.photo-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.pdf-files {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.pdf-pages,
.photo-grid {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.pdf-card,
.pdf-thumb,
.photo-card {
  position: relative;
  padding: 12px;
  border: 1px solid #e6dfd4;
  border-radius: 14px;
  background: #fff;
}

.pdf-card.is-drop,
.pdf-thumb.is-drop,
.pdf-card.is-dragging,
.pdf-thumb.is-dragging {
  border-color: #0f6b56;
}

.pdf-card-head {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pdf-card-head strong,
.photo-card p {
  min-width: 0;
  margin: 8px 0 0;
}

.pdf-card-head strong {
  flex: 1;
  margin: 0;
}
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pdf-badge {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.pdf-badge.is-mini {
  position: absolute;
  top: 8px;
  left: 8px;
}

.pdf-card-actions,
.photo-moves {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}

.pdf-card-actions button,
.photo-moves button,
.photo-x,
.pdf-preview-bar button {
  height: 30px;
  padding: 0 10px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.pdf-shot,
.photo-shot {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: #f7f4ef;
  padding: 0;
  cursor: pointer;
}

.pdf-shot canvas,
.photo-shot img,
.pdf-preview canvas {
  max-width: 100%;
  max-height: 100%;
}

.pdf-order {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: #1c1917;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
}

.pdf-thumb.is-out {
  opacity: 0.45;
}

.photo-x {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 28px;
  padding: 0;
}

.pdf-preview {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #e6dfd4;
  border-radius: 14px;
  background: #fff;
}

.pdf-preview-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.pdf-preview-bar strong {
  margin-right: auto;
  font-size: 13px;
}

.pdf-actions .btn {
  min-width: 120px;
}

@media (max-width: 720px) {
  .pdf-range {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1023px) {
  body:has(.desk) .app-shell .site-footer {
    width: 100%;
    padding: 12px 16px calc(76px + env(safe-area-inset-bottom));
  }
}

.mark-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mark-field input[type="text"],
.mark-field input[type="range"] {
  width: 100%;
  font: inherit;
}

.mark-field input[type="text"] {
  height: 52px;
  border: 0;
  border-bottom: 2px solid #e6dfd4;
  background: transparent;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.mark-field input[type="text"]:focus {
  outline: none;
  border-bottom-color: #0f6b56;
}

.mark-row,
.mark-tools,
.stamp-row,
.sign-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.mark-count {
  margin-left: auto;
  color: #6f675f;
  font-size: 12px;
  font-weight: 700;
}

.mark-swatch {
  width: 28px;
  height: 28px;
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 0 0 0 1px #e6dfd4;
  cursor: pointer;
}

.mark-swatch[aria-checked="true"],
.mark-size[aria-pressed="true"],
.mark-thick[aria-pressed="true"],
.stamp-pick.is-on {
  box-shadow: 0 0 0 2px #0f6b56;
}

.mark-size,
.mark-thick,
.mark-mode,
.mark-option {
  height: 34px;
  padding: 0 12px;
  border: 1px solid #e6dfd4;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.mark-mode[aria-selected="true"],
.mark-size[aria-pressed="true"],
.mark-thick[aria-pressed="true"],
.mark-option[aria-expanded="true"] {
  background: #0f6b56;
  border-color: #0f6b56;
  color: #fff;
}

.mark-checker {
  display: grid;
  place-items: center;
  width: 192px;
  height: 192px;
  border-radius: 12px;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #e7e1d8 25%, transparent 25%),
    linear-gradient(-45deg, #e7e1d8 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e7e1d8 75%),
    linear-gradient(-45deg, transparent 75%, #e7e1d8 75%);
  background-size: 14px 14px;
  background-position: 0 0, 0 7px, 7px -7px, -7px 0;
}

.mark-checker.is-wide {
  width: min(100%, 320px);
  height: 140px;
}

.stamp-row,
.sign-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  align-items: stretch;
}

.stamp-row.is-four {
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}

.sign-grid {
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.stamp-shape {
  margin: 14px 0 8px;
  font-size: 13px;
  font-weight: 800;
}

.stamp-pick {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  padding: 8px;
  border: 1px solid #e6dfd4;
  border-radius: 12px;
  background: #fff;
  font: inherit;
  cursor: pointer;
}

.stamp-pick span {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.stamp-pick canvas.is-sample {
  opacity: 0.55;
}

.mark-pad {
  width: 100%;
  height: 220px;
  border: 2px dashed #e6dfd4;
  border-radius: 14px;
  background: #fff;
  touch-action: none;
  cursor: crosshair;
}

.mark-note {
  color: #9a3412;
  font-size: 13px;
}

.mark-switch {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
}

.app-shell .site-footer,
body:has(.desk) .site-footer,
body:has(.desk) .app-shell .site-footer,
.app-shell:has(.catalog) .site-footer {
  display: grid;
  gap: 0;
  width: min(1120px, 100%);
  max-width: none;
  margin: 28px auto 0;
  padding: 22px 8px 36px;
  border: 0;
  border-top: 1px solid #e6dfd4;
  border-radius: 0;
  background: transparent;
  color: #6f675f;
  font-size: 14px;
  box-sizing: border-box;
}

.app-shell .site-footer nav {
  display: block;
}

.foot-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.foot-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1c1917;
  font-size: 16px;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.foot-mark img {
  display: block;
  width: auto;
  height: 32px;
}

.foot-brand p {
  margin: 0;
  color: #6f675f;
  font-size: 14px;
}

.site-footer .lang {
  position: relative;
}

.site-footer .lang-menu.is-up {
  top: auto;
  inset-inline-end: auto;
  left: 50%;
  bottom: calc(100% + 10px);
  width: min(420px, calc(100vw - 32px));
  max-height: none;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 8px;
  border-radius: 18px;
}

.site-footer .lang-menu.is-up[hidden] {
  display: none;
}

.site-footer .lang-menu.is-up a {
  min-height: 34px;
  padding: 0 8px;
  font-size: 13px;
}

.foot-cats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 28px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #efeae3;
}

.foot-cat summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 32px;
  color: #1c1917;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}

.foot-cat summary::-webkit-details-marker {
  display: none;
}

.foot-cat summary svg {
  width: 12px;
  height: 12px;
  flex: none;
  color: #8a8178;
  transition: transform 0.15s ease;
}

.foot-cat[open] summary svg {
  transform: rotate(180deg);
}

.foot-cat ul {
  display: grid;
  gap: 7px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.foot-cat a {
  color: #6f675f;
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.foot-cat a:hover {
  color: #0f6b56;
}

.foot-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 18px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #efeae3;
}

.app-shell .site-footer .foot-legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.foot-legal a,
.foot-legal small {
  color: #8a8178;
  font-size: 13px;
  text-decoration: none;
}

.foot-legal a:hover {
  color: #1c1917;
}

@media (min-width: 801px) {
  .foot-cat > ul {
    display: grid !important;
  }

  .foot-cat summary {
    cursor: default;
    pointer-events: none;
  }

  .foot-cat summary svg {
    display: none;
  }
}

@media (max-width: 800px) {
  .app-shell .site-footer,
  body:has(.desk) .app-shell .site-footer,
  .app-shell:has(.catalog) .site-footer {
    width: 100%;
    margin-top: 12px;
    padding: 18px 4px calc(76px + env(safe-area-inset-bottom));
  }

  .foot-cats {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .foot-cat {
    border-bottom: 1px solid #efeae3;
  }

  .foot-cat summary {
    min-height: 46px;
  }

  .foot-cat ul {
    margin: 0 0 12px;
  }
}

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

.mark-swatch {
  position: relative;
  display: inline-grid;
  place-items: center;
  padding: 0;
}

.mark-swatch input {
  position: absolute;
  width: 28px;
  height: 28px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.mark-swatch[data-color="#c0392b"] { background: #c0392b; }
.mark-swatch[data-color="#e8552f"] { background: #e8552f; }
.mark-swatch[data-color="#1f4e8c"] { background: #1f4e8c; }
.mark-swatch[data-color="#232323"] { background: #232323; }
.mark-swatch[data-color="#1c1c1e"] { background: #1c1c1e; }
.mark-swatch[data-color="#1e40af"] { background: #1e40af; }
.mark-swatch[data-color="#1f2a56"] { background: #1f2a56; }
.mark-swatch[data-color="#b91c1c"] { background: #b91c1c; }

.mark-rainbow {
  background: conic-gradient(red, #ff0, #0f0, #0ff, #00f, #f0f, red);
}

.stamp-preview { width: 192px; height: 192px; }
.stamp-face { width: 72px; height: 72px; }
.sign-preview { width: 280px; height: 120px; }
.sign-face { width: 140px; height: 60px; }

#count textarea {
  width: 100%;
  min-height: 180px;
  margin: 0;
  padding: 14px;
  border: 1px solid #e6dfd4;
  border-radius: 16px;
  background: #fff;
  color: #1c1917;
  font: inherit;
  line-height: 1.6;
  resize: vertical;
}

.count-tools {
  display: flex;
  justify-content: flex-end;
  min-height: 28px;
  margin-bottom: 6px;
}

.count-tools button {
  border: 0;
  background: transparent;
  color: #6f675f;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.count-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.count-grid div {
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
}

.count-grid strong {
  display: block;
  color: #0f6b56;
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.count-grid span,
.count-note {
  color: #6f675f;
  font-size: 13px;
}

.count-note {
  margin: 10px 2px 0;
}

.count-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 8px;
  padding: 8px;
  border-radius: 12px;
  background: #fff;
  color: #6f675f;
  font-size: 13px;
}

.count-bar b {
  color: #0f6b56;
  font-variant-numeric: tabular-nums;
}

.pass-out {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 8px 8px 14px;
  border-radius: 16px;
  background: #1c1917;
  color: #f6f3ee;
}

.pass-out span {
  flex: 1;
  min-width: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
}

.app-shell .pass-out .btn-hot {
  flex: none;
  width: auto;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  white-space: nowrap;
}

.pass-out [data-regen] {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #f6f3ee;
  font-size: 20px;
  cursor: pointer;
}

.pass-meter {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.pass-track {
  flex: 1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7e1d8;
}

.pass-track span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: #0f6b56;
}

.pass-track span[data-fill="25"] { width: 25%; background: #dc2626; }
.pass-track span[data-fill="50"] { width: 50%; background: #d97706; }
.pass-track span[data-fill="75"] { width: 75%; background: #0f6b56; }
.pass-track span[data-fill="100"] { width: 100%; background: #0f6b56; }

.pass-label.is-weak { color: #dc2626; }
.pass-label.is-mid { color: #b45309; }
.pass-label.is-strong { color: #0f6b56; }
.pass-label.is-empty { color: #8a8178; }

.pass-length {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
}

.pass-length input {
  width: 64px;
  text-align: center;
  font: inherit;
  font-weight: 750;
}

#password [data-range] {
  width: 100%;
  margin-top: 8px;
}

.pass-ends,
.pass-kinds {
  display: flex;
  justify-content: space-between;
  color: #8a8178;
  font-size: 12px;
}

.pass-kinds {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: 12px;
  color: #1c1917;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
}

.pass-kinds label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 640px) {
  .count-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.calc-stack {
  display: grid;
  gap: 12px;
}

.calc-card,
.calc-panel {
  padding: 14px;
  border-radius: 16px;
  background: #fff;
}

.calc-card h2 {
  margin: 0;
  font-size: 15px;
}

.calc-card label,
.calc-panel label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 700;
}

.calc-card input,
.calc-card select,
.calc-panel input,
.calc-panel select {
  width: min(180px, 46%);
  padding: 8px 10px;
  border: 1px solid #e6dfd4;
  border-radius: 10px;
  background: #fff;
  color: #1c1917;
  font: inherit;
  text-align: right;
}

.calc-card select {
  width: min(240px, 62%);
  text-align: start;
}

.calc-card input.is-bad,
.calc-panel input.is-bad {
  border-color: #dc2626;
}

.calc-result {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  color: #6f675f;
  font-size: 13px;
}

.calc-result strong {
  color: #0f6b56;
  font-size: 28px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.calc-result b {
  color: #1c1917;
  font-weight: 750;
}

.calc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.calc-tabs button {
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #1c1917;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.calc-tabs button[aria-selected="true"] {
  background: #1c1917;
  color: #f6f3ee;
}

.calc-head,
.calc-row {
  display: grid;
  grid-template-columns: 44px 1fr 1fr 1fr;
  gap: 8px;
  align-items: center;
}

.calc-head {
  margin-bottom: 6px;
  color: #8a8178;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.calc-row {
  margin-top: 8px;
}

.calc-row input {
  width: 100%;
  text-align: center;
}

.calc-row button {
  width: 44px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: #f3efe8;
  color: #1c1917;
  font: inherit;
  font-size: 18px;
  cursor: pointer;
}

.calc-lines {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.calc-lines li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  font-weight: 650;
}

.calc-add,
.calc-card > button,
.calc-result [data-copy] {
  margin-top: 12px;
  border: 0;
  background: transparent;
  color: #0f6b56;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
}

.calc-check {
  justify-content: flex-start;
}

.calc-check input {
  width: 18px;
  height: 18px;
  padding: 0;
  accent-color: #0f6b56;
}

.calc-panel[hidden],
.calc-panel [hidden],
.calc-card [hidden] {
  display: none;
}

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

.list-tool [hidden] {
  display: none;
}

.list-tabs,
.list-checks,
.list-actions,
.list-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
}

.list-tabs button,
.list-actions button,
.list-file {
  border: 1px solid #e6dfd4;
  border-radius: 999px;
  background: #fff;
  color: #1c1917;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  padding: 7px 12px;
  cursor: pointer;
}

.list-tabs button[aria-selected="true"],
.list-tabs button[aria-checked="true"],
.list-tabs button[aria-pressed="true"] {
  background: #1c1917;
  border-color: #1c1917;
  color: #f4efe6;
}

.list-checks label,
.list-file {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.list-file input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.list-hint,
.list-stats {
  margin: 0;
  color: #6f675f;
  font-size: 13px;
}

.list-stats b {
  color: #1c1917;
}

.list-tool textarea {
  width: 100%;
  min-height: 140px;
  box-sizing: border-box;
  margin: 0;
  padding: 14px;
  border: 1px solid #e6dfd4;
  border-radius: 16px;
  background: #fff;
  color: #1c1917;
  font: inherit;
  line-height: 1.6;
  resize: vertical;
}

.diff-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.diff-pair label {
  display: grid;
  gap: 6px;
  min-width: 0;
  font-size: 13px;
  font-weight: 750;
}

.diff-pair .list-file {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
}

.diff-sheet {
  display: grid;
  max-width: 100%;
  overflow: auto;
  border: 1px solid #e6dfd4;
  border-radius: 16px;
  background: #fff;
}

.diff-row {
  display: grid;
  grid-template-columns: 8px 2.2rem minmax(0, 1fr) 2.2rem minmax(0, 1fr);
  gap: 6px;
  align-items: start;
  padding: 4px 8px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.diff-row.is-removed { background: #fde8e6; }
.diff-row.is-added { background: #e5f6ea; }
.diff-row.is-changed { background: #fff6e8; }

.diff-row mark {
  color: inherit;
  padding: 0 1px;
  border-radius: 3px;
}

.diff-row mark.is-out { background: #f3b4ae; }
.diff-row mark.is-in { background: #9ed9ae; }

@media (max-width: 640px) {
  .diff-pair {
    grid-template-columns: 1fr;
  }
}

.leave-dates {
  display: grid;
  gap: 10px;
}

@media (max-width: 640px) and (max-height: 760px) {
  .leave-dates {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .leave-dates label {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .calc-stack {
    gap: 8px;
  }

  .calc-tabs {
    margin-bottom: 0;
  }

  .calc-card,
  .calc-panel {
    padding: 8px 10px;
  }

  .calc-card label,
  .calc-panel label {
    margin-top: 6px;
    gap: 8px;
    font-size: 13px;
  }

  .calc-card input,
  .calc-card select,
  .calc-panel input,
  .calc-panel select {
    padding: 6px 8px;
  }

  .calc-result {
    margin-top: 8px;
  }

  .calc-result strong {
    font-size: 24px;
  }
}

.leave-dates input,
.calc-card input[type="date"] {
  width: 100%;
}

.leave-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 13px;
}

.leave-table th,
.leave-table td {
  padding: 6px 8px;
  text-align: start;
  border-bottom: 1px solid #efe8dc;
}

.leave-table .is-now {
  background: #e7f6f1;
  color: #0f6b56;
  font-weight: 750;
}

.qr-board {
  display: grid;
  place-items: center;
  min-height: 232px;
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid #e6dfd4;
  border-radius: 16px;
  background: #fff;
}

.qr-board canvas {
  width: min(220px, 68vw);
  height: auto;
  image-rendering: pixelated;
}

.qr-empty {
  max-width: 26ch;
  margin: 0;
  color: #6f675f;
  text-align: center;
  line-height: 1.5;
}

.qr-text,
.qr-row label {
  display: grid;
  gap: 6px;
}

.qr-text span,
.qr-row span {
  color: #6f675f;
  font-size: 13px;
}

#qr textarea,
#qr select {
  width: 100%;
  border: 1px solid #e6dfd4;
  border-radius: 14px;
  background: #fff;
  color: #1c1917;
  font: inherit;
}

#qr textarea {
  min-height: 92px;
  margin: 0;
  padding: 12px 14px;
  line-height: 1.55;
  resize: vertical;
}

.qr-row {
  display: grid;
  grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
  gap: 12px;
  align-items: end;
  margin-top: 12px;
}

#qr select {
  height: 44px;
  padding: 0 12px;
}

.qr-status {
  min-height: 44px;
  margin: 0;
  display: flex;
  align-items: center;
  color: #4b5563;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.qr-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.qr-actions .btn {
  min-height: 44px;
}

.qr-actions .btn-quiet {
  background: #fff;
  color: #1c1917;
  border: 1px solid #e6dfd4;
}

.qr-actions button:disabled {
  opacity: 0.45;
  cursor: default;
}

@media (max-width: 640px) {
  .qr-board {
    min-height: 0;
    margin-bottom: 8px;
    padding: 8px;
  }

  .qr-board canvas {
    width: min(112px, 34vw);
  }

  #qr textarea {
    min-height: 60px;
    padding: 10px 12px;
  }

  .qr-row {
    grid-template-columns: 1fr;
    margin-top: 8px;
  }

  .qr-status {
    min-width: 0;
    min-height: 0;
    overflow-wrap: anywhere;
  }

  .qr-actions {
    margin-top: 10px;
    scroll-margin-bottom: 72px;
  }
}

@media (max-width: 640px) and (max-height: 840px) {
  .desk[data-tool-page="qr"] .lede {
    margin-top: 6px;
    line-height: 1.5;
  }

  .qr-board canvas {
    width: min(88px, 28vw);
  }
}

@media (max-width: 640px) and (max-height: 760px) {
  .desk[data-tool-page="qr"] .desk-crumb {
    margin-bottom: 6px;
  }

  .desk[data-tool-page="qr"] .desk-head h1 {
    font-size: 26px;
    line-height: 1.15;
  }

  .desk[data-tool-page="qr"] .lede {
    margin-top: 4px;
    line-height: 1.45;
  }

  .qr-board {
    margin-bottom: 4px;
  }

  .qr-board canvas {
    width: min(66px, 22vw);
  }

  #qr textarea {
    min-height: 42px;
  }

  .qr-actions {
    margin-top: 6px;
  }
}

@media (max-width: 640px) and (max-height: 720px) {
  .app-shell .desk #qr .btn-hot,
  .qr-actions .btn {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    padding-inline: 8px;
    font-size: 13px;
  }
}

@media (max-width: 640px) and (max-height: 680px) {
  .qr-board {
    padding: 4px;
  }

  .qr-board canvas {
    width: min(44px, 16vw);
  }

  #qr textarea {
    min-height: 36px;
  }
}

.crop-tools,
.crop-size,
.crop-actions,
.crop-custom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: end;
  margin: 12px 0;
}

.crop-size label,
.crop-custom label,
.crop-actions label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
}

.crop-size input,
.crop-custom input {
  width: 96px;
  height: 40px;
  border: 0;
  border-bottom: 2px solid #e6dfd4;
  background: transparent;
  font: inherit;
  font-size: 18px;
}

.crop-frame {
  position: relative;
  margin-top: 12px;
  touch-action: none;
}

.crop-frame canvas {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.crop-box {
  position: absolute;
  border: 2px solid #1c1917;
  box-shadow: 0 0 0 9999px rgba(28, 25, 23, 0.45);
  cursor: move;
}

.crop-box.is-round {
  border-radius: 50%;
}

.crop-box span {
  position: absolute;
  width: 14px;
  height: 14px;
  background: #fffaf4;
  border: 2px solid #1c1917;
}

.crop-box [data-handle="nw"] {
  top: -8px;
  left: -8px;
  cursor: nwse-resize;
}

.crop-box [data-handle="se"] {
  right: -8px;
  bottom: -8px;
  cursor: nwse-resize;
}

.barcode-preview {
  margin: 12px 0;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  text-align: center;
}

.barcode-preview canvas {
  max-width: 100%;
  height: auto;
}

.calc-result [data-actual].is-hit {
  color: #0f6b56;
}

.calc-result [data-actual].is-miss {
  color: #9a3412;
}


