/* ==========================================================
   PDF 作业裁切 · 样式
   浅色主题，与站点其他工具保持同一套视觉语言
   ========================================================== */

:root {
  --bg:        #F4F6FA;
  --card:      #FFFFFF;
  --border:    #E3E7F0;
  --border-2:  #D4DAE8;
  --text:      #1D2433;
  --muted:     #68738C;
  --muted-2:   #8D97AE;
  --accent:    #3A6FF7;
  --accent-d:  #2B58CC;
  --accent-s:  #EAF0FF;
  --ok:        #12A150;
  --ok-s:      #E7F7EE;
  --warn:      #C2740A;
  --warn-s:    #FDF3E3;
  --err:       #D92D20;
  --err-s:     #FDEDEB;
  --radius:    14px;
  --radius-s:  9px;
  --shadow:    0 1px 2px rgba(20, 30, 60, .04), 0 10px 26px rgba(20, 30, 60, .055);
  --shadow-s:  0 1px 2px rgba(20, 30, 60, .05);
  --mono:      "JetBrains Mono", "Cascadia Mono", Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }

/* hidden 属性必须压过 display:grid / flex，否则隐藏会失效 */
[hidden] { display: none !important; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Microsoft YaHei UI", "PingFang SC", "Hiragino Sans GB",
               -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, p, ul, figure { margin: 0; }

button, input, select, textarea { font: inherit; }

.app {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  max-width: 1520px;
  margin: 0 auto;
  padding: 18px 22px 0;
}

/* ------------------------------------------------ 头部 */

.head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 4px 0 16px;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }

.logo {
  width: 42px; height: 42px;
  flex: 0 0 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: linear-gradient(150deg, #EEF3FF, #DDE7FF);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(58, 111, 247, .12);
}

.titles h1 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .2px;
  line-height: 1.3;
}

.titles .sub {
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--muted);
}

.head-tags { display: flex; gap: 8px; align-items: center; }

.tag-ok {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ok);
  background: var(--ok-s);
  border: 1px solid #C6EAD6;
  padding: 5px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ------------------------------------------------ 拖放区 */

.drop {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 2px dashed var(--border-2);
  border-radius: var(--radius);
  background: #FBFCFE;
  color: var(--muted);
  cursor: pointer;
  outline: none;
  transition: border-color .16s, background .16s, box-shadow .16s;
  margin-bottom: 16px;
}

.drop:hover { border-color: #B7C5E6; background: #F8FAFF; }
.drop:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-s); }
.drop.active {
  border-color: var(--accent);
  background: var(--accent-s);
  color: var(--accent);
}
.drop.has-files { border-style: solid; border-color: #C8D5F3; padding: 13px 18px; }
.drop.has-files .drop-hint { display: none; }

.drop-icon { color: currentColor; opacity: .9; flex: 0 0 auto; display: grid; place-items: center; }

.drop-text { flex: 1; min-width: 0; }

.drop-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.drop.has-files .drop-title { font-size: 13.5px; }
.drop.active .drop-title { color: var(--accent); }

.drop-hint { margin-top: 3px; font-size: 12.5px; color: var(--muted); }

.drop-cta {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: #FFF;
  border: 1px solid #C9D6F6;
  padding: 8px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ------------------------------------------------ 布局 */

.layout {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 16px;
}

.col-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.col-side {
  flex: 0 0 356px;
  width: 356px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ------------------------------------------------ 卡片 */

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  overflow: hidden;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 15px;
  border-bottom: 1px solid var(--border);
  background: #FCFDFF;
  min-height: 46px;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
}

.card-tools { display: flex; align-items: center; gap: 6px; }

.card-body { padding: 14px 15px; }

.card-foot {
  padding: 9px 15px;
  border-top: 1px dashed var(--border);
  font-size: 12px;
  color: var(--muted);
  background: #FCFDFF;
}

.pill {
  display: inline-block;
  min-width: 21px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--accent-s);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 19px;
  text-align: center;
}

/* ------------------------------------------------ 文件列表 */

.file-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 244px;
  overflow-y: auto;
  outline: none;
}

.file-list:empty { display: none; }

.file-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px;
  border-bottom: 1px solid #F1F4F9;
  cursor: pointer;
  transition: background .12s;
}
.file-list li:last-child { border-bottom: none; }
.file-list li:hover { background: #FAFBFE; }
.file-list li.sel { background: var(--accent-s); }

.file-list .idx {
  flex: 0 0 24px;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted-2);
  text-align: right;
}

