:root {
    --ink: #132039;
    --ink-soft: #44506a;
    --muted: #6f7c94;
    --line: #dfe6f1;
    --line-strong: #cbd7e8;
    --surface: #ffffff;
    --surface-soft: #f5f8fc;
    --surface-blue: #eef5ff;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --blue-soft: #dbeafe;
    --navy: #101b34;
    --mint: #0d9f7a;
    --yellow: #f5c451;
    --danger: #d14343;
    --shadow-sm: 0 8px 24px rgba(25, 46, 85, 0.07);
    --shadow-lg: 0 24px 70px rgba(25, 46, 85, 0.14);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    color-scheme: light;
    scroll-behavior: smooth;
}

html[data-theme="dark"] {
    color-scheme: dark;
    --ink: #eef4ff;
    --ink-soft: #b5c1d6;
    --muted: #8492ab;
    --line: #28364c;
    --line-strong: #35455f;
    --surface: #0c1423;
    --surface-soft: #101a2c;
    --surface-blue: #172b4d;
    --blue: #79a6ff;
    --blue-dark: #5e91f6;
    --blue-soft: #1b3155;
    --navy: #08101e;
    --mint: #42d0a5;
    --danger: #ff8585;
    --shadow-sm: 0 10px 28px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 28px 74px rgba(0, 0, 0, 0.34);
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--surface);
    font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body::selection,
body *::selection {
    color: #fff;
    background: var(--blue);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    color: inherit;
    font: inherit;
}

button,
select {
    cursor: pointer;
}

img {
    max-width: 100%;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.container.narrow {
    max-width: 920px;
}

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

.skip-link {
    position: fixed;
    z-index: 999;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: #fff;
    background: var(--navy);
    border-radius: 8px;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid rgba(215, 225, 239, 0.9);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    background: linear-gradient(145deg, #1f63e9, #4b83f5);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24);
}

.brand-mark span {
    position: absolute;
    display: block;
    border-radius: 3px;
    background: #fff;
}

.brand-mark .mark-t-top {
    top: 7px;
    left: 7px;
    width: 17px;
    height: 4px;
}

.brand-mark .mark-shared-stem {
    top: 7px;
    left: 13px;
    width: 4px;
    height: 24px;
}

.brand-mark .mark-h-stem {
    top: 12px;
    right: 7px;
    width: 4px;
    height: 19px;
}

.brand-mark .mark-h-stem::after {
    position: absolute;
    top: 7px;
    right: 0;
    width: 14px;
    height: 4px;
    border-radius: 3px;
    background: #fff;
    content: "";
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 19px;
    font-weight: 850;
    letter-spacing: -0.04em;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 700;
}

.site-nav > a:not(.nav-cta) {
    padding-block: 25px;
    border-bottom: 2px solid transparent;
}

.site-nav > a:hover,
.site-nav > a[aria-current="page"] {
    color: var(--blue);
    border-bottom-color: var(--blue);
}

.site-nav .nav-cta {
    padding: 10px 17px;
    color: #fff;
    border-radius: 10px;
    background: var(--ink);
    box-shadow: 0 6px 16px rgba(19, 32, 57, 0.14);
}

.site-nav .nav-cta:hover {
    background: var(--blue);
}

.language-status {
    padding: 6px 9px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
}

.theme-toggle {
    display: inline-flex;
    width: 37px;
    height: 37px;
    padding: 0;
    align-items: center;
    justify-content: center;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    transition: 160ms ease;
}

.theme-toggle:hover {
    color: var(--blue);
    border-color: var(--line-strong);
    background: var(--surface-blue);
}

.theme-icon {
    font-size: 16px;
    line-height: 1;
}

.theme-icon-dark {
    display: none;
}

[data-theme="dark"] .theme-icon-light {
    display: none;
}

[data-theme="dark"] .theme-icon-dark {
    display: inline;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.mobile-menu-button span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    background: var(--ink);
}

.messages {
    position: relative;
    z-index: 20;
    margin-top: 18px;
}

.message {
    padding: 14px 17px;
    border: 1px solid #a9e4d3;
    color: #087456;
    border-radius: var(--radius-sm);
    background: #ecfdf7;
    box-shadow: var(--shadow-sm);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 17px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.12em;
}

.eyebrow > span {
    width: 22px;
    height: 2px;
    background: var(--blue);
}

.button {
    display: inline-flex;
    min-height: 48px;
    padding: 0 21px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    transition: 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.28);
    outline-offset: 3px;
}

.button-primary {
    color: #fff;
    background: var(--blue);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.button-primary:hover {
    background: var(--blue-dark);
}

.button-secondary {
    color: var(--ink);
    border-color: var(--line-strong);
    background: #fff;
}

.button-secondary:hover {
    border-color: #9eb5d8;
    background: var(--surface-blue);
}

.button-dark {
    color: #fff;
    background: var(--navy);
}

.button-light {
    color: var(--navy);
    background: #fff;
}

.button-full {
    width: 100%;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
}

.text-link span {
    transition: transform 150ms ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 94px 0 108px;
    background:
        radial-gradient(circle at 8% 12%, rgba(37, 99, 235, 0.09), transparent 27%),
        radial-gradient(circle at 88% 18%, rgba(245, 196, 81, 0.12), transparent 20%),
        linear-gradient(180deg, #fbfdff 0%, #f5f8fc 100%);
}

.hero::after {
    position: absolute;
    right: -120px;
    bottom: -170px;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(37, 99, 235, 0.09);
    border-radius: 50%;
    content: "";
    box-shadow:
        0 0 0 70px rgba(37, 99, 235, 0.025),
        0 0 0 140px rgba(37, 99, 235, 0.018);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    align-items: center;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 84px;
}

.hero-copy h1 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(56px, 6vw, 82px);
    font-weight: 880;
    line-height: 1.02;
    letter-spacing: -0.065em;
}

.hero-copy h1 em {
    position: relative;
    color: var(--blue);
    font-style: normal;
}

.hero-copy h1 em::after {
    position: absolute;
    right: 1px;
    bottom: 0;
    left: 3px;
    height: 8px;
    border-radius: 8px;
    background: rgba(245, 196, 81, 0.7);
    content: "";
    transform: rotate(-1.5deg);
}

.hero-description {
    max-width: 570px;
    margin: 29px 0 0;
    color: var(--ink-soft);
    font-size: 18px;
    line-height: 1.8;
    letter-spacing: -0.02em;
}

.hero-actions {
    display: flex;
    gap: 11px;
    margin-top: 34px;
}

.hero-checks {
    display: flex;
    padding: 0;
    margin: 29px 0 0;
    gap: 20px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    list-style: none;
}

.hero-checks span {
    color: var(--mint);
}

.hero-console {
    position: relative;
    min-height: 430px;
    border: 1px solid rgba(199, 214, 235, 0.88);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow-lg);
    transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.console-topbar {
    display: grid;
    min-height: 51px;
    padding: 0 17px;
    align-items: center;
    grid-template-columns: 1fr auto 1fr;
    color: var(--muted);
    border-bottom: 1px solid var(--line);
    font-size: 11px;
}

.console-dots {
    display: flex;
    gap: 6px;
}

.console-dots i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #f17575;
}

.console-dots i:nth-child(2) {
    background: #f2c35e;
}

.console-dots i:nth-child(3) {
    background: #56c89a;
}

.console-secure {
    justify-self: end;
    color: var(--mint);
    font-weight: 800;
}

.console-body {
    padding: 28px;
}

.console-heading {
    display: flex;
    align-items: center;
    gap: 13px;
}

.tool-icon,
.tool-card-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    border: 1px solid #cfe0fb;
    border-radius: 13px;
    background: var(--surface-blue);
    font-family: Consolas, "Courier New", monospace;
    font-size: 15px;
    font-weight: 800;
}

.console-heading div {
    display: flex;
    flex-direction: column;
}

.console-heading strong {
    font-size: 16px;
}

.console-heading small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
}

.console-code {
    display: flex;
    min-height: 228px;
    padding: 23px;
    margin-top: 22px;
    flex-direction: column;
    color: #b5c7e5;
    border: 1px solid #263552;
    border-radius: 14px;
    background: #111b31;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    line-height: 1.9;
}

.console-code b {
    color: #7dd3fc;
    font-weight: 500;
}

.console-status {
    display: flex;
    margin-top: 18px;
    align-items: center;
    justify-content: space-between;
    color: var(--mint);
    font-size: 12px;
    font-weight: 800;
}

.console-status i {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 5px rgba(13, 159, 122, 0.1);
}

.console-status a {
    padding: 7px 11px;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-size: 11px;
}

.floating-note {
    position: absolute;
    display: flex;
    min-width: 175px;
    padding: 12px 14px;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(202, 216, 235, 0.95);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 32px rgba(31, 53, 92, 0.13);
}

.floating-note > span {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    border-radius: 9px;
    background: var(--surface-blue);
    font-weight: 900;
}

.floating-note div {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.floating-note strong {
    font-size: 12px;
}

.floating-note small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
}

.note-local {
    top: 90px;
    right: -66px;
}

.note-ready {
    bottom: 47px;
    left: -72px;
}

.trust-band {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.trust-grid > div {
    display: grid;
    min-height: 118px;
    padding: 25px 30px;
    align-content: center;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
}

.trust-grid > div + div {
    border-left: 1px solid var(--line);
}

.trust-grid span {
    grid-row: span 2;
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
}

.trust-grid strong {
    font-size: 15px;
}

.trust-grid small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
}

