/* silmera-method.css -- "Your method" (js/silmera-method.js, 2026-10-13). Uses the page's tokens
   (silmera.css): colours, radii 8/12, the verdict colours, DM Sans / IBM Plex Mono. Light and dark
   follow the tokens. No emoji; icons are inline SVG in the markup. */
.mt { display: flex; flex-direction: column; gap: 16px; }
.mt .mt-step { gap: 10px; }
.mt .mt-cost { color: var(--ink2); }
.mt .mt-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mt .mono { font-family: var(--mono); font-size: 12.5px; overflow-wrap: anywhere; }
.mt h4 { margin: 4px 0; font-size: 12.5px; font-weight: 600; color: var(--ink2); }

/* step 1: the matters */
.mt-matters { display: flex; flex-direction: column; gap: 10px; }
.mt-matter { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: var(--card); }
.mt-matter.aside { border-style: dashed; background: rgba(var(--accent-rgb), 0.03); }
.mt-mhead { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; padding-bottom: 6px; border-bottom: 1px solid var(--line-soft); }
.mt-mhead b { font-weight: 600; font-size: 14px; }
.mt-aside { margin-left: auto; display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--ink2); cursor: pointer; }
.mt-file { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line-soft); }
.mt-file:last-child { border-bottom: 0; }
.mt-seg { height: 30px; }
.mt-seg button { padding: 0 10px; font-size: 12.5px; }
.mt-seg button.on { background: rgba(var(--accent-rgb), 0.10); color: var(--accent); }
.mt .ps-box .opt { margin-bottom: 6px; }

/* step 2: the steps and the meter */
.mt-steps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.mt-steps li { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink2); }
.mt-ok svg { width: 14px; height: 14px; fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.mt-meter { margin: 0; font-size: 13.5px; color: var(--ink); }
.mt-meter b { font-weight: 600; }
.mt-running { color: var(--accent); }
.mt-done { color: var(--ok-ink); }

/* step 3: the habits */
.mt-habit { border: 1px solid var(--line); border-left: 3px solid var(--rev); border-radius: 8px; padding: 10px 14px; margin: 6px 0; background: var(--card); display: flex; flex-direction: column; gap: 4px; }
.mt-habit.decided.yes { border-left-color: var(--ok); }
.mt-habit.decided.no { border-left-color: var(--abs); opacity: 0.8; }
.mt-hhead { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; flex-wrap: wrap; }
.mt-hhead b { font-weight: 600; font-size: 14px; }
.mt-rule { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
.mt-quotes blockquote { margin: 4px 0; padding: 4px 10px; border-left: 2px solid var(--line); color: var(--ink2); font-size: 13px; line-height: 1.5; }
.mt-question { margin: 4px 0 0; padding: 6px 10px; border-radius: 8px; background: rgba(var(--rev-rgb), 0.08); font-size: 13.5px; color: var(--ink); }
.mt-question b { color: var(--rev-ink); font-weight: 600; }
.mt-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.mt-decided { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.mt-wording, .mt-q textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 13.5px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); resize: vertical; }
.mt-dropped { margin-top: 8px; }
.mt-dropped summary { cursor: pointer; color: var(--ink3); font-size: 13px; }

/* step 4: the draft */
.mt-picks { display: flex; flex-direction: column; gap: 6px; }
.mt-pick { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--ink2); cursor: pointer; }
.mt-q { display: flex; flex-direction: column; gap: 4px; }
.mt-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 8px; }
.mt-cols.one { grid-template-columns: minmax(0, 1fr); }
.mt-col { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mt-colhead { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mt-text { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13.5px; line-height: 1.6; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); max-height: 520px; overflow: auto; }
.mt-actual { background: var(--panel); color: var(--ink2); }
.mt-list ul { margin: 4px 0; padding-left: 18px; font-size: 13.5px; color: var(--ink2); }
@media (max-width: 900px) { .mt-cols { grid-template-columns: minmax(0, 1fr); } .mt-file { grid-template-columns: minmax(0, 1fr); } }
/* views per section (2026-10-14): the draft section by section; the panel has two parts -- what the firm
   knows (its past matters) and what its files do not say (looked up outside) */
.mt-secs { white-space: normal; max-height: none; padding: 4px 0; }
.mt-sec { padding: 8px 14px; border-bottom: 1px solid var(--line-soft); }
.mt-sec:last-child { border-bottom: 0; }
.mt-sec.on { background: var(--panel); box-shadow: inset 3px 0 0 var(--accent); }
.mt-sec-row { display: flex; gap: 12px; align-items: flex-start; }
.mt-sec-text { flex: 1; min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.mt-sec-btn { flex: none; }
.mt-sv { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; font-size: 13.5px; }
.mt-sv-part { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: var(--paper); display: flex; flex-direction: column; gap: 6px; }
.mt-sv-part.k { border-left: 3px solid #C9994A; }
.mt-sv-part.x { border-left: 3px solid #5A8F8C; }
.mt-sv h5 { margin: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink2); }
.mt-sv h6 { margin: 4px 0 0; font-size: 13px; color: var(--ink); }
.mt-sv-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; color: var(--ink2); }
.mt-sv-a { color: var(--ink); }
.mt-sv q { font-style: italic; }
.mt-sv input[type="text"] { width: 100%; box-sizing: border-box; }
.mt-rs-plan ul, .mt-rs-src { margin: 2px 0 6px; padding-left: 18px; }
.mt-rs-ans { margin: 0; color: var(--ink); }
.mt-sv-rw { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 600px) { .mt-sec-row { flex-direction: column; } }
