.guide-site {
    --guide-accent: #0f766e;
    --guide-accent-strong: #0b5f59;
    --guide-tint: rgba(15, 118, 110, 0.08);
    --guide-gold: #b45309;
    background: var(--canvas) !important;
}

[data-theme="dark"] .guide-site {
    --guide-accent: #2dd4bf;
    --guide-accent-strong: #5eead4;
    --guide-tint: rgba(45, 212, 191, 0.1);
    --guide-gold: #fbbf24;
}

.guide-site svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.guide-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 80;
    height: 3px;
    pointer-events: none;
}

.guide-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: var(--guide-accent);
    transition: width 80ms linear;
}

.guide-main {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    padding-bottom: 88px;
}

.guide-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    align-items: center;
    gap: 72px;
    min-height: 620px;
    padding: 72px 0 58px;
    border-bottom: 1px solid var(--line);
    isolation: isolate;
}

.guide-hero::before {
    content: "";
    position: absolute;
    inset: 38px 0;
    z-index: -1;
    border: 1px solid var(--line);
    border-radius: 8px;
    background-color: color-mix(in srgb, var(--paper) 92%, var(--guide-accent) 8%);
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 52px 52px;
    opacity: 0.72;
}

.guide-hero-copy {
    padding-inline-start: clamp(28px, 5vw, 72px);
}

