@charset "UTF-8";

/**fv**/
h2 {
    background-image: url(../img/procedure-fv.jpg);
}

:root {
    --bg: #f7f9fc;
    --fg: #1a1f2b;
    --muted: #5c6470;
    --brand: #2c7be5;
    --accent: #FFD6E0;
    --danger: #e66a6a;
    --border: #dde3ea;
    --card: #ffffff;
    --focus: #2c7be5;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0f1217;
        --fg: #e7ecf4;
        --muted: #a0a7b3;
        --brand: #66a3ff;
        --accent: #FFD6E0;
        --danger: #ff8b8b;
        --border: #293040;
        --card: #12161f;
        --focus: #66a3ff;
    }
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: -999px;
    background: var(--brand);
    color: #fff;
    padding: .5rem .75rem;
    border-radius: .25rem;
}

.skip-link:focus {
    left: .5rem;
    top: .5rem;
}

.wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(44, 123, 229, .06), transparent);
}

.brand .logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--brand);
    box-shadow: 0 6px 16px rgba(44, 123, 229, .25);
    position: relative;
}

.brand .logo::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 4px;
    background: #fff;
    mask: radial-gradient(circle at 50% 50%, #000 52%, transparent 54%) center/24px 24px no-repeat;
}

.brand h3 {
    font-size: 1.25rem;
    margin: 0;
}

.brand p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
}

nav.actions {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-top: .75rem;
}

.btn {
    appearance: none;
    background: var(--card);
    color: var(--fg);
    border: 1px solid var(--border);
    padding: .5rem .75rem;
    border-radius: .5rem;
    cursor: pointer;
    transition: .2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.btn.primary {
    background: var(--brand);
    color: #fff;
    border-color: transparent;
}

.btn.outline {
    background: transparent;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .08);
}

.btn:focus {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

main {
    padding: 0 0 3rem;
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width:900px) {
    .grid {
        grid-template-columns: 2fr 1fr;
    }
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

h4 {
    font-size: 1.25rem;
    margin: .25rem 0 .75rem;
}

h5 {
    font-size: 1.1rem;
    margin: 1rem 0 .5rem;
}

.lead {
    color: var(--muted);
}

.list {
    display: grid;
    gap: .75rem;
    margin: .75rem 0 0;
    padding: 0;
    list-style: none;
}

.step {
    border: 1px dashed var(--border);
    border-radius: 10px;
    padding: .75rem;
    background: linear-gradient(180deg, rgba(184, 18, 170, 0.055), transparent);
}

.step-header {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .25rem;
}

.step-num {
    background: var(--accent);
    color: #fff;
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.kbd {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Noto Sans Mono", monospace;
    background: rgba(0, 0, 0, .06);
    padding: .1rem .3rem;
    border-radius: .25rem;
    border: 1px solid var(--border);
}

.note {
    font-size: .92rem;
    color: var(--muted);
}

details {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: .75rem 1rem;
    background: linear-gradient(180deg, rgba(44, 123, 229, .06), transparent);
}

details+details {
    margin-top: .75rem;
}

summary {
    cursor: pointer;
    font-weight: 600;
}

.progress {
    display: flex;
    gap: .5rem;
    margin: .75rem 0;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: transparent;
}

.dot.active {
    border-color: var(--accent);
    background: var(--accent);
}

.aside {
    display: grid;
    gap: 1rem;
}

.status {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(230, 106, 106, .08), transparent);
}

.status .badge {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--danger);
}

.tool {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .75rem;
    border: 1px solid var(--border);
    border-radius: .5rem;
}

.tool kbd {
    border: 1px solid var(--border);
    padding: .1rem .3rem;
    border-radius: .25rem;
    background: rgba(0, 0, 0, .06);
}

.help {
    color: var(--muted);
    font-size: .92rem;
}

.footer {
    margin-top: 1.5rem;
    color: var(--muted);
    font-size: .9rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.link {
    color: var(--brand);
    text-decoration: none;
}

.link:focus {
    outline: 3px solid var(--focus);
    outline-offset: 2px;
}

/* 印刷 */
@media print {

    nav.actions,
    .aside,
    .footer,
    .skip-link {
        display: none !important;
    }

    body {
        background: #fff;
    }

    .card {
        box-shadow: none;
        border-color: #ccc;
    }
}