.file-list .nm {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-list .meta {
  flex: 0 0 auto;
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted-2);
}

.file-list .tag {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.tag.done { background: var(--ok-s); color: var(--ok); }
.tag.fail { background: var(--err-s); color: var(--err); }
.tag.busy { background: var(--accent-s); color: var(--accent); }

.file-list .dl {
  flex: 0 0 auto;
  border: 1px solid #C9D6F6;
  background: #FFF;
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  cursor: pointer;
}
.file-list .dl:hover { background: var(--accent-s); }

.empty {
  padding: 20px 15px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted-2);
}

/* ------------------------------------------------ 预览 */

.preview-body { padding: 14px 15px 12px; }

.preview-stage {
  position: relative;
  border-radius: var(--radius-s);
  background:
    linear-gradient(45deg, #F7F9FC 25%, transparent 25%) 0 0/16px 16px,
    linear-gradient(-45deg, #F7F9FC 25%, transparent 25%) 0 8px/16px 16px,
    linear-gradient(45deg, transparent 75%, #F7F9FC 75%) 8px -8px/16px 16px,
    linear-gradient(-45deg, transparent 75%, #F7F9FC 75%) -8px 0/16px 16px,
    #FDFDFF;
  border: 1px solid var(--border);
  padding: 16px;
  min-height: 140px;
  display: grid;
  place-items: center;
}

.preview-empty {
  font-size: 12.5px;
  color: var(--muted-2);
  text-align: center;
  padding: 26px 10px;
  line-height: 1.7;
}

.sheet-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  width: 100%;
  align-items: start;
}

.sheet {
  background: #FFF;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(20, 30, 60, .1), 0 8px 24px rgba(20, 30, 60, .1);
  padding: 0;
  overflow: hidden;
  position: relative;
}

.sheet canvas {
  display: block;
  width: 100%;
  height: auto;
}

.sheet figcaption {
  font-size: 11px;
  text-align: center;
  padding: 6px 0 7px;
  color: var(--muted-2);
  background: #FFF;
  letter-spacing: .2px;
}

.preview-note {
  margin-top: 9px;
  font-size: 11.5px;
  color: var(--muted-2);
}

/* 预览生成中的浮层：让人明确知道「点到了，正在出图」 */
.preview-busy {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(1px);
  border-radius: var(--radius-s);
  z-index: 3;
}

.preview-busy[hidden] { display: none !important; }

.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(20, 90, 200, .22);
  border-top-color: #1E6FEA;
  border-radius: 50%;
  animation: preview-spin .7s linear infinite;
}

@keyframes preview-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .spinner { animation-duration: 2.2s; }
}

.pager-txt {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  min-width: 62px;
  text-align: center;
}

.pager-txt.is-busy { color: #1E6FEA; }

/* ------------------------------------------------ 日志 */

.log {
  height: 176px;
  overflow-y: auto;
  background: #0F1626;
  padding: 11px 13px;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.72;
  color: #C7D2E4;
  white-space: pre-wrap;
  word-break: break-word;
}

.log .l-dim  { color: #7D8AA6; }
.log .l-ok   { color: #4ADE80; }
.log .l-err  { color: #F87171; }
.log .l-warn { color: #FBBF24; }

/* ------------------------------------------------ 表单 */

.field { margin-bottom: 13px; }
.field:last-child { margin-bottom: 0; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 13px;
}
.field-row .field { margin-bottom: 0; }

.field-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.field-val {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}

.unit { font-weight: 400; color: var(--muted-2); font-size: 11.5px; }

.field-help {
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted-2);
  margin-top: 6px;
}

input[type="number"],
input[type="text"],
select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-s);
  background: #FFF;
  color: var(--text);
  font-size: 13px;
  transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none;
  appearance: none;
}

select {
  padding-right: 30px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%2368738C' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-s);
}

/* 滑块 */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 3px;
  background: #E6EBF5;
  outline: none;
  cursor: pointer;
  padding: 0;
  border: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 2.5px solid #FFF;
  box-shadow: 0 1px 5px rgba(58, 111, 247, .45);
  cursor: pointer;
  transition: transform .12s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.1); }
input[type="range"]::-moz-range-thumb {
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--accent);
  border: 2.5px solid #FFF;
  box-shadow: 0 1px 5px rgba(58, 111, 247, .45);
  cursor: pointer;
}

