/* ═══ 打印配置 (print-config) - 放大版 ═══ */

/* ── 设备信息 ── */
.pc-device-section {
    margin-bottom: 20px;
}
.pc-device-section h4 {
    font-size: 18px; font-weight: 700; color: #1e293b; margin-bottom: 14px;
}
.pc-device-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.pc-device-item {
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px;
    padding: 12px 16px; display: flex; flex-direction: column; gap: 4px;
}
.pc-device-label { font-size: 14px; color: #94a3b8; font-weight: 500; }
.pc-device-value { font-size: 17px; color: #1e293b; font-weight: 700; }

/* ── 配置网格 ── */
.pc-config-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px;
}
.pc-block {
    background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden;
}
.pc-block-title {
    font-size: 16px; font-weight: 700; color: #1e293b;
    padding: 14px 18px; background: #f8fafc; border-bottom: 1px solid #e2e8f0;
}
.pc-block-body { padding: 16px 18px; }

/* ── 字段 ── */
.pc-field {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px; gap: 10px;
}
.pc-field:last-child { margin-bottom: 0; }
.pc-field-label {
    font-size: 15px; color: #475569; min-width: 110px; flex-shrink: 0; font-weight: 500;
}
.pc-field-inputs {
    display: flex; align-items: center; gap: 6px; flex: 1; justify-content: flex-end;
}

/* ── 输入控件 ── */
.pc-select {
    width: 140px; padding: 6px 10px; border: 1px solid #d1d5db; border-radius: 6px;
    font-size: 15px; text-align: right;
}
.pc-input {
    width: 220px; padding: 6px 10px; border: 1px solid #d1d5db; border-radius: 6px;
    font-size: 15px; text-align: right;
}
.pc-input-text {
    width: 320px; text-align: left; font-size: 15px; padding: 6px 10px;
    border: 1px solid #d1d5db; border-radius: 6px;
}

/* ── 单位/提示 ── */
.pc-unit {
    font-size: 14px; color: #94a3b8; min-width: 32px; font-weight: 600;
}
.pc-range-hint {
    font-size: 13px; color: #cbd5e1; min-width: 50px; text-align: right;
}
.pc-unit-label {
    font-size: 14px; color: #928374; font-weight: 600;
}
.pc-unit-select {
    padding: 5px 10px; border: 1px solid #504945; border-radius: 6px;
    background: #3c3836; color: #ebdbb2; font-size: 14px; cursor: pointer;
}
.pc-unit-select:hover { border-color: #689d6a; }
.pc-unit-dpi { font-size: 13px; color: #504945; }
.pc-unit-conv { color: #83c7c9; font-weight: 700; }

/* ── 操作栏 ── */
.pc-actions {
    display: flex; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; align-items: center;
}
.pc-actions-left { display: flex; align-items: center; gap: 8px; }
.pc-actions-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.pc-actions-center { display: flex; align-items: center; gap: 8px; }

/* ── 状态栏 ── */
.pc-status {
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px;
    padding: 14px 18px; margin-bottom: 16px; font-size: 15px; min-height: 22px;
    line-height: 1.5;
}

/* ── 按钮 ── */
.btn-sm {
    font-size: 14px; padding: 6px 14px; vertical-align: middle; margin-left: 8px;
    border-radius: 6px; font-weight: 600;
}

/* 危险按钮（恢复出厂） */
.btn-danger {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 20px; font-size: 15px; font-weight: 700;
    border: 2px solid #cc241d; border-radius: 8px;
    background: rgba(204,36,29,.12); color: #fc9b8f;
    cursor: pointer; transition: all .2s;
}
.btn-danger:hover {
    background: rgba(204,36,29,.3); border-color: #fb4934;
}

/* ── 字体列表 ── */
.pc-fonts-section { margin-bottom: 16px; }
.pc-fonts-section h4 { font-size: 16px; font-weight: 700; color: #1e293b; margin-bottom: 10px; }
.pc-fonts-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-font-item {
    background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 6px;
    padding: 6px 14px; font-size: 14px; color: #334155; font-weight: 500;
}

/* ── Range 滑块 ── */
.pc-range-wrap { display: flex; align-items: center; gap: 8px; }
.pc-range { width: 120px; }
.pc-range-val { font-size: 14px; color: #1e293b; font-weight: 700; min-width: 28px; text-align: right; }

/* ── 全宽块 ── */
.pc-block-full { grid-column: 1 / 3; }

/* ── 响应式 ── */
@media (max-width: 768px) {
    .pc-config-grid { grid-template-columns: 1fr; }
    .pc-device-grid { grid-template-columns: repeat(2, 1fr); }
    .pc-block-full { grid-column: 1; }
}

/* ── 保存按钮 ── */
.pc-save-btn {
    padding: 10px 24px; font-size: 16px; font-weight: 700; border-radius: 8px;
    background: #2d6a4f; color: #fff; border: none; cursor: pointer;
    transition: all .2s;
}
.pc-save-btn:hover { background: #40916c; }
.pc-save-btn:disabled { opacity: .5; cursor: not-allowed; }
