/* Machinebridge interface: buildless, self-hosted and progressively enhanced. */
:root {
    --ink: #17323a;
    --nav: #112b32;
    --muted: #536c70;
    --line: #dce5e5;
    --paper: #f3f6f6;
    --red: #ba4536;
    --green: #216c59;
    --radius: 16px;
    --sidebar-width: 252px;
    --shadow: 0 8px 30px #17323a08;
    font-size: 16px;
}
body {
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic",
        "Meiryo",
        sans-serif;
    line-height: 1.65;
    -webkit-text-size-adjust: 100%;
    overflow-wrap: break-word;
}
html {
    scroll-padding-top: 110px;
}
body:has(.compare-dock:not([hidden])) {
    padding-bottom: 100px;
}
main {
    width: 100%;
    max-width: 1760px;
    margin-inline: auto;
    padding: 34px clamp(22px, 3vw, 54px) 60px;
    flex: 1;
    min-width: 0;
}
main:focus {
    outline: none;
}
h1 {
    font-size: clamp(28px, 3.1vw, 44px);
    letter-spacing: -1.4px;
    line-height: 1.2;
    text-wrap: balance;
}
h2 {
    font-size: clamp(20px, 1.8vw, 25px);
    letter-spacing: -0.6px;
    line-height: 1.35;
}
h3 {
    font-size: 18px;
    line-height: 1.45;
}
p {
    line-height: 1.8;
}
small {
    font-size: 13px;
}
a,
button,
input,
select,
textarea,
summary {
    -webkit-tap-highlight-color: #17323a16;
}
a,
button,
summary {
    touch-action: manipulation;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex="0"]:focus-visible {
    outline: 3px solid #007f96;
    outline-offset: 4px;
}
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px #007f9617;
}
input::placeholder,
textarea::placeholder {
    color: #60767a;
    opacity: 1;
}
input:not([type="checkbox"]):not([type="file"]),
select,
textarea {
    min-height: 48px;
    border-color: #cbd8d9;
    border-radius: 10px;
    font-size: 16px;
    padding: 11px 14px;
}
input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--green);
}
select {
    cursor: pointer;
}
textarea {
    min-height: 110px;
}
input[type="file"] {
    font-size: 14px;
    max-width: 100%;
}
input[type="file"]::file-selector-button {
    border: 1px solid #becfd0;
    border-radius: 8px;
    background: white;
    color: var(--ink);
    padding: 10px 12px;
    margin-inline-end: 12px;
    cursor: pointer;
}
.icon {
    width: 21px;
    height: 21px;
    display: inline-block;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
}
.button {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.4;
    text-align: center;
    border: 1px solid #cbd9d9;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
    color: var(--ink);
    white-space: normal;
}
.button.dark {
    background: var(--ink);
    color: white;
    border-color: var(--ink);
}
.button.red {
    background: var(--red);
    color: white;
    border-color: var(--red);
}
.button.ghost {
    border-color: transparent;
    background: transparent;
}
.button.full {
    width: 100%;
}
.button.small {
    font-size: 13px;
    padding: 9px 13px;
    min-height: 44px;
}
.icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-height: 44px;
    flex: none;
    padding: 9px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--muted);
    font-size: 24px;
}
.icon-button:hover {
    background: #e7eeee;
    color: var(--ink);
}
.text-link,
.back-link,
.text-button {
    font-size: 14px;
    color: #275d68;
    line-height: 1.5;
    min-height: 44px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}