.guide-badge,
.guide-meta > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.guide-badge {
    color: var(--guide-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

[dir="rtl"] .guide-badge {
    letter-spacing: 0;
}

.guide-badge svg {
    width: 18px;
    height: 18px;
}

.guide-hero h1 {
    max-width: 760px;
    margin: 22px 0 18px;
    color: var(--ink);
    font-size: clamp(3rem, 6vw, 5.7rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.guide-hero-copy > p {
    max-width: 680px;
    margin: 0;
    color: var(--ink-2);
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
}

.guide-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 26px 0 30px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 650;
}

.guide-meta-version {
    display: inline-grid;
    grid-template-columns: auto auto auto auto;
    align-items: center;
    gap: 0;
}

.guide-meta-version > svg {
    margin-inline-end: 8px;
}

.guide-meta-version > span,
.guide-meta-version > bdi {
    min-width: 0;
    padding-inline: 10px;
}

.guide-meta-version > bdi,
.guide-meta-version > .guide-meta-android {
    border-inline-start: 1px solid var(--line);
}

.guide-meta-android {
    display: grid;
    gap: 1px;
}

.guide-meta-android small {
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 650;
}

.guide-meta svg {
    width: 17px;
    height: 17px;
    color: var(--guide-accent);
}

@media (max-width: 640px) {
    .guide-meta-version {
        grid-template-columns: auto repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .guide-meta-version > span,
    .guide-meta-version > bdi {
        padding-inline: 8px;
        text-align: center;
    }
}

.guide-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.guide-actions .btn {
    min-height: 48px;
}

.guide-actions .btn svg {
    width: 18px;
    height: 18px;
}

.guide-cover {
    display: grid;
    place-items: center;
    padding-inline-end: clamp(28px, 5vw, 72px);
}

.guide-cover-window {
    position: relative;
    width: min(100%, 400px);
    aspect-ratio: 0.78;
    padding: 72px 42px 36px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    background: #0b1728;
    color: #fff;
    box-shadow: 0 30px 70px rgba(8, 17, 31, 0.22);
}

.guide-cover-window::after {
    content: "";
    position: absolute;
    inset: auto -18% -14% 12%;
    height: 45%;
    border: 1px solid rgba(45, 212, 191, 0.28);
    transform: rotate(-8deg);
}

.guide-cover-bar {
    position: absolute;
    inset: 24px 28px auto;
    display: flex;
    gap: 7px;
}

.guide-cover-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2dd4bf;
}

.guide-cover-bar span:nth-child(2) { background: #60a5fa; }
.guide-cover-bar span:nth-child(3) { background: #fbbf24; }

.guide-cover-window > img {
    width: 72px;
    height: 72px;
    margin-bottom: 28px;
}

.guide-cover-window > strong {
    display: block;
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1;
}

.guide-cover-window > span {
    display: block;
    margin-top: 12px;
    color: #9fb1c7;
    font-weight: 600;
}

.guide-cover-lines {
    display: grid;
    gap: 12px;
    margin-top: 70px;
}

.guide-cover-lines i {
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
}

.guide-cover-lines i:nth-child(2) { width: 82%; }
.guide-cover-lines i:nth-child(3) { width: 94%; }
.guide-cover-lines i:nth-child(4) { width: 62%; }

.guide-quick,
.guide-reference,
.guide-routine,
.guide-faq {
    padding: 86px 0;
    border-bottom: 1px solid var(--line);
}

.guide-section-heading {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    max-width: 840px;
    margin-bottom: 38px;
}

.guide-section-heading > span {
    color: var(--guide-accent);
    font-size: 0.8rem;
    font-weight: 850;
    padding-top: 9px;
}

.guide-section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: 0;
}

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

.guide-stage-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.guide-stage-grid a {
    position: relative;
    min-height: 250px;
    padding: 30px;
    border-inline-end: 1px solid var(--line);
    transition: background 180ms ease, transform 180ms ease;
}

.guide-stage-grid a:last-child { border-inline-end: 0; }
.guide-stage-grid a:hover { background: var(--guide-tint); }
.guide-stage-grid a:focus-visible { outline: 3px solid color-mix(in srgb, var(--guide-accent) 34%, transparent); outline-offset: -3px; }

.guide-stage-grid b {
    position: absolute;
    inset: 22px 24px auto auto;
    color: var(--muted-2);
    font-size: 0.75rem;
}

[dir="rtl"] .guide-stage-grid b { inset: 22px auto auto 24px; }

.guide-stage-grid a > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 34px;
    border-radius: 8px;
    background: var(--guide-tint);
    color: var(--guide-accent);
}

.guide-stage-grid strong {
    display: block;
    font-size: 1.12rem;
}

.guide-stage-grid p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.guide-workspace {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 72px;
    padding: 92px 0 70px;
    border-bottom: 1px solid var(--line);
}

.guide-sidebar {
    align-self: start;
    position: sticky;
    top: 102px;
    max-height: calc(100vh - 126px);
    overflow: auto;
    scrollbar-width: thin;
}

.guide-search label,
.guide-sidebar nav > strong {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

[dir="rtl"] .guide-search label,
[dir="rtl"] .guide-sidebar nav > strong {
    letter-spacing: 0;
}

.guide-search > div {
    position: relative;
}

.guide-search svg {
    position: absolute;
    inset: 50% auto auto 13px;
    width: 17px;
    height: 17px;
    color: var(--muted);
    transform: translateY(-50%);
    pointer-events: none;
}

[dir="rtl"] .guide-search svg { inset: 50% 13px auto auto; }

.guide-search input {
    width: 100%;
    min-height: 44px;
    padding: 10px 14px 10px 42px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    outline: none;
    background: var(--paper);
    color: var(--ink);
    font: inherit;
    font-size: 0.86rem;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

[dir="rtl"] .guide-search input { padding: 10px 42px 10px 14px; }

.guide-search input:focus {
    border-color: var(--guide-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--guide-accent) 16%, transparent);
}

.guide-sidebar nav {
    display: grid;
    gap: 3px;
    margin-top: 28px;
}

.guide-sidebar nav a {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    min-height: 40px;
    padding: 7px 10px;
    border-inline-start: 2px solid transparent;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 650;
    transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.guide-sidebar nav a span {
    color: var(--muted-2);
    font-size: 0.68rem;
}

.guide-sidebar nav a:hover,
.guide-sidebar nav a.is-active {
    border-color: var(--guide-accent);
    background: var(--guide-tint);
    color: var(--ink);
}

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

.guide-empty {
    padding: 34px;
    border: 1px dashed var(--line-strong);
    border-radius: 8px;
    color: var(--muted);
    text-align: center;
}

.guide-chapter {
    padding: 0 0 84px;
    scroll-margin-top: 110px;
}

.guide-chapter + .guide-chapter {
    padding-top: 84px;
    border-top: 1px solid var(--line);
}

.guide-chapter[hidden] { display: none; }

.guide-chapter > header {
    display: grid;
    grid-template-columns: 42px 52px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.guide-chapter-number {
    padding-top: 14px;
    color: var(--guide-accent);
    font-size: 0.76rem;
    font-weight: 850;
}

.guide-chapter-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid color-mix(in srgb, var(--guide-accent) 20%, var(--line));
    border-radius: 8px;
    background: var(--guide-tint);
    color: var(--guide-accent);
}

.guide-chapter h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    line-height: 1.12;
    letter-spacing: 0;
}

.guide-chapter header p {
    max-width: 700px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 1.02rem;
}

.guide-path {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 28px 0 0 110px;
    padding: 12px 16px;
    border-inline-start: 3px solid var(--guide-accent);
    background: var(--guide-tint);
    font-size: 0.86rem;
}

[dir="rtl"] .guide-path { margin: 28px 110px 0 0; }
.guide-path span { color: var(--muted); }
.guide-path strong { color: var(--ink); }

.guide-image {
    margin: 34px 0 36px 110px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

[dir="rtl"] .guide-image { margin: 34px 110px 36px 0; }

.guide-image img {
    width: 100%;
    aspect-ratio: 1.84;
    border-radius: 5px;
    object-fit: cover;
    object-position: top center;
}

.guide-image-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 34px 0 36px 110px;
}

[dir="rtl"] .guide-image-grid { margin: 34px 110px 36px 0; }

.guide-image-tile {
    min-width: 0;
    margin: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.guide-image-tile:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--guide-accent) 42%, var(--line));
    box-shadow: var(--shadow-md);
}

.guide-image-tile img {
    display: block;
    width: 100%;
    aspect-ratio: 1.84;
    border-radius: 5px;
    object-fit: cover;
    object-position: top center;
}

.guide-image-tile figcaption {
    padding: 9px 4px 4px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 750;
    line-height: 1.3;
}

.guide-procedure {
    margin: 36px 0 0 110px;
}

[dir="rtl"] .guide-procedure { margin: 36px 110px 0 0; }

.guide-procedure h3 {
    margin: 0 0 18px;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

[dir="rtl"] .guide-procedure h3 { letter-spacing: 0; }

.guide-procedure ol {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.guide-procedure li {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
}

.guide-procedure li:last-child { border-bottom: 1px solid var(--line); }

.guide-procedure li > span {
    color: var(--guide-accent);
    font-size: 0.74rem;
    font-weight: 850;
    padding-top: 3px;
}

.guide-procedure li p {
    margin: 0;
    color: var(--ink-2);
}

.guide-tip {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 14px;
    margin: 26px 0 0 110px;
    padding: 20px;
    border: 1px solid color-mix(in srgb, var(--guide-gold) 22%, var(--line));
    border-radius: 8px;
    background: color-mix(in srgb, var(--paper) 92%, var(--guide-gold) 8%);
}

[dir="rtl"] .guide-tip { margin: 26px 110px 0 0; }

.guide-tip > span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--guide-gold) 12%, transparent);
    color: var(--guide-gold);
}

.guide-tip strong { color: var(--ink); }
.guide-tip p { margin: 4px 0 0; color: var(--muted); font-size: 0.92rem; }

.guide-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    box-shadow: var(--shadow-sm);
}

