/* ============================================================
   Hanzi Studio — DIY PRO · Tool 06 · DIY Blank Book（研发版）
   复用 kit.css 骨架；此处只放本页专有的预览舞台与输入样式
   （与 dictation.css 同管线）
   ============================================================ */

/* Hero 特效位：本页专属图（活字印刷字模）——覆盖 kit.css 默认毛笔字照片
   默认 opacity:0 与页面背景同色，鼠标移入由 reveal.js 从落点荡开涟漪显现 */
.bk-page .reveal-img {
  background: url('../img/kit-blank-movetype.jpg') center / cover no-repeat;
}

/* 预览列与左栏等高（覆盖 kit.css 的 align-items:start） */
.bk-page .kit-studio__grid { align-items: stretch; }
.bk-page .kit-stage { position: relative; top: 0; display: flex; flex-direction: column; }

#bkDoc { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.bk-doc-wrap { flex: 1; min-height: 0; display: flex; justify-content: center; }

/* A4 纸张：按剩余高度自适应；比例由 blank.js 按纸张/方向动态设置（syncSize） */
.bk-doc-paper {
  height: 100%; width: auto;
  max-width: 100%;
  aspect-ratio: 210 / 297;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 18px 44px -30px rgba(40, 32, 24, .45);
  padding: 10px;
  display: flex;
}
.bk-doc-wrap { flex: 1; min-height: 0; display: flex; justify-content: center; align-items: flex-start; overflow: auto; }
.bk-doc-paper canvas { width: 100%; height: 100%; display: block; border-radius: 4px; }

.kit-stage__hint { flex: none; }

/* 标题 / 自定义标识输入 */
#bkTitle, .bk-brand-text {
  width: 100%; border: 1px solid var(--line-2); border-radius: 10px;
  padding: 10px 14px; font-size: 15px; font-family: inherit;
  background: #fff; color: var(--ink);
}
#bkTitle:focus, .bk-brand-text:focus { outline: none; border-color: var(--seal-line); box-shadow: 0 0 0 3px var(--seal-soft); }
.bk-brand-text { margin-top: 10px; }

.bk-opt { font-style: normal; font-weight: 400; font-size: 11.5px; color: var(--ink-3); margin-left: 6px; }

/* 左栏底部下载/状态 */
.bk-panel-foot { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; }
.bk-panel-foot .btn { width: 100%; justify-content: center; }
.bk-status { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); margin-top: 10px; }
.bk-note { font-size: 12.5px; line-height: 1.55; color: var(--ink-2); margin: 8px 0 0; }
.bk-note a { color: var(--seal); }

/* 响应式：≤1080px hero 特效位由 kit.css 的 .kit-slot 规则统一隐藏 */
@media (max-width: 860px) {
  .bk-doc-paper { height: auto; width: 100%; }
}

/* 打印设置下拉（对齐首页 Worksheet Generator 的 .select 控件） */
.kit-panel .select { width: 100%; }
