/* 記事本文に差し込む部品のCSS。
   ページの地・見出し・本文は base.css（レイアウト内蔵）と各 view の .prose が持つ。
   ここは **.article-component の中だけ** を組む（以前は .reading というページ全体の
   器を兼ねていたが、読みものが二段組デザインに載ったので部品側だけを残した）。 */
.article-component{border:1px solid var(--line,#dce7e8);border-radius:14px;padding:22px;margin:32px 0;overflow:hidden;line-height:1.9;font-size:14.5px}
.article-component h3{margin:0 0 12px;font-size:16px}
.article-component p{margin:12px 0}
.article-component img{max-width:100%}
.article-component a{color:var(--acc,#126e77);text-decoration:underline;text-underline-offset:2px}
.article-component fieldset{border:0;padding:0;min-width:0}
.article-component legend{font-weight:700}
.article-component figure{margin:0}
.article-component figcaption,.reading-source{font-size:12px;color:var(--ink2,#43575b);line-height:1.8}
.article-checklist label{display:flex;gap:10px;padding:13px 0;border-bottom:1px solid var(--line,#ddd)}
.article-checklist input{width:20px;min-width:20px;accent-color:#126e77}
.article-component button,.article-component select{font:inherit;padding:8px;border:1px solid var(--line,#ddd);border-radius:6px;cursor:pointer}
.article-component button{background:var(--sf,#fff);color:var(--ink,#16434b)}
.article-component :focus-visible{outline:3px solid #b37629;outline-offset:3px}
.article-component table{display:block;width:100%;overflow:auto;border-collapse:collapse;font-size:14px}
.article-component th,.article-component td{padding:10px;border:1px solid var(--line,#ddd);min-width:55px}
.article-component th{background:var(--foam,#f5f8f8);text-align:left}
.article-component .table-scroll{overflow:auto}
.article-component .calendar table{min-width:730px}
.article-component .many{color:#126e77}
.article-component .some{color:#a56622}
.article-component .legend{font-size:12px;display:flex;gap:14px;flex-wrap:wrap}
.article-component .note,.article-component .source,.article-component .scroll-hint{font-size:12px;color:var(--ink2,#43575b)}
.article-component .pill{display:inline-block;border:1px solid #b6d5d8;border-radius:20px;padding:2px 10px;font-size:12px}
.article-component .tide-plot{overflow:auto}
.article-component .tide-plot svg{min-width:620px;width:100%}
.article-component .options{display:flex;gap:10px;flex-wrap:wrap}
.article-component .options label{padding:10px;border:1px solid var(--line,#ddd);border-radius:6px}
.article-component .decision-answer,.article-component .notice{padding:15px;background:#f2f7f6;color:#21434b;border-radius:8px}
.article-map{position:relative;overflow:hidden}
.article-map-overlay{position:absolute;width:760px;height:360px;left:50%;top:0;transform:translateX(-50%);pointer-events:none}
.rig-controls{display:flex;align-items:end;justify-content:space-between;gap:10px}
.rig-controls select{display:block;margin-top:5px}
.rig-step-buttons{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:20px}
.rig-step-buttons button{font-size:13px}
.rig-step-buttons button[aria-pressed=true]{background:#126e77;color:white}
#rig-canvas svg{display:block;width:100%;max-width:540px;margin:auto}
@media(max-width:760px){
  .article-component{padding:15px}
  .article-component .calendar table{min-width:730px}
  .rig-controls{font-size:12px}
  .rig-step-buttons button{font-size:11px;padding:10px 3px}
  .article-component .options{display:grid}
}
