/* CHIKARA Recall screen, sheet and motion. Uses the shell's tokens. Motion is transform and opacity only. ASCII only. */
.rc-tools { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.1rem 0 .7rem; }
.rc-tools input[type=search] { flex: 1 1 220px; min-width: 0; min-height: 44px; padding: 0 .9rem; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; }
.rc-tools select, .rc-mv select, .rc-pack select { min-height: 44px; padding: 0 .6rem; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; font-size: .82rem; max-width: 100%; }
.rc-ctx { display: flex; flex-wrap: wrap; gap: .4rem; margin: .2rem 0 .8rem; }
.rc-pill { min-height: 44px; padding: 0 .9rem; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ink); font-size: .8rem; font-weight: 600; cursor: pointer; transition: background var(--d2), transform var(--d1); }
.rc-pill b { font-family: var(--font-mono); font-weight: 500; color: var(--muted); margin-left: .25rem; }
.rc-pill[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); border-color: transparent; } .rc-pill[aria-pressed="true"] b { color: inherit; }
.rc-pill:active { transform: scale(.97); }
.rc-rename { display: flex; gap: .5rem; margin: 0 0 .8rem; } .rc-rename input { flex: 1; min-width: 0; min-height: 44px; padding: 0 .8rem; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--ink); font: inherit; }
.rc-list { display: grid; gap: .7rem; }
.rc-row { display: grid; gap: .6rem; padding: 1rem 1.05rem; background: var(--surface); border: 1px solid var(--line); border-radius: 6px 14px 14px 14px; box-shadow: var(--shadow-1); transition: border-color var(--d2), opacity var(--d3); }
.rc-row:hover { border-color: var(--line-strong); } .rc-row.pinned { border-left: 3px solid var(--primary); } .rc-row.fading { opacity: .72; }
.rc-row[draggable="true"] { cursor: grab; }
.rc-main h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; line-height: 1.15; margin: 0 0 .25rem; color: var(--ink); overflow-wrap: anywhere; }
.rc-main p { margin: 0; font-size: .84rem; color: var(--muted); overflow-wrap: anywhere; white-space: pre-line; }
.rc-meta { display: flex; flex-wrap: wrap; gap: .35rem .6rem; margin-top: .5rem; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rc-badge { border: 1px solid var(--line-strong); border-radius: 5px; padding: 0 .35rem; color: var(--accent-ink); }
.rc-acts { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; } .rc-acts .btn { min-height: 44px; font-size: .78rem; padding: 0 .85rem; }
.rc-acts .btn[aria-pressed="true"] { background: color-mix(in srgb, var(--primary) 18%, var(--surface)); }
.rc-pack { margin-top: 1.6rem; padding: 1.1rem; border: 1px dashed var(--line-strong); border-radius: 14px; } .rc-pack h2 { margin-top: 0; }
.rc-pocket { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; min-height: 56px; padding: .6rem .9rem; border: 1px dashed var(--line-strong); border-radius: 12px; font-size: .86rem; transition: background var(--d2), transform var(--d2); }
.rc-pocket.over { background: color-mix(in srgb, var(--primary) 16%, transparent); transform: scale(1.01); }
.rc-stack { display: grid; gap: .4rem; margin: .7rem 0; }
.rc-card { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .35rem .5rem .35rem .8rem; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; font-size: .84rem; animation: rcSlide var(--d4) var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes rcSlide { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.rc-meter { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin: .5rem 0 .2rem; } .rc-meter i { display: block; height: 100%; width: 100%; transform-origin: left; background: var(--primary); transition: transform var(--d4) var(--ease); }
.rc-out { width: 100%; font-family: var(--font-mono); font-size: .74rem; line-height: 1.5; padding: .7rem; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg); color: var(--ink); resize: vertical; }
.rc-seal { font-size: .78rem; color: var(--muted); margin: .4rem 0; } .rc-seal b { color: var(--accent-ink); }
.rc-help { font-size: .74rem; color: var(--muted); margin: .2rem 0 .6rem; } .rc-warn { color: var(--danger); font-size: .8rem; margin: .2rem 0; min-height: 1.1em; }
.rc-two { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; } @media (max-width: 420px) { .rc-two { grid-template-columns: 1fr; } }
.rc-set { margin-top: 1.4rem; border-top: 1px solid var(--line); padding-top: .8rem; } .rc-set summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.rc-set .row { padding: .7rem 0; border-top: 1px solid var(--line); } .rc-set .row:first-child { border-top: 0; } .rc-set .row > b { display: block; margin-bottom: .35rem; font-size: .84rem; }
.rc-set .acts { display: flex; flex-wrap: wrap; gap: .5rem; }
.chipbtn.remember { border-color: var(--line-strong); } @media (max-width: 759px) { .chipbtn.remember span { display: none; } .chipbtn.remember { padding: 0 .7rem; } }
.rc-seed { position: fixed; z-index: 200; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 30%, transparent); pointer-events: none; }
.rc-thread { position: fixed; z-index: 200; height: 2px; background: var(--primary); transform-origin: left; pointer-events: none; }
.it, .dock button { position: relative; } .rc-dot { position: absolute; top: 8px; left: 28px; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 2px var(--bg); } .dock .rc-dot { top: 6px; left: calc(50% + 6px); }
html[data-gfx="lite"] .rc-card { animation: none; } html[data-gfx="lite"] .rc-meter i, html[data-gfx="lite"] .rc-pocket { transition: none; }
@media (prefers-reduced-motion: reduce) { .rc-card { animation: none; } .rc-meter i, .rc-pocket, .rc-row, .rc-pill { transition: none; } }
/* Five dock tabs in one row; the shell no longer scrolls sideways when a drawer takes focus. */
.dock { grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
#app.eco { overflow: hidden; overflow: clip; }
.drawer .fld input, .drawer .fld select, .drawer .fld textarea { width: 100%; min-height: 44px; padding: .5rem .7rem; border: 1px solid var(--line-strong); border-radius: 9px; background: var(--bg); color: var(--ink); font: inherit; font-size: .9rem; }
.drawer .fld textarea { min-height: 110px; }
/* The top bar now holds one more button: every control stays on screen and at least 44 px wide at phone widths. */
@media (max-width: 480px) {
  .top { gap: .3rem; padding-left: .6rem; padding-right: .6rem; } .top .chipbtn { min-height: 44px; }
  .vaultchip { max-width: 84px; min-width: 0; padding: 0 .6rem; } .vaultchip .t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .top .icbtn, .chipbtn.remember, .chipbtn.search { flex: 0 0 44px; width: 44px; min-width: 44px; padding: 0; justify-content: center; }
  .brand { flex: 0 1 auto; min-width: 0; }
}
@media (max-width: 360px) { .brand span { display: none; } .vaultchip { max-width: 92px; } }