.section {
    padding: 110px 0;
}

.section-heading {
    display: flex;
    margin-bottom: 38px;
    align-items: end;
    justify-content: space-between;
}

.section-heading .eyebrow {
    margin-bottom: 10px;
}

.section-heading h2,
.principle-copy h2,
.faq-layout h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.18;
    letter-spacing: -0.05em;
}

.tools-section {
    background: var(--surface-soft);
}

.featured-tool {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.featured-tool-main {
    display: grid;
    min-height: 245px;
    padding: 42px 46px;
    align-items: center;
    grid-template-columns: auto 1fr auto;
    gap: 25px;
}

.featured-tool-main .tool-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    font-size: 20px;
}

.category-label,
.section-kicker {
    display: inline-flex;
    color: var(--blue);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.featured-tool h3 {
    margin: 5px 0 8px;
    font-size: 29px;
    letter-spacing: -0.045em;
}

.featured-tool-main p {
    max-width: 620px;
    margin: 0;
    color: var(--ink-soft);
}

.featured-tool-points {
    display: grid;
    border-top: 1px solid var(--line);
    background: #fbfcfe;
    grid-template-columns: repeat(3, 1fr);
}

.featured-tool-points > div {
    display: grid;
    min-height: 108px;
    padding: 26px 34px;
    align-content: center;
    grid-template-columns: auto 1fr;
    column-gap: 13px;
}

.featured-tool-points > div + div {
    border-left: 1px solid var(--line);
}

.featured-tool-points > div > span {
    grid-row: span 2;
    color: var(--blue);
    font-size: 18px;
}

.featured-tool-points strong {
    font-size: 13px;
}

.featured-tool-points small {
    color: var(--muted);
    font-size: 11px;
}

.home-tool-grid {
    display: grid;
    margin-top: 15px;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.home-tool-grid > a {
    display: grid;
    min-height: 145px;
    padding: 24px;
    align-items: start;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    transition: 160ms ease;
}

.home-tool-grid > a:hover {
    border-color: #afc3e1;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.home-tool-grid .tool-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    font-size: 11px;
}

.home-tool-grid div > span {
    color: var(--blue);
    font-size: 9px;
    font-weight: 850;
}

.home-tool-grid strong {
    display: block;
    margin-top: 2px;
    font-size: 13px;
}

.home-tool-grid p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}

.home-tool-grid i {
    color: var(--blue);
    font-style: normal;
}

.principle-grid {
    display: grid;
    align-items: start;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
}

.principle-copy {
    position: sticky;
    top: 115px;
}

.principle-copy > p:not(.eyebrow) {
    margin: 25px 0;
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.8;
}

.principle-cards {
    display: grid;
    gap: 14px;
}

.principle-cards article {
    position: relative;
    min-height: 168px;
    padding: 34px 35px 30px 98px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    transition: 160ms ease;
}

.principle-cards article:hover {
    border-color: #b8c9e2;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.principle-number {
    position: absolute;
    top: 35px;
    left: 35px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 900;
}

.principle-cards h3 {
    margin: 0 0 8px;
    font-size: 21px;
    letter-spacing: -0.03em;
}

.principle-cards p {
    margin: 0;
    color: var(--ink-soft);
}

.faq-section {
    border-top: 1px solid var(--line);
    background: var(--surface-soft);
}

.faq-layout {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 100px;
}

.faq-layout > div:first-child > p:not(.eyebrow) {
    color: var(--ink-soft);
}

.faq-list {
    border-top: 1px solid var(--line-strong);
}

.faq-list details {
    border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
    position: relative;
    padding: 23px 46px 23px 0;
    font-size: 16px;
    font-weight: 800;
    list-style: none;
    cursor: pointer;
}

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

.faq-list summary::after {
    position: absolute;
    top: 22px;
    right: 6px;
    color: var(--blue);
    content: "+";
    font-size: 22px;
    font-weight: 400;
}

.faq-list details[open] summary::after {
    content: "−";
}

.faq-list details p {
    padding: 0 42px 22px 0;
    margin: 0;
    color: var(--ink-soft);
}

.closing-cta {
    padding: 78px 0;
    color: #fff;
    background:
        radial-gradient(circle at 80% 20%, rgba(67, 126, 255, 0.5), transparent 25%),
        var(--navy);
}

.closing-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.closing-inner > div > span {
    color: #8db4ff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.closing-inner h2 {
    margin: 10px 0 0;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.16;
    letter-spacing: -0.05em;
}

.site-footer {
    padding: 69px 0 25px;
    border-top: 1px solid var(--line);
    background: #fff;
}

.footer-grid {
    display: grid;
    padding-bottom: 54px;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 50px;
}

.footer-brand p {
    max-width: 340px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.brand-footer .brand-mark {
    width: 34px;
    height: 34px;
}

.footer-grid > div:not(.footer-brand) {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-grid h2 {
    margin: 0 0 8px;
    font-size: 13px;
}

.footer-grid > div:not(.footer-brand) a {
    color: var(--muted);
    font-size: 12px;
}

.footer-grid > div:not(.footer-brand) a:hover {
    color: var(--blue);
}

.footer-bottom {
    display: flex;
    padding-top: 21px;
    justify-content: space-between;
    color: #8993a7;
    border-top: 1px solid var(--line);
    font-size: 11px;
}

/* Inner pages */
.page-hero {
    padding: 100px 0 90px;
    text-align: center;
    background:
        radial-gradient(circle at 50% 0, rgba(37, 99, 235, 0.08), transparent 42%),
        var(--surface-soft);
}

.page-hero.compact {
    padding: 78px 0 68px;
}

.page-hero .eyebrow {
    justify-content: center;
}

.page-hero h1 {
    margin: 0;
    font-size: clamp(45px, 6vw, 68px);
    line-height: 1.1;
    letter-spacing: -0.06em;
}

.page-hero.compact h1 {
    font-size: clamp(40px, 5vw, 58px);
}

.page-hero > .container > p:not(.eyebrow) {
    max-width: 690px;
    margin: 24px auto 0;
    color: var(--ink-soft);
    font-size: 17px;
}

.content-page {
    padding: 90px 0 120px;
}

.content-grid {
    display: grid;
    grid-template-columns: 230px minmax(0, 760px);
    gap: 92px;
    justify-content: center;
}

.content-aside {
    position: sticky;
    top: 115px;
    display: flex;
    height: fit-content;
    padding-left: 18px;
    flex-direction: column;
    border-left: 3px solid var(--blue);
}

.content-aside span {
    color: var(--blue);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.content-aside strong {
    margin-top: 5px;
    font-size: 17px;
}

.content-aside small {
    margin-top: 8px;
    color: var(--muted);
    font-size: 11px;
}

.prose h2 {
    margin: 48px 0 14px;
    font-size: 27px;
    letter-spacing: -0.04em;
}

.prose h2:first-child {
    margin-top: 0;
}

.prose p {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.9;
}

.prose a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose-callout {
    padding: 27px 30px;
    margin-top: 40px;
    border: 1px solid #cfe0fb;
    border-radius: var(--radius-md);
    background: var(--surface-blue);
}

.prose-callout p {
    margin: 7px 0 0;
}

.policy-prose h2 {
    font-size: 22px;
}

.contact-section {
    padding: 80px 0 120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
}

.contact-guide {
    padding: 37px;
    border-radius: var(--radius-lg);
    background: var(--navy);
    color: #fff;
}

.contact-guide h2 {
    margin: 0 0 30px;
    font-size: 25px;
}

.contact-guide ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.contact-guide li {
    display: grid;
    padding: 25px 0;
    grid-template-columns: 38px 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-guide li > span {
    color: #79a6ff;
    font-size: 11px;
    font-weight: 850;
}

.contact-guide strong {
    font-size: 15px;
}

.contact-guide p {
    margin: 7px 0 0;
    color: #afbdd5;
    font-size: 13px;
}

.contact-form {
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.form-row.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.field {
    margin-bottom: 20px;
}

.field label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 800;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: #fff;
    outline: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.field textarea {
    resize: vertical;
}

.checkbox-field {
    display: flex;
    margin: 4px 0 22px;
    align-items: flex-start;
    gap: 9px;
    color: var(--ink-soft);
    font-size: 12px;
}

.checkbox-field input {
    margin-top: 4px;
    accent-color: var(--blue);
}

.errorlist,
.form-errors {
    padding: 0;
    margin: 7px 0;
    color: var(--danger);
    font-size: 12px;
    list-style: none;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.tool-search {
    display: flex;
    width: min(100%, 680px);
    min-height: 58px;
    padding: 0 17px;
    margin: 37px auto 0;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line-strong);
    border-radius: 15px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.tool-search > span {
    color: var(--blue);
    font-size: 23px;
}

.tool-search input {
    width: 100%;
    border: 0;
    background: transparent;
    outline: none;
}

.tool-search kbd,
.keyboard-hint kbd {
    padding: 2px 7px;
    color: var(--muted);
    border: 1px solid var(--line);
    border-bottom-width: 2px;
    border-radius: 6px;
    background: #fff;
    font-size: 10px;
}

.tool-library {
    min-height: 440px;
}

.tool-category + .tool-category {
    margin-top: 70px;
}

.category-heading {
    display: flex;
    margin-bottom: 20px;
    align-items: end;
    justify-content: space-between;
}

.category-heading span {
    color: var(--blue);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.category-heading h2 {
    margin: 3px 0 0;
    font-size: 29px;
}

.category-heading p {
    color: var(--muted);
    font-size: 12px;
}

.tool-card[hidden],
.tool-category[hidden] {
    display: none;
}

.tool-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.tool-card {
    position: relative;
    display: grid;
    min-height: 145px;
    padding: 27px;
    align-items: start;
    grid-template-columns: auto 1fr auto;
    gap: 17px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
    transition: 160ms ease;
}

.tool-card:hover {
    border-color: #afc3e1;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.tool-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
    letter-spacing: -0.025em;
}

.tool-card h3 a::after {
    position: absolute;
    inset: 0;
    content: "";
}

.tool-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.usage-badge {
    display: inline-flex;
    padding: 4px 8px;
    margin-top: 11px;
    color: var(--blue);
    border: 1px solid #cfe0fb;
    border-radius: 7px;
    background: var(--surface-blue);
    font-size: 10px;
    font-weight: 800;
}

.tool-card-arrow {
    color: var(--blue);
    font-size: 19px;
}

.empty-search {
    padding: 60px 0;
    color: var(--muted);
    text-align: center;
}

.error-page {
    min-height: 620px;
    padding: 130px 0;
    text-align: center;
    background: var(--surface-soft);
}

.error-page span {
    color: var(--blue);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.2em;
}

.error-page h1 {
    margin: 15px 0 10px;
    font-size: 42px;
    letter-spacing: -0.05em;
}

.error-page p {
    margin: 0 0 27px;
    color: var(--muted);
}

/* Tool workspace */
.tool-page-header {
    padding: 36px 0 30px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 11px;
}

.breadcrumbs a:hover {
    color: var(--blue);
}

.tool-title-row {
    display: flex;
    margin-top: 30px;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
}

.tool-title-row h1 {
    margin: 7px 0 6px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.1;
    letter-spacing: -0.06em;
}

.tool-title-row p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 16px;
}

.tool-trust-badges {
    display: flex;
    padding-bottom: 5px;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 7px;
}

.tool-trust-badges span {
    padding: 7px 10px;
    color: #38517d;
    border: 1px solid #cfe0fb;
    border-radius: 8px;
    background: var(--surface-blue);
    font-size: 10px;
    font-weight: 800;
}

.tool-trust-badges i {
    color: var(--blue);
    font-style: normal;
}

.tool-workspace-section {
    padding: 35px 0 50px;
    background: var(--surface-soft);
    scroll-margin-top: 76px;
    outline: none;
}

.tool-workspace {
    overflow: hidden;
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.workspace-toolbar {
    display: flex;
    min-height: 66px;
    padding: 12px 18px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.indent-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.indent-control label {
    font-size: 12px;
    font-weight: 800;
}

.indent-control select {
    padding: 8px 31px 8px 10px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: #fff;
    font-size: 11px;
}

.workspace-actions {
    display: flex;
    gap: 6px;
}

.subtle-button,
.copy-button {
    padding: 8px 11px;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    font-size: 11px;
    font-weight: 750;
}

.subtle-button:hover,
.copy-button:hover:not(:disabled) {
    color: var(--blue);
    border-color: #a9c2e8;
    background: var(--surface-blue);
}

.copy-button:disabled {
    cursor: not-allowed;
    opacity: 0.48;
}

.editor-grid {
    display: grid;
    padding: 20px;
    grid-template-columns: 1fr 38px 1fr;
}

.editor-panel {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fbfcfe;
}

.editor-heading {
    display: flex;
    min-height: 48px;
    padding: 0 14px;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.editor-heading > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.editor-heading strong {
    font-size: 12px;
}

.editor-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.input-dot {
    background: var(--blue);
}

.output-dot {
    background: var(--mint);
}

.character-count {
    color: var(--muted);
    font-size: 10px;
}

.editor-panel textarea {
    display: block;
    width: 100%;
    min-height: 330px;
    padding: 18px;
    resize: vertical;
    color: #243655;
    border: 0;
    background: #fbfcfe;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    line-height: 1.75;
    outline: none;
    tab-size: 2;
}

.editor-panel textarea:focus {
    box-shadow: inset 0 0 0 2px rgba(37, 99, 235, 0.25);
}

.editor-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8da0bd;
}

.workspace-footer {
    display: flex;
    min-height: 80px;
    padding: 15px 20px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
}

.validation-status {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 12px;
}

.status-icon {
    display: inline-flex;
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf1f7;
    font-size: 11px;
    font-weight: 900;
}

.validation-status.success {
    color: #087456;
}

.validation-status.success .status-icon {
    background: #ddf8ee;
}

.validation-status.error {
    color: var(--danger);
}

.validation-status.error .status-icon {
    background: #fde7e7;
}

.primary-tool-actions {
    display: flex;
    gap: 8px;
}

.primary-tool-actions .button {
    min-height: 43px;
    font-size: 12px;
}

.keyboard-hint {
    padding: 0 20px 16px;
    margin: 0;
    color: var(--muted);
    font-size: 10px;
    text-align: right;
}

.tool-guide {
    padding: 90px 0 120px;
}

.guide-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 72px;
}

.guide-sidebar {
    position: sticky;
    top: 110px;
    display: flex;
    height: fit-content;
    flex-direction: column;
    gap: 13px;
}

.guide-sidebar-card,
.privacy-mini-card {
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
}

.guide-sidebar-card {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.guide-sidebar-card strong {
    padding-bottom: 11px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}

.guide-sidebar-card a {
    color: var(--muted);
    font-size: 11px;
}

.guide-sidebar-card a:hover {
    color: var(--blue);
}

.privacy-mini-card {
    background: #effbf7;
    border-color: #bce8d9;
}

.privacy-mini-card > span {
    display: inline-flex;
    width: 32px;
    height: 32px;
    margin-bottom: 11px;
    align-items: center;
    justify-content: center;
    color: #087456;
    border-radius: 9px;
    background: #d9f6ec;
}

.privacy-mini-card strong {
    display: block;
    font-size: 12px;
}

.privacy-mini-card p {
    margin: 7px 0 12px;
    color: #477064;
    font-size: 10px;
}

.privacy-mini-card a {
    color: #087456;
    font-size: 10px;
    font-weight: 800;
}

.image-exact-size {
    margin: 0;
    padding: 0 18px 16px;
    color: var(--ink-soft);
    font-size: 12px;
    text-align: right;
}

.guide-jump {
    display: inline-block;
    margin-top: 14px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 700;
}

.workspace-limit-note {
    margin: 0;
    padding: 0 24px 18px;
    color: var(--ink-soft);
    font-size: 13px;
}

.workspace-limit-note a,
.practical-guide a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.practical-guide {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.practical-guide h2 {
    margin: 8px 0 20px;
    color: var(--ink);
    font-size: clamp(25px, 3vw, 32px);
    line-height: 1.4;
    letter-spacing: -0.04em;
}

.practical-guide h3 {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 21px;
    line-height: 1.5;
}

.practical-guide h4 {
    margin: 12px 0 8px;
    color: var(--ink);
    font-size: 14px;
}

.practical-guide p {
    margin: 12px 0 20px;
}

.practical-guide .section-kicker {
    margin-top: 0;
}

.worked-case {
    padding: 28px;
    margin-top: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-soft);
}

.worked-case > :last-child {
    margin-bottom: 0;
}

.example-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.practical-guide pre {
    padding: 18px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--ink);
    font-size: 14px;
    line-height: 1.7;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.practical-guide code {
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.92em;
}

.practical-guide .subtle-button {
    padding: 10px 14px;
    color: var(--blue);
    border: 1px solid var(--line-strong);
    background: var(--surface);
    white-space: normal;
    text-align: left;
    line-height: 1.5;
}

.guide-table-wrap {
    max-width: 100%;
    margin: 24px 0;
    overflow-x: auto;
}

.guide-table {
    width: 100%;
    min-width: 580px;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
}

.guide-table caption {
    padding: 0 0 12px;
    color: var(--ink-soft);
    text-align: left;
    font-size: 13px;
}

.guide-table th,
.guide-table td {
    padding: 14px;
    vertical-align: top;
    border: 1px solid var(--line);
}

.guide-table thead {
    color: var(--ink);
    background: var(--surface-blue);
}

.guide-table tbody th {
    color: var(--ink);
    font-weight: 600;
}

.guide-checks {
    padding-left: 24px;
}

.guide-checks li {
    padding-left: 6px;
    margin: 16px 0;
}

.practical-guide .guide-note,
.practical-guide .guide-sources {
    padding: 16px 20px;
    border-left: 3px solid var(--line-strong);
    background: var(--surface-soft);
    font-size: 13px;
}

.guide-sample {
    margin: 24px 0;
}

.guide-sample img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-blue);
}

.guide-sample figcaption {
    margin-top: 10px;
    font-size: 13px;
}

.guide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    font-size: 14px;
}

@media (max-width: 640px) {
    .example-pair { grid-template-columns: 1fr; }
    .worked-case { padding: 20px 16px; }
    .practical-guide { font-size: 15px; }
    .workspace-limit-note { padding-right: 16px; padding-left: 16px; }
}

.guide-content {
    min-width: 0;
}

.guide-intro {
    padding-bottom: 67px;
    border-bottom: 1px solid var(--line);
}

.guide-intro h2 {
    margin: 0;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.18;
    letter-spacing: -0.055em;
}

.guide-intro > p:last-child {
    max-width: 760px;
    margin: 23px 0 0;
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.9;
}

.guide-section {
    padding: 70px 0;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 100px;
}

.guide-section-heading {
    display: flex;
    margin-bottom: 28px;
    gap: 18px;
}

.guide-section-heading > span {
    padding-top: 6px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 900;
}

.guide-section-heading h2,
.split-guide h2,
.workflow-section h2 {
    margin: 0;
    font-size: 29px;
    letter-spacing: -0.045em;
}

.guide-section-heading p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.steps-grid {
    display: grid;
    padding: 0;
    margin: 0;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    list-style: none;
    overflow: hidden;
}

.steps-grid li {
    min-height: 180px;
    padding: 25px;
}

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

.steps-grid li > span {
    display: inline-flex;
    width: 25px;
    height: 25px;
    margin-bottom: 26px;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    border-radius: 50%;
    background: var(--surface-blue);
    font-size: 10px;
    font-weight: 900;
}

.steps-grid strong {
    display: block;
    font-size: 13px;
}

.steps-grid p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.split-guide {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
}

.split-guide > div:first-child > p {
    color: var(--ink-soft);
    font-size: 14px;
}

.split-guide h2 {
    margin: 8px 0 15px;
}

.check-list {
    display: flex;
    flex-direction: column;
}

.check-list > div {
    display: grid;
    padding: 20px 0;
    grid-template-columns: 28px 1fr;
    border-top: 1px solid var(--line);
}

.check-list > div > span {
    color: var(--mint);
    font-weight: 900;
}

.check-list p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 13px;
}

.check-list strong {
    display: block;
    color: var(--ink);
}

code {
    padding: 2px 5px;
    color: #315991;
    border-radius: 5px;
    background: var(--surface-blue);
    font-family: Consolas, monospace;
    font-size: 0.9em;
}

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.use-case-grid article {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: #fff;
}

.use-case-grid article > span {
    display: inline-flex;
    min-width: 35px;
    height: 25px;
    padding: 0 7px;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    border-radius: 6px;
    background: var(--surface-blue);
    font-family: Consolas, monospace;
    font-size: 9px;
    font-weight: 900;
}

.use-case-grid h3 {
    margin: 20px 0 7px;
    font-size: 16px;
}

.use-case-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.workflow-section {
    padding-top: 70px;
}

.workflow-section h2 {
    margin: 8px 0 24px;
}

.workflow-row {
    display: grid;
    align-items: center;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 12px;
}

.workflow-row > div {
    display: grid;
    min-height: 100px;
    padding: 19px;
    align-content: center;
    grid-template-columns: 27px 1fr;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.workflow-row > div.active {
    border-color: #a9c6f2;
    background: var(--surface-blue);
}

.workflow-row > div > span {
    grid-row: span 2;
    color: var(--blue);
    font-size: 10px;
    font-weight: 900;
}

.workflow-row strong {
    font-size: 12px;
}

.workflow-row small {
    color: var(--muted);
    font-size: 9px;
}

.workflow-row > i {
    color: #91a0b8;
    font-style: normal;
}

/* Browser utility workspaces */
.utility-options {
    flex-wrap: wrap;
}

.toolbar-label {
    font-size: 12px;
    font-weight: 800;
}

.utility-options > strong {
    padding: 5px 8px;
    color: var(--blue);
    border-radius: 6px;
    background: var(--surface-blue);
    font-size: 10px;
}

.inline-check {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 700;
}

.inline-check input {
    accent-color: var(--blue);
}

.counter-layout {
    display: grid;
    padding: 20px;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 16px;
}

.counter-layout .editor-panel textarea {
    min-height: 375px;
}

.tool-metric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.tool-metric-grid article {
    display: flex;
    min-height: 115px;
    padding: 18px;
    justify-content: center;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface-soft);
}

.tool-metric-grid span {
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
}

.tool-metric-grid strong {
    margin-top: 5px;
    color: var(--blue);
    font-size: 29px;
    line-height: 1.1;
}

.tool-metric-grid small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
}

.timestamp-layout {
    display: grid;
    padding: 20px;
    grid-template-columns: 0.65fr 1.35fr;
    gap: 14px;
}

.timestamp-live-card,
.timestamp-input-card,
.timestamp-results {
    border: 1px solid var(--line);
    border-radius: 14px;
}

.timestamp-live-card {
    display: flex;
    min-height: 168px;
    padding: 25px;
    justify-content: center;
    flex-direction: column;
    color: #ffffff;
    background:
        radial-gradient(circle at 90% 15%, rgba(111, 161, 255, 0.42), transparent 35%),
        var(--navy);
}

.timestamp-live-card span {
    color: #9ebcf8;
    font-size: 10px;
    font-weight: 800;
}

.timestamp-live-card strong {
    margin-top: 8px;
    font-family: Consolas, "Courier New", monospace;
    font-size: clamp(27px, 4vw, 40px);
    line-height: 1.1;
}

.timestamp-live-card small {
    margin-top: 11px;
    color: #aebbd1;
    font-size: 10px;
}

.timestamp-input-card {
    padding: 25px;
    background: var(--surface-soft);
}

.timestamp-input-card > label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 800;
}

.timestamp-input-card > div {
    display: flex;
    gap: 8px;
}

.timestamp-input-card input {
    width: 100%;
    min-width: 0;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--surface);
    outline: none;
}

.timestamp-input-card input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.timestamp-input-card p {
    margin: 11px 0 0;
    color: var(--muted);
    font-size: 10px;
}

.timestamp-results {
    display: grid;
    padding: 10px;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, 1fr);
    background: var(--surface);
}

.timestamp-results article {
    min-width: 0;
    padding: 17px;
}

.timestamp-results article:nth-child(even) {
    border-left: 1px solid var(--line);
}

.timestamp-results article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
}