/* 开关 */
.switch {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  flex: 0 0 auto;
}
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch .track {
  position: relative;
  width: 42px; height: 24px;
  border-radius: 999px;
  background: #D8DEEB;
  transition: background .18s;
  display: block;
}
.switch .knob {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #FFF;
  box-shadow: 0 1px 3px rgba(20, 30, 60, .28);
  transition: transform .18s;
}
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track .knob { transform: translateX(18px); }
.switch input:focus-visible + .track { box-shadow: 0 0 0 3px var(--accent-s); }

/* 分段单选 */
.segmented {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  padding: 3px;
  background: #F1F4FA;
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
}
.segmented label { cursor: pointer; }
.segmented input { position: absolute; opacity: 0; width: 0; height: 0; }
.segmented span {
  display: block;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 4px;
  border-radius: 6px;
  transition: background .15s, color .15s, box-shadow .15s;
}
.segmented input:checked + span {
  background: #FFF;
  color: var(--accent);
  box-shadow: 0 1px 3px rgba(20, 30, 60, .12);
}
.segmented input:focus-visible + span { box-shadow: 0 0 0 3px var(--accent-s); }

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
}
.check input[type="checkbox"] {
  width: 16px; height: 16px;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
  flex: 0 0 auto;
}

.card-body.is-off { opacity: .42; pointer-events: none; }

/* ------------------------------------------------ 引擎状态 */

.engine-list { display: flex; flex-direction: column; gap: 7px; }

.engine {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex: 0 0 8px;
  background: var(--muted-2);
}
.dot.ok   { background: var(--ok); }
.dot.load { background: var(--warn); animation: pulse 1.1s ease-in-out infinite; }
.dot.err  { background: var(--err); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: .28; }
}

.engine .en-name { flex: 1; font-weight: 600; }
.engine .en-state { color: var(--muted-2); font-size: 11.5px; }
.engine .en-state.ok { color: var(--ok); }
.engine .en-state.err { color: var(--err); }

/* ------------------------------------------------ 按钮 */

.btn {
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
  background: transparent;
  color: var(--text);
}
.btn:disabled { cursor: not-allowed; }

