.ico { flex: none; width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; color: var(--muted); }
.ico.big { width: 2.25rem; height: 2.25rem; color: var(--text); stroke-width: 1.3; }
.row-text { display: flex; flex-direction: column; gap: .125rem; min-width: 0; flex: 1; }
.row-title { font-size: 1.125rem; font-weight: 650; }
.row-sub { color: var(--muted); font-size: .9375rem; }
.chev { flex: none; width: 1.25rem; height: 1.25rem; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: .75rem; }
.ac-main :is(h1, h2):focus { outline: none; }
.ac-main :is(h1, h2):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.cab.ac-main { padding-top: 1.5rem; }
.cab .ac-h1 { margin: 0 0 1.25rem; }
.ac { display: grid; grid-template-columns: 21rem minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.ac-menu { display: flex; flex-direction: column; padding: .5rem; background: var(--panel); border: 1px solid var(--line); border-radius: .75rem; }
.ac-me { display: flex; align-items: center; gap: .75rem; margin-bottom: .375rem; padding: .75rem .75rem .875rem; background: var(--raise); border-radius: .5rem; }
.ac-mono { display: inline-grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border: 2px solid var(--brass-line); border-radius: 50%; color: var(--accent); font-weight: 750; font-stretch: 112%; letter-spacing: .02em; }
.ac-mono .ico { width: 1.375rem; height: 1.375rem; color: var(--accent); }
.ac-me-t { display: flex; flex-direction: column; min-width: 0; }
.ac-me-t b { font-size: 1.0625rem; font-weight: 650; overflow-wrap: anywhere; }
.ac-me-t span { color: var(--muted); font-size: .875rem; overflow-wrap: anywhere; }
.ac-list { display: grid; gap: .125rem; margin: 0; padding: 0; list-style: none; }
.ac-item { display: flex; align-items: center; gap: .875rem; min-height: 3.5rem; padding: .5rem .75rem; border-radius: .5rem; color: var(--text); text-decoration: none; }
.ac-item:hover { background: var(--raise); }
.ac-item[aria-current="page"] { background: var(--raise); box-shadow: inset 3px 0 0 var(--brass-line); }
.ac-item .row-title { font-size: 1rem; }
.ac-item .row-sub { font-size: .8125rem; }
.cab .ac-legal { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: .75rem .75rem 0; padding-top: .75rem; border-top: 1px solid var(--line); font-size: .8125rem; }
.ac-legal a { color: var(--muted); }
.ac-legal a:hover { color: var(--text); }
.cab .credits { margin: .5rem .75rem; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.credits a { color: inherit; }

.ac-pane { display: grid; gap: .75rem; min-width: 0; }
.ac-sub { display: flex; align-items: center; gap: .5rem; }
.ac-sub h2 { margin: 0; font-size: 1.375rem; font-weight: 700; font-stretch: 112%; }
.back-chev { display: none; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; margin-left: -.625rem; border-radius: .5rem; color: var(--text); }
.back-chev:hover { background: var(--raise); }
.back-chev svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cab .ac-panel { padding: .25rem 1.25rem 1.25rem; }
.ac-panel h3 { margin: .875rem 0 .75rem; font-size: 1rem; font-weight: 650; }
.ac-row { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; align-items: center; gap: .25rem 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.ac-row:first-child { border-top: 0; }
.ac-k { align-self: start; padding-top: .125rem; color: var(--muted); font-size: .9375rem; }
.ac-v b { font-size: 1.0625rem; font-weight: 600; overflow-wrap: anywhere; }
.cab .ac-v .hint { margin-top: .25rem; font-size: .875rem; }
.ac-lock { width: 1.25rem; height: 1.25rem; margin-right: .75rem; }
.ac-row > .ac-wide { grid-column: 2 / -1; }
.ac-row .form { padding: .75rem 0 0; }
.ac-row .form label { margin-top: .5rem; }
.cab .ac-row .form .hint:first-child { margin: 0; }
.ac-row .pass, .ac-row input[type="text"] { max-width: 26rem; }
.cab .ac-note { padding: 0 .25rem; color: var(--muted); font-size: .875rem; }
.cab .ac-done { margin-top: .5rem; padding: .625rem .875rem; background: var(--up-t); border-left: 3px solid var(--up); border-radius: .375rem; font-size: .9375rem; overflow-wrap: anywhere; }
.ac-main button.small { min-height: 2.75rem; padding: .375rem 1rem; }
.ac-main .note:empty { display: none; }

.ac-tile { display: flex; align-items: center; gap: 1rem; padding: .875rem 1rem; background: var(--raise); border-radius: .625rem; }
.ac-toggle .row-text { cursor: pointer; }
.switch { position: relative; flex: none; width: 3rem; height: 1.75rem; margin: 0; appearance: none; background: var(--raise); border: 1px solid var(--field); border-radius: 999px; cursor: pointer; }
.switch::after { content: ""; position: absolute; top: .25rem; left: .25rem; width: 1.125rem; height: 1.125rem; background: var(--muted); border-radius: 50%; transition: left .15s; }
.switch:checked { background: var(--up-t); border-color: var(--up); }
.switch:checked::after { left: 1.5rem; background: var(--up); }
.switch:disabled { opacity: .5; cursor: default; }
@media (prefers-reduced-motion: reduce) { .switch::after { transition: none; } }
.ac-devs { display: grid; gap: 0; margin: .5rem 0 0; padding: 0; list-style: none; }
.ac-devs:empty { display: none; }
.ac-devs li { display: flex; align-items: center; gap: .875rem; padding: .75rem .25rem; border-bottom: 1px solid var(--line); }
.ac-devs li:last-child { border-bottom: 0; }
.ac-devs b { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-weight: 650; }
.ac-devs .pill { font-size: .75rem; padding: .0625rem .5rem; }
.cab .ac-add { margin-top: .5rem; }
#face-id-block .note:not(:empty) { margin-top: .75rem; }

.pass { position: relative; }
.pass input { padding-right: 3.25rem; }
.cab .pass .eye { position: absolute; top: .375rem; right: .25rem; width: 2.75rem; min-height: 3rem; padding: 0; background: transparent; border: 0; color: var(--muted); }
.cab .pass .eye:hover, .cab .pass .eye.on { color: var(--text); }
.eye svg { width: 1.375rem; height: 1.375rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ac-pw { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
.ac-pw .ac-wide { grid-column: 1 / -1; }
.ac-pw label { margin-top: 0; }
.cab .ac-pw .hint { margin-top: .5rem; }
.ac-pw .ac-wide > button { margin-top: 1rem; }
.ac-f.ac-bad input { border-color: var(--down); box-shadow: 0 0 0 1px var(--down); }
.ac-pw .note:not(:empty) { margin-top: .75rem; }
.ac-out { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: .75rem; }
.cab .ac-out .hint { margin: 0; font-size: .875rem; }
#sessions-note:not(:empty) { margin-top: .75rem; }
.ac-gone { max-width: 32rem; margin: 2rem auto 0; }

.cab .nt-lead { margin-top: -.25rem; padding: 0 .25rem; color: var(--muted); font-size: .9375rem; }
.nt-lead b { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.nt-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: .125rem 1rem; margin: .875rem 0 .75rem; }
.ac-panel .nt-h h3 { margin: 0; }
.cab .nt-h p { color: var(--muted); font-size: .9375rem; }
.nt-tiles, .nt-fixed { display: grid; margin: 0; padding: 0; list-style: none; }
.nt-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.nt-tile { gap: .875rem; padding: .75rem .875rem; }
.nt-tile .ico.big { width: 1.875rem; height: 1.875rem; stroke-width: 1.4; }
.nt-tile .row-title { font-size: 1.0625rem; }
.nt-tile .row-sub { font-size: .875rem; line-height: 1.4; }
.nt-pw { display: inline-grid; flex: none; place-items: center; color: var(--muted); }
.nt-pw svg { width: 1rem; height: 1rem; stroke-width: 1.8; }
.nt-fixed li { display: flex; align-items: center; gap: 1rem; padding: .875rem; border-top: 1px solid var(--line); }
.nt-fixed li:first-child { border-top: 0; padding-top: .25rem; }
.nt-fixed .row-title { font-size: 1.0625rem; }
.nt-fixed .ico { width: 1.75rem; height: 1.75rem; stroke-width: 1.4; }
.nt-always { display: inline-flex; flex: none; align-items: center; gap: .375rem; color: var(--muted); font-size: .875rem; font-weight: 600; }
.nt-always svg { width: 1.0625rem; height: 1.0625rem; stroke-width: 1.8; }
.nt-tile.changed { box-shadow: inset 0 0 0 1px var(--brass-line); }
.nt-was { margin-top: .125rem; color: var(--accent); font-size: .8125rem; font-weight: 650; }
.nt-foot { position: sticky; bottom: .75rem; z-index: 5; display: flex; align-items: center; gap: 1rem; padding: .75rem .75rem .75rem 1.25rem; background: var(--panel); border: 1px solid var(--line2); border-radius: .75rem; box-shadow: 0 -.5rem 1.5rem var(--night); }
.nt-foot-t { flex: 1; min-width: 0; }
.cab .nt-foot-note { color: var(--muted); font-size: .9375rem; overflow-wrap: anywhere; }
.nt-foot-note b { color: var(--text); }
.cab .nt-foot-st { display: flex; align-items: center; gap: .5rem; margin-bottom: .125rem; font-size: .9375rem; font-weight: 600; overflow-wrap: anywhere; }
.nt-foot-st.ok { color: var(--up); }
.nt-foot-st.bad { color: var(--down); }
.nt-foot-st svg { flex: none; width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nt-foot-row { display: flex; flex: none; gap: .5rem; }
.cab .nt-foot-row button { min-height: 3.25rem; }
.cab .nt-save { min-width: 11rem; font-size: 1.0625rem; }
dialog.sheet.nt-sheet { max-width: 32rem; }
dialog.nt-sheet .nt-top { display: flex; align-items: center; gap: .5rem; }
dialog.nt-sheet h2 { flex: 1; margin: 0; }
dialog.nt-sheet h2:focus { outline: none; }
dialog.nt-sheet p { margin: .625rem 0 0; color: var(--muted); font-size: 1rem; }
dialog.nt-sheet p.error { margin-top: .375rem; color: var(--down); font-size: .9375rem; }
.nt-sheet .form label { margin-top: 1rem; }
.nt-sheet .pass.ac-bad input { border-color: var(--down); box-shadow: 0 0 0 1px var(--down); }
@media (max-width: 599px) { dialog.sheet.nt-sheet { padding: 1.25rem 1rem; } }

@media (max-width: 719px) {
  .ac { grid-template-columns: minmax(0, 1fr); }
  .ph-list .ac-pane { display: none; }
  .ph-pane .ac-menu { display: none; }
  #account:has(.ph-pane) .ac-h1 { display: none; }
  .back-chev { display: inline-grid; }
  .ac-menu { padding: 0; background: transparent; border: 0; }
  .ac-me { margin-bottom: .75rem; background: var(--panel); border: 1px solid var(--line); }
  .ac-list { gap: .5rem; }
  .ac-item { min-height: 4.5rem; padding: .75rem 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: .75rem; }
  .ac-item[aria-current="page"] { background: var(--panel); box-shadow: none; }
  .cab .ac-legal { margin: 1.25rem 0 0; }
  .cab .credits { margin: 1rem 0 0; }
  .ac-row { grid-template-columns: minmax(0, 1fr) auto; }
  .ac-k { grid-column: 1; grid-row: 1; padding: 0; font-size: .875rem; }
  .ac-row > .ico { grid-column: 2; grid-row: 1; margin-right: 0; }
  .ac-row .ac-v { grid-column: 1 / -1; }
  .ac-row > .ac-wide { grid-column: 1 / -1; }
  .ac-row > button { grid-column: 1 / -1; justify-self: start; margin-top: .5rem; }
  .cab .ac-panel { padding: .25rem 1rem 1rem; }
  .ac-pw { grid-template-columns: minmax(0, 1fr); }
  .ac-pw .ac-f + .ac-f label { margin-top: 1rem; }
  .ac-pw .ac-wide > button { width: 100%; }
  .ac-row .actions button { flex: 1 1 auto; }
  .nt-tiles { grid-template-columns: minmax(0, 1fr); }
  .nt-h { margin-bottom: .625rem; }
  .nt-tile { gap: .75rem; }
  .nt-tile .ico.big { width: 1.625rem; height: 1.625rem; }
  .nt-fixed li { padding: .875rem .25rem; }
  .nt-fixed li:first-child { padding-top: .25rem; }
  .nt-always { flex-direction: column; gap: .125rem; font-size: .75rem; }
  .nt-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; flex-direction: column; align-items: stretch; gap: .5rem; padding: .625rem 1rem calc(.625rem + env(safe-area-inset-bottom)); border: 0; border-top: 1px solid var(--line2); border-radius: 0; box-shadow: 0 -.75rem 1.5rem var(--shade); }
  .cab .nt-save { flex: 1; min-width: 0; }
  .ac-main:has(.ph-pane #screen-notifications:not([hidden])) { padding-bottom: 9rem; }
  .nt-sheet .foot button { flex: 1 1 auto; }
}