.timestamp-results .span-2 {
    grid-column: 1 / -1;
    border-left: 0 !important;
}

.timestamp-results span {
    display: block;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
}

.timestamp-results strong {
    display: block;
    margin-top: 5px;
    overflow-wrap: anywhere;
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
}

.uuid-layout {
    padding: 20px;
}

.uuid-intro-card {
    display: grid;
    padding: 24px;
    align-items: center;
    grid-template-columns: auto 1fr auto;
    gap: 17px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-soft);
}

.uuid-intro-card strong {
    font-size: 16px;
}

.uuid-intro-card p {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: 11px;
}

.uuid-output-panel {
    margin-top: 14px;
}

.uuid-output-panel textarea {
    min-height: 285px;
}

.workspace-note {
    color: var(--muted);
    font-size: 10px;
}

.toolbar-note {
    color: var(--muted);
    font-size: 10px;
}

.image-compressor-layout {
    padding: 20px;
}

.image-drop-zone {
    display: flex;
    min-height: 350px;
    padding: 42px 24px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 2px dashed #b9c9df;
    border-radius: 16px;
    background:
        radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08), transparent 42%),
        var(--surface-soft);
    cursor: pointer;
    text-align: center;
    transition: 160ms ease;
}

.image-drop-zone:hover,
.image-drop-zone.is-dragging {
    border-color: var(--blue);
    background-color: var(--surface-blue);
    box-shadow: inset 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.image-drop-zone[hidden],
.image-editor[hidden],
.image-result-card img[hidden],
.image-saving-badge[hidden] {
    display: none;
}

.image-drop-icon {
    display: inline-flex;
    width: 66px;
    height: 66px;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    border: 1px solid #c7daf7;
    border-radius: 20px;
    background: var(--surface-blue);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.image-drop-zone > strong {
    margin-top: 20px;
    font-size: 19px;
}

.image-drop-zone > p {
    margin: 7px 0 20px;
    color: var(--muted);
    font-size: 11px;
}

.image-drop-zone .button {
    pointer-events: none;
}

.image-editor {
    display: grid;
    gap: 14px;
}

.image-settings-card,
.image-preview-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

.image-settings-card {
    padding: 21px;
    background: var(--surface-soft);
}

.image-settings-heading {
    display: flex;
    margin-bottom: 18px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.image-settings-heading > div {
    min-width: 0;
}

.image-settings-heading span {
    display: block;
    color: var(--blue);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.image-settings-heading strong {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.image-settings-heading small {
    flex: 0 0 auto;
    color: var(--muted);
    font-size: 10px;
}

.image-control-grid {
    display: grid;
    align-items: end;
    grid-template-columns: 0.8fr 0.8fr 1.5fr 1.1fr;
    gap: 11px;
}

.image-control-grid > label > span:first-child {
    display: flex;
    min-height: 19px;
    margin-bottom: 6px;
    align-items: center;
    justify-content: space-between;
    color: var(--ink-soft);
    font-size: 10px;
    font-weight: 800;
}

.image-control-grid input[type="number"],
.image-control-grid select {
    width: 100%;
    min-height: 42px;
    padding: 0 11px;
    color: var(--ink);
    border: 1px solid var(--line-strong);
    border-radius: 9px;
    background: var(--surface);
    outline: none;
}

.image-control-grid input[type="number"]:focus,
.image-control-grid select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.number-field {
    position: relative;
    display: block;
}

.number-field input {
    padding-right: 34px !important;
}

.number-field i {
    position: absolute;
    top: 50%;
    right: 11px;
    color: var(--muted);
    font-size: 9px;
    font-style: normal;
    transform: translateY(-50%);
}

.image-quality-control output {
    color: var(--blue);
    font-size: 10px;
}

.image-quality-control input[type="range"] {
    width: 100%;
    height: 42px;
    accent-color: var(--blue);
}

.image-quality-control.is-disabled {
    opacity: 0.48;
}

.image-ratio-lock {
    margin-top: 13px;
}

.image-settings-note {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 9px;
}

.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.image-preview-card {
    min-width: 0;
}

.image-preview-stage {
    display: flex;
    min-height: 320px;
    padding: 16px;
    align-items: center;
    justify-content: center;
    background-color: #f4f7fb;
    background-image:
        linear-gradient(45deg, rgba(142, 159, 184, 0.12) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(142, 159, 184, 0.12) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(142, 159, 184, 0.12) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(142, 159, 184, 0.12) 75%);
    background-position: 0 0, 0 8px, 8px -8px, -8px 0;
    background-size: 16px 16px;
}

.image-preview-stage img {
    display: block;
    max-width: 100%;
    max-height: 370px;
    object-fit: contain;
    box-shadow: 0 8px 28px rgba(31, 49, 79, 0.16);
}

.image-preview-stage.image-result-empty {
    background-image: none;
}

.image-preview-stage > p {
    max-width: 240px;
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.7;
    text-align: center;
}

.image-preview-meta {
    display: flex;
    min-height: 48px;
    padding: 10px 14px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.image-preview-meta span {
    color: var(--muted);
    font-size: 9px;
}

.image-preview-meta strong {
    margin-left: 4px;
    color: var(--ink-soft);
    font-size: 10px;
}

.image-saving-badge {
    padding: 5px 7px;
    color: #087456;
    border-radius: 7px;
    background: #ddf8ee;
    font-size: 9px;
    font-weight: 850;
}

.image-saving-badge.is-increase {
    color: #9a4f05;
    background: #fff0d8;
}

.image-compressor-layout.is-processing,
.image-compressor-layout.is-processing input,
.image-compressor-layout.is-processing select {
    cursor: progress;
}

.workspace-mode-tabs {
    display: inline-flex;
    padding: 3px;
    gap: 2px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface-soft);
}

.workspace-mode-tabs button {
    padding: 7px 10px;
    color: var(--muted);
    border: 0;
    border-radius: 6px;
    background: transparent;
    font-size: 10px;
    font-weight: 800;
}

.workspace-mode-tabs button:hover {
    color: var(--blue);
}

.workspace-mode-tabs button.is-active {
    color: #ffffff;
    background: var(--blue);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.date-calculator-layout {
    padding: 20px;
}

.date-calculator-panel {
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
    gap: 14px;
}

.date-calculator-panel[hidden] {
    display: none;
}

.date-form-card,
.date-result-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 15px;
}

.date-form-card {
    min-height: 390px;
    padding: 29px;
    background: var(--surface-soft);
}

.date-card-kicker {
    color: var(--blue);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.date-form-card h2 {
    margin: 8px 0 0;
    font-size: 22px;
    line-height: 1.35;
}

.date-form-card > p {
    margin: 9px 0 25px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.7;
}

.date-field {
    display: block;
}

.date-field > span:first-child {
    display: block;
    margin-bottom: 7px;
    color: var(--ink-soft);
    font-size: 10px;
    font-weight: 800;
}

.date-field input[type="date"],
.date-field input[type="number"],
.date-field select {
    width: 100%;
    min-height: 48px;
    padding: 0 13px;
    color: var(--ink);
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--surface);
    font-size: 12px;
    outline: none;
}

.date-field input:focus,
.date-field select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.date-quick-actions {
    display: flex;
    margin-top: 11px;
    gap: 6px;
}

.date-quick-actions button {
    padding: 7px 10px;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    font-size: 9px;
    font-weight: 750;
}

.date-quick-actions button:hover {
    color: var(--blue);
    border-color: #a9c2e8;
}

.date-field-row,
.date-offset-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.date-include-start {
    margin-top: 15px;
}

.date-offset-row .number-field input {
    padding-right: 34px;
}

.date-result-card {
    display: grid;
    min-height: 390px;
    grid-template-rows: 1fr auto auto;
    background: var(--surface);
}

.date-result-hero {
    display: flex;
    min-height: 240px;
    padding: 30px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #ffffff;
    background:
        radial-gradient(circle at 85% 15%, rgba(111, 161, 255, 0.42), transparent 32%),
        radial-gradient(circle at 10% 90%, rgba(13, 159, 122, 0.2), transparent 28%),
        var(--navy);
    text-align: center;
}

.date-result-hero > span {
    color: #9ebcf8;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.date-result-hero > strong {
    margin-top: 9px;
    font-size: clamp(45px, 6vw, 70px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.date-result-hero > strong.date-result-value {
    font-size: clamp(27px, 4vw, 43px);
}

.date-result-hero > p {
    margin: 13px 0 0;
    color: #b5c5df;
    font-size: 10px;
}

.date-result-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--line);
}

.date-result-metrics article {
    min-width: 0;
    padding: 17px 13px;
    text-align: center;
}

.date-result-metrics article + article {
    border-left: 1px solid var(--line);
}

.date-result-metrics span {
    display: block;
    color: var(--muted);
    font-size: 8px;
    font-weight: 800;
}

.date-result-metrics strong {
    display: block;
    margin-top: 5px;
    overflow-wrap: anywhere;
    color: var(--ink-soft);
    font-size: 10px;
    line-height: 1.45;
}

.date-result-note {
    padding: 10px 14px;
    margin: 0;
    color: var(--muted);
    border-top: 1px solid var(--line);
    background: var(--surface-soft);
    font-size: 8px;
    text-align: center;
}

.csv-converter-layout {
    padding: 20px;
}

.csv-options-bar {
    display: flex;
    min-height: 66px;
    padding: 12px 15px;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px 18px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface-soft);
}

.csv-options-bar > label:not(.inline-check) {
    display: flex;
    align-items: center;
    gap: 8px;
}

.csv-options-bar > label > span {
    color: var(--ink-soft);
    font-size: 10px;
    font-weight: 800;
}

.csv-options-bar select {
    min-height: 36px;
    padding: 0 29px 0 10px;
    color: var(--ink);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--surface);
    font-size: 10px;
}

.csv-options-bar [hidden] {
    display: none !important;
}

.csv-editor-grid {
    padding: 14px 0 0;
}

.csv-editor-grid .editor-panel textarea {
    min-height: 320px;
}

.csv-preview-panel {
    margin-top: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface);
}

.csv-preview-panel[hidden] {
    display: none;
}

.csv-preview-heading {
    display: flex;
    min-height: 48px;
    padding: 0 14px;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid var(--line);
}

.csv-preview-heading > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.csv-preview-heading strong {
    font-size: 11px;
}

.csv-preview-heading > span {
    color: var(--muted);
    font-size: 9px;
}

.csv-preview-scroll {
    max-height: 360px;
    overflow: auto;
}

.csv-preview-scroll table {
    width: 100%;
    min-width: 580px;
    border-collapse: collapse;
    font-size: 10px;
    white-space: nowrap;
}

.csv-preview-scroll th,
.csv-preview-scroll td {
    max-width: 260px;
    padding: 11px 13px;
    overflow: hidden;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: left;
    text-overflow: ellipsis;
}

.csv-preview-scroll th {
    position: sticky;
    z-index: 1;
    top: 0;
    color: var(--blue);
    background: var(--surface-blue);
    font-weight: 850;
}

.csv-preview-scroll tr:last-child td {
    border-bottom: 0;
}

.csv-preview-scroll th:last-child,
.csv-preview-scroll td:last-child {
    border-right: 0;
}

.csv-preview-panel > p {
    padding: 10px 14px;
    margin: 0;
    color: var(--muted);
    border-top: 1px solid var(--line);
    background: var(--surface-soft);
    font-size: 8px;
}

.password-generator-layout {
    display: grid;
    padding: 20px;
    grid-template-columns: minmax(310px, 0.82fr) minmax(0, 1.18fr);
    gap: 14px;
}

.password-settings-card,
.password-result-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

.password-settings-card {
    padding: 20px;
    background: var(--surface-soft);
}

.password-result-card {
    padding: 20px;
}

.password-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.password-section-heading > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.password-section-heading span {
    color: var(--muted);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.password-section-heading strong {
    font-size: 13px;
}

.password-security-badge {
    padding: 6px 8px;
    color: #0d8f67 !important;
    border: 1px solid rgba(13, 143, 103, 0.22);
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.1);
    letter-spacing: 0.05em !important;
}

.password-length-control {
    padding: 17px 0;
    margin-top: 14px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.password-length-control > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.password-length-control label,
.password-character-options legend,
.password-quantity-control > span {
    color: var(--ink-soft);
    font-size: 10px;
    font-weight: 850;
}

.password-length-control output {
    color: var(--blue);
    font-size: 15px;
    font-weight: 900;
}

.password-range-row {
    display: grid;
    margin-top: 11px;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) 66px;
    gap: 10px;
}

.password-range-row input[type="range"] {
    width: 100%;
    accent-color: var(--blue);
}

.password-range-row input[type="number"],
.password-quantity-control select {
    min-height: 38px;
    padding: 0 9px;
    color: var(--ink);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--surface);
    font-size: 11px;
    font-weight: 750;
}

.password-character-options {
    padding: 0;
    margin: 17px 0 0;
    border: 0;
}

.password-option-grid {
    display: grid;
    margin-top: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.password-option-grid > label {
    display: flex;
    min-width: 0;
    padding: 10px;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface);
}

.password-option-grid input,
.password-detail-options input {
    flex: 0 0 auto;
    accent-color: var(--blue);
}

.password-option-grid span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 2px;
}

