
/* N2 remaining special grammar pages v1 — structure-preserving layer */
.section-special .special-content{max-width:820px;margin:0 auto;color:#3c4844;font-size:16px;line-height:1.9}
.section-special .special-content> :first-child{margin-top:0}
.section-special .special-content> :last-child{margin-bottom:0}
.section-special .special-content h3,.section-special .special-content h4{color:#263b35;line-height:1.5}
.section-special .special-content p{line-height:1.9}
.section-special .special-content .paper-shadow{box-shadow:none!important}
.section-special .special-content [class*="text-xs"]{font-size:.82rem!important;line-height:1.6!important}
.section-special .special-content [class*="text-sm"]{font-size:.94rem!important;line-height:1.75!important}
.section-special .special-content [class*="text-xl"]{line-height:1.75!important}
.section-special .special-content table{width:100%;border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid #dfe7e3;border-radius:12px;background:#fff}
.section-special .special-content th,.section-special .special-content td{padding:12px 14px;border-bottom:1px solid #e4ebe7;vertical-align:top;text-align:left;line-height:1.75}
.section-special .special-content tr:last-child th,.section-special .special-content tr:last-child td{border-bottom:0}
.section-special .special-content th{font-weight:780;color:#334b43;background:#f6f9f7}
.section-special .special-content .legacy-inline-action{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:1px solid #d9e4df;border-radius:999px;background:#fff;color:#385e70;cursor:pointer;font-size:15px;margin:0 2px}
.section-special .special-content .legacy-inline-action:hover{background:#edf4f7}
.section-special .special-content [class*="rounded-2xl"],.section-special .special-content [class*="rounded-xl"]{box-shadow:none!important}
.section-special .special-content [class*="bg-stone-50"],.section-special .special-content [class*="bg-slate-50"]{background:#f6f9f7!important}
.section-special .special-content [class*="bg-stone-100"],.section-special .special-content [class*="bg-slate-100"]{background:#f1f6f3!important}
.section-special .special-content .grid{min-width:0}
.section-special .special-content .font-jp{font-family:"Noto Sans JP","Yu Gothic","Hiragino Kaku Gothic ProN",sans-serif}
.section-special .special-content .hidden{display:none!important}
.special-quiz-shell{background:#1f2926;border-radius:18px;padding:24px;color:#f1f5f3;overflow:hidden}
.special-quiz-shell h3,.special-quiz-shell h4,.special-quiz-shell p{color:inherit}
.special-quiz-shell button{min-height:44px}
.special-quiz-shell [data-answer]{cursor:pointer}
.special-quiz-shell [data-answer]:disabled{cursor:default}
.special-quiz-shell .opacity-50{opacity:.5!important}
@media(max-width:760px){
  .section-special .special-content{font-size:15px;line-height:1.82}
  .section-special .special-content table{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .section-special .special-content th,.section-special .special-content td{padding:10px 11px;min-width:120px}
  .special-quiz-shell{padding:18px 14px}
}
html[data-theme="dark"] .section-special .special-content{color:#d7e0dc}
html[data-theme="dark"] .section-special .special-content h3,html[data-theme="dark"] .section-special .special-content h4{color:#edf3f0}
html[data-theme="dark"] .section-special .special-content [class*="bg-white"]{background:#1b2622!important;color:#dce4e0!important;border-color:#34443d!important}
html[data-theme="dark"] .section-special .special-content [class*="bg-stone-50"],html[data-theme="dark"] .section-special .special-content [class*="bg-stone-100"],html[data-theme="dark"] .section-special .special-content [class*="bg-slate-50"],html[data-theme="dark"] .section-special .special-content [class*="bg-slate-100"]{background:#18211e!important;border-color:#34423d!important}
html[data-theme="dark"] .section-special .special-content [class*="text-stone-"],html[data-theme="dark"] .section-special .special-content [class*="text-slate-"]{color:#cbd7d1!important}
html[data-theme="dark"] .section-special .special-content table{background:#18211e;border-color:#33433c}
html[data-theme="dark"] .section-special .special-content th{background:#202d28;color:#e4ece8}
html[data-theme="dark"] .section-special .special-content th,html[data-theme="dark"] .section-special .special-content td{border-color:#33433c}
html[data-theme="dark"] .section-special .special-content .legacy-inline-action{background:#22302a;border-color:#3b4c45;color:#cfe2db}


/* =========================================================
   N2 remaining 10 — tailored design v2
   Scoped by body.n2-tailored-v2; safe for other N2 pages.
   ========================================================= */
body.n2-tailored-v2 .section > h2{
  text-wrap:balance;
}
body.n2-tailored-v2 .section-special .special-content{
  max-width:860px;
}
body.n2-tailored-v2 .tailored-core .special-content,
body.n2-tailored-v2 .tailored-core .deep-copy{
  max-width:820px;
  margin-inline:auto;
}

/* Standard grammar: stronger hierarchy, less empty-box feeling */
body.n2-layout-standard-plus .tailored-core .tailored-core-list{
  list-style:none!important;
  margin:0!important;
  padding:0!important;
  display:grid;
  gap:10px;
}
body.n2-layout-standard-plus .tailored-core .tailored-core-item{
  display:grid!important;
  grid-template-columns:10px minmax(0,1fr);
  align-items:start;
  gap:12px!important;
  margin:0!important;
  padding:10px 12px;
  border-radius:10px;
}
body.n2-layout-standard-plus .tailored-core .tailored-core-item > span:first-child{
  width:7px!important;height:7px!important;margin-top:.72em!important;
  background:#6f8d9f!important;
}
body.n2-layout-standard-plus .tailored-core .tailored-core-primary{
  padding:16px 18px;
  border:1px solid #d5e1e7;
  background:linear-gradient(90deg,#f3f8fb 0%,#fbfcfd 100%);
  color:#2f433e;
  font-size:1.02rem;
  line-height:1.85;
}
body.n2-layout-standard-plus .tailored-core .tailored-core-primary > span:first-child{
  background:#2f6f92!important;
}
body.n2-layout-standard-plus .tailored-nuance .nuance-stack{
  display:grid;
  gap:14px;
  max-width:820px;
  margin-inline:auto;
}
body.n2-layout-standard-plus .tailored-nuance .nuance-card{
  padding:16px 18px;
  border:1px solid #e7dfc9;
  border-radius:12px;
  background:rgba(255,255,255,.56);
}
body.n2-layout-standard-plus .tailored-nuance .nuance-card > span:first-child{
  display:inline-flex!important;
  align-items:center;
  min-height:28px;
  padding:4px 10px!important;
  margin-bottom:6px;
  border-radius:999px!important;
  font-size:.86rem!important;
  letter-spacing:.02em;
}
body.n2-layout-standard-plus .tailored-nuance .nuance-card p{
  margin:.35rem 0 0!important;
  font-size:1rem!important;
  line-height:1.85!important;
}
body.n2-page-659059909 .exam-focus-badge{
  background:#f6e8dc!important;
  color:#844a31!important;
}
body.n2-page-659059909 .rendaku-examples{
  margin-top:12px!important;
  padding:12px 14px!important;
  border:1px solid #e7ddc8;
  background:#fffdf8!important;
  font-size:.96rem!important;
  line-height:1.9!important;
}
body.n2-page-659059909 .rendaku-examples ul{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px 12px;
  list-style:none!important;
  margin:0!important;
  padding:0!important;
}
body.n2-page-659059909 .rendaku-examples li{
  padding:8px 10px;
  border-radius:8px;
  background:#f7f5ef;
}
body.n2-layout-standard-plus .tailored-compare .tailored-compare-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  max-width:820px;
  margin-inline:auto;
}
body.n2-layout-standard-plus .tailored-compare .tailored-compare-card{
  min-width:0;
  margin:0!important;
  padding:18px!important;
  border:1px solid #ddd9e8;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:0 1px 0 rgba(64,52,91,.03);
}
body.n2-layout-standard-plus .tailored-compare .tailored-compare-card > div:first-child{
  margin-bottom:8px!important;
  color:#2f4660!important;
  font-size:1.05rem!important;
  line-height:1.55;
}
body.n2-layout-standard-plus .tailored-compare .tailored-compare-card p{
  font-size:.98rem!important;
  line-height:1.85!important;
  color:#53605c!important;
}
body.n2-page-659059909 .tailored-compare .tailored-usage-card{
  border-style:dashed;
  background:#fbfaf5!important;
}

/* Handbook pages: rulebook / reference-manual treatment */
body.n2-layout-handbook .handbook-intro{
  max-width:820px;
  margin-inline:auto;
  padding:18px 20px;
  border-left:4px solid #6f91a8;
  border-radius:0 12px 12px 0;
  background:linear-gradient(90deg,#f3f8fb,#fff 72%);
  font-size:1rem;
  line-height:1.9;
}
body.n2-layout-handbook .handbook-rule-lead{
  margin:0 0 18px!important;
  padding:14px 16px!important;
  border:1px solid #d7e3e8!important;
  border-radius:10px!important;
  background:#f4f9fb!important;
  color:#344b45!important;
  font-size:.98rem!important;
  line-height:1.8!important;
  box-shadow:none!important;
}
body.n2-layout-handbook .handbook-rule-groups{
  display:grid;
  gap:16px!important;
}
body.n2-layout-handbook .handbook-rule-card{
  margin:0!important;
  padding:18px 20px!important;
  border:1px solid #dfe6e2;
  border-radius:14px;
  background:#fff;
  box-shadow:none!important;
}
body.n2-layout-handbook .handbook-rule-card h3,
body.n2-layout-handbook .handbook-rule-card h4{
  margin-top:0!important;
  font-size:1.08rem!important;
}
body.n2-layout-handbook .handbook-pattern-panel{
  margin:0 0 14px!important;
  padding:18px 20px!important;
  border:1px solid #e0e6e3!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.n2-layout-handbook .handbook-pattern-panel h2{
  margin:0 0 12px!important;
  padding:0 0 10px!important;
  border-bottom:1px solid #e5ebe8!important;
  font-size:1.08rem!important;
  color:#36524a!important;
}
body.n2-page-659059937 .section-connection .handbook-rule-groups > *:nth-child(1){border-top:4px solid #6c8fa5}
body.n2-page-659059937 .section-connection .handbook-rule-groups > *:nth-child(2){border-top:4px solid #7f9b78}
body.n2-page-659059937 .section-connection .handbook-rule-groups > *:nth-child(3){border-top:4px solid #a78968}
body.n2-page-659059938 .section-connection .handbook-rule-groups > *{border-top:4px solid #738fa2}
body.n2-page-659059938 .section-connection .handbook-rule-groups > *:last-child{border-top-color:#a17f66}

/* Keigo: a true two-axis comparison */
body.n2-page-659060216 .keigo-dual-grid,
body.n2-page-659060216 .keigo-compare-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
}
body.n2-page-659060216 .keigo-side-card,
body.n2-page-659060216 .keigo-compare-card{
  margin:0!important;
  padding:20px!important;
  border-radius:14px!important;
  box-shadow:none!important;
  background:#fff!important;
}
body.n2-page-659060216 .keigo-respect{border:1px solid #e4cfd0!important;border-top:4px solid #a96b72!important}
body.n2-page-659060216 .keigo-humble{border:1px solid #d1dbe7!important;border-top:4px solid #627f9d!important}
body.n2-page-659060216 .keigo-exam-tip{
  margin-top:16px!important;
  padding:14px 16px!important;
  border:1px solid #d8e1dd!important;
  border-left:4px solid #607f73!important;
  background:#f7faf8!important;
  font-size:.98rem!important;
  line-height:1.8!important;
}
body.n2-page-659060216 .keigo-compare-grid > .keigo-compare-card{
  min-width:0;
}

/* によって: four meanings become a stable reference grid */
body.n2-page-niyotte .multiuse-overview{
  padding:18px 20px!important;
  border:1px solid #d9e3df!important;
  border-left:4px solid #668a9d!important;
  border-radius:12px!important;
  background:linear-gradient(90deg,#f5f9fa,#fff)!important;
}
body.n2-page-niyotte .section-connection .special-content{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
body.n2-page-niyotte .multiuse-card{
  margin:0!important;
  min-width:0;
  padding:18px!important;
  border:1px solid #dde5e1!important;
  border-top-width:4px!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.n2-page-niyotte .multiuse-1{border-top-color:#aa8a55!important}
body.n2-page-niyotte .multiuse-2{border-top-color:#658c79!important}
body.n2-page-niyotte .multiuse-3{border-top-color:#9a6868!important}
body.n2-page-niyotte .multiuse-4{border-top-color:#6088a0!important}
body.n2-page-niyotte .multiuse-card [class*="text-xs"],
body.n2-page-niyotte .multiuse-card [class*="text-sm"]{font-size:.94rem!important;line-height:1.75!important}

/* おさえられる: two readings placed side by side */
body.n2-page-osaerareru .dualform-overview{
  padding:18px 20px!important;
  border:1px solid #dbe4e0!important;
  border-left:4px solid #638a78!important;
  border-radius:12px!important;
  background:linear-gradient(90deg,#f5faf7,#fff)!important;
}
body.n2-page-osaerareru .section-connection .special-content{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
body.n2-page-osaerareru .dualform-card{
  margin:0!important;
  min-width:0;
  padding:20px!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.n2-page-osaerareru .dualform-potential{border:1px solid #cfe0d7!important;border-top:4px solid #5f8f78!important}
body.n2-page-osaerareru .dualform-passive{border:1px solid #e4d8c8!important;border-top:4px solid #9a7d5e!important}

/* 舐める: vocabulary senses rather than a grammar-template feel */
body.n2-page-659060097 .vocab-concept-intro{
  max-width:820px;
  margin-inline:auto;
  padding:18px 20px;
  border-left:4px solid #a87a58;
  border-radius:0 12px 12px 0;
  background:linear-gradient(90deg,#fbf7f3,#fff 72%);
  line-height:1.9;
}
body.n2-page-659060097 .vocab-sense-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
}
body.n2-page-659060097 .vocab-sense-card{
  margin:0!important;
  min-width:0;
  padding:20px!important;
  border-radius:14px!important;
  border:1px solid #e2ddd7!important;
  background:#fff!important;
  box-shadow:none!important;
}
body.n2-page-659060097 .vocab-sense-1{border-top:4px solid #a66f58!important}
body.n2-page-659060097 .vocab-sense-2{border-top:4px solid #8b7c58!important}
body.n2-page-659060097 .vocab-compare-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:16px!important;
}
body.n2-page-659060097 .vocab-compare-card{
  min-width:0;
  margin:0!important;
  padding:18px 20px!important;
  border:1px solid #ddd9e5!important;
  border-radius:14px!important;
  background:#fff!important;
}

/* Responsive: comparisons become vertical reading cards */
@media(max-width:760px){
  body.n2-page-659059909 .rendaku-examples ul,
  body.n2-layout-standard-plus .tailored-compare .tailored-compare-grid,
  body.n2-page-659060216 .keigo-dual-grid,
  body.n2-page-659060216 .keigo-compare-grid,
  body.n2-page-niyotte .section-connection .special-content,
  body.n2-page-osaerareru .section-connection .special-content,
  body.n2-page-659060097 .vocab-sense-grid,
  body.n2-page-659060097 .vocab-compare-grid{
    grid-template-columns:1fr!important;
  }
  body.n2-layout-standard-plus .tailored-core .tailored-core-primary,
  body.n2-layout-handbook .handbook-intro,
  body.n2-page-659060097 .vocab-concept-intro{
    padding:14px 15px!important;
  }
  body.n2-layout-handbook .handbook-rule-card,
  body.n2-page-659060216 .keigo-side-card,
  body.n2-page-659060216 .keigo-compare-card,
  body.n2-page-niyotte .multiuse-card,
  body.n2-page-osaerareru .dualform-card,
  body.n2-page-659060097 .vocab-sense-card,
  body.n2-page-659060097 .vocab-compare-card{
    padding:16px!important;
  }
}

/* Dark mode for the new, scoped cards */
html[data-theme="dark"] body.n2-tailored-v2 .tailored-core-primary,
html[data-theme="dark"] body.n2-tailored-v2 .nuance-card,
html[data-theme="dark"] body.n2-tailored-v2 .tailored-compare-card,
html[data-theme="dark"] body.n2-tailored-v2 .handbook-intro,
html[data-theme="dark"] body.n2-tailored-v2 .handbook-rule-lead,
html[data-theme="dark"] body.n2-tailored-v2 .handbook-rule-card,
html[data-theme="dark"] body.n2-tailored-v2 .handbook-pattern-panel,
html[data-theme="dark"] body.n2-tailored-v2 .keigo-side-card,
html[data-theme="dark"] body.n2-tailored-v2 .keigo-compare-card,
html[data-theme="dark"] body.n2-tailored-v2 .keigo-exam-tip,
html[data-theme="dark"] body.n2-tailored-v2 .multiuse-overview,
html[data-theme="dark"] body.n2-tailored-v2 .multiuse-card,
html[data-theme="dark"] body.n2-tailored-v2 .dualform-overview,
html[data-theme="dark"] body.n2-tailored-v2 .dualform-card,
html[data-theme="dark"] body.n2-tailored-v2 .vocab-concept-intro,
html[data-theme="dark"] body.n2-tailored-v2 .vocab-sense-card,
html[data-theme="dark"] body.n2-tailored-v2 .vocab-compare-card,
html[data-theme="dark"] body.n2-page-659059909 .rendaku-examples{
  background:#1b2622!important;
  border-color:#384740!important;
  color:#dce5e1!important;
}
html[data-theme="dark"] body.n2-page-659059909 .rendaku-examples li{background:#202c27!important}

/* =========================================================
   N2 remaining 10 — tailored design v3 final review layer
   2026-08-19
   ========================================================= */
body.n2-tailored-v3 .section-special .special-content,
body.n2-tailored-v3 .section .deep-copy{
  max-width:900px;
  margin-inline:auto;
}
body.n2-tailored-v3 .section > h2{
  max-width:900px;
  margin-inline:auto;
  text-wrap:balance;
}
body.n2-tailored-v3 .n2-v3-compare-intro{
  max-width:820px;
  margin:0 auto 16px;
  color:#5a6662;
  font-size:1rem;
  line-height:1.85;
}

/* 659059909 — idioms belong to nuance; comparison is comparison only */
body.n2-page-659059909 .n2-v3-idiom-panel{
  padding:16px 18px;
  border:1px solid #e7dfc9;
  border-radius:12px;
  background:rgba(255,255,255,.62);
}
body.n2-page-659059909 .n2-v3-subtitle{
  margin-bottom:10px;
  color:#6c5c45;
  font-size:.9rem;
  font-weight:800;
  letter-spacing:.03em;
}
body.n2-page-659059909 .n2-v3-idiom-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  list-style:none;
  margin:0;
  padding:0;
}
body.n2-page-659059909 .n2-v3-idiom-grid li{
  min-width:0;
  padding:12px 13px;
  border:1px solid #ebe6dc;
  border-radius:10px;
  background:#fff;
}
body.n2-page-659059909 .n2-v3-idiom-grid span{
  display:block;
  color:#344844;
  font-size:1rem;
  font-weight:720;
  line-height:1.6;
}
body.n2-page-659059909 .n2-v3-idiom-grid small{
  display:block;
  margin-top:3px;
  color:#7a817e;
  font-size:.86rem;
}
.n2-v3-compare-table{
  max-width:860px;
  margin-inline:auto;
  overflow:hidden;
  border:1px solid #dddfe2;
  border-radius:14px;
  background:#fff;
}
.n2-v3-compare-head,.n2-v3-compare-row{
  display:grid;
  grid-template-columns:160px repeat(2,minmax(0,1fr));
}
.n2-v3-compare-head{
  background:#f2f5f4;
  color:#263c36;
  font-size:1rem;
  font-weight:800;
}
.n2-v3-compare-head>*{padding:14px 16px}
.n2-v3-compare-row>*{
  min-width:0;
  padding:14px 16px;
  border-top:1px solid #e4e8e6;
  line-height:1.75;
}
.n2-v3-compare-row>span{
  background:#fafbfa;
  color:#69736f;
  font-weight:760;
}
.n2-v3-compare-row>div{color:#46534f}

/* 659059937 — reference handbook */
.n2-v3-handbook-stack{display:grid;gap:18px}
.n2-v3-rulebook-card{
  overflow:hidden;
  border:1px solid #dce5e1;
  border-radius:14px;
  background:#fff;
}
.n2-v3-rulebook-card>header{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:16px 18px;
  border-bottom:1px solid #e4ebe7;
  background:#f8faf9;
}
.n2-v3-rule-no{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  width:34px;
  height:34px;
  border-radius:50%;
  background:#e8eff2;
  color:#476a7a;
  font-size:.82rem;
  font-weight:850;
}
.n2-v3-rulebook-card h3{
  margin:0!important;
  color:#243a34!important;
  font-size:1.12rem!important;
  line-height:1.5!important;
}
.n2-v3-rulebook-card header p{
  margin:3px 0 0;
  color:#77827e;
  font-size:.9rem;
  line-height:1.55;
}
.n2-v3-rule-note{
  margin:14px 18px;
  padding:11px 13px;
  border-radius:9px;
  background:#f4f7f5;
  color:#4c5c57;
  line-height:1.7;
}
.n2-v3-rule-table{margin:0 18px 18px;border:1px solid #e1e8e5;border-radius:10px;overflow:hidden}
.n2-v3-rule-row{
  display:grid;
  grid-template-columns:110px minmax(0,1fr) minmax(0,1fr);
}
.n2-v3-rule-row>*{padding:11px 13px;border-top:1px solid #e7ece9;line-height:1.6}
.n2-v3-rule-row>*+*{border-left:1px solid #e7ece9}
.n2-v3-rule-row:first-child>*{border-top:0}
.n2-v3-rule-head{background:#f3f6f4;color:#69746f;font-size:.88rem;font-weight:800}
.n2-v3-rule-row strong{color:#2f617b;font-size:1.02rem}
.n2-v3-irregular-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 18px 18px}
.n2-v3-irregular-grid>div{
  display:grid;
  grid-template-columns:auto 1fr auto 1fr;
  align-items:center;
  gap:8px;
  padding:14px;
  border:1px solid #e2e8e5;
  border-radius:10px;
  background:#fafbfa;
}
.n2-v3-irregular-grid small{grid-column:1/-1;color:#77817d}
.n2-v3-irregular-grid strong{color:#6b5b85;font-size:1.08rem}
.n2-v3-warning{
  padding:14px 16px;
  border:1px solid #eadbc9;
  border-left:4px solid #a47a55;
  border-radius:10px;
  background:#fffaf4;
  color:#5f574f;
  line-height:1.8;
}

/* 659059938 — one glance て-form lookup */
.n2-v3-te-master{overflow:hidden;border:1px solid #dbe5e1;border-radius:14px;background:#fff}
.n2-v3-te-head,.n2-v3-te-row{display:grid;grid-template-columns:150px 120px minmax(0,1fr)}
.n2-v3-te-head{background:#eef4f2;color:#51635d;font-size:.9rem;font-weight:820}
.n2-v3-te-head>*{padding:12px 14px}
.n2-v3-te-row>*{padding:13px 14px;border-top:1px solid #e4ebe8;line-height:1.65}
.n2-v3-te-row>*+*{border-left:1px solid #e4ebe8}
.n2-v3-te-row>b{color:#2e6c84;font-size:1.04rem}
.n2-v3-exception{
  display:grid;
  grid-template-columns:auto auto 1fr;
  gap:12px;
  align-items:center;
  margin-top:14px;
  padding:13px 15px;
  border:1px solid #e7d3cd;
  border-radius:10px;
  background:#fff8f6;
}
.n2-v3-exception>span{padding:3px 8px;border-radius:999px;background:#f3ded8;color:#8b5040;font-size:.82rem;font-weight:800}
.n2-v3-exception>strong{font-size:1.08rem;color:#7c4035}
.n2-v3-exception>p{margin:0;color:#6d625f;font-size:.92rem}
.n2-v3-simple-forms{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.n2-v3-simple-forms article{padding:15px 16px;border:1px solid #dfe6e3;border-radius:11px;background:#fafbfa}
.n2-v3-simple-forms article>span{display:block;color:#6d7974;font-size:.86rem;font-weight:800}
.n2-v3-simple-forms article>strong{display:block;margin-top:4px;color:#314944}
.n2-v3-simple-forms article>p{margin:8px 0 0;color:#4e5e59}
.n2-v3-pattern-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.n2-v3-pattern-grid article{padding:15px;border:1px solid #e0e6e3;border-radius:11px;background:#fff}
.n2-v3-pattern-grid span{display:block;color:#6d7c76;font-size:.82rem;font-weight:800}
.n2-v3-pattern-grid strong{display:block;margin:6px 0;color:#335f73;font-size:1.02rem}
.n2-v3-pattern-grid p{margin:0;color:#586661;font-size:.92rem;line-height:1.7}
.n2-v3-nuance-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}
.n2-v3-nuance-pair>div{padding:15px 16px;border:1px solid #e6dfcf;border-radius:11px;background:#fffdf8}
.n2-v3-nuance-pair strong{color:#665b43}
.n2-v3-nuance-pair p{margin:6px 0 0;color:#625f57;font-size:.94rem;line-height:1.78}

/* 659060216 — keigo straight-axis reading */
.keigo-principle{
  padding:17px 19px;
  border:1px solid #d4e0dc;
  border-left:4px solid #587e72;
  border-radius:11px;
  background:#f5f9f7;
  color:#304941;
  font-size:1.04rem;
  line-height:1.8;
}
.keigo-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:15px}
.keigo-steps article{padding:15px 16px;border:1px solid #dfe6e2;border-radius:11px;background:#fff}
.keigo-steps span{display:block;color:#698079;font-size:.78rem;font-weight:850;letter-spacing:.08em}
.keigo-steps strong{display:block;margin:5px 0;color:#2e443e;font-size:1rem}
.keigo-steps p{margin:0;color:#5c6864;font-size:.92rem;line-height:1.72}
.keigo-axis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:15px}
.keigo-axis>div{padding:14px 16px;border-radius:11px;background:#fafbfa;border:1px solid #e0e6e3}
.keigo-axis span{display:block;color:#77817d;font-size:.82rem;font-weight:800}
.keigo-axis strong{display:block;margin-top:4px;color:#354a44}
.keigo-axis p{margin:3px 0 0;color:#69726f;font-size:.9rem}
body.n2-page-659060216 .n2-v3-keigo-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
body.n2-page-659060216 .keigo-compare-card>header{padding-bottom:13px;border-bottom:1px solid #e5e9e7}
body.n2-page-659060216 .keigo-compare-card>header>span{display:block;color:#6b7672;font-size:.82rem;font-weight:800}
body.n2-page-659060216 .keigo-compare-card h3{margin:4px 0!important;color:#2e423c!important;font-size:1.15rem!important;line-height:1.55!important}
body.n2-page-659060216 .keigo-compare-card header p{margin:0;color:#6e7975;font-size:.9rem}
.n2-v3-example-block{position:relative;margin-top:14px;padding:14px;border-radius:10px;background:#f8faf9}
.n2-v3-example-block p{margin:0;padding-right:42px;color:#35443f;font-size:1rem;line-height:1.85}
.n2-v3-example-block small{display:block;margin-top:7px;color:#6a7571;font-size:.9rem;line-height:1.6}
.n2-v3-example-block .legacy-inline-action{position:absolute;right:12px;top:12px}
.keigo-decision{max-width:860px;margin:15px auto 0;padding:14px 16px;border:1px solid #d9e2de;border-radius:11px;background:#f6f9f7}
.keigo-decision>strong{color:#3c554d}
.keigo-decision>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.keigo-decision span{padding:6px 10px;border-radius:999px;background:#fff;border:1px solid #e0e6e3;color:#596763;font-size:.9rem}

/* によって — no anonymous grid items, no development labels */
body.n2-page-niyotte .section-connection .special-content{display:block!important}
body.n2-page-niyotte .multiuse-overview{margin-bottom:16px!important}
body.n2-page-niyotte .multiuse-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.n2-page-niyotte .multiuse-card{display:block!important;padding:18px 19px!important}
body.n2-page-niyotte .multiuse-card h3{margin:8px 0 3px!important;color:#2f423d!important;font-size:1.12rem!important;line-height:1.55!important}
body.n2-page-niyotte .multiuse-card>div:first-child>span{display:inline-flex!important;margin:0!important;padding:4px 9px!important;border-radius:999px!important;font-size:.8rem!important}
body.n2-page-niyotte .multiuse-card .translation-reveal{padding:13px!important;box-shadow:none!important}
body.n2-page-niyotte .multiuse-card .translation{margin-top:7px;color:#68736f;font-size:.9rem;line-height:1.65}

/* おさえられる — true side-by-side cards */
body.n2-page-osaerareru .section-connection .special-content{display:block!important}
body.n2-page-osaerareru .dualform-overview{margin-bottom:16px!important}
body.n2-page-osaerareru .dualform-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.n2-page-osaerareru .dualform-card{display:block!important;padding:19px!important}
body.n2-page-osaerareru .dualform-card h3{margin:8px 0 3px!important;color:#2f423d!important;font-size:1.14rem!important;line-height:1.55!important}
body.n2-page-osaerareru .dualform-card>div:first-child>span{display:inline-flex!important;margin:0!important;padding:4px 9px!important;border-radius:999px!important;font-size:.8rem!important}
body.n2-page-osaerareru .dualform-card .translation-reveal{padding:13px!important;box-shadow:none!important}
body.n2-page-osaerareru .dualform-card .translation{margin-top:7px;color:#68736f;font-size:.9rem;line-height:1.65}
.dualform-decision{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.dualform-decision span{padding:10px 12px;border:1px solid #dfe6e3;border-radius:9px;background:#fafbfa;color:#50605b;font-weight:700;text-align:center}

/* Standard compare pages — keep both sides equally readable */
body.n2-page-659059943 .tailored-compare-card,
body.n2-page-659059944 .tailored-compare-card,
body.n2-page-659059947 .tailored-compare-card{
  border-left:0!important;
  border-top:4px solid #758fa0!important;
  padding:19px!important;
}
body.n2-page-659059943 .n2-v3-compare-side-2,
body.n2-page-659059944 .n2-v3-compare-side-2,
body.n2-page-659059947 .n2-v3-compare-side-2{border-top-color:#8c7e9f!important}
body.n2-tailored-v3 .tailored-compare-card p.text-xs{font-size:.92rem!important;line-height:1.75!important}

/* 舐める — two genuine comparison columns, no black block */
body.n2-page-659060097 .n2-v3-vocab-compare{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
body.n2-page-659060097 .vocab-compare-side{margin:0!important;padding:17px!important;border:1px solid #e0e5e2!important;border-radius:12px!important;background:#fff!important;box-shadow:none!important}
body.n2-page-659060097 .vocab-compare-emotional{border-top:4px solid #a86f58!important}
body.n2-page-659060097 .vocab-compare-formal{border-top:4px solid #74827d!important}
body.n2-page-659060097 .vocab-compare-side *{color:inherit!important}
body.n2-page-659060097 .vocab-compare-side>div:first-child>span:last-child{background:#f1f4f2!important;color:#68736f!important}
body.n2-page-659060097 .vocab-compare-side p{color:#56635f!important}
body.n2-page-659060097 .vocab-compare-side .legacy-inline-action{color:#385e70!important}

@media(max-width:760px){
  body.n2-page-659059909 .n2-v3-idiom-grid{grid-template-columns:1fr 1fr}
  .n2-v3-compare-head{display:none}
  .n2-v3-compare-row{grid-template-columns:1fr;gap:0}
  .n2-v3-compare-row>span{border-top:1px solid #e4e8e6;padding:10px 13px}
  .n2-v3-compare-row>div{padding:11px 13px}
  .n2-v3-compare-row>div::before{display:block;margin-bottom:3px;color:#7b8581;font-size:.78rem;font-weight:800}
  .n2-v3-compare-row>div:nth-child(2)::before{content:'〜ように'}
  .n2-v3-compare-row>div:nth-child(3)::before{content:'〜とおりに'}
  .n2-v3-rule-row{grid-template-columns:70px minmax(0,1fr) minmax(0,1fr)}
  .n2-v3-rule-row>*{padding:10px 9px}
  .n2-v3-irregular-grid,.n2-v3-simple-forms,.n2-v3-nuance-pair,.keigo-axis,.dualform-decision{grid-template-columns:1fr}
  .n2-v3-te-head{display:none}
  .n2-v3-te-row{grid-template-columns:92px 72px minmax(0,1fr)}
  .n2-v3-te-row>*{padding:11px 9px}
  .n2-v3-exception{grid-template-columns:auto 1fr}
  .n2-v3-exception>p{grid-column:1/-1}
  .n2-v3-pattern-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .keigo-steps{grid-template-columns:1fr}
  body.n2-page-659060216 .n2-v3-keigo-grid,
  body.n2-page-niyotte .multiuse-grid,
  body.n2-page-osaerareru .dualform-grid,
  body.n2-page-659060097 .n2-v3-vocab-compare{grid-template-columns:1fr!important}
}
@media(max-width:430px){
  body.n2-page-659059909 .n2-v3-idiom-grid{grid-template-columns:1fr}
  .n2-v3-rule-row{grid-template-columns:62px minmax(0,1fr) minmax(0,1fr)}
  .n2-v3-te-row{grid-template-columns:82px 64px minmax(0,1fr)}
  .n2-v3-pattern-grid{grid-template-columns:1fr}
}

/* Dark mode — v3 additions */
html[data-theme="dark"] body.n2-tailored-v3 .n2-v3-idiom-panel,
html[data-theme="dark"] body.n2-tailored-v3 .n2-v3-idiom-grid li,
html[data-theme="dark"] body.n2-tailored-v3 .n2-v3-compare-table,
html[data-theme="dark"] body.n2-tailored-v3 .n2-v3-rulebook-card,
html[data-theme="dark"] body.n2-tailored-v3 .n2-v3-simple-forms article,
html[data-theme="dark"] body.n2-tailored-v3 .n2-v3-pattern-grid article,
html[data-theme="dark"] body.n2-tailored-v3 .keigo-steps article,
html[data-theme="dark"] body.n2-tailored-v3 .keigo-axis>div,
html[data-theme="dark"] body.n2-tailored-v3 .n2-v3-example-block,
html[data-theme="dark"] body.n2-tailored-v3 .vocab-compare-side{
  background:#1b2622!important;
  border-color:#384740!important;
  color:#dce5e1!important;
}
html[data-theme="dark"] body.n2-tailored-v3 .n2-v3-rulebook-card>header,
html[data-theme="dark"] body.n2-tailored-v3 .n2-v3-rule-head,
html[data-theme="dark"] body.n2-tailored-v3 .n2-v3-compare-head,
html[data-theme="dark"] body.n2-tailored-v3 .n2-v3-compare-row>span{
  background:#202d28!important;
  color:#dce5e1!important;
}
html[data-theme="dark"] body.n2-tailored-v3 .n2-v3-rule-row>*,
html[data-theme="dark"] body.n2-tailored-v3 .n2-v3-compare-row>*{border-color:#384740!important}
html[data-theme="dark"] body.n2-tailored-v3 .n2-v3-warning,
html[data-theme="dark"] body.n2-tailored-v3 .n2-v3-exception,
html[data-theme="dark"] body.n2-tailored-v3 .n2-v3-nuance-pair>div{
  background:#211f1b!important;
  border-color:#4a4135!important;
  color:#e0d8cc!important;
}
body.n2-page-659060216 .keigo-context-notes{
  margin-top:14px;
  padding:16px 18px;
  border:1px solid #e0e6e3;
  border-radius:11px;
  background:#fff;
}
body.n2-page-659060216 .keigo-context-notes p{
  margin:0;
  color:#586560;
  font-size:.94rem;
  line-height:1.82;
}
body.n2-page-659060216 .keigo-context-notes p+p{margin-top:10px}
html[data-theme="dark"] body.n2-page-659060216 .keigo-context-notes{
  background:#1b2622!important;
  border-color:#384740!important;
}
html[data-theme="dark"] body.n2-page-659060216 .keigo-context-notes p{color:#d4ddd9!important}
body.n2-page-659060216 .keigo-core-intro{margin:0 0 12px;color:#596660;font-size:.96rem;line-height:1.8}
body.n2-page-659060216 .keigo-summary{margin-top:12px;padding:12px 14px;border-left:4px solid #607f73;border-radius:0 9px 9px 0;background:#f4f8f6;color:#4b5d56;line-height:1.75}
html[data-theme="dark"] body.n2-page-659060216 .keigo-summary{background:#202d28!important;color:#dce5e1!important}


/* =========================================================
   N2 remaining 10 — tailored design v4 cross-page audit
   2026-08-19
   ========================================================= */
body.n2-tailored-v4 .connection-table-wrap{max-width:840px!important}
body.n2-tailored-v4 .connection-table th:nth-child(1){width:24%}
body.n2-tailored-v4 .connection-table th:nth-child(2){width:34%}
body.n2-tailored-v4 .connection-table th:nth-child(3){width:42%}
body.n2-tailored-v4 .connection-examples strong{color:#315d75;font-weight:800}
body.n2-tailored-v4 .connection-examples{font-size:1rem;line-height:1.7}

/* 辞書形：5 大句型改成可掃讀卡片 */
body.n2-page-659059937 .n2-v4-pattern-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body.n2-page-659059937 .n2-v4-pattern-cards article{min-width:0;padding:17px 18px;border:1px solid #e1e6e3;border-top:4px solid #7795a5;border-radius:12px;background:#fff}
body.n2-page-659059937 .n2-v4-pattern-cards article:nth-child(2){border-top-color:#7f9b78}
body.n2-page-659059937 .n2-v4-pattern-cards article:nth-child(3){border-top-color:#9a856b}
body.n2-page-659059937 .n2-v4-pattern-cards article:nth-child(4){border-top-color:#8a7b9d}
body.n2-page-659059937 .n2-v4-pattern-cards article:nth-child(5){border-top-color:#648b80}
body.n2-page-659059937 .n2-v4-pattern-wide{grid-column:1/-1}
body.n2-page-659059937 .n2-v4-pattern-cards header{display:flex;align-items:center;gap:10px;margin-bottom:10px}
body.n2-page-659059937 .n2-v4-pattern-cards header span{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:999px;background:#eef3f5;color:#547080;font-size:.78rem;font-weight:850}
body.n2-page-659059937 .n2-v4-pattern-cards h3{margin:0!important;font-size:1.08rem!important;color:#2c423c!important}
body.n2-page-659059937 .n2-v4-formula{padding:9px 11px;border-radius:8px;background:#f5f7f6;color:#5e6a66;font-size:.91rem}
body.n2-page-659059937 .n2-v4-pattern-cards p{margin:11px 0 2px!important;color:#334841!important;font-size:1.02rem!important;line-height:1.75!important}
body.n2-page-659059937 .n2-v4-pattern-cards small{color:#707b77;font-size:.88rem;line-height:1.6}

/* 標準比較頁：整欄等寬、標籤/例句層級一致 */
body.n2-tailored-v4 .n2-v4-standard-compare{max-width:840px!important;width:100%}
body.n2-tailored-v4 .n2-v4-standard-compare article{display:flex;flex-direction:column;min-height:100%;padding:20px!important}
body.n2-tailored-v4 .n2-v4-standard-compare header{margin-bottom:10px}
body.n2-tailored-v4 .n2-v4-standard-compare h3{margin:7px 0 0!important;color:#2f4250!important;font-size:1.12rem!important}
body.n2-tailored-v4 .n2-v4-standard-compare h3 small{color:#8a928f;font-size:.76rem;font-weight:700}
.n2-v4-core-tag{display:inline-flex;padding:4px 9px;border:1px solid #dfe5e2;border-radius:999px;background:#f7f9f8;color:#65726d;font-size:.78rem;font-weight:820;letter-spacing:.03em}
.n2-v4-compare-example{margin-top:auto;padding:12px 13px;border-radius:9px;background:#f7f9f8}
.n2-v4-compare-example>b{display:block;margin-bottom:4px;color:#73807b;font-size:.78rem}
.n2-v4-compare-example p{margin:0!important;color:#2f403b!important;font-size:1rem!important;line-height:1.72!important}
.n2-v4-compare-example small{display:block;margin-top:4px;color:#727c78;font-size:.88rem;line-height:1.55}

/* 勸誘：三者比較，目標文法一定出現在比較中 */
body.n2-page-659059947 .n2-v4-three-compare{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:900px;margin-inline:auto}
body.n2-page-659059947 .n2-v4-three-compare article{display:flex;flex-direction:column;min-width:0;padding:18px;border:1px solid #dfe4e2;border-top:4px solid #7b94a3;border-radius:12px;background:#fff}
body.n2-page-659059947 .n2-v4-three-compare article:nth-child(2){border-top-color:#809779}
body.n2-page-659059947 .n2-v4-three-compare article:nth-child(3){border-top-color:#8d789d}
body.n2-page-659059947 .n2-v4-three-compare h3{margin:8px 0!important;color:#31453f!important;font-size:1.08rem!important;line-height:1.55!important}
body.n2-page-659059947 .n2-v4-three-compare h3 small{font-size:.74rem;color:#8b938f}
body.n2-page-659059947 .n2-v4-three-compare>article>p{color:#5a6662;font-size:.94rem;line-height:1.72}

/* 舐める：修正巢狀 grid 造成的半頁空白 */
body.n2-page-659060097 .n2-v4-vocab-compare{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;width:100%;max-width:900px;margin-inline:auto}
body.n2-page-659060097 .n2-v4-vocab-compare>.vocab-compare-side{width:auto!important;max-width:none!important;min-width:0!important}
body.n2-page-659060097 .section-compare .special-content{display:block!important}

/* 敬語 / によって / おさえられる：防止外層 grid 再把內層縮成半幅 */
body.n2-page-659060216 .section-compare .special-content,
body.n2-page-niyotte .section-connection .special-content,
body.n2-page-osaerareru .section-connection .special-content{width:100%;max-width:900px}
body.n2-page-659060216 .n2-v3-keigo-grid,
body.n2-page-niyotte .multiuse-grid,
body.n2-page-osaerareru .dualform-grid{width:100%;max-width:none}

@media(max-width:760px){
  body.n2-page-659059937 .n2-v4-pattern-cards,
  body.n2-page-659059947 .n2-v4-three-compare,
  body.n2-page-659060097 .n2-v4-vocab-compare{grid-template-columns:1fr!important}
  body.n2-page-659059937 .n2-v4-pattern-wide{grid-column:auto}
}

html[data-theme="dark"] body.n2-tailored-v4 .n2-v4-pattern-cards article,
html[data-theme="dark"] body.n2-tailored-v4 .n2-v4-standard-compare article,
html[data-theme="dark"] body.n2-tailored-v4 .n2-v4-three-compare article{background:#1b2622!important;border-color:#36463f!important}
html[data-theme="dark"] body.n2-tailored-v4 .n2-v4-formula,
html[data-theme="dark"] body.n2-tailored-v4 .n2-v4-compare-example,
html[data-theme="dark"] body.n2-tailored-v4 .n2-v4-core-tag{background:#202c27!important;border-color:#3a4943!important;color:#ccd7d2!important}


/* =========================================================
   N2 remaining 10 — tailored design v5 confirmed refinement
   2026-08-19
   ========================================================= */

/* 659059909: 6 fixed expressions = balanced 3 x 2 */
body.n2-page-659059909.n2-tailored-v5 .n2-v3-idiom-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
body.n2-page-659059909.n2-tailored-v5 .n2-v3-idiom-grid li{
  display:flex;
  min-height:88px;
  flex-direction:column;
  justify-content:center;
}

/* 659059947: make the comparison axis visible before the three cards */
body.n2-page-659059947.n2-tailored-v5 .n2-v5-invite-axis{
  display:grid;
  grid-template-columns:1fr auto 1fr auto 1fr;
  align-items:center;
  gap:10px;
  max-width:760px;
  margin:0 auto 16px;
  color:#68746f;
  font-size:.88rem;
  text-align:center;
}
body.n2-page-659059947.n2-tailored-v5 .n2-v5-invite-axis span{
  padding:7px 10px;
  border:1px solid #e0e5e2;
  border-radius:999px;
  background:#f7f9f8;
  font-weight:760;
}
body.n2-page-659059947.n2-tailored-v5 .n2-v5-invite-axis b{color:#9aa39f}

/* によって: CORE only explains the concept; USAGE owns the four meanings */
body.n2-page-niyotte.n2-tailored-v5 .section-core .special-content{
  display:block!important;
  width:100%;
  max-width:900px;
}
body.n2-page-niyotte.n2-tailored-v5 .n2-v5-niyotte-core{
  padding:20px 22px;
  border:1px solid #d9e4e8;
  border-left:4px solid #668fa2;
  border-radius:12px;
  background:#fbfcfc;
}
body.n2-page-niyotte.n2-tailored-v5 .n2-v5-core-meta{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
body.n2-page-niyotte.n2-tailored-v5 .n2-v5-core-meta>div{
  padding:12px 14px;
  border:1px solid #e1e7e5;
  border-radius:10px;
  background:#fff;
}
body.n2-page-niyotte.n2-tailored-v5 .n2-v5-core-meta span{
  display:block;
  margin-bottom:3px;
  color:#77827e;
  font-size:.78rem;
  font-weight:820;
  letter-spacing:.06em;
}
body.n2-page-niyotte.n2-tailored-v5 .n2-v5-core-meta strong{
  color:#304741;
  font-size:1rem;
  line-height:1.6;
}
body.n2-page-niyotte.n2-tailored-v5 .n2-v5-core-lead{
  max-width:760px;
  margin:16px 0 12px;
  color:#52615c;
  font-size:1rem;
  line-height:1.85;
}
body.n2-page-niyotte.n2-tailored-v5 .n2-v5-core-tags{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
}
body.n2-page-niyotte.n2-tailored-v5 .n2-v5-core-tags span{
  padding:9px 10px;
  border:1px solid #e0e6e3;
  border-radius:9px;
  background:#f5f8f6;
  color:#4c6059;
  font-size:.9rem;
  font-weight:780;
  text-align:center;
}
body.n2-page-niyotte.n2-tailored-v5 .n2-v5-core-next{
  margin:11px 0 0;
  color:#7a8480;
  font-size:.86rem;
}
body.n2-page-niyotte.n2-tailored-v5 .n2-v5-multiuse-index{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-bottom:10px;
}
body.n2-page-niyotte.n2-tailored-v5 .n2-v5-multiuse-index>div{
  min-width:0;
  padding:13px 14px;
  border:1px solid #dfe5e2;
  border-radius:10px;
  background:#fff;
}
body.n2-page-niyotte.n2-tailored-v5 .n2-v5-multiuse-index span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  margin-bottom:8px;
  border-radius:50%;
  background:#eef3f5;
  color:#547080;
  font-size:.75rem;
  font-weight:850;
}
body.n2-page-niyotte.n2-tailored-v5 .n2-v5-multiuse-index strong{
  display:block;
  color:#334740;
  font-size:.98rem;
}
body.n2-page-niyotte.n2-tailored-v5 .n2-v5-multiuse-index small{
  display:block;
  margin-top:4px;
  color:#77817d;
  font-size:.82rem;
  line-height:1.55;
}
body.n2-page-niyotte.n2-tailored-v5 .n2-v5-multiuse-guide{
  margin:0 0 16px;
  padding:10px 13px;
  border-left:3px solid #8098a3;
  background:#f6f8f7;
  color:#596660;
  font-size:.92rem;
  line-height:1.7;
}

/* おさえられる: identity -> change -> two interpretations */
body.n2-page-osaerareru.n2-tailored-v5 .section-core .special-content{
  display:block!important;
  width:100%;
  max-width:900px;
}
body.n2-page-osaerareru.n2-tailored-v5 .n2-v5-osae-core{
  padding:20px 22px;
  border:1px solid #d9e3df;
  border-left:4px solid #668f80;
  border-radius:12px;
  background:#fbfcfb;
}
body.n2-page-osaerareru.n2-tailored-v5 .n2-v5-osae-identity{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  padding-bottom:14px;
  border-bottom:1px solid #e4e9e7;
}
body.n2-page-osaerareru.n2-tailored-v5 .n2-v5-osae-identity span{
  display:block;
  margin-bottom:3px;
  color:#75817c;
  font-size:.78rem;
  font-weight:820;
  letter-spacing:.06em;
}
body.n2-page-osaerareru.n2-tailored-v5 .n2-v5-osae-identity strong{
  color:#2f4a42;
  font-size:1.32rem;
  line-height:1.45;
}
body.n2-page-osaerareru.n2-tailored-v5 .n2-v5-osae-identity small{
  flex:0 0 auto;
  padding:5px 9px;
  border-radius:999px;
  background:#eef3f1;
  color:#66736e;
  font-size:.8rem;
  font-weight:760;
}
body.n2-page-osaerareru.n2-tailored-v5 .n2-v5-osae-meanings{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin:14px 0;
}
body.n2-page-osaerareru.n2-tailored-v5 .n2-v5-osae-meanings span{
  padding:8px 10px;
  border:1px solid #e0e6e3;
  border-radius:9px;
  background:#fff;
  color:#50615b;
  font-weight:760;
  text-align:center;
}
body.n2-page-osaerareru.n2-tailored-v5 .n2-v5-osae-formula{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);
  align-items:center;
  gap:10px;
  padding:13px 15px;
  border:1px solid #dce5e1;
  border-radius:10px;
  background:#f5f8f6;
  color:#52625d;
  text-align:center;
}
body.n2-page-osaerareru.n2-tailored-v5 .n2-v5-osae-formula strong{color:#315f50;font-size:1.05rem}
body.n2-page-osaerareru.n2-tailored-v5 .n2-v5-osae-formula b{color:#9aa49f}
body.n2-page-osaerareru.n2-tailored-v5 .n2-v5-osae-note{
  margin:13px 0 0;
  color:#586762;
  font-size:.95rem;
  line-height:1.78;
}
body.n2-page-osaerareru.n2-tailored-v5 .n2-v5-osae-preview{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:15px;
}
body.n2-page-osaerareru.n2-tailored-v5 .n2-v5-osae-preview>div{
  padding:13px 14px;
  border:1px solid #dfe6e3;
  border-radius:10px;
  background:#fff;
}
body.n2-page-osaerareru.n2-tailored-v5 .n2-v5-osae-preview span{
  display:block;
  color:#71807a;
  font-size:.78rem;
  font-weight:820;
}
body.n2-page-osaerareru.n2-tailored-v5 .n2-v5-osae-preview strong{
  display:block;
  margin:3px 0;
  color:#334941;
  font-size:1rem;
}
body.n2-page-osaerareru.n2-tailored-v5 .n2-v5-osae-preview small{
  color:#707b77;
  font-size:.86rem;
  line-height:1.55;
}

@media(max-width:760px){
  body.n2-page-659059909.n2-tailored-v5 .n2-v3-idiom-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.n2-page-659059947.n2-tailored-v5 .n2-v5-invite-axis{grid-template-columns:1fr;gap:6px}
  body.n2-page-659059947.n2-tailored-v5 .n2-v5-invite-axis b{transform:rotate(90deg)}
  body.n2-page-niyotte.n2-tailored-v5 .n2-v5-core-meta,
  body.n2-page-niyotte.n2-tailored-v5 .n2-v5-multiuse-index,
  body.n2-page-osaerareru.n2-tailored-v5 .n2-v5-osae-preview{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.n2-page-niyotte.n2-tailored-v5 .n2-v5-core-tags{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.n2-page-osaerareru.n2-tailored-v5 .n2-v5-osae-identity{align-items:flex-start;flex-direction:column}
  body.n2-page-osaerareru.n2-tailored-v5 .n2-v5-osae-formula{grid-template-columns:1fr;gap:6px}
  body.n2-page-osaerareru.n2-tailored-v5 .n2-v5-osae-formula b{transform:rotate(90deg)}
}
@media(max-width:430px){
  body.n2-page-659059909.n2-tailored-v5 .n2-v3-idiom-grid,
  body.n2-page-niyotte.n2-tailored-v5 .n2-v5-core-meta,
  body.n2-page-niyotte.n2-tailored-v5 .n2-v5-core-tags,
  body.n2-page-niyotte.n2-tailored-v5 .n2-v5-multiuse-index,
  body.n2-page-osaerareru.n2-tailored-v5 .n2-v5-osae-meanings,
  body.n2-page-osaerareru.n2-tailored-v5 .n2-v5-osae-preview{grid-template-columns:1fr!important}
}

html[data-theme="dark"] body.n2-tailored-v5 .n2-v5-niyotte-core,
html[data-theme="dark"] body.n2-tailored-v5 .n2-v5-osae-core,
html[data-theme="dark"] body.n2-tailored-v5 .n2-v5-core-meta>div,
html[data-theme="dark"] body.n2-tailored-v5 .n2-v5-multiuse-index>div,
html[data-theme="dark"] body.n2-tailored-v5 .n2-v5-osae-meanings span,
html[data-theme="dark"] body.n2-tailored-v5 .n2-v5-osae-preview>div{
  background:#1b2622!important;
  border-color:#384740!important;
  color:#dce5e1!important;
}
html[data-theme="dark"] body.n2-tailored-v5 .n2-v5-core-tags span,
html[data-theme="dark"] body.n2-tailored-v5 .n2-v5-multiuse-guide,
html[data-theme="dark"] body.n2-tailored-v5 .n2-v5-osae-formula,
html[data-theme="dark"] body.n2-tailored-v5 .n2-v5-invite-axis span{
  background:#202d28!important;
  border-color:#384740!important;
  color:#dce5e1!important;
}


/* =========================================================
   N2 remaining 10 — tailored design v6
   beginner clarity + compare text-color system + detail rhythm
   2026-08-19
   ========================================================= */

/* Shared compare text-color system: color TEXT, never fill the card background. */
body.n2-tailored-v6{
  --compare-a:#456f87;
  --compare-b:#785f8c;
  --compare-c:#6c8062;
  --compare-warm:#965f4b;
  --compare-green:#56776b;
}
/* 659059909 — two grammar columns are readable at a glance */
body.n2-page-659059909.n2-tailored-v6 .n2-v3-compare-head strong:nth-child(2),
body.n2-page-659059909.n2-tailored-v6 .n2-v3-compare-row>div:nth-child(2){color:var(--compare-a)}
body.n2-page-659059909.n2-tailored-v6 .n2-v3-compare-head strong:nth-child(3),
body.n2-page-659059909.n2-tailored-v6 .n2-v3-compare-row>div:nth-child(3){color:var(--compare-b)}
body.n2-page-659059909.n2-tailored-v6 .n2-v3-compare-head strong{font-size:1.04rem}

/* Standard 2-column grammar compare: grammar name / label / target grammar share the same side color. */
body.n2-page-659059943.n2-tailored-v6 .n2-v3-compare-side-1 h3,
body.n2-page-659059943.n2-tailored-v6 .n2-v3-compare-side-1 .n2-v4-core-tag,
body.n2-page-659059943.n2-tailored-v6 .n2-v3-compare-side-1 p strong,
body.n2-page-659059943.n2-tailored-v6 .n2-v3-compare-side-1 .n2-v4-compare-example strong,
body.n2-page-659059944.n2-tailored-v6 .n2-v3-compare-side-1 h3,
body.n2-page-659059944.n2-tailored-v6 .n2-v3-compare-side-1 .n2-v4-core-tag,
body.n2-page-659059944.n2-tailored-v6 .n2-v3-compare-side-1 p strong,
body.n2-page-659059944.n2-tailored-v6 .n2-v3-compare-side-1 .n2-v4-compare-example strong{color:var(--compare-a)!important}
body.n2-page-659059943.n2-tailored-v6 .n2-v3-compare-side-2 h3,
body.n2-page-659059943.n2-tailored-v6 .n2-v3-compare-side-2 .n2-v4-core-tag,
body.n2-page-659059943.n2-tailored-v6 .n2-v3-compare-side-2 p strong,
body.n2-page-659059943.n2-tailored-v6 .n2-v3-compare-side-2 .n2-v4-compare-example strong,
body.n2-page-659059944.n2-tailored-v6 .n2-v3-compare-side-2 h3,
body.n2-page-659059944.n2-tailored-v6 .n2-v3-compare-side-2 .n2-v4-core-tag,
body.n2-page-659059944.n2-tailored-v6 .n2-v3-compare-side-2 p strong,
body.n2-page-659059944.n2-tailored-v6 .n2-v3-compare-side-2 .n2-v4-compare-example strong{color:var(--compare-b)!important}

/* 659059947 has three different invitation grammars: distinguish grammar text only. */
body.n2-page-659059947.n2-tailored-v6 .n2-v4-three-compare article:nth-child(1) h3,
body.n2-page-659059947.n2-tailored-v6 .n2-v4-three-compare article:nth-child(1) .font-jp strong{color:var(--compare-a)!important}
body.n2-page-659059947.n2-tailored-v6 .n2-v4-three-compare article:nth-child(2) h3,
body.n2-page-659059947.n2-tailored-v6 .n2-v4-three-compare article:nth-child(2) .font-jp strong{color:var(--compare-green)!important}
body.n2-page-659059947.n2-tailored-v6 .n2-v4-three-compare article:nth-child(3) h3,
body.n2-page-659059947.n2-tailored-v6 .n2-v4-three-compare article:nth-child(3) .font-jp strong{color:var(--compare-b)!important}

/* 659060216 — 尊敬語 vs 謙讓語: text identities follow two distinct colors. */
body.n2-page-659060216.n2-tailored-v6 .keigo-respect h3,
body.n2-page-659060216.n2-tailored-v6 .keigo-respect .n2-v3-example-block strong,
body.n2-page-659060216.n2-tailored-v6 .keigo-respect>header>span{color:#985c67!important}
body.n2-page-659060216.n2-tailored-v6 .keigo-humble h3,
body.n2-page-659060216.n2-tailored-v6 .keigo-humble .n2-v3-example-block strong,
body.n2-page-659060216.n2-tailored-v6 .keigo-humble>header>span{color:#526f99!important}

/* 659060097 — clean typographic compare, white cards + colored identity text only. */
body.n2-page-659060097.n2-tailored-v6 .n2-v6-vocab-card{
  display:flex;flex-direction:column;gap:15px;min-width:0;padding:20px!important;
  border:1px solid #dfe5e2!important;border-radius:13px!important;background:#fff!important;
}
body.n2-page-659060097.n2-tailored-v6 .n2-v6-vocab-head{display:grid;gap:4px;padding-bottom:12px;border-bottom:1px solid #e5e9e7}
body.n2-page-659060097.n2-tailored-v6 .n2-v6-vocab-head>span{font-size:.82rem;font-weight:820;color:#707b77}
body.n2-page-659060097.n2-tailored-v6 .n2-v6-vocab-head h3{margin:0!important;font-size:1.22rem!important;line-height:1.5!important}
body.n2-page-659060097.n2-tailored-v6 .n2-v6-vocab-head small{font-size:.88rem;line-height:1.55;color:#737d79}
body.n2-page-659060097.n2-tailored-v6 .vocab-compare-emotional .n2-v6-vocab-head h3,
body.n2-page-659060097.n2-tailored-v6 .vocab-compare-emotional .n2-v6-vocab-head>span,
body.n2-page-659060097.n2-tailored-v6 .vocab-compare-emotional .n2-v6-vocab-example strong,
body.n2-page-659060097.n2-tailored-v6 .vocab-compare-emotional .n2-v6-vocab-judge>strong{color:var(--compare-warm)!important}
body.n2-page-659060097.n2-tailored-v6 .vocab-compare-formal .n2-v6-vocab-head h3,
body.n2-page-659060097.n2-tailored-v6 .vocab-compare-formal .n2-v6-vocab-head>span,
body.n2-page-659060097.n2-tailored-v6 .vocab-compare-formal .n2-v6-vocab-example strong,
body.n2-page-659060097.n2-tailored-v6 .vocab-compare-formal .n2-v6-vocab-judge>strong{color:var(--compare-green)!important}
body.n2-page-659060097.n2-tailored-v6 .n2-v6-vocab-example{padding:14px 15px;border-radius:10px;background:#f7f9f8}
body.n2-page-659060097.n2-tailored-v6 .n2-v6-example-label{margin-bottom:6px;color:#7b8581;font-size:.78rem;font-weight:820}
body.n2-page-659060097.n2-tailored-v6 .n2-v6-example-line{display:flex;align-items:flex-start;gap:10px}
body.n2-page-659060097.n2-tailored-v6 .n2-v6-example-line p{flex:1;margin:0!important;color:#33443f!important;font-size:1.03rem!important;line-height:1.85!important}
body.n2-page-659060097.n2-tailored-v6 .n2-v6-example-line .legacy-inline-action{position:static!important;flex:0 0 auto;margin-top:0}
body.n2-page-659060097.n2-tailored-v6 .n2-v6-example-translation{margin:8px 0 0!important;color:#4f5e59!important;font-size:.95rem!important;line-height:1.7!important}
body.n2-page-659060097.n2-tailored-v6 .n2-v6-vocab-example small{display:block;margin-top:3px;color:#7a8480;font-size:.84rem;line-height:1.55}
body.n2-page-659060097.n2-tailored-v6 .n2-v6-vocab-judge{margin-top:auto;padding-top:13px;border-top:1px solid #e5e9e7}
body.n2-page-659060097.n2-tailored-v6 .n2-v6-vocab-judge>span{display:block;color:#78827e;font-size:.78rem;font-weight:820}
body.n2-page-659060097.n2-tailored-v6 .n2-v6-vocab-judge>strong{display:block;margin-top:4px;font-size:1rem}
body.n2-page-659060097.n2-tailored-v6 .n2-v6-vocab-judge p{margin:5px 0 0!important;color:#5d6965!important;font-size:.91rem!important;line-height:1.72!important}

/* おさえる: beginner-first meanings — life phrase + Japanese mini example + Chinese gloss. */
body.n2-page-osaerareru.n2-tailored-v6 .n2-v6-osae-meaning-title{
  margin:15px 0 9px;color:#4f605a;font-size:.9rem;font-weight:820;
}
body.n2-page-osaerareru.n2-tailored-v6 .n2-v5-osae-meanings{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 14px;
}
body.n2-page-osaerareru.n2-tailored-v6 .n2-v6-osae-meaning-card{
  min-width:0;padding:13px 14px;border:1px solid #e0e6e3;border-radius:10px;background:#fff;text-align:left;
}
body.n2-page-osaerareru.n2-tailored-v6 .n2-v6-osae-meaning-card>strong{display:block;color:#385f52;font-size:.98rem}
body.n2-page-osaerareru.n2-tailored-v6 .n2-v6-osae-meaning-card p{margin:6px 0 1px;color:#33443f;font-size:.98rem;line-height:1.7}
body.n2-page-osaerareru.n2-tailored-v6 .n2-v6-osae-meaning-card small{color:#75807c;font-size:.84rem;line-height:1.55}
body.n2-page-osaerareru.n2-tailored-v6 .dualform-potential h3,
body.n2-page-osaerareru.n2-tailored-v6 .dualform-potential code,
body.n2-page-osaerareru.n2-tailored-v6 .dualform-potential .font-jp strong{color:var(--compare-green)!important}
body.n2-page-osaerareru.n2-tailored-v6 .dualform-passive h3,
body.n2-page-osaerareru.n2-tailored-v6 .dualform-passive code,
body.n2-page-osaerareru.n2-tailored-v6 .dualform-passive .font-jp strong{color:#8a694e!important}

/* によって: four cards use a stable textbook rhythm. */
body.n2-page-niyotte.n2-tailored-v6 .multiuse-grid{align-items:stretch}
body.n2-page-niyotte.n2-tailored-v6 .multiuse-card{display:flex!important;flex-direction:column!important;gap:0!important;padding:19px 20px!important;text-wrap:pretty}
body.n2-page-niyotte.n2-tailored-v6 .n2-v6-use-head{margin:0 0 13px!important}
body.n2-page-niyotte.n2-tailored-v6 .n2-v6-use-head h3{margin:9px 0 5px!important;font-size:1.16rem!important}
body.n2-page-niyotte.n2-tailored-v6 .n2-v6-use-head p{margin:0!important;color:#5d6965!important;font-size:.94rem!important;line-height:1.72!important}
body.n2-page-niyotte.n2-tailored-v6 .n2-v6-use-formula{display:block!important;margin:0 0 14px!important;padding:11px 13px!important;text-align:left!important;background:#f6f8f7!important;border-color:#e0e6e3!important}
body.n2-page-niyotte.n2-tailored-v6 .n2-v6-use-label{display:block;margin-bottom:4px;color:#7a8580;font-size:.76rem;font-weight:820;letter-spacing:.04em}
body.n2-page-niyotte.n2-tailored-v6 .n2-v6-use-formula code{white-space:normal;overflow-wrap:anywhere;line-height:1.65}
body.n2-page-niyotte.n2-tailored-v6 .n2-v6-use-example{margin:0 0 11px!important;padding:13px 14px!important;border-radius:10px!important;background:#fff!important;box-shadow:none!important}
body.n2-page-niyotte.n2-tailored-v6 .n2-v6-jp-example{text-align:left!important;font-size:1.02rem!important;line-height:1.9!important}
body.n2-page-niyotte.n2-tailored-v6 .n2-v6-use-translation{margin-top:5px!important;color:#69746f!important;font-size:.89rem!important;line-height:1.65!important}
body.n2-page-niyotte.n2-tailored-v6 rt{line-height:1}

@media(max-width:760px){
  body.n2-page-osaerareru.n2-tailored-v6 .n2-v5-osae-meanings{grid-template-columns:1fr}
  body.n2-page-659060097.n2-tailored-v6 .n2-v6-vocab-card{padding:17px!important}
}

html[data-theme="dark"] body.n2-tailored-v6{
  --compare-a:#8fc0dc;--compare-b:#c0a3d7;--compare-c:#a8c89b;--compare-warm:#e0a58e;--compare-green:#9ac2b4;
}
html[data-theme="dark"] body.n2-page-659060097.n2-tailored-v6 .n2-v6-vocab-card,
html[data-theme="dark"] body.n2-page-osaerareru.n2-tailored-v6 .n2-v6-osae-meaning-card,
html[data-theme="dark"] body.n2-page-niyotte.n2-tailored-v6 .n2-v6-use-example{
  background:#1b2622!important;border-color:#384740!important;color:#dce5e1!important;
}
html[data-theme="dark"] body.n2-page-659060097.n2-tailored-v6 .n2-v6-vocab-example,
html[data-theme="dark"] body.n2-page-niyotte.n2-tailored-v6 .n2-v6-use-formula{
  background:#202d28!important;border-color:#384740!important;
}
