.book-page {
    padding: calc(var(--bn-nav-h) + 32px) 0 64px;
    min-height: 100vh;
    background: var(--bn-bg);
}

.book-wrap {
    max-width: 640px;
    margin: 0 auto;
}

.book-head {
    text-align: center;
    margin-bottom: 28px;
}

.book-head h1 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 0 0 8px;
    color: var(--bn-text);
}

.book-head p {
    margin: 0;
    color: var(--bn-text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

.book-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
    padding: 0 4px;
}

.book-step {
    flex: 1;
    max-width: 140px;
    text-align: center;
    position: relative;
}

.book-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 16px;
    left: calc(50% + 18px);
    width: calc(100% - 36px);
    height: 2px;
    background: var(--bn-border);
    z-index: 0;
}

.book-step.done:not(:last-child)::after,
.book-step.active:not(:last-child)::after {
    background: var(--bn-blue);
}

.book-step-dot {
    width: 32px;
    height: 32px;
    margin: 0 auto 8px;
    border-radius: 50%;
    border: 2px solid var(--bn-border);
    background: var(--bn-surface);
    color: var(--bn-text-secondary);
    font-size: 0.8125rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.book-step.active .book-step-dot {
    border-color: var(--bn-blue);
    background: var(--bn-blue);
    color: #fff;
}

.book-step.done .book-step-dot {
    border-color: var(--bn-blue);
    background: var(--bn-blue);
    color: #fff;
}

.book-step-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bn-text-secondary);
    line-height: 1.3;
}

.book-step.active .book-step-label,
.book-step.done .book-step-label {
    color: var(--bn-text);
}

.book-form-card {
    background: var(--bn-surface);
    border: 1px solid var(--bn-border);
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
    .book-form-card {
        padding: 32px 36px;
    }
}

.book-plan-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--bn-bg);
    border: 1px solid var(--bn-border);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.book-plan-pill small {
    font-weight: 500;
    color: var(--bn-text-secondary);
}

.book-panel {
    display: none;
}

.book-panel.active {
    display: block;
}

.book-panel-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 6px;
    color: var(--bn-text);
}

.book-panel-desc {
    font-size: 0.9375rem;
    color: var(--bn-text-secondary);
    margin: 0 0 20px;
    line-height: 1.5;
}

.book-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

@media (min-width: 640px) {
    .book-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 20px;
    }
}

.book-grid .full {
    grid-column: 1 / -1;
}

.book-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--bn-text);
}

.book-field label.required::after {
    content: " *";
    color: var(--bn-blue);
}

.book-input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    font-size: 16px;
    border: 1px solid var(--bn-border);
    border-radius: 10px;
    background: var(--bn-surface);
    color: var(--bn-text);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.book-input:focus {
    outline: none;
    border-color: var(--bn-blue);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.12);
}

.book-input.invalid {
    border-color: #dc2626;
}

textarea.book-input {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.book-field-error {
    font-size: 0.75rem;
    color: #dc2626;
    margin-top: 6px;
    display: none;
}

.book-field-error.show {
    display: block;
}

.book-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--bn-border);
}

.book-nav .bn-btn {
    min-height: 48px;
    flex: 1 1 auto;
}

.book-nav .bn-btn-secondary {
    background: var(--bn-bg);
    color: var(--bn-text);
    border: 1px solid var(--bn-border);
}

.book-nav .bn-btn-secondary:hover {
    background: #f5f5f7;
    color: var(--bn-text);
}

.book-nav .bn-btn-primary {
    flex: 1 1 55%;
}

.book-review {
    background: var(--bn-bg);
    border: 1px solid var(--bn-border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 8px;
}

.book-review-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--bn-border);
    font-size: 0.9375rem;
}

.book-review-row:last-child {
    border-bottom: none;
}

.book-review-row span:first-child {
    color: var(--bn-text-secondary);
    flex-shrink: 0;
}

.book-review-row span:last-child {
    text-align: right;
    font-weight: 500;
    word-break: break-word;
}

.book-footnote {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--bn-text-secondary);
    margin: 20px 0 0;
}

.book-alert {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 0.9375rem;
    margin-bottom: 20px;
}

.book-alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.book-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.book-success-card {
    text-align: center;
    padding: 40px 24px;
}

.book-success-card i {
    font-size: 3rem;
    color: #34c759;
    margin-bottom: 16px;
}