.password-option-grid strong {
    font-size: 10px;
}

.password-option-grid small {
    color: var(--muted);
    font-family: Consolas, "Courier New", monospace;
    font-size: 8px;
}

.password-detail-options {
    display: flex;
    padding: 15px 0;
    flex-direction: column;
    gap: 10px;
    border-bottom: 1px solid var(--line);
}

.password-detail-options .inline-check {
    align-items: flex-start;
    line-height: 1.35;
}

.password-detail-options small {
    color: var(--muted);
    font-family: Consolas, "Courier New", monospace;
    font-size: 8px;
}

.password-quantity-control {
    display: flex;
    margin-top: 15px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.password-quantity-control select {
    min-width: 92px;
}

.password-result-card textarea {
    width: 100%;
    min-height: 270px;
    padding: 16px;
    margin-top: 14px;
    resize: vertical;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface-soft);
    outline: none;
    font-family: Consolas, "Courier New", monospace;
    font-size: 13px;
    line-height: 1.8;
    overflow-wrap: normal;
    white-space: pre;
}

.password-result-card textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.password-strength-summary {
    padding: 14px;
    margin-top: 12px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface-soft);
}

.password-strength-heading,
.password-metric-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.password-strength-heading > span,
.password-metric-row > span {
    color: var(--muted);
    font-size: 9px;
    font-weight: 750;
}

