/**
 * 高度伏字エディタ専用スタイル (create.scss)
 * 共通 .crumb / .wrap / .intro は xp.css を継承（150行以下厳守）
 */
/**
 * Windows XP Luna UI デザイントークン変数 (_variables.scss)
 * 2026年推奨ブレイクポイント (SP: ~599px / Tab: 600~1024px / PC: 1025px~)
 */



















/**
 * Windows XP Luna UI 共通Mixin (_mixins.scss)
 */
/* グラデーション定義 */











.app {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr) 300px;
  min-height: 680px;
}
.app .taskpane { border-radius: 0; }

.wiz {
  display: flex; align-items: center; gap: 0; padding: 12px 18px;
  background: #fff; border-bottom: 1px solid #D2CFBE; flex-wrap: wrap;
}
.wz { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink-3); }
.wz .n {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: 13.5px; border: 1px solid #B5B3A6; background: #F4F3EE; color: var(--ink-3);
}
.wz.done .n { background: var(--g-start); border-color: var(--green-dark); color: #fff; }
.wz.now { color: #0A246A; font-weight: 700; }
.wz.now .n { background: linear-gradient(180deg, #4F94FF, #0A50D0); border-color: #0831D9; color: #fff; box-shadow: 0 0 0 3px #C7DCF9; }
.wz-line { flex: 1; height: 2px; background: #D6D3C4; margin: 0 12px; }
.wz-line.done { background: #45A834; }

.main {
  background: var(--desk); padding: 16px; display: flex; flex-direction: column;
  gap: 16px; border-right: 1px solid #D2CFBE;
}
.edhead {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 8px; font-size: 15px; color: var(--ink-2); margin-bottom: 6px;
}

.editor {
  background: #fff; border: 1px solid #3D7BDF; border-radius: 3px;
  font-family: var(--mono); font-size: 16px; line-height: 2.05;
  padding: 14px 16px; min-height: 230px; position: relative;
}
.editor .off { text-decoration: line-through; background: #F1F1EC; border-bottom: 2px dashed #AAA; color: #777; }

.output {
  background: #FAFBFF; border: 1px solid #7F9DB9; border-radius: 3px;
  font-family: var(--mono); font-size: 16px; line-height: 2.05;
  padding: 14px 16px; min-height: 220px;
}

.side { background: #fff; padding: 0; display: flex; flex-direction: column; }
.side-h {
  padding: 10px 14px; background: var(--g-list-head); border-bottom: 1px solid #D6D2C2;
  font-size: 15.5px; font-weight: 700; color: #0A246A; display: flex; justify-content: space-between;
}
.det { display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-bottom: 1px solid #F0EFE8; font-size: 15px; }
.det .w { flex: 1; font-family: var(--mono); font-size: 15px; }
.det .arrow { color: var(--ink-3); font-size: 14px; }
.det.off .w { color: #999; text-decoration: line-through; }

.grp {
  padding: 8px 14px 4px; font-size: 13.5px; font-weight: 700; color: var(--ink-2);
  background: #FBFAF5; border-bottom: 1px solid #F0EFE8; display: flex; gap: 8px; align-items: center;
}
.grp i { width: 10px; height: 10px; border-radius: 2px; display: block; }

.sym { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sym span {
  height: 40px; background: #fff; border: 1px solid #B5C3E0; border-radius: 3px;
  display: grid; place-items: center; font-size: 15px; font-family: var(--mono); cursor: pointer;
}
.sym span.on { border-color: var(--hover-orange); box-shadow: inset 0 0 0 2px var(--hover-orange); background: #FFF8E6; font-weight: 700; }

.actionbar {
  display: flex; gap: 10px; align-items: center; justify-content: flex-end;
  padding: 12px 16px; background: var(--desk); border-top: 1px solid #D2CFBE; flex-wrap: wrap;
}

/* 高度エディタ下部の解説枠 */
.help {
  margin-top: 28px; background: #FFFFFF; border: 1px solid #B5C3E0;
  border-radius: 6px; padding: 22px 24px;
}
.help h3 { font-size: 17px; font-weight: 700; color: #0A246A; margin: 16px 0 6px; }
.help p { font-size: 16px; color: var(--ink-2); line-height: 1.8; margin-bottom: 10px; }

@media (max-width: 1024px) {
  .app { grid-template-columns: 1fr; min-height: auto; }
  .main { border-right: none; border-bottom: 1px solid #D2CFBE; }
  .wiz { gap: 8px; padding: 10px 12px; }
  .wz-line { display: none; }
}
@media (max-width: 599px) {
  .editor, .output { font-size: 16px; padding: 12px; }
  .help { padding: 16px 14px; }
}