.text-link:hover,
.back-link:hover {
    color: var(--red);
}
.text-button {
    padding: 10px 2px;
}
.eyebrow {
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: #536e72;
    line-height: 1.6;
    margin-bottom: 8px;
}
.eyebrow.light {
    color: #bed5d7;
}
.sidebar {
    width: var(--sidebar-width);
    background: radial-gradient(ellipse at 10% 0%, #24434a 0%, transparent 65%), var(--nav);
    padding: 31px 16px 22px;
    scrollbar-width: thin;
    scrollbar-color: #52696d var(--nav);
    z-index: 80;
}
.sidebar-brand {
    position: relative;
}
.brand {
    font-size: 20px;
    gap: 13px;
    padding: 0 11px 29px;
    letter-spacing: -0.7px;
}
.brand small {
    font-size: 9px;
    letter-spacing: 1.9px;
    color: #adc5c8;
}
.brand-symbol {
    font-size: 38px;
}
.brand:hover {
    color: white;
}
.company-switch {
    background: #ffffff05;
    border-color: #3a555c;
    margin: 3px 2px 17px;
    padding: 14px 12px;
    border-radius: 12px;
}
.company-switch strong {
    font-size: 13px;
}
.company-switch small {
    font-size: 11px;
    color: #b3c9cb;
}
.company-switch .avatar {
    height: 36px;
    width: 36px;
    background: #e1eceb;
    border-radius: 10px;
}
.nav-label {
    font-size: 10px;
    letter-spacing: 1.5px;
    color: #a5bdc0;
    margin: 22px 0 9px;
    padding-inline: 15px;
}
.nav-link {
    min-height: 46px;
    font-size: 13px;
    padding: 11px 14px;
    gap: 12px;
    border-radius: 10px;
    color: #c2d3d5;
    position: relative;
    margin-bottom: 3px;
    transition:
        background 0.18s,
        color 0.18s,
        transform 0.18s;
}
.nav-link > span {
    font-size: inherit;
    width: auto;
    text-align: start;
    line-height: 1.5;
}
.nav-link .nav-text {
    flex: 1;
}
.nav-link .icon {
    opacity: 0.85;
    width: 19px;
    height: 19px;
}
.nav-link.active,
.nav-link:hover {
    background: #ffffff0f;
    color: #fff;
}
.nav-link.active {
    background: #29474e;
    box-shadow: inset 3px 0 #f48b79;
}
.nav-link .nav-active-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f48b79;
    flex: none;
}
.sidebar-note {
    font-size: 12px;
    padding: 26px 14px 0;
    color: #bdd0d1;
}
.sidebar-note small {
    font-size: 10px;
    color: #a0babd;
    letter-spacing: 1.5px;
}
.sidebar-close {
    display: none;
}
.app-shell {
    margin-left: var(--sidebar-width);
    min-width: 0;
}
.topbar {
    height: 84px;
    padding: 0 clamp(22px, 3vw, 54px);
    gap: 16px;
    background: #f9fbfbef;
    backdrop-filter: blur(16px);
    border-color: #dce5e5;
    z-index: 60;
}
.topbar-context {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 12px;
    gap: 0;
    color: #526d72;
    white-space: nowrap;
}
.breadcrumb > span:not(.network-indicator) {
    margin-inline: 12px;
}
.breadcrumb strong {
    font-size: 13px;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
}
.network-indicator {
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 50%;
    background: #357b69;
    margin-inline-end: 10px;
    box-shadow: 0 0 0 4px #357b6911;
}
.top-actions {
    gap: 10px;
    min-width: 0;
}
.top-actions .button {
    font-size: 13px;
}
.profile-chip {
    min-height: 44px;
    font-size: 13px;
    gap: 9px;
    padding: 4px;
    border-radius: 8px;
    max-width: 190px;
}
.profile-chip > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.profile-chip .avatar {
    height: 34px;
    width: 34px;
    font-size: 13px;
    background: #dce9e8;
}
.language-picker {
    position: relative;
    flex: none;
}
.language-picker summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 11px;
    min-height: 44px;
    font-size: 13px;
    font-weight: 650;
    border: 1px solid #d4dfdf;
    border-radius: 10px;
    list-style: none;
    white-space: nowrap;
    line-height: 1.5;
    margin: 0 !important;
}
.language-picker summary::-webkit-details-marker {
    display: none;
}
.language-picker summary:hover {
    background: #eaf0f0;
}
.language-picker summary .icon {
    width: 18px;
    height: 18px;
}
.picker-chevron {
    font-size: 14px;
    color: #667e82;
    transition: transform 0.2s;
}
.language-picker[open] .picker-chevron {
    transform: rotate(180deg);
}
.language-menu {
    position: absolute;
    top: calc(100% + 12px);
    inset-inline-end: 0;
    min-width: 214px;
    max-height: 65vh;
    overflow: auto;
    padding: 7px;
    background: white;
    border: 1px solid #d7e2e3;
    box-shadow: 0 12px 42px #15303820;
    border-radius: 13px;
    z-index: 90;
}
.language-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    min-height: 46px;
    padding: 10px 13px;
    border-radius: 8px;
    font-size: 14px;
}
.language-menu a > span:last-child {
    color: #647d82;
    font-size: 11px;
}
.language-menu .selected {
    background: #edf4f3;
    color: #155e51;
}
.language-menu a:hover {
    background: #f0f5f5;
}
.motion-toggle .motion-play {
    display: none;
}
.motion-toggle[aria-pressed="true"] .motion-pause {
    display: none;
}
.motion-toggle[aria-pressed="true"] .motion-play {
    display: block;
}
.mobile-toggle[hidden],
.sidebar-close[hidden],
.motion-toggle[hidden],
.sidebar-backdrop[hidden],
.mobile-filters[hidden] {
    display: none !important;
}
.sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: #091d25a6;
    backdrop-filter: blur(3px);
    border: 0;
    z-index: 75;
    cursor: pointer;
}
.catalog-hero {
    isolation: isolate;
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    min-height: 390px;
    background: radial-gradient(ellipse at 90% 10%, #37616b 0%, #24454e 25%, transparent 60%), #142f38;
    border: 1px solid #254852;
    border-radius: 22px;
    overflow: hidden;
    margin-bottom: 0;
    color: white;
    box-shadow: 0 14px 40px #17323a12;
}
.catalog-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(#cce5e607 1px, transparent 1px), linear-gradient(90deg, #cce5e607 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(90deg, transparent, #000);
}
.hero-copy {
    padding: 44px 0 38px 42px;
    z-index: 3;
    position: relative;
    min-width: 0;
}
.hero-copy .eyebrow {
    font-size: 10px;
    letter-spacing: 1.8px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 17px;
}
.hero-live-dot {
    height: 6px;
    width: 6px;
    border-radius: 50%;
    background: #ef9b86;
    box-shadow: 0 0 0 4px #ef9b8619;
    flex: none;
}
.hero-copy h1 {
    font-family: inherit;
    font-size: clamp(30px, 3.3vw, 51px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -1.9px;
    max-width: 640px;
    color: #fff;
}
.hero-copy p {
    font-size: 14px;
    color: #c2d7db;
    max-width: 420px;
    margin: 19px 0 23px;
    line-height: 1.85;
}
.hero-button {
    min-height: 46px;
    background: #f6f2e8;
    border-color: #f6f2e8;
    font-size: 13px;
    color: #1a343b;
    padding: 12px 18px;
}
.hero-button > span {
    margin-inline-start: 14px;
    font-size: 19px;
}
.hero-button:hover {
    background: #fff;
    color: #17323a;
}
.hero-tags {
    gap: 16px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 23px;
}
.hero-tags span {
    font-size: 11px;
    color: #bdd0d2;
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
}
.hero-tags span:first-child::before {
    content: "✓";
    color: #b1d6bc;
    margin-inline-end: 7px;
}
.hero-art {
    position: relative;
    min-height: 365px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.japan-sun {
    position: absolute;
    top: 45px;
    right: 42px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: linear-gradient(150deg, #df8e72, #b65547);
    box-shadow: 0 0 80px #e3a68b14;
    opacity: 0.95;
}
.hero-orbit {
    position: absolute;
    width: 310px;
    height: 310px;
    top: 12px;
    right: -14px;
    border: 1px solid #bcd7d822;
    border-radius: 50%;
    pointer-events: none;
}
.orbit-two {
    width: 390px;
    height: 390px;
    right: -54px;
    top: -28px;
    border-style: dashed;
    opacity: 0.65;
}
.hero-machine {
    position: relative;
    width: 120%;
    max-width: 560px;
    margin-top: 0;
    z-index: 2;
    will-change: transform;
}
.hero-art .hero-machine img {
    width: 100%;
    max-width: none;
    min-width: 0;
    transform: none;
    filter: drop-shadow(0 25px 24px #0004);
}
.hero-connection {
    position: absolute;
    left: 13%;
    top: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d1e1e3;
    font-size: 11px;
    letter-spacing: 1px;
    z-index: 3;
}
.hero-connection > span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    background: #ffffff0e;
    border: 1px solid #ffffff25;
    border-radius: 50%;
    font-size: 9px;
    font-weight: 600;
}
.hero-connection i {
    display: block;
    width: 58px;
    height: 1px;
    background: #b4d6d34a;
    position: relative;
}
.hero-connection b {
    display: block;
    position: absolute;
    top: -2px;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #efac91;
    box-shadow: 0 0 8px #efac91;
}
.hero-document {
    position: absolute;
    bottom: 51px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f4f8f5ed;
    border: 1px solid #ffffff88;
    color: #244b51;
    padding: 12px 14px;
    border-radius: 11px;
    box-shadow: 0 15px 35px #06202b30;
    z-index: 4;
    font-size: 10px;
    letter-spacing: 0.1px;
    transform: rotate(-3deg);
}
.hero-document .icon {
    height: 24px;
    width: 24px;
}
.hero-document b {
    font-weight: 400;
    color: #6b8588;
    margin: 0 6px;
}
.document-check {
    width: 19px;
    height: 19px;
    border-radius: 50%;
    background: #2a7862;
    color: white;
    display: grid;
    place-items: center;
    font-size: 10px;
}
.art-coordinate {
    bottom: 18px;
    right: 25px;
    font-size: 8px;
    letter-spacing: 1.5px;
    color: #b9d0d4;
    z-index: 4;
}
.discovery-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 20px;
    padding: 25px 4px;
    margin-bottom: 19px;
    border-bottom: 1px solid var(--line);
}
.discovery-benefits > div {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 12px;
    color: #4b666c;
}
.discovery-benefits .icon {
    color: #406d72;
    width: 20px;
    height: 20px;
}
.section-heading {
    margin-bottom: 21px;
    margin-top: 26px;
    gap: 16px;
    align-items: end;
}
.section-heading h2 {
    font-size: 25px;
}
.result-count {
    font-size: 12px;
    background: #e6eeee;
    border-radius: 30px;
    border: 1px solid #d8e3e3;
    padding: 7px 13px;
    color: #46656a;
    white-space: nowrap;
}
.search-bar {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 8px 9px 8px 19px;
    min-height: 66px;
    background: #fff;
    border: 1px solid #cbdada;
    border-radius: 13px;
    margin-bottom: 26px;
    box-shadow: 0 3px 10px #15323b04;
}
.search-bar > .icon {
    color: #688087;
    width: 23px;
    height: 23px;
}
.search-bar input[type="search"] {
    border: 0;
    box-shadow: none;
    min-height: 45px;
    font-size: 15px;
    padding: 9px 0;
    flex: 1;
}
.search-bar:focus-within {
    border-color: #318394;
    box-shadow: 0 0 0 3px #31839414;
}
.search-bar .button {
    font-size: 14px;
    padding: 13px 22px;
}
.catalog-layout {
    grid-template-columns: 225px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.filters {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 20px;
    height: fit-content;
    min-width: 0;
}
.filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    gap: 10px;
}
.filter-heading h3 {
    font-size: 15px;
}
.filter-heading a {
    font-size: 12px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: #3f6c76;
}
.field {
    margin-bottom: 19px;
}
.field > span {
    font-size: 13px;
    font-weight: 550;
    color: #466269;
    margin-bottom: 8px;
    display: block;
}
.filters .field > span {
    font-size: 12px;
}
.filters input:not([type="hidden"]),
.filters select {
    font-size: 14px;
    min-height: 44px;
    padding: 10px;
}
.filter-extra {
    margin: 20px 0 0;
    border-top: 1px solid var(--line);
    padding-top: 9px;
    font-size: 13px;
}
.filter-extra summary {
    min-height: 44px;
    line-height: 1.5;
}
.ai-box {
    background: linear-gradient(145deg, #eaf2ef, #f1f5f4);
    padding: 17px;
    border: 1px solid #d7e5e0;
    border-radius: 11px;
    margin-top: 24px;
}
.ai-box h3 {
    font-size: 15px;
}
.ai-box p {
    font-size: 12px;
    color: #48665f;
    line-height: 1.8;
}
.ai-box .ai-spark {
    font-size: 25px;
    color: #42725f;
}
.ai-box textarea {
    font-size: 14px;
    min-height: 95px;
}
.ai-box .button {
    font-size: 12px;
    padding: 11px;
}
.mobile-filters {
    display: none;
}
.machine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.machine-card {
    background: #fff;
    border: 1px solid #dce6e6;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition:
        transform 0.24s ease,
        border-color 0.24s ease,
        box-shadow 0.24s ease;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.machine-visual {
    height: 225px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(ellipse at 45% 20%, #f5f7f4, #e7eeec);
    overflow: hidden;
}
.machine-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    box-shadow: inset 0 -1px #17323a09;
    pointer-events: none;
}
.machine-visual img {
    width: 91%;
    height: 92%;
    transition: transform 0.55s cubic-bezier(0.2, 0.75, 0.3, 1);
}
.origin {
    top: 16px;
    left: 16px;
    font-size: 10px;
    padding: 5px 8px;
    border-radius: 5px;
    background: #fffdf5;
    border: 1px solid #dce5e0;
    color: #314c4b;
    box-shadow: none;
}
.visual-category {
    font-size: 10px;
    bottom: 13px;
    right: 14px;
    color: #365858;
    background: #ffffffbf;
    padding: 4px 8px;
    border-radius: 5px;
    max-width: 85%;
}
.machine-card-body {
    padding: 21px 21px 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.machine-card-body .eyebrow {
    font-size: 10px;
    letter-spacing: 1.1px;
    color: #5a7475;
    line-height: 1.6;
    overflow-wrap: anywhere;
}
.machine-card h3 {
    font-size: 20px;
    letter-spacing: -0.45px;
    line-height: 1.4;
    margin: 3px 0 0;
    overflow-wrap: anywhere;
}
.machine-card .model {
    font-family: ui-monospace, SFMono-Regular, monospace;
    font-size: 12px;
    color: #5d7478;
    margin: 6px 0 16px;
    letter-spacing: 0.3px;
}
.verified {
    font-size: 10px;
    background: #dfeee6;
    color: #28674f;
    /* border-radius: 50%; */
    padding: 2px 4px;
    margin-inline-start: 4px;
}
.spec-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 18px;
}
.spec-chips span {
    font-size: 11px;
    line-height: 1.5;
    background: #eff4f4;
    color: #47676a;
    border: 1px solid #e3ebeb;
    border-radius: 5px;
    padding: 5px 7px;
    white-space: normal;
}
.card-bottom {
    margin-top: auto;
    gap: 10px;
    border-top: 1px solid #e6eded;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.card-bottom .text-link {
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.compare-check {
    font-size: 11px;
    color: #536f73;
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    cursor: pointer;
    white-space: normal;
}
.compare-check input {
    width: 17px;
    height: 17px;
    flex: none;
    cursor: pointer;
}
.compare-check:has(input:disabled) {
    opacity: 0.7;
}
.pagination {
    margin-top: 26px;
    font-size: 13px;
    gap: 14px;
    flex-wrap: wrap;
}
.empty-state {
    padding: 50px 25px;
    border: 1px dashed #b7cece;
    background: #fff;
    grid-column: 1/-1;
    border-radius: 15px;
    text-align: center;
}
.empty-state p {
    font-size: 14px;
    color: var(--muted);
}
.empty-state > span {
    font-size: 40px;
    color: #6b8a90;
}
.panel {
    border-radius: 15px;
    padding: 27px;
    box-shadow: var(--shadow);
}
.panel > p {
    font-size: 14px;
    line-height: 1.85;
}
.page-heading {
    margin-bottom: 29px;
    gap: 22px;
}
.page-heading p:not(.eyebrow) {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.8;
    max-width: 760px;
}
.page-heading > .button {
    flex: none;
}
.stack-form {
    gap: 24px;
}
.stack-form .panel {
    padding: 29px;
}
.form-grid {
    column-gap: 24px;
}
.language-section {
    margin: 4px 0 15px;
    border-color: #dde7e6;
    padding-bottom: 8px;
}
.language-section summary {
    font-size: 15px;
    padding: 12px 0;
    min-height: 48px;
}
.checkbox-field {
    font-size: 14px;
    color: #405e62;
    line-height: 1.7;
    gap: 11px;
    cursor: pointer;
    min-height: 44px;
    padding: 5px 0;
}
.checkbox-field input {
    margin-top: 4px;
}
.sticky-actions {
    padding: 15px 20px;
    background: #f8fbfbf2;
    border-color: #d4e0df;
    box-shadow: 0 5px 30px #1a3f3210;
    border-radius: 13px;
    bottom: 18px;
    flex-wrap: wrap;
}
.sticky-actions .checkbox-field {
    font-size: 13px;
}
.form-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stats-grid {
    gap: 20px;
    margin-bottom: 28px;
}
.stats-grid article {
    border-radius: 15px;
    padding: 24px;
    background: linear-gradient(150deg, #fff, #f9fbfb);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.stats-grid article::after {
    content: "";
    position: absolute;
    bottom: -22px;
    right: -18px;
    width: 94px;
    height: 94px;
    background: #e7f0ee;
    border-radius: 50%;
    z-index: 0;
    opacity: 0.8;
}
.stats-grid article > * {
    position: relative;
    z-index: 1;
}
.stats-grid article > span {
    font-size: 13px;
    color: #4a6a6f;
}
.stats-grid strong {
    font-size: 41px;
    font-weight: 600;
    line-height: 1.7;
    letter-spacing: -1.8px;
    font-variant-numeric: tabular-nums;
}
.stats-grid small {
    font-size: 11px;
    color: #5c777a;
}
.stats-grid i {
    right: 22px;
    top: 23px;
    font-size: 21px;
    color: #4b777a;
}
.dashboard-grid {
    gap: 24px;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
}
.dashboard-grid .section-heading {
    margin-top: 0;
}
.table-wrap {
    border-radius: 10px;
    overscroll-behavior-inline: contain;
    max-width: 100%;
    scrollbar-width: thin;
    scrollbar-color: #8da9ad #edf3f2;
}
.table-wrap:focus-visible {
    outline-offset: 3px;
}
table {
    font-size: 14px;
    line-height: 1.65;
}
th {
    font-size: 11px;
    letter-spacing: 0.5px;
    padding: 14px 16px;
    background: #f5f8f8;
    color: #4d6c72;
    white-space: nowrap;
}
td {
    padding: 17px 16px;
    color: #37545c;
}
td small {
    font-size: 12px;
    color: #5b7479;
}
td a:not(.button):not(.text-link) {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
}
.badge {
    font-size: 11px;
    letter-spacing: 0;
    padding: 5px 9px;
    border-radius: 6px;
    font-weight: 550;
    border-color: #d6e2dd;
    color: #45614e;
    white-space: normal;
}
.badge.green,
.status-approved,
.status-ready,
.status-active,
.status-won,
.status-accepted,
.status-confirmed,
.status-delivered,
.status-completed {
    color: #235c45;
    background: #e4f1e8;
    border-color: #cfe1d5;
}
.status-draft,
.status-new,
.status-pending,
.status-requested,
.status-queued,
.status-reserved {
    color: #755019;
    background: #f9f0d8;
    border-color: #e9dcb9;
}
.status-failed,
.status-rejected,
.status-revoked,
.status-lost,
.status-obsolete,
.status-inactive,
.status-cancelled {
    color: #923b2c;
    background: #faeae5;
    border-color: #efd0c5;
}
.status-processing,
.status-qualified,
.status-quoted,
.status-proposed {
    color: #315d77;
    background: #e7f1f7;
    border-color: #cddfe8;
}
.task-row strong {
    font-size: 14px;
    line-height: 1.5;
}
.task-row small {
    font-size: 12px;
    color: #536d72;
}
.task-check {
    width: 44px;
    height: 44px;
    flex: none;
    line-height: 1;
    min-height: 44px;
    color: #587a73;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 50%;
    transition: background 0.2s;
}
.task-check:hover {
    color: #1d6756;
    background: #e5f0e9;
}
.alert {
    font-size: 14px;
    border-radius: 11px;
    line-height: 1.8;
    padding: 16px 19px;
    color: #2a6347;
    border-color: #cbdfd0;
}
.alert.info {
    color: #275962;
    background: #eaf3f5;
    border-color: #c8dfe5;
}
.alert.error {
    color: #943d2d;
    border-color: #eccfc3;
}
.alert.warning {
    color: #735119;
    border-color: #e6d6ad;
}
.error-text {
    color: #a83829;
}
.detail-heading h1 {
    font-size: clamp(30px, 3.4vw, 46px);
}
.detail-heading p {
    font-size: 14px;
}
.detail-layout,
.two-column,
.document-workspace,
.business-layout {
    gap: 26px;
}
.detail-image {
    background: radial-gradient(ellipse at center, #f5f8f3, #e1e9e5);
    border: 1px solid #d9e5df;
    border-radius: 18px;
    min-height: 390px;
}
.detail-image img {
    max-height: 460px;
}
.media-strip {
    overflow-x: auto;
    padding-bottom: 7px;
    gap: 12px;
}
.media-strip a {
    flex: none;
    border-radius: 9px;
}
.media-strip img {
    height: 72px;
    width: 110px;
}
.spec-list > div {
    font-size: 13px;
    padding: 15px 0;
}
.spec-list dt {
    color: #536d74;
}
.tab-strip {
    font-size: 14px;
    gap: 28px;
    overflow-x: auto;
    padding: 21px 0 12px;
    white-space: nowrap;
    scrollbar-width: thin;
}
.tab-strip a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.tab-strip span {
    font-size: 11px;
}
.prose {
    font-size: 15px;
    line-height: 1.95;
    color: #405d64;
    max-width: 78ch;
}
.spec-table > div {
    font-size: 14px;
    padding: 15px 0;
}
.document-row {
    font-size: 14px;
    gap: 16px;
    padding: 19px 0;
}
.document-row small {
    font-size: 12px;
    line-height: 1.65;
    color: #5a7279;
}
.file-icon {
    width: 41px;
    height: 46px;
    font-size: 25px;
    color: #53726b;
    background: #eaf1ec;
    border-radius: 9px;
}
.ai-inline h3 {
    font-size: 18px;
}
.ai-inline p {
    font-size: 14px;
}
.ai-inline form {
    gap: 12px;
}
.supplier-grid .panel p {
    font-size: 14px;
}
.supplier-grid .panel strong {
    font-size: 23px;
}
.document-meta {
    font-size: 13px;
    gap: 24px;
}
.document-text {
    font-size: 15px;
    line-height: 1.9;
}
.section-ref {
    font-size: 12px;
    color: #5e7a7d;
}
.translation-row small {
    font-size: 13px;
}
.translation-columns {
    border-radius: 14px;
}
.column-title {
    font-size: 12px;
    letter-spacing: 1px;
    background: #edf3f0;
}
.translation-columns article p,
.translation-columns textarea {
    font-size: 15px;
    line-height: 1.95;
}
.file-drop {
    padding: 30px 20px;
    background: #f4f8f7;
    border-color: #8caeab;
    border-radius: 13px;
}
.file-drop strong {
    font-size: 16px;
}
.file-drop small {
    font-size: 12px;
    color: #4f7072;
}
.file-drop input {
    font-size: 14px;
}
.citation {
    font-size: 14px;
}
.citation > span {
    font-size: 12px;
}
.status-filters a {
    font-size: 13px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    padding: 9px 15px;
}
.message {
    border-radius: 13px;
    padding: 21px;
    background: #f7fafa;
    border-color: #dce7e7;
}
.message.own {
    background: #edf5f0;
    border-color: #d6e6dc;
    margin-inline-start: 20px;
}
.message p {
    font-size: 15px;
    line-height: 1.9;
}
.message-meta {
    font-size: 13px;
    flex-wrap: wrap;
}
.message-meta span {
    font-size: 11px;
    color: #526e73;
}
.message-translation {
    color: #3e6353;
}
.message-translation small {
    font-size: 12px;
}
.appointment strong {
    font-size: 15px;
}
.appointment p {
    font-size: 14px;
}
.appointment small {
    font-size: 12px;
}
.compare-dock {
    left: calc(50% + 126px);
    bottom: 22px;
    max-width: calc(100vw - 30px);
    gap: 12px;
    padding: 12px 14px;
    font-size: 13px;
    white-space: normal;
    border-color: #b8cecd;
    box-shadow: 0 10px 50px #12333f24;
    border-radius: 14px;
    z-index: 65;
    background: #fffffff5;
    backdrop-filter: blur(14px);
}
.compare-total {
    font-weight: 700;
    background: #e8f0ee;
    border-radius: 8px;
    min-width: 30px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #245a53;
    font-variant-numeric: tabular-nums;
}
.compare-dock .button {
    min-height: 44px;
    white-space: nowrap;
}
.compare-table {
    min-width: 700px;
}
.compare-table thead a {
    font-size: 16px;
}
.compare-table img {
    width: 200px;
    height: 140px;
}
.company-card h2 {
    font-size: 22px;
}
.company-card p {
    font-size: 14px;
}
.company-monogram {
    width: 58px;
    height: 58px;
    border-radius: 13px;
    color: #305951;
    background: #e5efea;
    font-size: 31px;
}
.company-hero {
    border-radius: 18px;
    padding: 35px;
    background: linear-gradient(120deg, #18353e, #31535c);
}
.company-hero h1 {
    font-size: clamp(28px, 3vw, 39px);
}
.pricing-card {
    padding: 30px;
}
.pricing-card h2 {
    font-size: 36px;
}
.pricing-card h2 small {
    font-size: 14px;
}
.pricing-card p,
.pricing-card ul {
    font-size: 14px;
}
.pricing-card ul {
    line-height: 2.2;
    color: #486964;
}
.bar-row {
    font-size: 14px;
}
.bar-row > strong {
    font-size: 14px;
}
.bar {
    height: 13px;
    background: #e5eeee;
}
.bar > span {
    background: linear-gradient(90deg, #356d70, #78a29b);
}
.progress > span {
    background: #37796a;
}
.auth-layout {
    gap: 55px;
    max-width: 1100px;
    min-height: 70vh;
}
.auth-story h1 {
    font-family: inherit;
    font-weight: 600;
    letter-spacing: -1.4px;
    font-size: clamp(33px, 3.6vw, 48px);
    line-height: 1.2;
    max-width: 450px;
}
.auth-story > p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.9;
    color: #536f75;
    max-width: 425px;
}
.trust-points p {
    font-size: 14px;
    color: #456b60;
}
.auth-panel {
    padding: 34px;
}
.auth-panel h2 {
    font-size: 28px;
}
.auth-panel form > p {
    font-size: 14px;
    line-height: 1.75;
}
.auth-graphic {
    font-family: inherit;
}
.auth-graphic > span {
    font-size: 32px;
    background: #e4eeeb;
    border-color: #cdddd6;
}
.auth-graphic > span:last-child {
    background: #c96851;
    border-color: #c96851;
}
.inline-form {
    flex-wrap: wrap;
}
.inline-form select {
    min-width: 0;
    flex: 1;
    width: auto;
    min-height: 44px;
    font-size: 14px;
}
.small-text {
    font-size: 13px;
}
.code-input {
    font-size: 14px;
}
.secret {
    font-size: 13px;
}
pre,
code {
    font-size: 13px;
}
blockquote {
    font-size: 14px;
    color: #506e73;
}
.spec-editor-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px;
    gap: 11px;
}
.pagination a {
    min-height: 44px;
}
details > summary {
    min-height: 44px;
    font-size: 14px;
}
.section {
    margin-top: 28px;
}
.narrow {
    max-width: 860px;
}
footer {
    padding: 25px clamp(22px, 3vw, 54px);
    font-size: 11px;
    gap: 20px;
    line-height: 1.8;
    color: #5a7378;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}
footer strong {
    font-size: 13px;
    letter-spacing: -0.3px;
    color: #30545c;
    margin-inline-end: 8px;
}
.footer-bridge {
    margin-inline: 10px;
    color: #b65340;
}
.skip {
    font-size: 15px;
    padding: 13px 20px;
    border: 2px solid #0a7285;
    border-radius: 9px;
    z-index: 120;
}
.skip:focus {
    top: 12px;
}
/* Content stays visible without JavaScript; motion runs once on intersection. */
@keyframes mb-enter {
    from {
        opacity: 0.35;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes mb-float {
    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }
    50% {
        transform: translateY(-9px) rotate(0.4deg);
    }
}
@keyframes mb-orbit {
    to {
        transform: rotate(360deg);
    }
}
@keyframes mb-travel {
    0% {
        transform: translateX(0);
        opacity: 0.35;
    }
    20%,
    80% {
        opacity: 1;
    }
    100% {
        transform: translateX(53px);
        opacity: 0.35;
    }
}
@keyframes mb-document {
    0%,
    100% {
        transform: translateY(0) rotate(-3deg);
    }
    50% {
        transform: translateY(7px) rotate(-1deg);
    }
}
@media (prefers-reduced-motion: no-preference) {
    html:not([data-motion="off"]) .reveal-in {
        animation: mb-enter 0.6s cubic-bezier(0.2, 0.75, 0.3, 1) both;
    }
    html:not([data-motion="off"]) .machine-grid > .reveal-in:nth-child(2n) {
        animation-delay: 0.07s;
    }
    html:not([data-motion="off"]) .stats-grid > .reveal-in:nth-child(2n) {
        animation-delay: 0.08s;
    }
    html[data-motion="on"] .catalog-hero.is-visible .hero-machine {
        animation: mb-float 6.5s ease-in-out infinite;
    }
    html[data-motion="on"] .catalog-hero.is-visible .orbit-two {
        animation: mb-orbit 65s linear infinite;
    }
    html[data-motion="on"] .catalog-hero.is-visible .hero-connection b {
        animation: mb-travel 3.2s ease-in-out infinite;
    }
    html[data-motion="on"] .catalog-hero.is-visible .hero-document {
        animation: mb-document 7s ease-in-out infinite;
    }
    html[data-page-hidden] .catalog-hero * {
        animation-play-state: paused !important;
    }
}
@media (hover: hover) and (pointer: fine) {
    .button:hover {
        transform: translateY(-2px);
        box-shadow: 0 7px 18px #17323a13;
    }
    .button:active {
        transform: translateY(0);
    }
    .machine-card:hover {
        transform: translateY(-5px);
        border-color: #b4cbcb;
        box-shadow: 0 17px 35px #17323a12;
    }
    .machine-card:hover .machine-visual img {
        transform: scale(1.035);
    }
    .nav-link:hover {
        transform: translateX(2px);
    }
}
html[data-motion="off"] {
    scroll-behavior: auto;
}
html[data-motion="off"] *,
html[data-motion="off"] *::before,
html[data-motion="off"] *::after {
    animation: none !important;
    transition: none !important;
}
.sidebar-open {
    overflow: hidden;
}
@media (min-width: 1620px) {
    .catalog-layout .machine-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .hero-copy {
        padding-left: 49px;
    }
    .catalog-hero {
        min-height: 410px;
    }
    .hero-art {
        min-height: 410px;
    }
    .hero-machine {
        max-width: 620px;
    }
    .machine-visual {
        height: 220px;
    }
}
@media (max-width: 1380px) {
    :root {
        --sidebar-width: 232px;
    }
    .sidebar {
        width: 232px;
        padding-inline: 13px;
    }
    .brand {
        font-size: 18px;
        gap: 11px;
    }
    .brand-symbol {
        font-size: 35px;
    }
    .nav-link {
        font-size: 12px;
        padding-inline: 12px;
    }
    .topbar {
        padding-inline: 28px;
    }
    main {
        padding-inline: 28px;
    }
    .breadcrumb {
        font-size: 11px;
    }
    .breadcrumb strong {
        font-size: 12px;
    }
    .catalog-layout {
        grid-template-columns: 205px minmax(0, 1fr);
        gap: 22px;
    }
    .filters {
        padding: 17px;
    }
    .catalog-hero {
        min-height: 365px;
    }
    .hero-copy {
        padding-left: 30px;
        padding-top: 35px;
    }
    .hero-copy h1 {
        font-size: 39px;
    }
    .hero-copy p {
        font-size: 13px;
        max-width: 345px;
    }
    .hero-copy .eyebrow {
        letter-spacing: 1.1px;
        font-size: 9px;
    }
    .hero-art {
        min-height: 365px;
    }
    .japan-sun {
        width: 162px;
        height: 162px;
        right: 27px;
        top: 55px;
    }
    .hero-document {
        right: 16px;
        bottom: 56px;
        font-size: 9px;
        padding: 10px;
    }
    .hero-document .icon {
        width: 21px;
    }
    .art-coordinate {
        font-size: 6px;
        letter-spacing: 1.1px;
        right: 16px;
    }
    .discovery-benefits {
        gap: 18px;
    }
    .discovery-benefits > div {
        font-size: 11px;
        gap: 9px;
    }
    .machine-visual {
        height: 188px;
    }
    .machine-card-body {
        padding: 17px 17px 0;
    }
    .machine-card h3 {
        font-size: 18px;
    }
    .machine-card-body .eyebrow {
        font-size: 9px;
    }
    .spec-chips {
        gap: 5px;
    }
    .spec-chips span {
        font-size: 10px;
        padding: 4px 6px;
    }
    .card-bottom {
        gap: 6px;
    }
    .card-bottom .text-link {
        font-size: 11px;
        gap: 5px;
    }
    .compare-check {
        font-size: 10px;
        gap: 5px;
    }
    .stats-grid article {
        padding: 20px;
    }
    .stats-grid article > span {
        font-size: 12px;
    }
    .stats-grid i {
        right: 17px;
        top: 18px;
    }
    .compare-dock {
        left: calc(50% + 116px);
    }
    .dashboard-grid {
        grid-template-columns: minmax(0, 1.5fr) minmax(270px, 1fr);
    }
    .top-actions {
        gap: 6px;
    }
    .profile-chip {
        max-width: 150px;
    }
    .profile-chip > span:last-child {
        display: none;
    }
    .panel {
        padding: 24px;
    }
}
@media (max-width: 1150px) {
    .breadcrumb {
        display: none;
    }
    .topbar-context {
        margin-inline-end: auto;
    }
    .top-actions {
        gap: 9px;
    }
    .catalog-hero {
        grid-template-columns: 1.05fr 0.95fr;
        min-height: 340px;
    }
    .hero-copy {
        padding: 32px 0 30px 26px;
    }
    .hero-copy h1 {
        font-size: 34px;
    }
    .hero-copy p {
        font-size: 13px;
        margin: 16px 0 20px;
    }
    .hero-copy .eyebrow {
        max-width: 265px;
    }
    .hero-tags {
        gap: 9px;
    }
    .hero-tags span {
        font-size: 10px;
    }
    .hero-art {
        min-height: 340px;
    }
    .hero-machine {
        width: 133%;
        margin-left: -18px;
    }
    .hero-connection {
        left: 10%;
        top: 26px;
    }
    .japan-sun {
        width: 145px;
        height: 145px;
        top: 61px;
        right: 10px;
    }
    .hero-document {
        right: 12px;
        bottom: 52px;
    }
    .hero-document b {
        margin: 0 3px;
    }
    .art-coordinate {
        max-width: 180px;
        text-align: right;
        line-height: 1.8;
    }
    .catalog-layout {
        grid-template-columns: 185px minmax(0, 1fr);
        gap: 18px;
    }
    .filters {
        padding: 15px;
    }
    .machine-grid {
        gap: 16px;
    }
    .machine-visual {
        height: 162px;
    }
    .machine-card h3 {
        font-size: 17px;
    }
    .card-bottom {
        flex-wrap: wrap;
        gap: 0;
        padding: 9px 0;
    }
    .card-bottom .text-link {
        width: 100%;
        min-height: 32px;
        font-size: 12px;
    }
    .compare-check {
        font-size: 11px;
        min-height: 36px;
    }
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
    .dashboard-grid,
    .document-workspace,
    .business-layout {
        grid-template-columns: 1fr;
    }
    .supplier-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .form-grid.three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .detail-layout {
        grid-template-columns: 1fr;
    }
    .two-column {
        grid-template-columns: 1fr;
    }
    .spec-list {
        grid-template-columns: 1fr 1fr;
        display: grid;
        gap: 0 25px;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .auth-layout {
        grid-template-columns: 1fr;
        max-width: 680px;
        min-height: 0;
        gap: 16px;
    }
    .auth-story h1 {
        font-size: 36px;
        max-width: 600px;
    }
    .auth-story > p:not(.eyebrow) {
        max-width: 600px;
    }
    .auth-story .auth-graphic,
    .trust-points {
        display: none;
    }
    .discovery-benefits > div {
        align-items: flex-start;
    }
    .compare-dock {
        font-size: 12px;
    }
}
@media (max-width: 900px) {
    :root {
        --sidebar-width: 0px;
    }
    .sidebar {
        width: 276px;
        transform: translateX(-100%);
        transition: transform 0.25s cubic-bezier(0.2, 0.7, 0.3, 1);
        padding: 26px 18px 22px;
        max-height: 100dvh;
        box-shadow: 16px 0 45px #061c2b2b;
    }
    .sidebar-open .sidebar {
        transform: translateX(0);
    }
    .sidebar .brand {
        font-size: 19px;
        padding-inline-start: 9px;
        padding-inline-end: 18px;
    }
    .sidebar .brand small {
        font-size: 8px;
    }
    .sidebar .brand-symbol {
        font-size: 34px;
    }
    .sidebar-close:not([hidden]) {
        display: flex;
        position: absolute;
        top: -10px;
        inset-inline-end: -9px;
        color: #b8cecf;
        width: 36px;
        height: 36px;
        min-height: 36px;
        background: #ffffff0b;
    }
    .sidebar-close:hover {
        background: #ffffff1a;
        color: #fff;
    }
    .nav-link {
        font-size: 13px;
        padding-inline: 15px;
    }
    .app-shell {
        margin: 0;
    }
    .topbar {
        height: 74px;
        padding-inline: 22px;
    }
    .topbar-context {
        margin: 0;
    }
    .mobile-toggle:not([hidden]) {
        display: inline-flex !important;
    }
    .top-actions {
        gap: 8px;
    }
    .top-actions .button {
        font-size: 13px;
    }
    .top-actions .button.ghost {
        display: inline-flex;
    }
    .breadcrumb {
        display: none;
    }
    .profile-chip > span:last-child {
        display: inline;
        max-width: 140px;
    }
    .compare-dock {
        left: 50%;
        bottom: 16px;
    }
    .catalog-hero {
        grid-template-columns: 1.1fr 1fr;
        min-height: 360px;
    }
    .hero-copy {
        padding: 36px 0 33px 33px;
    }
    .hero-copy h1 {
        font-size: 40px;
    }
    .hero-copy p {
        max-width: 370px;
        font-size: 14px;
    }
    .hero-copy .eyebrow {
        font-size: 9px;
        max-width: none;
    }
    .hero-art {
        min-height: 360px;
    }
    .hero-machine {
        width: 125%;
        margin-left: 0;
    }
    .japan-sun {
        width: 168px;
        height: 168px;
        right: 22px;
        top: 50px;
    }
    .hero-document {
        right: 22px;
        bottom: 53px;
        font-size: 10px;
    }
    .hero-connection {
        top: 26px;
        left: 12%;
    }
    .art-coordinate {
        max-width: none;
        font-size: 6px;
        bottom: 20px;
        right: 24px;
    }
    .hero-tags span {
        font-size: 11px;
    }
    .hero-tags {
        gap: 16px;
    }
    .catalog-layout {
        display: grid;
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 22px;
    }
    .filters {
        display: block;
        margin-bottom: 0;
        padding: 18px;
    }
    .filters > form {
        display: block;
    }
    .filters .ai-box {
        padding: 15px;
        margin-top: 23px;
    }
    .ai-box form {
        display: block;
    }
    .ai-box textarea {
        height: auto;
        min-height: 95px;
        margin-bottom: 10px;
    }
    .ai-box .button {
        width: 100%;
        min-width: 0;
    }
    .machine-grid {
        gap: 20px;
    }
    .machine-visual {
        height: 185px;
    }
    .machine-card h3 {
        font-size: 19px;
    }
    .spec-chips span {
        font-size: 11px;
    }
    .card-bottom {
        flex-wrap: nowrap;
        padding: 0;
        gap: 9px;
        min-height: 67px;
    }
    .card-bottom .text-link {
        width: auto;
        font-size: 12px;
        min-height: 44px;
    }
    .compare-check {
        font-size: 11px;
        min-height: 44px;
    }
    .discovery-benefits > div {
        font-size: 12px;
        align-items: center;
    }
    .stats-grid article {
        padding: 23px;
    }
    .stats-grid strong {
        font-size: 40px;
    }
    footer {
        padding-inline: 28px;
        font-size: 11px;
    }
    .company-hero h1 {
        font-size: 30px;
    }
    .detail-image {
        min-height: 350px;
    }
    .detail-heading h1 {
        font-size: 35px;
    }
    .tab-strip {
        font-size: 14px;
    }
    .translation-columns {
        grid-template-columns: 1fr;
    }
    .column-title {
        display: none;
    }
    .translation-columns .source-section {
        background: #f2f7f5;
    }
    .document-row .badge {
        font-size: 11px;
    }
    .document-meta {
        font-size: 13px;
    }
    .sticky-actions {
        bottom: 12px;
    }
}
@media (max-width: 720px) {
    main {
        padding: 25px 20px 42px;
    }
    .topbar {
        padding-inline: 16px;
        height: 70px;
    }
    .top-actions {
        gap: 5px;
    }
    .top-actions .button.ghost {
        display: none;
    }
    .top-actions .join-button {
        font-size: 12px;
        min-height: 44px;
        padding: 9px 12px;
    }
    .language-picker summary {
        font-size: 12px;
        gap: 6px;
        padding: 9px;
    }
    .language-picker summary .icon {
        width: 17px;
    }
    .motion-toggle {
        width: 38px;
        padding: 8px;
    }
    .profile-chip > span:last-child {
        display: none;
    }
    .topbar-context .icon-button {
        width: 42px;
    }
    .catalog-hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
        min-height: 340px;
        border-radius: 18px;
    }
    .hero-copy {
        padding: 29px 0 30px 26px;
    }
    .hero-copy h1 {
        font-size: 33px;
        letter-spacing: -1.2px;
    }
    .hero-copy p {
        font-size: 13px;
        line-height: 1.8;
        margin: 16px 0 20px;
        max-width: 335px;
    }
    .hero-copy .eyebrow {
        font-size: 9px;
        letter-spacing: 0.8px;
        align-items: flex-start;
        line-height: 1.8;
        max-width: 250px;
    }
    .hero-live-dot {
        margin-top: 6px;
    }
    .hero-tags {
        flex-direction: column;
        gap: 6px;
        margin-top: 18px;
    }
    .hero-tags span {
        font-size: 10px;
    }
    .hero-button {
        font-size: 12px;
        min-height: 44px;
        padding: 11px 13px;
        gap: 4px;
    }
    .hero-button > span {
        margin-inline-start: 5px;
    }
    .hero-art {
        min-height: 340px;
    }
    .hero-machine {
        width: 155%;
        min-width: 280px;
        margin-left: -20px;
    }
    .japan-sun {
        height: 140px;
        width: 140px;
        top: 50px;
        right: 12px;
    }
    .hero-orbit {
        right: -62px;
        top: 15px;
        width: 270px;
        height: 270px;
    }
    .orbit-two {
        right: -100px;
        top: -22px;
        width: 346px;
        height: 346px;
    }
    .hero-connection {
        top: 24px;
        left: 14%;
    }
    .hero-connection > span {
        height: 25px;
        width: 25px;
        font-size: 8px;
    }
    .hero-connection i {
        width: 45px;
    }
    .hero-connection b {
        animation-name: none !important;
    }
    .hero-document {
        padding: 9px;
        gap: 7px;
        right: 12px;
        bottom: 65px;
        font-size: 8px;
    }
    .hero-document .icon {
        width: 18px;
        height: 18px;
    }
    .hero-document b {
        margin: 0 2px;
    }
    .document-check {
        width: 16px;
        height: 16px;
    }
    .art-coordinate {
        font-size: 6px;
        max-width: 140px;
        line-height: 1.9;
        bottom: 20px;
        right: 13px;
    }
    .discovery-benefits {
        padding: 19px 0;
        gap: 13px;
        margin-bottom: 18px;
    }
    .discovery-benefits > div {
        font-size: 10px;
        gap: 8px;
        align-items: flex-start;
        line-height: 1.7;
    }
    .discovery-benefits .icon {
        height: 18px;
        width: 18px;
    }
    .section-heading {
        margin-top: 21px;
    }
    .section-heading h2 {
        font-size: 23px;
    }
    .section-heading .eyebrow {
        font-size: 10px;
    }
    .result-count {
        font-size: 11px;
        padding: 6px 10px;
    }
    .search-bar {
        gap: 12px;
        padding: 7px 8px 7px 14px;
        margin-bottom: 16px;
        min-height: 63px;
    }
    .search-bar input[type="search"] {
        font-size: 16px;
    }
    .search-bar .button {
        font-size: 13px;
        padding: 11px 15px;
    }
    .search-bar > .icon {
        width: 21px;
        height: 21px;
    }
    .catalog-layout {
        display: block;
    }
    .mobile-filters:not([hidden]) {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 18px;
        background: #fff;
        gap: 9px;
        font-size: 14px;
        min-height: 48px;
    }
    .mobile-filters [data-filter-count] {
        margin-inline-end: auto;
        color: #45696d;
        font-size: 12px;
    }
    .mobile-filters [data-filter-count]:empty {
        display: none;
    }
    .filters {
        padding: 20px;
        margin-bottom: 22px;
        border-color: #cbdcda;
    }
    .filters.filters-collapsed {
        display: none;
    }
    .filters > form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 17px;
    }
    .filters > form > .button {
        margin: 8px 0 0;
        min-height: 46px;
        align-self: center;
    }
    .filters input:not([type="hidden"]),
    .filters select {
        font-size: 16px;
        min-height: 46px;
    }
    .filters .field > span {
        font-size: 13px;
    }
    .filters .ai-box {
        margin-top: 20px;
    }
    .ai-box form {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .ai-box textarea {
        margin-bottom: 0;
        min-height: 85px;
        font-size: 16px;
    }
    .ai-box .button {
        width: auto;
        min-width: 130px;
        min-height: 46px;
    }
    .ai-box p {
        font-size: 13px;
    }
    .catalog-layout .machine-grid,
    .machine-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 17px;
    }
    .machine-visual {
        height: 195px;
    }
    .machine-card-body {
        padding: 18px 17px 0;
    }
    .machine-card h3 {
        font-size: 19px;
    }
    .machine-card-body .eyebrow {
        font-size: 10px;
    }
    .machine-card .model {
        font-size: 12px;
    }
    .spec-chips span {
        font-size: 10px;
    }
    .card-bottom {
        gap: 0;
        flex-wrap: wrap;
        padding: 6px 0;
    }
    .card-bottom .text-link {
        font-size: 12px;
        min-height: 39px;
        width: 100%;
    }
    .compare-check {
        font-size: 12px;
        min-height: 40px;
    }
    .page-heading {
        gap: 18px;
    }
    .page-heading h1 {
        font-size: 33px;
    }
    .page-heading p:not(.eyebrow) {
        font-size: 14px;
    }
    .stats-grid {
        gap: 15px;
    }
    .stats-grid article {
        padding: 21px;
    }
    .stats-grid article > span {
        font-size: 12px;
    }
    .stats-grid small {
        font-size: 11px;
    }
    .stats-grid strong {
        font-size: 37px;
    }
    .stats-grid i {
        font-size: 18px;
        right: 17px;
        top: 19px;
    }
    .dashboard-grid {
        gap: 21px;
    }
    .panel {
        padding: 23px;
    }
    .stack-form .panel {
        padding: 24px;
    }
    .form-grid,
    .form-grid.three {
        grid-template-columns: 1fr 1fr;
        column-gap: 18px;
    }
    .sticky-actions .checkbox-field {
        width: 100%;
        max-width: none;
        margin-bottom: 2px;
    }
    .table-wrap table {
        min-width: 570px;
    }
    .document-meta {
        padding: 17px 20px;
        gap: 12px;
        font-size: 12px;
    }
    .document-row {
        gap: 12px;
        flex-wrap: wrap;
        font-size: 14px;
    }
    .document-row > div {
        min-width: 145px;
    }
    .spec-table {
        grid-template-columns: 1fr;
    }
    .detail-image {
        min-height: 300px;
    }
    .tab-strip {
        gap: 23px;
        font-size: 13px;
    }
    .translation-columns > article {
        padding: 21px;
    }
    .document-text {
        font-size: 14px;
    }
    .company-hero {
        padding: 28px 25px;
        gap: 20px;
    }
    .company-hero h1 {
        font-size: 28px;
    }
    .supplier-grid {
        gap: 17px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .auth-panel {
        padding: 27px;
    }
    .auth-story h1 {
        font-size: 32px;
    }
    .auth-story > p:not(.eyebrow) {
        font-size: 14px;
    }
    .compare-dock {
        font-size: 11px;
        gap: 9px;
        padding: 10px 12px;
    }
    .compare-dock .button {
        font-size: 12px;
        padding: 10px 12px;
    }
    .compare-dock .icon-button {
        width: 36px;
        padding: 5px;
    }
    .compare-total {
        min-width: 27px;
    }
    .compare-dock > span:nth-child(2) {
        max-width: 165px;
    }
    .spec-editor-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px;
        gap: 8px;
    }
    .spec-editor-row .icon-button {
        width: 40px;
    }
    .spec-editor-row input {
        padding: 11px 9px;
    }
    footer {
        padding: 23px 20px;
        font-size: 11px;
        gap: 8px;
    }
    .two-column,
    .business-layout,
    .document-workspace {
        gap: 22px;
    }
}
@media (max-width: 500px) {
    main {
        padding: 21px 16px 36px;
    }
    .topbar {
        padding-inline: 10px;
        height: 67px;
    }
    .top-actions {
        gap: 2px;
    }
    .language-picker summary {
        padding: 8px;
        gap: 5px;
        border-color: transparent;
    }
    .top-actions .join-button {
        font-size: 11px;
        padding: 10px;
        max-width: 135px;
    }
    .top-actions .join-button > span {
        display: none;
    }
    .motion-toggle {
        width: 34px;
        padding: 7px;
    }
    .icon-button {
        border-radius: 8px;
    }
    .catalog-hero {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }
    .hero-copy {
        padding: 30px 26px 0;
        max-width: 100%;
    }
    .hero-copy h1 {
        font-size: clamp(31px, 8.5vw, 42px);
        letter-spacing: -1.2px;
        max-width: 370px;
    }
    .hero-copy p {
        font-size: 14px;
        line-height: 1.85;
        max-width: 370px;
        margin: 17px 0 20px;
    }
    .hero-copy .eyebrow {
        font-size: 9px;
        max-width: none;
        letter-spacing: 0.6px;
        gap: 8px;
        margin-bottom: 16px;
    }
    .hero-button {
        font-size: 13px;
        min-height: 46px;
        padding: 12px 16px;
    }
    .hero-tags {
        flex-direction: row;
        gap: 12px;
        margin-top: 18px;
    }
    .hero-tags span {
        font-size: 10px;
    }
    .hero-art {
        display: flex;
        min-height: 240px;
        height: 240px;
        width: 100%;
        margin-top: 4px;
        overflow: hidden;
    }
    .hero-machine {
        width: 100%;
        max-width: 340px;
        min-width: 0;
        position: absolute;
        top: -10px;
        margin: 0;
        left: calc(50% - 170px);
    }
    .hero-art .hero-machine img {
        width: 100%;
    }
    .japan-sun {
        width: 135px;
        height: 135px;
        right: 33px;
        top: 12px;
    }
    .hero-orbit {
        right: 16px;
        top: -25px;
        width: 220px;
        height: 220px;
    }
    .orbit-two {
        right: -23px;
        top: -64px;
        width: 298px;
        height: 298px;
    }
    .hero-document {
        bottom: 31px;
        right: 24px;
        font-size: 9px;
        padding: 9px 11px;
        gap: 8px;
    }
    .hero-document .icon {
        width: 21px;
        height: 21px;
    }
    .hero-connection {
        top: 25px;
        left: 24px;
        gap: 7px;
    }
    .hero-connection > span {
        width: 24px;
        height: 24px;
    }
    .hero-connection i {
        width: 32px;
    }
    .art-coordinate {
        font-size: 6px;
        right: 22px;
        bottom: 11px;
        max-width: none;
    }
    .discovery-benefits {
        gap: 8px;
        padding: 19px 0 17px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .discovery-benefits > div {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
        font-size: 10px;
        line-height: 1.65;
    }
    .discovery-benefits .icon {
        width: 19px;
        height: 19px;
    }
    .section-heading {
        align-items: flex-start;
        gap: 9px;
    }
    .section-heading h2 {
        font-size: 22px;
    }
    .section-heading .eyebrow {
        font-size: 9px;
        letter-spacing: 1.1px;
    }
    .result-count {
        font-size: 10px;
        padding: 6px 9px;
        margin-top: 3px;
    }
    .search-bar {
        gap: 10px;
        min-height: 62px;
        padding-left: 12px;
    }
    .search-bar > .icon {
        width: 19px;
        height: 19px;
    }
    .search-bar .button {
        padding: 11px 12px;
        font-size: 12px;
    }
    .catalog-layout .machine-grid,
    .machine-grid,
    .supplier-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .machine-visual {
        height: 240px;
    }
    .machine-card-body {
        padding: 22px 22px 0;
    }
    .machine-card h3 {
        font-size: 23px;
    }
    .machine-card-body .eyebrow {
        font-size: 11px;
    }
    .machine-card .model {
        font-size: 13px;
        margin-bottom: 18px;
    }
    .spec-chips {
        gap: 7px;
    }
    .spec-chips span {
        font-size: 12px;
        padding: 5px 8px;
    }
    .card-bottom {
        flex-wrap: nowrap;
        padding: 0;
        gap: 10px;
        min-height: 69px;
    }
    .card-bottom .text-link {
        width: auto;
        font-size: 13px;
        min-height: 44px;
    }
    .compare-check {
        font-size: 12px;
        min-height: 44px;
    }
    .filters {
        padding: 19px;
    }
    .filters > form {
        gap: 0 13px;
    }
    .filters .field > span {
        font-size: 12px;
    }
    .filters > form > .button {
        font-size: 13px;
    }
    .ai-box form {
        display: block;
    }
    .ai-box textarea {
        margin-bottom: 10px;
    }
    .ai-box .button {
        width: 100%;
    }
    .page-heading h1 {
        font-size: 31px;
    }
    .page-heading p:not(.eyebrow) {
        font-size: 14px;
    }
    .page-heading {
        margin-bottom: 25px;
    }
    .stats-grid {
        gap: 12px;
    }
    .stats-grid article {
        padding: 18px 15px;
    }
    .stats-grid article > span {
        font-size: 11px;
        max-width: calc(100% - 18px);
    }
    .stats-grid strong {
        font-size: 34px;
    }
    .stats-grid small {
        font-size: 10px;
    }
    .stats-grid i {
        font-size: 17px;
        right: 12px;
        top: 17px;
    }
    .panel {
        padding: 20px;
    }
    .stack-form .panel {
        padding: 21px;
    }
    .form-grid,
    .form-grid.three {
        grid-template-columns: 1fr;
    }
    .spec-list {
        display: block;
    }
    .sticky-actions {
        padding: 13px 15px;
        gap: 9px;
        bottom: 8px;
    }
    .sticky-actions .button {
        flex: 1;
    }
    .detail-image {
        min-height: 260px;
    }
    .detail-image img {
        max-height: 330px;
    }
    .detail-heading h1 {
        font-size: 31px;
    }
    .company-hero {
        display: block;
        padding: 26px 22px;
    }
    .company-hero h1 {
        font-size: 28px;
    }
    .company-monogram.large {
        margin-bottom: 22px;
    }
    .document-meta {
        font-size: 12px;
    }
    .document-row .badge {
        font-size: 10px;
    }
    .document-row small {
        font-size: 12px;
    }
    .auth-story h1 {
        font-size: 30px;
    }
    .auth-panel {
        padding: 23px;
    }
    .auth-panel h2 {
        font-size: 25px;
    }
    .compare-dock {
        gap: 8px;
        max-width: calc(100vw - 20px);
        padding: 10px;
        bottom: 10px;
        border-radius: 12px;
    }
    .compare-dock > span:nth-child(2) {
        font-size: 10px;
        max-width: 90px;
        line-height: 1.5;
    }
    .compare-dock .button {
        font-size: 11px;
        padding: 10px;
    }
    .compare-dock .icon-button {
        width: 31px;
    }
    .spec-editor-row {
        grid-template-columns: minmax(0, 1fr) 40px;
        gap: 8px;
        margin-bottom: 18px;
    }
    .spec-editor-row input {
        grid-column: 1;
    }
    .spec-editor-row .icon-button {
        grid-column: 2;
        grid-row: 1/3;
        align-self: center;
    }
    .message.own {
        margin-inline-start: 8px;
    }
    .message {
        padding: 18px;
    }
    .inline-form {
        gap: 10px;
    }
    .inline-form .button {
        width: 100%;
    }
    footer > span {
        width: 100%;
    }
    .section-heading > .text-link {
        font-size: 12px;
        min-height: 44px;
    }
    .translation-row > div {
        flex-wrap: wrap;
    }
    .auth-layout {
        gap: 12px;
    }
    .pricing-card {
        padding: 24px;
    }
    .pricing-card h2 small {
        display: block;
        margin-left: 0;
    }
}
@media (max-width: 360px) {
    .top-actions .join-button {
        font-size: 10px;
        max-width: 112px;
        padding-inline: 8px;
    }
    .top-actions .language-picker summary {
        font-size: 11px;
        gap: 4px;
    }
    .motion-toggle {
        width: 29px;
    }
    .hero-copy {
        padding-inline: 21px;
    }
    .hero-copy h1 {
        font-size: 31px;
    }
    .hero-copy .eyebrow {
        font-size: 8px;
    }
    .hero-tags {
        gap: 8px;
    }
    .hero-tags span {
        font-size: 9px;
    }
    .result-count {
        max-width: 90px;
        white-space: normal;
    }
    .filters > form {
        grid-template-columns: 1fr;
    }
    .compare-dock > span:nth-child(2) {
        max-width: 78px;
    }
    .card-bottom {
        flex-wrap: wrap;
    }
    .card-bottom .text-link {
        width: 100%;
    }
    .discovery-benefits > div {
        font-size: 9px;
    }
    .profile-chip .avatar {
        height: 31px;
        width: 31px;
    }
    .top-actions form .icon-button {
        width: 35px;
    }
}
/* Language-aware type and logical flow. More scripts can be styled by lang. */
:lang(ja) {
    line-break: strict;
    word-break: normal;
}
:lang(ja) h1,
:lang(ja) h2,
:lang(ja) h3 {
    letter-spacing: 0.01em;
    line-height: 1.45;
}
:lang(ja) .hero-copy h1 {
    font-size: clamp(28px, 3vw, 42px);
}
:lang(ja) .hero-copy .eyebrow {
    letter-spacing: 0.07em;
}
:lang(ja) .button {
    line-height: 1.7;
}
:lang(ja) .machine-card h3 {
    font-size: 19px;
}
:lang(ja) .card-bottom {
    flex-wrap: wrap;
    padding-block: 7px;
}
:lang(ja) .card-bottom .text-link {
    font-size: 12px;
    min-height: 40px;
}
:lang(ja) .compare-check {
    font-size: 11px;
    min-height: 40px;
}
[dir="rtl"] .sidebar {
    inset: 0 0 0 auto;
}
[dir="rtl"] .app-shell {
    margin-left: 0;
    margin-right: var(--sidebar-width);
}
[dir="rtl"] .nav-link.active {
    box-shadow: inset -3px 0 #f48b79;
}
[dir="rtl"] .hero-copy {
    padding-inline: 42px 0;
}
[dir="rtl"] .language-menu {
    right: auto;
    left: 0;
}
@media (max-width: 900px) {
    [dir="rtl"] .sidebar {
        transform: translateX(100%);
    }
    [dir="rtl"] .sidebar-open .sidebar {
        transform: translateX(0);
    }
}
@media (max-width: 500px) {
    :lang(ja) .hero-copy h1 {
        font-size: 31px;
    }
    [dir="rtl"] .hero-copy {
        padding-inline: 26px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
@media print {
    .sidebar,
    .topbar,
    .sidebar-backdrop,
    .compare-dock,
    footer,
    .mobile-filters,
    .sticky-actions {
        display: none !important;
    }
    .app-shell {
        margin: 0 !important;
    }
    main {
        max-width: none;
        padding: 0;
    }
    .panel,
    .machine-card {
        box-shadow: none;
        break-inside: avoid;
    }
    .catalog-hero {
        background: white;
        color: #17323a;
        border: 1px solid #b3c4c8;
    }
    .hero-copy h1,
    .hero-copy p,
    .hero-copy .eyebrow {
        color: #17323a;
    }
    .hero-art {
        display: none;
    }
    .catalog-hero {
        display: block;
    }
    .filters {
        display: none;
    }
    .catalog-layout {
        display: block;
    }
    body {
        background: white;
    }
    * {
        animation: none !important;
        transition: none !important;
    }
}