.password-strength-heading strong {
    color: var(--blue);
    font-size: 11px;
}

.password-strength-meter {
    height: 7px;
    margin: 10px 0;
    overflow: hidden;
    border-radius: 99px;
    background: var(--line);
}

.password-strength-meter > span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    transition: width 180ms ease, background-color 180ms ease;
}

.password-strength-meter[data-level="1"] > span {
    width: 25%;
    background: #ef4444;
}

.password-strength-meter[data-level="2"] > span {
    width: 50%;
    background: #f59e0b;
}

.password-strength-meter[data-level="3"] > span {
    width: 75%;
    background: #3b82f6;
}

.password-strength-meter[data-level="4"] > span {
    width: 100%;
    background: #10b981;
}

.password-metric-row strong {
    margin-left: 3px;
    color: var(--ink-soft);
    font-size: 9px;
}

.password-result-note {
    margin: 11px 2px 0;
    color: var(--muted);
    font-size: 8px;
    line-height: 1.55;
}

.color-converter-layout {
    display: grid;
    padding: 20px;
    grid-template-columns: minmax(310px, 0.8fr) minmax(0, 1.2fr);
    gap: 14px;
}

.color-editor-card,
.color-results-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

.color-editor-card {
    background: var(--surface-soft);
}

.color-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.color-section-heading > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.color-section-heading > div > span {
    color: var(--muted);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.color-section-heading > div > strong {
    font-size: 13px;
}

.color-picker-control {
    display: inline-flex;
    min-height: 34px;
    padding: 4px 9px 4px 5px;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface);
}