.guide-table-wrap table {
    width: 100%;
    min-width: 740px;
    border-collapse: collapse;
    text-align: start;
}

.guide-table-wrap th,
.guide-table-wrap td {
    padding: 20px 22px;
    border-bottom: 1px solid var(--line);
    text-align: start;
    vertical-align: top;
}

.guide-table-wrap thead th {
    background: var(--guide-tint);
    color: var(--muted);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

[dir="rtl"] .guide-table-wrap thead th { letter-spacing: 0; }
.guide-table-wrap tbody th { color: var(--guide-accent); white-space: nowrap; }
.guide-table-wrap tbody tr:last-child th,
.guide-table-wrap tbody tr:last-child td { border-bottom: 0; }

.guide-routine-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--paper);
}

.guide-routine-grid article {
    min-height: 220px;
    padding: 30px;
    border-inline-end: 1px solid var(--line);
}

.guide-routine-grid article:last-child { border-inline-end: 0; }
.guide-routine-grid span { color: var(--guide-accent); font-size: 0.75rem; font-weight: 850; }
.guide-routine-grid h3 { margin: 30px 0 10px; font-size: 1.35rem; }
.guide-routine-grid p { margin: 0; color: var(--muted); }

.guide-faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.guide-faq-list details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}

.guide-faq-list summary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    cursor: pointer;
    color: var(--ink);
    font-weight: 700;
    list-style: none;
}