.btn-primary {
  background: var(--accent);
  color: #FFF;
  padding: 10px 28px;
  font-size: 14px;
  box-shadow: 0 2px 10px rgba(58, 111, 247, .3);
}
.btn-primary:hover:not(:disabled) { background: var(--accent-d); }
.btn-primary:active:not(:disabled) { transform: translateY(1px); }
.btn-primary:disabled { background: #BAC6E2; box-shadow: none; }

.btn-ghost {
  background: #FFF;
  border-color: var(--border-2);
  color: var(--text);
}
.btn-ghost:hover:not(:disabled) {
  background: var(--accent-s);
  border-color: #C3D2F5;
  color: var(--accent-d);
}
.btn-ghost:disabled { color: #A8B0C2; background: #F7F8FB; }

.btn-sm { padding: 5px 11px; font-size: 12px; }

.btn-icon {
  width: 28px; height: 28px;
  padding: 0;
  display: grid;
  place-items: center;
  border-color: var(--border-2);
  background: #FFF;
  color: var(--muted);
}
.btn-icon:hover:not(:disabled) { background: var(--accent-s); color: var(--accent); }
.btn-icon:disabled { opacity: .45; }

/* ------------------------------------------------ 底部操作条 */

.actionbar {
  position: sticky;
  bottom: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -6px 20px rgba(20, 30, 60, .06);
  margin: 0 -22px;
  padding: 0 22px calc(env(safe-area-inset-bottom, 0px));
}

.progress {
  height: 3px;
  overflow: hidden;
  background: #EDF1F8;
  margin: 0 -22px;
}
.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #6E9BFF);
  transition: width .2s ease;
}

.actionbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.status-wrap { min-width: 0; }

.status {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60vw;
}
.status.busy { color: var(--accent); }
.status.done { color: var(--ok); }
.status.warn { color: var(--warn); }
.status.err  { color: var(--err); }

.status-sub { font-size: 11.5px; color: var(--muted-2); margin-top: 1px; }

.action-btns { display: flex; gap: 9px; flex: 0 0 auto; }

/* ------------------------------------------------ 滚动条 */

::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: #CFD7E6;
  border-radius: 5px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover { background: #B4BFD4; background-clip: content-box; }
.log::-webkit-scrollbar-thumb { background: #33415C; background-clip: content-box; }
.log::-webkit-scrollbar-thumb:hover { background: #44536F; background-clip: content-box; }

/* ------------------------------------------------ 响应式 */

/* 中等屏幕：设置栏收窄 */
@media (max-width: 1280px) {
  .col-side { flex-basis: 326px; width: 326px; }
}

/* 平板 / 窄屏：单列排布，顺序改成 文件 → 预览 → 设置 → 日志 */
@media (max-width: 1080px) {
  .app { padding: 14px 16px 0; }
  .actionbar { margin: 0 -16px; padding: 0 16px calc(env(safe-area-inset-bottom, 0px)); }
  .progress { margin: 0 -16px; }

  .layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
    gap: 12px;
    align-items: start;
  }

  /* 让两个容器「消失」，卡片直接参与外层栅格，才能任意排序 */
  .col-main, .col-side { display: contents; }

  #filesCard { order: 1; }
  #previewCard { order: 2; }
  .col-side > .card { order: 3; }
  #logCard { order: 99; }

  #filesCard, #previewCard, #logCard { grid-column: 1 / -1; }

  .status { max-width: 100%; }
  .log { height: 150px; }
}

/* 手机 */
@media (max-width: 640px) {
  body { font-size: 13.5px; }

  .app { padding: 12px 12px 0; }
  .actionbar { margin: 0 -12px; padding: 0 12px calc(env(safe-area-inset-bottom, 0px)); }
  .progress { margin: 0 -12px; }

  .head { padding-bottom: 12px; gap: 10px; }
  .titles h1 { font-size: 17px; }
  .titles .sub { font-size: 11.5px; }
  .logo { width: 36px; height: 36px; flex-basis: 36px; }
  .head-tags { display: none; }

  .drop { padding: 14px 14px; gap: 12px; border-radius: 12px; margin-bottom: 12px; }
  .drop-icon svg { width: 26px; height: 26px; }
  .drop-title { font-size: 13.5px; }
  .drop-hint { display: none; }
  .drop-cta { padding: 7px 13px; font-size: 12.5px; }
  .drop.has-files { padding: 11px 13px; }

  .layout { gap: 12px; grid-template-columns: minmax(0, 1fr); }

  .card { border-radius: 12px; }
  .card-head { padding: 10px 12px; min-height: 42px; }
  .card-body { padding: 12px; }
  .card-foot { padding: 8px 12px; }

  .card-tools { gap: 5px; flex-wrap: wrap; }

  /* 触摸目标足够大 */
  .btn { padding: 9px 14px; }
  .btn-sm { padding: 7px 11px; font-size: 12px; }
  .btn-icon { width: 32px; height: 32px; }
  input[type="number"], input[type="text"], select { padding: 10px 11px; font-size: 15px; }
  .segmented span { padding: 9px 4px; font-size: 13px; }
  input[type="range"] { height: 6px; }
  input[type="range"]::-webkit-slider-thumb { width: 22px; height: 22px; }

  .file-list { max-height: 200px; }
  .file-list li { padding: 10px 12px; }
  .file-list li .meta { display: none; }

  .preview-body { padding: 12px; }
  .preview-stage { padding: 10px; }
  .sheet-wrap { gap: 10px; }

  .log { height: 138px; font-size: 11px; }

  .actionbar-inner { padding: 10px 0; gap: 10px; }
  .action-btns { flex: 1; }
  .action-btns .btn { flex: 1; }
  .btn-primary { padding: 11px 18px; }
  .status { font-size: 12.5px; }
  .status-sub { display: none; }
}

/* 竖屏小手机 */
@media (max-width: 380px) {
  .drop-cta { display: none; }
  .card-tools .btn-sm { padding: 6px 9px; }
}

/* 大屏：内容更舒展 */
@media (min-width: 1680px) {
  .app { max-width: 1660px; padding-left: 32px; padding-right: 32px; }
  .actionbar { margin: 0 -32px; padding: 0 32px; }
  .progress { margin: 0 -32px; }
  .col-side { flex-basis: 400px; width: 400px; }
  .log { height: 210px; }
}

/* 打印本页没必要，直接隐藏操作条 */
@media print {
  .actionbar, .drop, .col-side, #logCard { display: none !important; }
}