.color-picker-control input,
.contrast-background-inputs input[type="color"] {
    width: 28px;
    height: 25px;
    padding: 0;
    cursor: pointer;
    border: 0;
    border-radius: 6px;
    background: transparent;
}

.color-picker-control span {
    color: var(--ink-soft);
    font-size: 9px;
    font-weight: 800;
}

.color-preview-swatch {
    display: flex;
    min-height: 145px;
    padding: 20px;
    margin-top: 14px;
    justify-content: flex-end;
    flex-direction: column;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
    transition: background-color 150ms ease, color 150ms ease;
}

.color-preview-swatch span {
    font-size: 8px;
    font-weight: 800;
    opacity: 0.72;
}

.color-preview-swatch strong {
    margin-top: 3px;
    font-family: Consolas, "Courier New", monospace;
    font-size: 25px;
}

.color-hex-control {
    display: flex;
    margin-top: 14px;
    align-items: center;
    gap: 10px;
}

.color-hex-control > span,
.color-channel-section legend {
    color: var(--ink-soft);
    font-size: 9px;
    font-weight: 850;
}

.color-hex-control input,
.color-channel-grid input,
.contrast-background-inputs input[type="text"] {
    width: 100%;
    min-width: 0;
    min-height: 39px;
    padding: 0 10px;
    color: var(--ink);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--surface);
    outline: none;
    font-family: Consolas, "Courier New", monospace;
    font-size: 11px;
    font-weight: 750;
}

.color-hex-control input:focus,
.color-channel-grid input:focus,
.contrast-background-inputs input[type="text"]:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.color-channel-section {
    padding: 14px 0 0;
    margin: 14px 0 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.color-channel-grid {
    display: grid;
    margin-top: 9px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.color-channel-grid label {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 850;
}

.color-channel-grid label > span {
    position: relative;
    min-width: 0;
}

.color-channel-grid label > span i {
    position: absolute;
    top: 50%;
    right: 8px;
    color: var(--muted);
    font-size: 8px;
    font-style: normal;
    transform: translateY(-50%);
}

.hsl-grid input {
    padding-right: 22px;
}

.color-code-list {
    display: grid;
    margin-top: 14px;
    gap: 8px;
}

.color-code-list article {
    display: grid;
    min-width: 0;
    min-height: 49px;
    padding: 7px 8px 7px 12px;
    align-items: center;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface-soft);
}

.color-code-list article > span {
    color: var(--muted);
    font-size: 8px;
    font-weight: 850;
}

.color-code-list code {
    min-width: 0;
    overflow: hidden;
    color: var(--ink-soft);
    font-family: Consolas, "Courier New", monospace;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.color-contrast-card {
    padding: 15px;
    margin-top: 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-soft);
}

.color-contrast-card .subtle-button {
    min-height: 32px;
    padding: 0 9px;
}

.contrast-color-row {
    display: grid;
    margin-top: 13px;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 9px;
}

.contrast-color-row > div,
.contrast-color-row > label {
    display: flex;
    min-width: 0;
    padding: 10px;
    flex-direction: column;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface);
}

.contrast-color-row > div > span,
.contrast-color-row > label > span:first-child {
    color: var(--muted);
    font-size: 8px;
    font-weight: 800;
}

.contrast-color-row code {
    color: var(--ink-soft);
    font-family: Consolas, "Courier New", monospace;
    font-size: 11px;
}

.contrast-background-inputs {
    display: grid;
    min-width: 0;
    align-items: center;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 7px;
}

.contrast-background-inputs input[type="text"] {
    min-height: 29px;
    padding-inline: 7px;
    font-size: 9px;
}

.contrast-preview {
    display: flex;
    min-height: 82px;
    padding: 15px;
    margin-top: 9px;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 9px;
    transition: color 150ms ease, background-color 150ms ease;
}

.contrast-preview strong {
    font-size: 13px;
}

.contrast-preview span {
    font-size: 8px;
    opacity: 0.84;
}

.contrast-score-row {
    display: grid;
    margin-top: 9px;
    grid-template-columns: 0.38fr 1fr;
    gap: 9px;
}

.contrast-score-row > div:first-child {
    display: flex;
    padding: 11px;
    justify-content: center;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface);
}

.contrast-score-row > div:first-child span,
.contrast-standard-grid article > span {
    color: var(--muted);
    font-size: 8px;
    font-weight: 800;
}

.contrast-score-row > div:first-child strong {
    margin-top: 3px;
    color: var(--blue);
    font-size: 18px;
}

.contrast-standard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.contrast-standard-grid article {
    display: flex;
    min-width: 0;
    padding: 10px;
    justify-content: center;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface);
}

.contrast-standard-grid strong,
.contrast-standard-grid small {
    margin-top: 3px;
    font-size: 8px;
    font-weight: 850;
}

.contrast-standard-grid .is-pass {
    color: #0d8f67;
}

.contrast-standard-grid .is-fail {
    color: #d14343;
}

.hash-generator-layout {
    display: grid;
    padding: 20px;
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
    gap: 14px;
}

.hash-input-card,
.hash-result-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

.hash-input-card {
    background: var(--surface-soft);
}

.hash-section-heading {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.hash-section-heading > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

.hash-section-heading > div > span,
.hash-section-heading > span {
    color: var(--muted);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: 0.06em;
}

.hash-section-heading > div > strong {
    font-size: 13px;
}

.hash-section-heading > div > strong span {
    color: var(--blue);
}

.hash-input-card [role="tabpanel"][hidden] {
    display: none;
}

.hash-input-card textarea {
    width: 100%;
    min-height: 354px;
    padding: 16px;
    margin-top: 14px;
    resize: vertical;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface);
    outline: none;
    font-family: Consolas, "Courier New", monospace;
    font-size: 12px;
    line-height: 1.7;
}

