/* Me: the paper's back office, Nov 14 2026. Settings are ruled rows, toggles are ink switches
   with square corners, choices are small-caps ruled boxes, fields are ruled boxes. No rounded
   cards, no shadows, tokens only. Everything is scoped under .tab-me; the rules that must beat
   paper.css (loaded after this file) carry html:root[data-look]. */
.tab-me .me { padding-bottom: 8px; }
.tab-me input { box-sizing: border-box; }
.tab-me .sec:first-child { margin-top: 10px; }
.tab-me .page .pills { padding: 0; gap: 6px; }
.tab-me .field { margin: 16px 0; }
.tab-me .field .facts { margin: 0; }
html:root[data-look] .tab-me .sec > .page > .facts:first-child, html:root[data-look] .tab-me .sec > .facts { margin-top: 6px; border-top: var(--rule-w) solid var(--rule-2); }

/* rows: a label on the left in the body face, the value or the switch on the right */
html:root[data-look] .tab-me .toggle { padding: 11px 0; border-bottom: var(--rule-w) solid var(--rule); font: 400 17px/1.3 var(--f-body); color: var(--ink); }
.tab-me .facts .toggle:last-child { border-bottom: 0; }
.tab-me .toggle span { flex: 1; min-width: 0; }
html:root[data-look] .tab-me .toggle input {
  width: 42px; height: 22px; margin: 0; border: calc(var(--rule-w) * 1.5) solid var(--ink); border-radius: 0; background: none; box-shadow: none; cursor: pointer;
}
html:root[data-look] .tab-me .toggle input::after { top: 3px; left: 3px; width: 13px; height: 13px; border-radius: 0; background: var(--ink-3); box-shadow: none; }
html:root[data-look] .tab-me .toggle input:checked { background: var(--ink); }
html:root[data-look] .tab-me .toggle input:checked::after { left: 23px; background: var(--paper); }
html:root[data-look] .tab-me .fact b { font: 700 10.5px/1.6 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
html:root[data-look] .tab-me .fact > span { font: 400 15px/1.4 var(--f-body); color: var(--ink-2); }

/* the small-caps choices: ruled boxes, ink when on */
html:root[data-look] .tab-me .pill { padding: 8px 10px 7px; font: 700 10.5px/1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; }

/* fields: ruled boxes on the paper */
html:root[data-look] .tab-me .field input, html:root[data-look] .tab-me .add, html:root[data-look] .tab-me .links input {
  width: 100%; padding: 10px 12px; border: var(--rule-w) solid var(--rule-2); border-radius: 0; background: var(--box); box-shadow: none;
  color: var(--ink); font: 400 16px/1.3 var(--f-body); -webkit-appearance: none; appearance: none;
}
.tab-me .add { margin-top: 10px; }
.tab-me .field input::placeholder, .tab-me .add::placeholder, .tab-me .links input::placeholder { color: var(--ink-3); font-style: italic; }
.tab-me .field input:focus, .tab-me .add:focus, .tab-me .links input:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.tab-me .links { display: grid; gap: 6px; }

/* sources: one fold per group, its choices inside */
.tab-me .srcs { border-bottom: var(--rule-w) solid var(--rule); }
.tab-me .srcs:first-of-type { border-top: var(--rule-w) solid var(--rule-2); }
.tab-me .srcs summary { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; font: 400 17px/1.3 var(--f-body); color: var(--ink); cursor: pointer; list-style: none; }
.tab-me .srcs summary::-webkit-details-marker { display: none; }
.tab-me .srcs summary::after { content: "›"; margin-left: auto; font: 400 22px/1 var(--f-head); color: var(--ink-3); transition: transform .15s; }
.tab-me .srcs[open] summary::after { transform: rotate(90deg); }
.tab-me .srcs summary small { font: 700 10px/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.tab-me .srcs .pills { padding: 0 0 14px; }

/* saved rows: the star removes */
.tab-me .saved .rows { padding: 0 var(--gutter); }
.tab-me .saved .lrow { align-items: center; }
.tab-me .saved .ltxt { flex: 1; min-width: 0; }
.tab-me .saved .save { flex: none; font-size: 20px; line-height: 1; padding: 4px 2px; }

/* follows: a ruled row per follow, the how under it */
html:root[data-look] .tab-me .follows { padding: 0; }
.tab-me .frow { padding: 12px 0; border-bottom: var(--rule-w) solid var(--rule); }
.tab-me .frow:last-child { border-bottom: 0; }
.tab-me .ft { display: flex; align-items: center; gap: 10px; }
.tab-me .ft b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--f-head); font-weight: var(--head-w); font-style: var(--head-style); text-transform: var(--head-tt); font-size: calc(17px * var(--head-scale)); line-height: 1.25; color: var(--ink); }
.tab-me .fk { flex: none; font: 700 10px/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.tab-me .ft .follow { flex: none; padding: 8px 10px 7px; }
.tab-me .frow .pills { margin-top: 10px; }

/* I'm in: event cards from the grammar, at the gutter */
.tab-me .going .feedlist { padding-top: 0; }

/* this app: the two taps, each with its system glyph in a ruled square */
.tab-me .steps .fact { align-items: center; }
.tab-me .steps .glyph { display: inline-flex; margin: 0; width: 36px; height: 36px; align-items: center; justify-content: center; border: var(--rule-w) solid var(--rule-2); border-radius: 0; background: none; color: var(--ink); }
.tab-me .btnrow .btn { text-align: center; }

/* Burlington: rows that lead to a page */
.tab-me .rows-to a.fact { color: inherit; text-decoration: none; align-items: baseline; }
.tab-me .rows-to .fact span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tab-me .rows-to .fact span::after { content: "›"; margin-left: 8px; font: 400 20px/1 var(--f-head); color: var(--ink-3); }

/* your address: Town's shapes, set as the paper */
.tab-me .me-h { margin: 0; font-family: var(--f-head); font-weight: var(--head-w); font-style: var(--head-style); text-transform: var(--head-tt); letter-spacing: var(--head-ls); font-size: calc(26px * var(--head-scale)); line-height: 1.1; color: var(--ink); }
.tab-me .me-follow { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 6px; padding-bottom: 8px; border-bottom: var(--rule-w) solid var(--rule-2); }
.tab-me .me-ban { margin: 12px 0; padding: 14px; border-radius: 0; }
.tab-me .me-ban .line { margin-top: 6px; }
.tab-me .me-address .sec { margin-top: 20px; }
.tab-me .me-address .sec-h { margin-left: 0; margin-right: 0; }
.tab-me .me-address .pills { padding: 0; margin: 10px 0; gap: 6px; }
.tab-me .me-address .fact b { flex: 0 1 auto; min-width: 0; }
.tab-me .me-address .fact span { min-width: 0; overflow-wrap: anywhere; }
.tab-me .me-address .fact.col { flex-direction: column; gap: 3px; }
.tab-me .me-address .fact.col span { text-align: left; }
.tab-me .me-address .fact.col .stamp, .tab-me .me-address .fact.col .checked { justify-content: flex-start; text-align: left; }
.tab-me .me-address .fact a { color: inherit; }
/* the source line under a fact; not paper.css's rubber stamp, which shares the class name */
html:root[data-look] .tab-me .stamp { position: static; transform: none; z-index: auto; padding: 0; border: 0; background: none; mix-blend-mode: normal; color: inherit; font: inherit; text-align: right; }
.tab-me .stamp { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; align-items: baseline; margin-top: 3px; max-width: 100%; text-transform: none; letter-spacing: 0; }
.tab-me .stamp .checked { display: inline; margin: 0; text-transform: none; letter-spacing: 0; font: italic 400 12.5px/1.2 var(--f-body); color: var(--ink-3); }
.tab-me .src { font: 700 10px/1.2 var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); text-decoration: none; overflow-wrap: anywhere; }
.tab-me .me-address .btnrow .btn { text-align: center; }

/* Version and Look at the top of Me (were the two floating corner buttons, Nov 19 2026) */
.tab-me .me-version { padding-top: 2px; }
.tab-me .me-version .field { margin: 12px 0; }
.tab-me .pills.seg { display: flex; flex-wrap: nowrap; gap: 0; }
.tab-me .pills.seg .pill { flex: 1 1 0; min-width: 0; justify-content: center; text-align: center; border-radius: 0; }
.tab-me .pills.seg .pill + .pill { margin-left: -1px; }
html[data-shell="modern"] .tab-me .pills.seg .pill:first-child { border-radius: 999px 0 0 999px; }
html[data-shell="modern"] .tab-me .pills.seg .pill:last-child { border-radius: 0 999px 999px 0; }