.guide-faq-list summary::-webkit-details-marker { display: none; }
.guide-faq-list summary span { color: var(--guide-accent); font-size: 1.25rem; transition: transform 160ms ease; }
.guide-faq-list details[open] summary span { transform: rotate(45deg); }
.guide-faq-list details p { margin: 0; padding: 0 20px 22px; color: var(--muted); }

.guide-support {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    margin: 88px 0 30px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #0b1728;
    color: #fff;
    box-shadow: var(--shadow-md);
}

.guide-support-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: rgba(45, 212, 191, 0.12);
    color: #5eead4;
}

.guide-support h2 { margin: 0; color: #fff; font-size: 1.65rem; }
.guide-support p { margin: 6px 0 0; color: #a9b8cb; }

.guide-top {
    display: table;
    margin: 34px auto 0;
    color: var(--guide-accent);
    font-weight: 700;
}

.guide-footer { margin-top: 0; }

@media (max-width: 1060px) {
    .guide-hero { grid-template-columns: 1fr 340px; gap: 38px; }
    .guide-stage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .guide-stage-grid a:nth-child(2) { border-inline-end: 0; }
    .guide-stage-grid a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .guide-workspace { grid-template-columns: 240px minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 820px) {
    .guide-main { width: min(100% - 28px, 720px); }
    .guide-hero { grid-template-columns: 1fr; min-height: auto; padding: 54px 0; }
    .guide-hero::before { inset: 18px 0; }
    .guide-hero-copy { padding: 24px; }
    .guide-cover { display: none; }
    .guide-quick, .guide-reference, .guide-routine, .guide-faq { padding: 64px 0; }
    .guide-workspace { display: block; padding-top: 62px; }
    .guide-sidebar { position: relative; top: auto; max-height: none; margin-bottom: 50px; overflow: visible; }
    .guide-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .guide-chapter > header { grid-template-columns: 34px 46px minmax(0, 1fr); }
    .guide-chapter-icon { width: 46px; height: 46px; }
    .guide-path, .guide-image, .guide-image-grid, .guide-procedure, .guide-tip { margin-inline-start: 0; }
    [dir="rtl"] .guide-path, [dir="rtl"] .guide-image, [dir="rtl"] .guide-image-grid, [dir="rtl"] .guide-procedure, [dir="rtl"] .guide-tip { margin-inline-start: 0; margin-inline-end: 0; }
    .guide-image-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .guide-routine-grid { grid-template-columns: 1fr; }
    .guide-routine-grid article { border-inline-end: 0; border-bottom: 1px solid var(--line); }
    .guide-routine-grid article:last-child { border-bottom: 0; }
    .guide-faq-list { grid-template-columns: 1fr; }
    .guide-support { grid-template-columns: 54px minmax(0, 1fr); }
    .guide-support .btn { grid-column: 1 / -1; width: 100%; }
}

@media (max-width: 560px) {
    .guide-main { width: min(100% - 20px, 520px); }
    .guide-hero h1 { font-size: 2.25rem; line-height: 1.12; }
    .guide-actions { display: grid; }
    .guide-actions .btn { width: 100%; }
    .guide-stage-grid { grid-template-columns: 1fr; }
    .guide-stage-grid a { min-height: 210px; border-inline-end: 0; border-bottom: 1px solid var(--line); }
    .guide-stage-grid a:last-child { border-bottom: 0; }
    .guide-sidebar nav { grid-template-columns: 1fr; }
    .guide-section-heading { grid-template-columns: 38px minmax(0, 1fr); gap: 10px; }
    .guide-section-heading h2 { font-size: 2rem; }
    .guide-chapter > header { grid-template-columns: 36px minmax(0, 1fr); }
    .guide-chapter-number { display: none; }
    .guide-chapter h2 { font-size: 1.75rem; }
    .guide-path { display: grid; gap: 3px; }
    .guide-procedure li { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
    .guide-support { grid-template-columns: 1fr; padding: 26px; }
}

@media (max-width: 820px) {
    .guide-site:not(.permispro-guide) .guide-sidebar {
        margin-bottom: 30px;
    }

    .guide-site:not(.permispro-guide) .guide-sidebar nav {
        display: flex;
        gap: 8px;
        margin-top: 16px;
        padding-bottom: 8px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: inline proximity;
        scrollbar-width: thin;
    }

    .guide-site:not(.permispro-guide) .guide-sidebar nav > strong {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        margin: 0 4px 0 0;
    }

    .guide-site:not(.permispro-guide) .guide-sidebar nav > a {
        min-height: 44px;
        flex: 0 0 min(250px, 72vw);
        scroll-snap-align: start;
    }
}

@media (max-width: 640px) {
    .guide-meta-version {
        grid-template-columns: 26px minmax(0, 1fr);
        align-items: start;
        width: 100%;
    }

    .guide-meta-version > svg {
        grid-row: 1 / span 3;
        margin: 6px 8px 0 0;
    }

    .guide-meta-version > span,
    .guide-meta-version > bdi {
        padding: 5px 0;
        border-inline-start: 0 !important;
        text-align: start;
    }

    .guide-meta-version > bdi,
    .guide-meta-version > .guide-meta-android {
        border-top: 1px solid var(--line);
    }
}

@media (prefers-reduced-motion: reduce) {
    .guide-site *, .guide-site *::before, .guide-site *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

@page {
    size: A4;
    margin: 10mm 12mm 12mm;
}

@media print {
    :root { color-scheme: light; }
    html { font-size: 9pt; }
    body.guide-site { background: #fff !important; color: #0f172a !important; }
    .site-nav, .guide-progress, .guide-actions, .guide-sidebar, .guide-top, .guide-footer, .guide-support .btn { display: none !important; }
    .guide-main { width: 100%; margin: 0; padding: 0; }
    .guide-hero { min-height: 255mm; grid-template-columns: 1fr; align-content: center; gap: 20mm; padding: 0; border: 0; page-break-after: always; }
    .guide-hero::before { inset: 0; border-color: #cbd5e1; background-color: #f8fafc; background-image: none; opacity: 1; }
    .guide-hero-copy { padding: 18mm; }
    .guide-hero h1 { font-size: 38pt; color: #0f172a; }
    .guide-hero-copy > p { color: #334155; font-size: 14pt; }
    .guide-cover { display: none; }
    .guide-badge, .guide-meta svg { color: #0f766e; }
    .guide-quick, .guide-reference, .guide-routine { padding: 0 0 8mm; border: 0; page-break-after: always; }
    .guide-faq { padding: 0; border: 0; page-break-after: auto; }
    .guide-stage-grid { grid-template-columns: repeat(2, 1fr); box-shadow: none; }
    .guide-stage-grid a { min-height: 52mm; border-bottom: 1px solid #dbe2ea; }
    .guide-workspace { display: block; padding: 0; border: 0; }
    .guide-chapter { padding: 0; page-break-before: always; page-break-after: always; }
    .guide-chapter + .guide-chapter { padding-top: 0; border-top: 0; }
    .guide-chapter > header, .guide-path, .guide-procedure h3, .guide-procedure li, .guide-tip { break-inside: avoid; }
    .guide-chapter > header { grid-template-columns: 8mm 10mm minmax(0, 1fr); gap: 3mm; }
    .guide-chapter-number { padding-top: 2mm; }
    .guide-chapter-icon { width: 10mm; height: 10mm; }
    .guide-chapter-icon svg { width: 5mm; height: 5mm; }
    .guide-chapter h2 { color: #0f172a; font-size: 20pt; line-height: 1.05; }
    .guide-chapter header p { margin-top: 1.5mm; font-size: 9pt; line-height: 1.35; }
    .guide-chapter header p, .guide-procedure li p { color: #334155; }
    .guide-chapter-icon, .guide-path { background: #eef9f7; color: #0f766e; }
    .guide-path, .guide-image, .guide-image-grid, .guide-procedure, .guide-tip { margin-inline-start: 0 !important; margin-inline-end: 0 !important; }
    .guide-path { margin-top: 3mm; padding: 2mm 3mm; font-size: 8pt; }
    .guide-image { box-shadow: none; padding: 1.5mm; margin-top: 4mm; margin-bottom: 4mm; break-inside: avoid; }
    .guide-image img { max-height: 61mm; object-fit: contain; background: #fff; }
    .guide-image-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2mm; margin-top: 4mm; margin-bottom: 4mm; break-inside: avoid; }
    .guide-image-tile { padding: 1mm; box-shadow: none; break-inside: avoid; }
    .guide-image-tile img { max-height: 40mm; object-fit: contain; background: #fff; }
    .guide-image-tile figcaption { padding: 1mm; font-size: 6.5pt; }
    .guide-procedure { margin-top: 3mm; }
    .guide-procedure h3 { margin-bottom: 2mm; font-size: 7.5pt; }
    .guide-procedure li { grid-template-columns: 7mm minmax(0, 1fr); gap: 2mm; padding: 1.8mm 0; font-size: 8.5pt; line-height: 1.28; }
    .guide-procedure li > span { padding-top: 0.5mm; font-size: 7pt; }
    .guide-tip { grid-template-columns: 8mm minmax(0, 1fr); gap: 2mm; margin-top: 3mm; padding: 2.5mm; background: #fffbeb; font-size: 8pt; line-height: 1.3; }
    .guide-tip > span { width: 7mm; height: 7mm; }
    .guide-tip > span svg { width: 4mm; height: 4mm; }
    .guide-tip p { margin-top: 1mm; font-size: 8pt; }
    .guide-table-wrap { overflow: visible; box-shadow: none; }
    .guide-table-wrap table { min-width: 0; font-size: 9pt; }
    .guide-table-wrap th, .guide-table-wrap td { padding: 3mm; }
    .guide-routine-grid { box-shadow: none; }
    .guide-faq-list { grid-template-columns: 1fr; }
    .guide-faq-list details { break-inside: avoid; }
    .guide-faq-list details p { display: block !important; color: #334155; }
    .guide-faq-list summary span { display: none; }
    .guide-faq-list details { font-size: 8.5pt; }
    .guide-faq-list summary { padding: 3mm; }
    .guide-faq-list details p { padding: 0 3mm 3mm; }
    .guide-support { margin: 6mm 0 0; padding: 5mm; box-shadow: none; break-inside: avoid; }
    .guide-support-icon { width: 12mm; height: 12mm; }
    .guide-support h2 { font-size: 15pt; }
    .guide-support p { font-size: 8.5pt; }
}