.hash-input-card textarea:focus,
.hash-verify-card input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.hash-file-drop {
    display: flex;
    min-height: 354px;
    padding: 28px;
    margin-top: 14px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    border: 1px dashed var(--line-strong);
    border-radius: 11px;
    background: var(--surface);
    text-align: center;
    transition: 150ms ease;
}

.hash-file-drop[hidden] {
    display: none;
}

.hash-file-drop:hover,
.hash-file-drop.is-dragging {
    border-color: var(--blue);
    background: var(--surface-blue);
}

.hash-file-drop > span:first-child {
    display: inline-flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    border-radius: 16px;
    background: var(--surface-blue);
    font-size: 10px;
    font-weight: 900;
}

.hash-file-drop strong {
    margin-top: 15px;
    font-size: 13px;
}

.hash-file-drop p {
    margin: 7px 0 16px;
    color: var(--muted);
    font-size: 9px;
}

.hash-file-meta {
    display: grid;
    min-height: 160px;
    padding: 20px;
    margin-top: 14px;
    align-items: center;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 13px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface);
}

.hash-file-meta[hidden] {
    display: none;
}

.hash-file-meta > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.hash-file-meta > div strong {
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hash-file-meta > div small {
    color: var(--muted);
    font-size: 8px;
}

.hash-output-list {
    display: grid;
    margin-top: 14px;
    gap: 10px;
}

.hash-output-list article {
    padding: 11px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-soft);
}

