/* Mailcellar — "try it right here": an HTML model of the vault window, the Timeline Spine and Free Up Space. */
.mc {
  --paper: #f4f6f8; --side: #e9ecf0; --panel: #fff; --raised: #fafbfc; --rule: rgba(15,27,45,.09); --rule2: rgba(15,27,45,.16);
  --ink: #142033; --ink2: #566173; --ink3: #8a94a3; --seal: #23877b; --focus: #1e3c72; --caution: #a86a12; --danger: #a63d35;
  --sel: rgba(30,60,114,.10); --hov: rgba(15,27,45,.04); --bar: #8e98a8; --on: #fff;
  height: 640px; display: grid; grid-template-rows: 46px 1fr; position: relative; color: var(--ink); background: var(--panel); font-family: var(--font);
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mc { --paper: #0e1420; --side: #1f232b; --panel: #151c2a; --raised: #1a2233; --rule: rgba(255,255,255,.08); --rule2: rgba(255,255,255,.14);
  --ink: #e6eaf1; --ink2: #9ba6b6; --ink3: #6b7688; --seal: #45c2b1; --focus: #5f8bd8; --caution: #e2ae55; --danger: #e5847a; --sel: rgba(95,139,216,.2); --hov: rgba(255,255,255,.05); --bar: #5d6778; --on: #0e1420; } }
:root[data-theme="dark"] .mc { --paper: #0e1420; --side: #1f232b; --panel: #151c2a; --raised: #1a2233; --rule: rgba(255,255,255,.08); --rule2: rgba(255,255,255,.14);
  --ink: #e6eaf1; --ink2: #9ba6b6; --ink3: #6b7688; --seal: #45c2b1; --focus: #5f8bd8; --caution: #e2ae55; --danger: #e5847a; --sel: rgba(95,139,216,.2); --hov: rgba(255,255,255,.05); --bar: #5d6778; --on: #0e1420; }
.mc [hidden] { display: none !important; }
.mc button, .mc input, .mc select { font: inherit; color: inherit; }
.mc svg { width: 15px; height: 15px; flex: none; }
.mc code { font-family: var(--font-mono); font-size: 11px; }

/* Toolbar */
.mc-bar { display: grid; grid-template-columns: 206px 1fr auto minmax(180px, 300px); align-items: center; gap: 10px; padding-right: 12px; background: var(--paper); border-bottom: 1px solid var(--rule); }
.mc-bar .lights { padding-left: 16px; }
.mc-ttl { line-height: 1.2; min-width: 0; }
.mc-ttl b { display: block; font-size: 13px; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-ttl small { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink3); }
.mc-tools { display: flex; gap: 2px; }
.mc-tools button { width: 30px; height: 26px; border: 0; border-radius: 6px; background: none; color: var(--ink2); cursor: pointer; display: grid; place-items: center; }
.mc-tools button:hover { background: var(--hov); color: var(--ink); }
.mc-tools svg { width: 17px; height: 17px; }
.mc-search { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 8px; border-radius: 7px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--rule2); color: var(--ink3); }
.mc-search:focus-within { box-shadow: inset 0 0 0 2px var(--focus); }
.mc-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 12.5px; color: var(--ink); }

/* Body columns */
.mc-body { display: grid; grid-template-columns: 206px 64px 270px 1fr; min-height: 0; }
.mc-side { display: flex; flex-direction: column; gap: 1px; padding: 12px 10px 10px; background: var(--side); border-right: 1px solid var(--rule); min-height: 0; overflow-y: auto; scrollbar-width: none; }
.mc-vault { padding: 2px 6px 10px; }
.mc-vault small, .mc-sec { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--ink2); }
.mc-sec { margin: 10px 6px 4px; }
.mc-vault b { display: block; font-family: var(--font-mono); font-size: 18px; font-weight: 600; margin-top: 2px; }
.mc-vault b span:last-child { font-family: var(--font); font-size: 12.5px; font-weight: 500; }
.mc-vault code { display: block; font-size: 10px; color: var(--ink3); margin-top: 2px; }
.mc-shelves button, .mc-fold { display: flex; align-items: center; gap: 8px; width: 100%; height: 26px; padding: 0 8px; border: 0; border-radius: 6px; background: none; cursor: pointer; font-size: 12.5px; color: var(--ink2); text-align: left; }
.mc-shelves button:hover, .mc-fold:hover { background: var(--hov); }
.mc-shelves button[aria-current="true"], .mc-fold[aria-current="true"] { background: var(--rule2); color: var(--ink); }
.mc-shelves svg, .mc-fold svg { width: 14px; height: 14px; color: var(--ink3); }
.mc-shelves button:nth-child(5) svg { color: var(--caution); }
.mc-shelves span, .mc-fold span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mc-shelves em, .mc-fold em { margin-left: auto; font-style: normal; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink3); }
.mc-acct { padding: 4px 8px 1px; line-height: 1.15; }
.mc-acct b { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink2); }
.mc-acct small { font-family: var(--font-mono); font-size: 9.5px; color: var(--ink3); }
.mc-fold { padding-left: 18px; }
.mc-bk { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; background: var(--panel); box-shadow: 0 0 0 1px var(--rule), 0 1px 3px rgba(0,0,0,.06); font-size: 12px; }
.mc-bk svg.ok { color: var(--seal); width: 17px; height: 17px; }
.mc-bk > div { min-width: 0; }
.mc-bk b { display: block; font-size: 12px; white-space: nowrap; }
.mc-bk small { display: block; font-family: var(--font-mono); font-size: 9.5px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-bk button { margin-left: auto; height: 24px; padding: 0 10px; border: 0; border-radius: 6px; background: var(--focus); color: var(--on); font-size: 11.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.mc-bkrun { flex: 1; display: grid; gap: 3px; }
.mc-bar2 { display: block; height: 4px; border-radius: 2px; background: var(--rule2); overflow: hidden; }
.mc-bar2 i { display: block; height: 100%; background: var(--seal); transition: width .15s linear; }

/* Timeline Spine */
.mc-spine { position: relative; background: var(--paper); border-right: 1px solid var(--rule); cursor: ns-resize; touch-action: none; outline-offset: -3px; user-select: none; -webkit-user-select: none; }
.mc-sp-in { position: absolute; inset: 0; overflow: hidden; }
.mc-sp-in .yr { position: absolute; left: 4px; font-family: var(--font-mono); font-size: 9px; font-weight: 600; color: var(--ink2); }
.mc-sp-in i { position: absolute; left: 25px; border-radius: 1px; background: var(--bar); opacity: .75; }
.mc-sp-in i.on { background: var(--seal); opacity: 1; }
.mc-sp-in .mark { position: absolute; left: 17px; width: 0; height: 0; border: 4px solid transparent; border-left: 6px solid var(--seal); border-right: 0; transition: top .15s var(--ease); }
.mc-tip { position: absolute; left: 30px; z-index: 6; white-space: nowrap; padding: 4px 9px; border-radius: 7px; background: var(--panel); box-shadow: 0 0 0 1px var(--rule2), 0 6px 18px rgba(0,0,0,.14); font-size: 11.5px; pointer-events: none; }
.mc-tip b { font-weight: 600; }

/* List */
.mc-list { overflow-y: auto; min-height: 0; background: var(--panel); border-right: 1px solid var(--rule); padding: 0 8px 12px; scrollbar-width: thin; }
.mc-mh { position: sticky; top: 0; z-index: 2; display: flex; align-items: baseline; gap: 6px; padding: 12px 8px 8px; background: var(--panel); }
.mc-mh b { font-size: 17px; letter-spacing: -.01em; }
.mc-mh span { font-family: var(--font-mono); font-size: 14px; color: var(--ink3); }
.mc-mh small { margin-left: auto; font-family: var(--font-mono); font-size: 10px; color: var(--ink2); }
.mc-row { display: grid; grid-template-columns: 26px 1fr auto; grid-template-rows: auto auto auto; column-gap: 9px; padding: 7px 8px 8px; border-radius: 8px; cursor: pointer; font-size: 12px; position: relative; outline-offset: -2px; }
.mc-row:hover { background: var(--hov); }
.mc-row.on { background: var(--sel); }
.mc-row.on::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2.5px; border-radius: 2px; background: var(--focus); }
.av { grid-row: span 3; width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; font-family: var(--font-mono); font-size: 9px; font-weight: 600; color: var(--ink2); background: var(--raised); box-shadow: inset 0 0 0 1px var(--rule2); }
.mc-row b { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-row .dt { display: flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 10px; color: var(--ink3); white-space: nowrap; }
.mc-row .dt svg { width: 12px; height: 12px; }
.mc-row .dt svg.warn { color: var(--caution); }
.mc-row .sj, .mc-row .pv { grid-column: 2 / 4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-row .pv { color: var(--ink2); }
.mc-more { padding: 10px; text-align: center; font-size: 11px; color: var(--ink3); }
.mc-empty, .mc-noread { height: 100%; display: grid; place-content: center; justify-items: center; gap: 4px; padding: 20px; text-align: center; color: var(--ink3); font-size: 12px; }
.mc-empty b, .mc-noread b { color: var(--ink); font-size: 13.5px; }
.mc-noread svg { width: 30px; height: 30px; margin-bottom: 6px; }

/* Reader */
.mc-read { position: relative; overflow-y: auto; min-height: 0; background: var(--panel); scrollbar-width: thin; }
.mc-label { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 16px; border-bottom: 1px solid var(--rule); font-size: 11px; color: var(--ink2); background: var(--raised); }
.mc-label .where { font-weight: 600; white-space: nowrap; }
.mc-label code { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink3); padding-left: 8px; border-left: 1px solid var(--rule2); font-size: 10.5px; }
.mc-label .sz { margin-left: auto; font-family: var(--font-mono); font-size: 10.5px; white-space: nowrap; }
.mc-seal { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 8px 0 5px; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap; font-size: 11px; font-weight: 600; color: var(--seal) !important; background: color-mix(in srgb, var(--seal) 13%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--seal) 35%, transparent); }
.mc-seal:hover { background: color-mix(in srgb, var(--seal) 20%, transparent); }
.mc-seal svg { width: 13px; height: 13px; }
.mc-pop { position: absolute; right: 12px; top: 34px; z-index: 8; width: 300px; padding: 14px; border-radius: 12px; background: var(--panel); box-shadow: 0 0 0 1px var(--rule2), 0 14px 40px rgba(0,0,0,.18); font-size: 12px; }
.mc-pop .pt { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink); }
.mc-pop .pt svg { color: var(--seal); }
.mc-pop ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.mc-pop li { display: flex; gap: 9px; color: var(--ink3); }
.mc-pop li.ok, .mc-pop li.run { color: var(--ink); }
.mc-pop li small { display: block; font-family: var(--font-mono); font-size: 10px; color: var(--ink3); }
.mc-pop .ck { flex: none; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--rule2); }
.mc-pop li.ok .ck { background: var(--seal); color: #fff; box-shadow: none; }
.mc-pop li.ok .ck svg { width: 12px; height: 12px; stroke-width: 2.4; }
.mc-pop li.run .ck { box-shadow: inset 0 0 0 2px var(--seal); border-top-color: transparent; animation: mcspin .8s linear infinite; }
@keyframes mcspin { 50% { opacity: .35; } }
.mc-pop p { margin: 12px 0 10px; color: var(--ink2); }
.mc-pop button { height: 26px; padding: 0 12px; border: 0; border-radius: 6px; background: var(--focus); color: var(--on); font-weight: 600; font-size: 12px; cursor: pointer; }
.mc-head { padding: 16px 18px 12px; border-bottom: 1px solid var(--rule); display: grid; gap: 10px; }
.mc-subj { margin: 0; font-size: 19px; letter-spacing: -.01em; line-height: 1.25; }
.mc-from { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; }
.mc-from .av { grid-row: auto; width: 30px; height: 30px; }
.mc-from code { color: var(--ink2); }
.mc-from code.bad { color: var(--caution); }
.mc-from small { display: block; color: var(--ink2); font-size: 11.5px; }
.mc-from .r { margin-left: auto; text-align: right; display: grid; gap: 3px; justify-items: end; }
.mc-from .r small { font-family: var(--font-mono); font-size: 10.5px; }
.auth { display: inline-flex; align-items: center; gap: 3px; font-family: var(--font-mono); font-size: 9.5px; color: var(--seal); }
.auth svg { width: 12px; height: 12px; }
.auth.bad { color: var(--danger); }
.mc-ban { display: flex; align-items: flex-start; gap: 9px; padding: 9px 11px; border-radius: 9px; font-size: 12px; background: var(--raised); box-shadow: inset 3px 0 0 var(--seal), inset 0 0 0 1px var(--rule); }
.mc-ban svg { margin-top: 1px; color: var(--seal); }
.mc-ban b { display: block; font-size: 12px; }
.mc-ban small, .mc-ban ul { color: var(--ink2); font-size: 11.5px; }
.mc-ban ul { margin: 2px 0 0; padding-left: 16px; }
.mc-ban button { margin-left: auto; border: 0; background: none; color: var(--ink2); font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; padding: 2px 4px; border-radius: 5px; }
.mc-ban button:hover { color: var(--ink); background: var(--hov); }
.mc-ban.bad { background: color-mix(in srgb, var(--danger) 8%, var(--panel)); box-shadow: inset 3px 0 0 var(--danger), inset 0 0 0 1px color-mix(in srgb, var(--danger) 20%, transparent); }
.mc-ban.bad svg { color: var(--danger); }
.mc-ban.link { background: color-mix(in srgb, var(--caution) 8%, var(--panel)); box-shadow: inset 3px 0 0 var(--caution), inset 0 0 0 1px color-mix(in srgb, var(--caution) 20%, transparent); }
.mc-ban.link svg { color: var(--caution); }
.mc-ban.link code { color: var(--danger); }
.mc-msg { padding: 18px; font-size: 13px; }
.tx p { margin: 0 0 12px; }
.mc-atts span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--rule2); font-size: 12px; }
.mc-atts small { font-family: var(--font-mono); color: var(--ink3); font-size: 10.5px; }
.nl { max-width: 480px; margin: 0 auto; border-radius: 12px; overflow: hidden; background: #fbf8f1; color: #1d1d1d; box-shadow: 0 0 0 1px rgba(0,0,0,.06); }
.nl-h { padding: 14px 18px; background: #2c4535; color: #f3efe3; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; }
.nl .img { display: grid; place-items: center; height: 120px; background: repeating-linear-gradient(-45deg, #ece6d8 0 6px, #e4dccb 6px 12px); color: #8b8577; font-size: 11px; }
.nl .img.on { background: var(--c); }
.nl-b { padding: 14px 18px 18px; }
.nl-b h4 { margin: 0 0 6px; font-family: var(--font-serif); font-size: 20px; }
.nl-b p { margin: 0 0 12px; font-family: var(--font-serif); font-size: 13.5px; line-height: 1.5; }
.nl-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nl-2 .img { height: 70px; border-radius: 8px; }
.ph h4 { margin: 0 0 10px; font-size: 18px; color: #1e3c72; }
:root[data-theme="dark"] .ph h4 { color: #8fb0ea; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ph h4 { color: #8fb0ea; } }
.ph p { margin: 0 0 10px; }
.ph .dim { color: var(--ink2); font-size: 12px; }
.ph-btn { display: inline-block; margin: 2px 0 12px; padding: 9px 16px; border-radius: 6px; background: #1e3c72; color: #fff; font-weight: 600; font-size: 12.5px; }

/* Free Up Space sheet */
.mc-sheet { position: absolute; inset: 46px 0 0; z-index: 20; display: grid; place-items: start center; padding-top: 18px; background: rgba(10,14,22,.32); }
.fu { width: min(600px, 94%); max-height: calc(100% - 30px); display: grid; grid-template-rows: auto 1fr auto; border-radius: 14px; overflow: hidden; background: var(--panel); box-shadow: 0 0 0 1px var(--rule2), 0 30px 70px rgba(0,0,0,.3); }
.fu-h { display: flex; gap: 14px; justify-content: space-between; align-items: flex-start; padding: 16px 20px 14px; border-bottom: 1px solid var(--rule); }
.fu-h small { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--ink3); }
.fu-h h3 { margin: 2px 0 2px; font-size: 19px; letter-spacing: -.01em; }
.fu-h p { margin: 0; font-size: 12px; color: var(--ink2); max-width: 330px; }
.fu-steps { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; font-size: 12px; color: var(--ink3); white-space: nowrap; }
.fu-steps li { display: flex; align-items: center; gap: 5px; }
.fu-steps li + li::before { content: ""; width: 18px; height: 1px; background: var(--rule2); margin-right: 2px; }
.fu-steps span { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--rule2); }
.fu-steps .on { color: var(--ink); font-weight: 600; }
.fu-steps .on span { background: var(--focus); color: var(--on); box-shadow: none; }
.fu-steps .done { color: var(--ink); }
.fu-steps .done span { background: var(--seal); color: #fff; box-shadow: none; }
.fu-steps .done svg { width: 11px; height: 11px; stroke-width: 2.4; }
.fu-b { padding: 16px 20px; overflow-y: auto; display: grid; gap: 12px; align-content: start; font-size: 12.5px; }
.fu-card { display: grid; gap: 10px; padding: 14px; border-radius: 10px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--rule); }
.fu-card label, .fu-row { display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 10px; color: var(--ink2); }
.fu-row { grid-template-columns: 80px auto 1fr; }
.fu-row code { justify-self: end; }
.fu-card select { height: 26px; border-radius: 6px; border: 0; padding: 0 8px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--rule2); color: var(--ink); font-size: 12.5px; }
.fu-chips { display: flex; gap: 5px; }
.fu-chips button { height: 24px; padding: 0 10px; border: 0; border-radius: 6px; cursor: pointer; font-size: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--rule2); }
.fu-chips button[aria-pressed="true"] { background: var(--focus); color: var(--on); box-shadow: none; font-weight: 600; }
.fu-n { margin: 0; color: var(--ink2); }
.fu-n b { font-family: var(--font-mono); color: var(--ink); }
.fu-why { list-style: none; margin: 0; padding: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--rule); }
.fu-why li { display: flex; gap: 10px; padding: 10px 14px; color: var(--ink2); font-size: 12px; }
.fu-why li + li { border-top: 1px solid var(--rule); }
.fu-why b { display: block; color: var(--ink); font-size: 12.5px; }
.fu-why svg { color: var(--seal); margin-top: 1px; }
.fu-f { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-top: 1px solid var(--rule); }
.fu-f span { flex: 1; }
.fu-f button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 14px; border: 0; border-radius: 7px; cursor: pointer; font-size: 12.5px; font-weight: 600; }
.fu-f .sec { background: var(--panel); box-shadow: inset 0 0 0 1px var(--rule2); }
.fu-f .prim { background: var(--focus); color: var(--on); }
.fu-f .danger { background: var(--danger); color: var(--on); }
.fu-f button:disabled { opacity: .45; cursor: default; }
.fu-prog { display: flex; gap: 14px; align-items: center; font-size: 12px; color: var(--ink2); }
.fu-prog b { font-family: var(--font-mono); color: var(--ink); }
.fu-prog .okc { margin-left: auto; display: inline-flex; gap: 4px; align-items: center; font-family: var(--font-mono); color: var(--seal); }
.fu-prog .okc svg { width: 13px; height: 13px; }
.kc { font-family: var(--font-mono); color: var(--caution); }
.fu-log { border-radius: 9px; box-shadow: inset 0 0 0 1px var(--rule); max-height: 230px; overflow: hidden; }
.fu-log div { display: grid; grid-template-columns: 46px 86px 72px 16px 1fr; gap: 8px; align-items: center; padding: 4px 10px; font-size: 11px; border-bottom: 1px solid var(--rule); }
.fu-log div:nth-child(even) { background: var(--raised); }
.fu-log svg { width: 13px; height: 13px; color: var(--seal); }
.fu-log code { color: var(--ink2); font-size: 10.5px; }
.fu-log .f { font-family: var(--font-mono); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fu-log .kept { color: var(--caution); }
.fu-log .kept .f { font-family: var(--font); }
.fu-kept { margin: 0; color: var(--caution); font-size: 12px; }
.fu-sum { margin: 0; padding: 4px 14px; border-radius: 10px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--rule); }
.fu-sum div { display: flex; gap: 8px; padding: 6px 0; }
.fu-sum dt { color: var(--ink2); flex: 1; display: flex; gap: 8px; }
.fu-sum dt::after { content: ""; flex: 1; border-bottom: 1.5px dotted var(--rule2); margin-bottom: 4px; }
.fu-sum dd { margin: 0; font-family: var(--font-mono); font-size: 11.5px; }
.fu-sum .okc { color: var(--seal); }
.fu-danger { padding: 12px 14px; border-radius: 10px; background: color-mix(in srgb, var(--danger) 7%, var(--panel)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--danger) 25%, transparent); }
.fu-danger p { margin: 0 0 8px; }
.fu-type { display: flex; align-items: center; gap: 8px; }
.fu-type input { width: 200px; height: 28px; padding: 0 9px; border: 0; border-radius: 6px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--rule2); font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .05em; color: var(--ink); }
.fu-type input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--focus); }
.fu-type .tick { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; background: var(--seal); color: #fff; }
.fu-type .tick svg { width: 12px; height: 12px; stroke-width: 2.4; }
.fu-done { justify-items: center; text-align: center; padding: 34px 20px; }
.fu-done .big svg { width: 46px; height: 46px; color: var(--seal); }
.fu-done p { margin: 0; }
.fu-done small { color: var(--ink2); }
.mc-bar2.wide { width: 100%; height: 6px; }

/* Page bits the shared system doesn't have */
.guide-link { margin: 26px 0 0; text-align: center; color: var(--muted); font-size: 15.5px; }
.guide-link a { color: var(--accent-ink); font-weight: 600; }
.mc-tree { margin: 0; padding: 20px 22px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--font-mono); font-size: 13.5px; line-height: 1.75; color: var(--muted); overflow-x: auto; white-space: pre; }
.mc-tree b { color: var(--text); font-weight: 600; }
.mc-tree i { font-style: normal; color: var(--accent-ink); }