.hash-output-list article > div {
    display: flex;
    min-height: 28px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.hash-output-list article > div > span {
    color: var(--muted);
    font-size: 8px;
    font-weight: 850;
}

.hash-output-list textarea {
    width: 100%;
    min-height: 78px;
    padding: 11px;
    margin-top: 6px;
    resize: none;
    color: var(--ink-soft);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    outline: none;
    font-family: Consolas, "Courier New", monospace;
    font-size: 9px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.hash-output-list textarea:focus {
    border-color: var(--blue);
}

.hash-verify-card {
    padding: 13px;
    margin-top: 11px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface-soft);
}

.hash-verify-card > label {
    color: var(--ink-soft);
    font-size: 9px;
    font-weight: 850;
}

.hash-verify-card > div {
    display: grid;
    margin-top: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.hash-verify-card input {
    width: 100%;
    min-width: 0;
    min-height: 39px;
    padding: 0 10px;
    color: var(--ink);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: var(--surface);
    outline: none;
    font-family: Consolas, "Courier New", monospace;
    font-size: 9px;
}

.hash-verify-status {
    display: inline-flex;
    min-height: 39px;
    padding: 0 10px;
    align-items: center;
    border-radius: 8px;
    font-size: 8px;
    font-weight: 850;
    white-space: nowrap;
}

.hash-verify-status.idle {
    color: var(--muted);
    background: var(--surface);
}

.hash-verify-status.match {
    color: #0d8f67;
    background: rgba(16, 185, 129, 0.1);
}

.hash-verify-status.mismatch,
.hash-verify-status.invalid {
    color: #d14343;
    background: rgba(239, 68, 68, 0.09);
}

.hash-result-note {
    margin: 11px 2px 0;
    color: var(--muted);
    font-size: 8px;
    line-height: 1.55;
}

.related-tools-section {
    padding-top: 70px;
}

.related-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
}

.related-tools-grid > a {
    display: grid;
    min-width: 0;
    padding: 20px;
    align-items: center;
    grid-template-columns: auto 1fr auto;
    gap: 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    transition: 160ms ease;
}

.related-tools-grid > a:hover {
    border-color: #a9c2e8;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.related-tools-grid .tool-card-icon {
    width: 39px;
    height: 39px;
    border-radius: 10px;
    font-size: 11px;
}

.related-tools-grid strong {
    display: block;
    font-size: 11px;
}

.related-tools-grid p {
    display: -webkit-box;
    margin: 4px 0 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 9px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.related-tools-grid i {
    color: var(--blue);
    font-style: normal;
}

/* Site popup */
.popup-open {
    overflow: hidden;
}

.site-popup[hidden] {
    display: none;
}

.site-popup {
    position: fixed;
    z-index: 500;
    inset: 0;
}

.popup-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(6, 13, 26, 0.58);
    backdrop-filter: blur(3px);
}

.popup-panel {
    position: absolute;
    right: 50%;
    bottom: 50%;
    width: min(calc(100% - 32px), 520px);
    padding: 34px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    transform: translate(50%, 50%);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 16px;
    display: inline-flex;
    width: 34px;
    height: 34px;
    padding: 0;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    border: 0;
    border-radius: 9px;
    background: var(--surface-soft);
    font-size: 23px;
    line-height: 1;
}

.popup-close:hover {
    color: var(--blue);
    background: var(--surface-blue);
}

.popup-badge {
    display: inline-flex;
    padding: 5px 9px;
    margin-bottom: 14px;
    color: var(--blue);
    border-radius: 7px;
    background: var(--surface-blue);
    font-size: 10px;
    font-weight: 850;
}

.popup-panel h2 {
    padding-right: 34px;
    margin: 0;
    font-size: 27px;
    letter-spacing: -0.04em;
}

.popup-body {
    margin-top: 13px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.8;
}

.popup-actions {
    display: flex;
    margin-top: 25px;
    justify-content: flex-end;
    gap: 8px;
}

.site-popup-banner {
    pointer-events: none;
}

.site-popup-banner .popup-panel {
    right: 24px;
    bottom: 24px;
    width: min(calc(100% - 32px), 480px);
    padding: 26px 28px;
    pointer-events: auto;
    transform: none;
}

/* Public dark mode */
[data-theme="dark"] .site-header {
    border-bottom-color: rgba(40, 54, 76, 0.92);
    background: rgba(12, 20, 35, 0.92);
}

[data-theme="dark"] .hero {
    background:
        radial-gradient(circle at 8% 12%, rgba(85, 139, 255, 0.13), transparent 28%),
        radial-gradient(circle at 88% 18%, rgba(245, 196, 81, 0.07), transparent 21%),
        linear-gradient(180deg, #0d1728 0%, #101a2c 100%);
}

[data-theme="dark"] .hero-copy h1 {
    color: var(--ink);
}

[data-theme="dark"] .site-nav .nav-cta {
    color: #ffffff;
    background: var(--blue-dark);
}

[data-theme="dark"] .hero-console,
[data-theme="dark"] .floating-note,
[data-theme="dark"] .trust-band,
[data-theme="dark"] .featured-tool,
[data-theme="dark"] .principle-cards article,
[data-theme="dark"] .site-footer,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .tool-search,
[data-theme="dark"] .tool-card,
[data-theme="dark"] .tool-page-header,
[data-theme="dark"] .tool-workspace,
[data-theme="dark"] .guide-sidebar-card,
[data-theme="dark"] .use-case-grid article {
    background: var(--surface);
}

[data-theme="dark"] .floating-note {
    border-color: var(--line-strong);
}

[data-theme="dark"] .featured-tool-points,
[data-theme="dark"] .editor-panel,
[data-theme="dark"] .editor-panel textarea {
    background: #0e1829;
}

[data-theme="dark"] .button-secondary,
[data-theme="dark"] .mobile-menu-button,
[data-theme="dark"] .console-status a,
[data-theme="dark"] .field input,
[data-theme="dark"] .field select,
[data-theme="dark"] .field textarea,
[data-theme="dark"] .tool-search kbd,
[data-theme="dark"] .keyboard-hint kbd,
[data-theme="dark"] .indent-control select,
[data-theme="dark"] .subtle-button,
[data-theme="dark"] .copy-button,
[data-theme="dark"] .editor-heading {
    color: var(--ink);
    background: var(--surface);
}

[data-theme="dark"] .editor-panel textarea {
    color: #cad8ef;
}

[data-theme="dark"] .tool-trust-badges span {
    color: #aac5f6;
    border-color: #2c4972;
}

[data-theme="dark"] .usage-badge {
    border-color: #2c4972;
}

[data-theme="dark"] .tool-metric-grid article,
[data-theme="dark"] .timestamp-input-card,
[data-theme="dark"] .uuid-intro-card {
    background: #0e1829;
}

[data-theme="dark"] .timestamp-input-card input {
    background: var(--surface);
}

[data-theme="dark"] .privacy-mini-card {
    border-color: #245746;
    background: #102a25;
}

[data-theme="dark"] .privacy-mini-card > span {
    color: var(--mint);
    background: #173c33;
}

[data-theme="dark"] .privacy-mini-card p {
    color: #91baae;
}

[data-theme="dark"] .privacy-mini-card a {
    color: var(--mint);
}

[data-theme="dark"] .message {
    color: #72e6c2;
    border-color: #245f50;
    background: #102a25;
}

[data-theme="dark"] code {
    color: #a9c7ff;
}

@media (max-width: 1100px) {
    .hero-grid {
        gap: 45px;
    }

    .note-local {
        right: -25px;
    }

    .note-ready {
        left: -25px;
    }

    .guide-layout {
        gap: 35px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid li:nth-child(3) {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .steps-grid li:nth-child(4) {
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 860px) {
    .site-header {
        position: relative;
    }

    .header-inner {
        position: relative;
        min-height: 68px;
    }

    .mobile-menu-button {
        display: block;
    }

    .site-nav {
        position: absolute;
        z-index: 10;
        top: 61px;
        right: 0;
        left: 0;
        display: none;
        padding: 15px;
        align-items: stretch;
        flex-direction: column;
        gap: 3px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #fff;
        box-shadow: var(--shadow-lg);
    }

    .language-status {
        padding: 9px 11px;
        margin-top: 3px;
    }

    .theme-toggle {
        width: 100%;
        height: 42px;
        margin: 3px 0;
        justify-content: flex-start;
        padding-left: 11px;
    }

    [data-theme="dark"] .site-nav {
        background: var(--surface);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav > a:not(.nav-cta) {
        padding: 11px;
        border: 0;
    }

    .hero {
        padding: 69px 0 85px;
    }

    .hero-grid,
    .principle-grid,
    .faq-layout,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

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

    .hero-copy .eyebrow,
    .hero-actions,
    .hero-checks {
        justify-content: center;
    }

    .hero-description {
        margin-inline: auto;
    }

    .hero-console {
        width: min(100%, 620px);
        margin-inline: auto;
    }

    .note-local {
        right: -12px;
    }

    .note-ready {
        left: -12px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid > div + div {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .principle-copy {
        position: static;
    }

    .featured-tool-main {
        grid-template-columns: auto 1fr;
    }

    .featured-tool-main .button {
        grid-column: 1 / -1;
    }

    .featured-tool-points {
        grid-template-columns: 1fr;
    }

    .home-tool-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-tool-points > div + div {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content-aside {
        position: static;
    }

    .tool-card-grid {
        grid-template-columns: 1fr;
    }

    .tool-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .tool-trust-badges {
        justify-content: flex-start;
    }

    .editor-grid {
        grid-template-columns: 1fr;
    }

    .editor-divider {
        height: 38px;
        transform: rotate(90deg);
    }

    .guide-layout {
        grid-template-columns: 1fr;
    }

    .guide-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .split-guide {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .counter-layout {
        grid-template-columns: 1fr;
    }

    .password-generator-layout {
        grid-template-columns: 1fr;
    }

    .color-converter-layout {
        grid-template-columns: 1fr;
    }

    .hash-generator-layout {
        grid-template-columns: 1fr;
    }

    .timestamp-layout {
        grid-template-columns: 1fr;
    }

    .image-control-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .image-preview-grid {
        grid-template-columns: 1fr;
    }

    .date-calculator-panel {
        grid-template-columns: 1fr;
    }

    .related-tools-grid {
        grid-template-columns: 1fr;
    }

    .site-popup-banner .popup-panel {
        right: 16px;
        bottom: 16px;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .brand-copy small {
        display: none;
    }

    .hero-copy h1 {
        font-size: 50px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-actions,
    .hero-checks {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-checks {
        gap: 8px;
    }

    .hero-console {
        min-height: 382px;
        transform: none;
    }

    .console-body {
        padding: 19px;
    }

    .console-code {
        min-height: 210px;
        padding: 16px;
        font-size: 11px;
    }

    .floating-note {
        display: none;
    }

    .section {
        padding: 78px 0;
    }

    .section-heading,
    .closing-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .featured-tool-main {
        padding: 29px 24px;
        grid-template-columns: 1fr;
    }

    .featured-tool-main .tool-card-icon {
        width: 58px;
        height: 58px;
    }

    .featured-tool-main h3 {
        font-size: 24px;
    }

    .home-tool-grid {
        grid-template-columns: 1fr;
    }

    .principle-cards article {
        padding: 29px 25px 25px 70px;
    }

    .principle-number {
        top: 30px;
        left: 25px;
    }

    .closing-cta {
        padding: 58px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 5px;
    }

    .page-hero,
    .page-hero.compact {
        padding: 65px 0 58px;
    }

    .page-hero h1,
    .page-hero.compact h1 {
        font-size: 40px;
    }

    .content-page,
    .contact-section {
        padding: 65px 0 80px;
    }

    .contact-form,
    .contact-guide {
        padding: 25px;
    }

    .form-row.two-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .tool-page-header {
        padding-top: 27px;
    }

    .tool-title-row h1 {
        font-size: 39px;
    }

    .workspace-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .workspace-actions {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .utility-options {
        align-items: flex-start;
        flex-direction: column;
    }

    .utility-options select {
        width: 100%;
    }

    .counter-layout,
    .uuid-layout,
    .timestamp-layout,
    .image-compressor-layout,
    .date-calculator-layout,
    .csv-converter-layout,
    .password-generator-layout,
    .color-converter-layout,
    .hash-generator-layout {
        padding: 12px;
    }

    .image-drop-zone {
        min-height: 300px;
        padding: 35px 18px;
    }

    .image-settings-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .image-control-grid {
        grid-template-columns: 1fr;
    }

    .image-preview-stage {
        min-height: 260px;
    }

    [data-tool-kind="date"] .utility-options {
        align-items: stretch;
    }

    .workspace-mode-tabs {
        display: grid;
        width: 100%;
    }

    [data-tool-kind="date"] .workspace-mode-tabs {
        grid-template-columns: repeat(3, 1fr);
    }

    [data-tool-kind="csvjson"] .workspace-mode-tabs {
        grid-template-columns: repeat(2, 1fr);
    }

    [data-tool-kind="date"] .workspace-actions {
        grid-template-columns: repeat(2, 1fr);
    }

    [data-tool-kind="csvjson"] .workspace-actions {
        grid-template-columns: repeat(3, 1fr);
    }

    [data-tool-kind="password"] .workspace-actions,
    [data-tool-kind="password"] .primary-tool-actions {
        grid-template-columns: 1fr;
    }

    [data-tool-kind="color"] .workspace-actions {
        grid-template-columns: repeat(2, 1fr);
    }

    [data-tool-kind="hash"] .utility-options {
        align-items: stretch;
    }

    [data-tool-kind="hash"] .hash-mode-tabs {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
    }

    .csv-options-bar {
        display: grid;
        grid-template-columns: 1fr;
    }

    .csv-options-bar > label:not(.inline-check) {
        align-items: stretch;
        flex-direction: column;
    }

    .csv-options-bar select {
        width: 100%;
        min-height: 42px;
    }

    .csv-editor-grid {
        padding-top: 12px;
    }

    .csv-preview-scroll {
        max-height: 300px;
    }

    .password-settings-card,
    .password-result-card {
        padding: 16px;
    }

    .password-result-card textarea {
        min-height: 230px;
        font-size: 11px;
    }

    .color-editor-card,
    .color-results-card {
        padding: 16px;
    }

    .color-preview-swatch {
        min-height: 125px;
    }

    .contrast-score-row {
        grid-template-columns: 1fr;
    }

    .hash-input-card,
    .hash-result-card {
        padding: 16px;
    }

    .hash-input-card textarea,
    .hash-file-drop {
        min-height: 270px;
    }

    .hash-verify-card > div {
        grid-template-columns: 1fr;
    }

    .hash-verify-status {
        white-space: normal;
    }

    .date-form-card {
        min-height: 0;
        padding: 24px 20px;
    }

    .date-field-row,
    .date-offset-row {
        grid-template-columns: 1fr;
    }

    .date-result-card {
        min-height: 350px;
    }

    .date-result-hero {
        min-height: 215px;
        padding: 25px 18px;
    }

    .date-result-hero > strong {
        font-size: 48px;
    }

    .date-result-hero > strong.date-result-value {
        font-size: 29px;
    }

    .date-result-metrics {
        grid-template-columns: 1fr;
    }

    .date-result-metrics article + article {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .tool-metric-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tool-metric-grid article {
        min-height: 102px;
    }

    .timestamp-input-card > div {
        align-items: stretch;
        flex-direction: column;
    }

    .timestamp-input-card input {
        min-height: 48px;
    }

    .timestamp-results {
        grid-template-columns: 1fr;
    }

    .timestamp-results article,
    .timestamp-results article:nth-child(even),
    .timestamp-results .span-2 {
        grid-column: auto;
        border-top: 1px solid var(--line);
        border-left: 0 !important;
    }

    .timestamp-results article:first-child {
        border-top: 0;
    }

    .uuid-intro-card {
        align-items: stretch;
        grid-template-columns: auto 1fr;
    }

    .uuid-intro-card .button {
        grid-column: 1 / -1;
    }

    .subtle-button {
        padding-inline: 6px;
    }

    .editor-grid {
        padding: 12px;
    }

    .editor-panel textarea {
        min-height: 260px;
    }

    .workspace-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .primary-tool-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .keyboard-hint {
        text-align: left;
    }

    .tool-guide {
        padding: 65px 0 85px;
    }

    .guide-sidebar {
        grid-template-columns: 1fr;
    }

    .guide-sidebar-card {
        display: none;
    }

    .guide-intro h2 {
        font-size: 35px;
    }

    .guide-section {
        padding: 55px 0;
    }

    .steps-grid,
    .use-case-grid {
        grid-template-columns: 1fr;
    }

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

    .use-case-grid {
        gap: 9px;
    }

    .workflow-row {
        grid-template-columns: 1fr;
    }

    .workflow-row > i {
        text-align: center;
        transform: rotate(90deg);
    }

    .popup-panel,
    .site-popup-banner .popup-panel {
        right: 14px;
        bottom: 14px;
        width: calc(100% - 28px);
        padding: 26px 22px;
        transform: none;
    }

    .site-popup-modal .popup-panel {
        right: 50%;
        bottom: 50%;
        transform: translate(50%, 50%);
    }

    .popup-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