@media (prefers-reduced-motion: reduce) { .mc-pop li.run .ck { animation: none; } .mc-sp-in .mark { transition: none; } }
@media (max-width: 760px) {
  .mc { height: auto; grid-template-rows: auto auto; }
  .mc-bar { grid-template-columns: auto 1fr auto; padding: 8px 10px; row-gap: 8px; }
  .mc-bar .lights { display: none; }
  .mc-ttl { padding-left: 2px; }
  .mc-search { grid-column: 1 / -1; }
  .mc-body { grid-template-columns: 52px 1fr; grid-template-rows: 300px auto; }
  .mc-side { display: none; }
  .mc-sp-in .yr { font-size: 8px; left: 2px; }
  .mc-sp-in i { left: 22px; max-width: 26px; }
  .mc-sp-in .mark { left: 15px; }
  .mc-list { border-right: 0; }
  .mc-read { grid-column: 1 / -1; border-top: 1px solid var(--rule); max-height: 520px; }
  .mc-label .where { display: none; }
  .mc-from .r small { display: none; }
  .mc-pop { left: 12px; right: 12px; width: auto; }
  .mc-sheet { position: fixed; inset: 0; z-index: 1000; padding: 12px 0; place-items: center; }
  .fu { max-height: 100%; }
  .fu-h { flex-direction: column; gap: 8px; }
  .fu-log div { grid-template-columns: 40px 16px 1fr; }
  .fu-log div > span:nth-of-type(1), .fu-log div > code:nth-of-type(2) { display: none; }
  .fu-type input { width: 100%; }
}
