/* Drop: de app. Donkere zijbalk, lichte werkruimte, bestandslijst als gewone tabel zonder kaartjes. */
.boot { display: grid; place-items: center; min-height: 100dvh; color: var(--accent); }
.boot .i { width: 44px; height: 44px; animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(.88); opacity: .6; } }
.loading { padding: 40px 0; color: var(--ink-3); }

.app { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100dvh; }
.main-col { min-width: 0; display: flex; flex-direction: column; }

/* zijbalk */
.side { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; background: var(--side); color: var(--side-ink); padding: 22px 14px 14px; z-index: 40; }
.side :focus-visible { outline-color: var(--side-accent); }
.side-top { display: grid; gap: 22px; padding: 0 6px 18px; }
.brand { color: #fff; display: inline-flex; width: max-content; border-radius: 8px; }
.brand:hover { text-decoration: none; }
.brand .wordmark { font-size: 28px; }
.btn-new { height: 46px; width: 100%; justify-content: flex-start; padding: 0 16px; gap: 10px; background: var(--accent); color: #fff; font-size: 15px; border-radius: 12px; }
:root[data-theme="dark"] .btn-new { color: #090D22; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-new { color: #090D22; } }
.btn-new:hover { background: var(--accent-2); }
.nav { display: grid; gap: 2px; align-content: start; flex: 1; overflow: auto; }
.nav-item { display: flex; align-items: center; gap: 13px; height: 42px; padding: 0 12px; border-radius: 10px; color: var(--side-ink); font-size: 15px; transition: background .12s, color .12s; }
.nav-item:hover { background: rgba(255, 255, 255, .06); color: #fff; text-decoration: none; }
.nav-item.on { background: rgba(255, 255, 255, .11); color: #fff; }
.nav-item.on .i { color: var(--side-accent); }
.nav-item.drop-hot { outline: 2px solid var(--side-accent); outline-offset: -2px; background: rgba(147, 161, 255, .18); }
.side-bottom { display: grid; gap: 10px; padding: 14px 6px 0; border-top: 1px solid rgba(255, 255, 255, .09); }
.storage { display: grid; gap: 7px; color: var(--side-ink-2); font-size: 12.5px; border-radius: 8px; }
.storage:hover { text-decoration: none; color: var(--side-ink); }
.meter { height: 6px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 12%, transparent); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: var(--accent); transition: width .4s ease; }
.meter-side { background: rgba(255, 255, 255, .13); } .meter-side i { background: var(--side-accent); } .meter-side.full i { background: #FF8A9B; }
.scan-line { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #7BE3B8; border-radius: 8px; }
.scan-line:hover { text-decoration: none; filter: brightness(1.15); }
.scan-line.down { color: #FF9AAA; }
.user { display: flex; align-items: center; gap: 11px; width: 100%; height: 48px; padding: 0 8px; border: 0; border-radius: 12px; background: transparent; color: #fff; text-align: left; }
.user:hover { background: rgba(255, 255, 255, .07); }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--side-accent); color: #0F1530; font-family: var(--f-display); font-weight: 600; font-size: 15px; flex: none; }
.user-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.user-caret { color: var(--side-ink-2); }

/* bovenbalk */
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; height: 68px; padding: 0 32px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.search { position: relative; display: flex; align-items: center; flex: 0 1 560px; height: 44px; padding: 0 14px; gap: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink-3); transition: border-color .12s, box-shadow .12s; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); color: var(--ink-2); }
.search-input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none; font-size: 15px; color: var(--ink); }
.search-input::placeholder { color: var(--ink-3); }
.search-input::-webkit-search-cancel-button { appearance: none; }
.top-right { margin-left: auto; display: flex; gap: 6px; }
.menu-btn, .fab, .nav-scrim { display: none; }

/* pagina */
.page { padding: 4px 32px 96px; max-width: 1280px; width: 100%; }
.page-head { display: flex; align-items: baseline; gap: 16px; min-height: 52px; padding: 8px 0 4px; }
.page-title { font-size: 31px; line-height: 1.15; letter-spacing: -.015em; overflow-wrap: anywhere; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 4px; margin: 0; padding: 0; list-style: none; }
.crumbs li { display: inline-flex; align-items: baseline; gap: 4px; }
.crumb { font-family: var(--f-display); font-weight: 400; font-size: 22px; color: var(--ink-3); border-radius: 8px; padding: 2px 6px; margin: 0 -6px; }
.crumb:hover { color: var(--ink); text-decoration: none; background: color-mix(in srgb, var(--ink) 6%, transparent); }
.crumb.drop-hot, .drop-hot.row, .drop-hot.card { outline: 2px solid var(--accent); outline-offset: 0; background: var(--accent-wash); }
.crumb-sep { color: var(--ink-3); align-self: center; margin: 0 2px; }

/* werkbalk */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 6px 2px; }
.tb-left, .tb-right { display: flex; align-items: center; gap: 8px; min-width: 0; }
.tb-right { flex-wrap: wrap; justify-content: flex-end; }
.tb-count { color: var(--ink-3); font-size: 13.5px; }
.tb-note { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 13.5px; }
.tb-sel { gap: 6px; } .tb-sel strong { font-size: 14.5px; margin-left: 2px; }
.toolbar:has(.tb-sel) { background: var(--accent-wash); border-radius: 12px; padding: 6px 10px 6px 8px; }
.tb-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; color: var(--ink-2); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.tb-btn:hover:not(:disabled) { background: color-mix(in srgb, var(--ink) 8%, transparent); color: var(--ink); }
.tb-btn:disabled { opacity: .4; }
.seg { display: inline-flex; padding: 3px; border-radius: 10px; background: color-mix(in srgb, var(--ink) 7%, transparent); gap: 2px; }
.seg-btn { display: inline-grid; place-items: center; height: 30px; min-width: 34px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); }
.seg-btn.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(15, 21, 48, .14); }
.seg-text .seg-btn { padding: 0 14px; font-size: 13.5px; font-weight: 600; }

/* lijst */
.content { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; outline: none; min-height: 120px; }
.table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.table th { height: 42px; text-align: left; font-size: 12.5px; font-weight: 700; color: var(--ink-3); border-bottom: 1px solid var(--line); background: var(--surface-2); padding: 0; }
.th-btn { display: inline-flex; align-items: center; gap: 5px; height: 100%; padding: 0 12px; border: 0; background: transparent; color: inherit; font-weight: 700; font-size: 12.5px; }
.th-btn:hover { color: var(--ink); }
.c-check { width: 50px; padding: 0 0 0 14px !important; } .c-date { width: 150px; } .c-size { width: 112px; } .c-safe { width: 46px; text-align: center !important; } .c-where { width: 22%; } .c-act { width: 168px; }
.table td { padding: 0 12px; height: 60px; border-bottom: 1px solid var(--line); vertical-align: middle; font-size: 14px; color: var(--ink-2); }
.table tbody tr:last-child td { border-bottom: 0; }
.table td.c-check { padding-left: 14px; }
.row { transition: background .08s; }
.row:hover { background: var(--surface-2); }
.row.sel { background: var(--accent-wash); }
.row.dragging, .card.dragging { opacity: .45; }
.name-wrap { display: flex; align-items: center; gap: 10px; min-width: 0; flex-wrap: wrap; row-gap: 0; }
.name { display: flex; align-items: center; gap: 13px; min-width: 0; flex: 0 1 auto; max-width: 100%; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: 14.5px; text-align: left; border-radius: 8px; }
a.name:hover, .name:hover { text-decoration: none; }
.name:hover .nm { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.name:disabled { cursor: default; opacity: .8; } .name:disabled:hover .nm { text-decoration: none; }
.nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.badges { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-3); }
.badge-star { color: #E3A008; display: inline-flex; } .badge-link { display: inline-flex; color: var(--accent-text); }
.meta-line { display: none; width: 100%; padding-left: 51px; color: var(--ink-3); font-size: 12.5px; margin-top: -2px; }
.c-where .where { color: var(--ink-2); } .c-where .where:hover { color: var(--accent-text); }
.c-where, .c-date, .c-size { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.safe { display: inline-flex; color: var(--ok); }
.acts { display: flex; justify-content: flex-end; gap: 2px; opacity: 0; transition: opacity .1s; }
.row:hover .acts, .row:focus-within .acts, .row.sel .acts, .acts:focus-within { opacity: 1; }
.act-star.on { color: #E3A008; } .act-star.on .i { fill: currentColor; }
.act-star.on { opacity: 1; }
.check { display: inline-grid; place-items: center; width: 20px; height: 20px; padding: 0; border: 1.5px solid var(--line-2); border-radius: 6px; background: var(--surface); color: transparent; transition: .1s; vertical-align: middle; }
.check:hover { border-color: var(--accent); }
.check[aria-checked="true"], .check[aria-checked="mixed"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.check[aria-checked="mixed"] .i { display: none; } .check[aria-checked="mixed"]::after { content: ""; width: 9px; height: 2px; border-radius: 2px; background: currentColor; }
.table .check { opacity: .0; } .row:hover .check, .has-sel .check, .check[aria-checked="true"], thead .check, .check:focus-visible { opacity: 1; }
thead .check { opacity: 1; }

/* raster */
.content:has(.grid) { background: transparent; border: 0; overflow: visible; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(188px, 1fr)); gap: 14px; }
.card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; transition: border-color .12s, box-shadow .12s; }
.card:hover { border-color: var(--line-2); box-shadow: 0 2px 10px rgba(15, 21, 48, .08); }
.card.sel { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); background: var(--accent-wash); }
.card-media { position: relative; height: 136px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.card-media.has-img { background: var(--line); } .card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.card-info { padding: 11px 14px 13px; min-width: 0; }
.card-name { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink); } .card-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.star-mini { color: #E3A008; } .link-mini { color: var(--accent-text); }
.card-sub { margin-top: 3px; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .check { position: absolute; left: 10px; top: 10px; opacity: 0; z-index: 2; background: var(--surface); }
.card:hover .check, .has-sel .card .check, .card .check[aria-checked="true"] { opacity: 1; }
.card-more { position: absolute; right: 6px; top: 6px; background: color-mix(in srgb, var(--surface) 88%, transparent); opacity: 0; z-index: 2; }
.card:hover .card-more, .card:focus-within .card-more, .card.sel .card-more { opacity: 1; }

/* lege staat */
.empty { display: grid; justify-items: center; text-align: center; padding: 72px 24px 80px; gap: 10px; }
.empty h2 { font-size: 22px; margin-top: 8px; }
.empty p { color: var(--ink-2); max-width: 46ch; }
.empty-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; justify-content: center; }
.empty-art { position: relative; display: grid; place-items: center; width: 120px; height: 120px; color: var(--accent-text); }
.empty-art > i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid currentColor; opacity: 0; animation: ring 4.8s ease-out infinite; }
.empty-art > i:nth-child(2) { animation-delay: 1.6s; } .empty-art > i:nth-child(3) { animation-delay: 3.2s; }
.empty-art > .i { width: 54px; height: 54px; padding: 10px; border-radius: 50%; background: var(--accent-wash); position: relative; }
@keyframes ring { 0% { transform: scale(.45); opacity: .55; } 100% { transform: scale(1.1); opacity: 0; } }
.empty-drop.drop-hot { background: var(--accent-wash); outline: 2px dashed var(--accent); outline-offset: -10px; }

/* uploadpaneel */
.tray { position: fixed; right: 20px; bottom: 20px; width: 390px; max-width: calc(100vw - 24px); z-index: 120; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--pop); overflow: hidden; animation: pop .18s ease-out; }
.tray-head { display: flex; align-items: center; gap: 4px; padding: 10px 8px 10px 16px; }
.tray-text { flex: 1; min-width: 0; display: grid; }
.tray-title { font-family: var(--f-display); font-size: 16px; font-weight: 600; }
.tray-sub { font-size: 12.5px; color: var(--ink-3); }
.tray-bar { height: 3px; background: var(--line); } .tray-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s; }
.tray-list { list-style: none; margin: 0; padding: 4px 0; max-height: 300px; overflow: auto; }
.tray.min .tray-list { display: none; }
.up { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; }
.up-main { flex: 1; min-width: 0; display: grid; gap: 4px; }
.up-name { font-size: 13.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.up-bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; } .up-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width .2s; }
.up-status { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-3); }
.up[data-state="scan"] .up-bar i { width: 100% !important; background: linear-gradient(90deg, var(--accent) 0 30%, color-mix(in srgb, var(--accent) 25%, transparent) 30% 60%, var(--accent) 60%) 0 0 / 200% 100%; animation: scan 1.1s linear infinite; }
.up[data-state="scan"] .up-status { color: var(--accent-text); }
.up[data-state="done"] .up-bar { display: none; } .up[data-state="done"] .up-status { color: var(--ok); font-weight: 600; }
.up[data-state="err"] .up-bar { display: none; } .up[data-state="err"] .up-status { color: var(--bad); font-weight: 600; align-items: flex-start; }
@keyframes scan { to { background-position: -200% 0; } }

/* sleepscherm */
.veil { position: fixed; inset: 0; z-index: 180; background: rgba(15, 21, 48, .62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); display: grid; place-items: center; color: #fff; animation: fade .12s; pointer-events: none; }
.veil .ripples { color: rgba(170, 182, 255, .9); }
.veil-text { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; }
.veil-text strong { font-family: var(--f-display); font-size: 26px; font-weight: 600; }
.veil-where { font-size: 15px; color: rgba(255, 255, 255, .8); min-height: 22px; }
.veil-text .i { color: #A9B6FF; }
body.dragging-files [data-folder-drop].drop-hot { outline: 2px solid #fff; background: rgba(255, 255, 255, .16); }
.drag-ghost { position: fixed; left: -999px; top: -999px; display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 600; max-width: 260px; }

/* map kiezen */
.tree { display: grid; gap: 1px; max-height: 340px; overflow: auto; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); }
.tree-row { display: flex; align-items: center; gap: 8px; height: 38px; padding-right: 12px; border: 0; border-radius: 8px; background: transparent; text-align: left; color: var(--ink); }
.tree-row:hover:not(:disabled) { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.tree-row.on { background: var(--accent-wash); box-shadow: inset 0 0 0 1.5px var(--accent); }
.tree-row:disabled { opacity: .4; cursor: not-allowed; }
.tree-caret { width: 14px; display: inline-grid; place-items: center; color: var(--ink-3); }

/* voorbeeld */
.pv { position: fixed; inset: 0; z-index: 160; display: flex; flex-direction: column; background: rgba(7, 10, 24, .96); color: #fff; animation: fade .12s; outline: none; }
.pv.out { opacity: 0; transition: opacity .14s; }
.pv-top { display: flex; align-items: center; gap: 16px; padding: 12px 16px; min-height: 64px; }
.pv-id { min-width: 0; flex: 1; } .pv-title { font-family: var(--f-display); font-size: 18px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pv-meta { font-size: 12.5px; color: rgba(255, 255, 255, .6); }
.pv-count { font-size: 13px; color: rgba(255, 255, 255, .6); }
.pv-actions { display: flex; gap: 2px; } .pv-btn { color: rgba(255, 255, 255, .85); } .pv-btn:hover:not(:disabled) { background: rgba(255, 255, 255, .12) !important; color: #fff !important; } .pv-btn.on { color: #FFC83D; } .pv-btn.on .i { fill: currentColor; }
.pv-body { flex: 1; min-height: 0; display: grid; place-items: center; padding: 0 72px 24px; overflow: auto; }
.pv-img { max-width: 100%; max-height: calc(100dvh - 110px); object-fit: contain; border-radius: 6px; cursor: zoom-in; box-shadow: 0 10px 50px rgba(0, 0, 0, .5); }
.pv-img.zoom { max-width: none; max-height: none; cursor: zoom-out; }
.pv-video { max-width: 100%; max-height: calc(100dvh - 110px); border-radius: 8px; background: #000; }
.pv-audio { display: grid; justify-items: center; gap: 18px; padding: 32px; } .pv-audio-name { font-family: var(--f-display); font-size: 20px; text-align: center; } .pv-audio audio { width: min(460px, 80vw); }
.pv-pdf { width: min(1000px, 100%); height: calc(100dvh - 100px); border: 0; border-radius: 8px; background: #fff; }
.pv-text { margin: 0; width: min(900px, 100%); max-height: calc(100dvh - 110px); overflow: auto; padding: 24px; background: var(--surface); color: var(--ink); border-radius: 12px; font: 13.5px/1.6 var(--f-mono); white-space: pre-wrap; word-break: break-word; }
.pv-nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; }
.pv-nav:hover { background: rgba(255, 255, 255, .22); } .pv-left { left: 14px; } .pv-right { right: 14px; } .pv-nav[hidden] { display: none; }

/* gedeeld */
.shared { display: grid; gap: 14px; max-width: 880px; }
.shared-intro { padding: 4px 2px; }
.shared-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 16px 18px 8px; }
.shared-head { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; } .shared-name { font-weight: 700; font-size: 15.5px; word-break: break-word; }
.shared-item .link-row { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 12px 0; margin: 0; }

/* instellingen */
.settings { max-width: 860px; }
.set { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 12px 40px; padding: 30px 0; border-top: 1px solid var(--line); }
.set:first-child { border-top: 0; padding-top: 14px; }
.set-head h2 { font-size: 19px; } .set-head p { margin-top: 6px; font-size: 13.5px; color: var(--ink-3); line-height: 1.5; }
.set-row { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 8px 20px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: start; }
.set-row:first-child { padding-top: 2px; } .set-row:last-of-type { border-bottom: 0; }
.set-label { font-weight: 700; font-size: 13.5px; color: var(--ink-2); padding-top: 2px; }
.set-ctrl { display: grid; gap: 8px; justify-items: start; min-width: 0; font-size: 14px; }
.set-wide { display: grid; gap: 12px; justify-items: start; }
.set-fine { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; max-width: 62ch; }
.meter-wrap { display: grid; gap: 8px; width: 100%; max-width: 380px; } .meter-wrap .meter { height: 8px; }
.secret { display: flex; align-items: center; gap: 6px; padding: 8px 8px 8px 14px; border: 1px dashed var(--line-2); border-radius: 10px; background: var(--surface-2); }
.secret code { font-family: var(--f-mono); font-size: 14.5px; letter-spacing: .06em; word-break: break-all; }
.sessions { display: grid; width: 100%; } .ses { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); } .ses:last-child { border-bottom: 0; } .ses-main { flex: 1; min-width: 0; display: grid; gap: 2px; } .ses-main .chip { margin-left: 8px; } .ses > .i { color: var(--ink-3); }
.activity { list-style: none; margin: 0; padding: 0; display: grid; }
.ev { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.ev-t { color: var(--ink-3); font-variant-numeric: tabular-nums; } .ev.warn .ev-x { color: var(--bad); font-weight: 600; }

/* inloggen */
.auth { display: grid; grid-template-columns: minmax(360px, 46%) 1fr; min-height: 100dvh; }
.auth-brand { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 44px 52px; background: var(--side); color: #fff; overflow: hidden; }
.auth-brand .wordmark { position: relative; }
.auth-rip { color: rgba(147, 161, 255, .55); } .auth-rip i { left: 72px; top: 64px; width: 1400px; height: 1400px; margin: -700px 0 0 -700px; animation-duration: 8s; border-width: 1.5px; } .auth-rip i:nth-child(2) { animation-delay: 2s; } .auth-rip i:nth-child(3) { animation-delay: 4s; } .auth-rip i:nth-child(4) { animation-delay: 6s; }
.auth-pitch { position: relative; max-width: 380px; } .auth-pitch h2 { font-size: 30px; line-height: 1.15; margin-bottom: 14px; } .auth-pitch p { color: var(--side-ink); font-size: 15.5px; line-height: 1.55; }
.auth-main { display: grid; place-items: center; padding: 32px 24px; }
.auth-card { width: min(400px, 100%); display: grid; gap: 20px; }
.auth-card h1 { font-size: 34px; letter-spacing: -.02em; }
.auth-fields { display: grid; gap: 16px; } .auth-fields[hidden] { display: none; }
.auth-help { color: var(--ink-2); }
.auth-note { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--ink-3); line-height: 1.45; } .auth-note .i { margin-top: 1px; }
.auth-card .btn { width: 100%; }

/* kleinere schermen */
@media (max-width: 1000px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .side { position: fixed; left: 0; top: 0; width: 272px; transform: translateX(-102%); transition: transform .22s ease; box-shadow: none; }
  body.nav-open .side { transform: none; box-shadow: 8px 0 40px rgba(0, 0, 0, .35); }
  .nav-scrim { display: block; position: fixed; inset: 0; z-index: 35; background: rgba(9, 13, 32, .5); opacity: 0; pointer-events: none; transition: opacity .2s; }
  body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
  .menu-btn { display: inline-grid; }
  .topbar { padding: 0 16px; gap: 8px; } .page { padding: 4px 16px 110px; }
  .set { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
}
@media (max-width: 760px) {
  .c-date, .c-size, .c-safe, .c-where, .table thead .c-date, .table thead .c-size { display: none; }
  .table th.c-date, .table th.c-size, .table th.c-safe, .table th.c-where { display: none; }
  .c-act { width: 52px; } .acts { opacity: 1; } .acts > :not(.act-more):not(:last-child) { display: none; } .acts > .act-more { display: inline-grid; }
  .table td { height: 66px; padding: 0 8px; } .meta-line { display: block; padding-left: 51px; margin-top: 0; }
  .name-wrap { display: block; } .name-wrap .name { flex-basis: auto; } .badge-star, .badge-link { display: none; } .badges { display: flex; padding: 3px 0 0 51px; } .badges:not(:has(.chip)) { display: none; }
  .c-check { width: 42px; padding-left: 10px !important; } .table td.c-check { padding-left: 10px; }
  .page-title { font-size: 26px; } .crumb { font-size: 18px; }
  .tb-label { display: none; } .tb-sel .tb-label { display: none; } .tb-btn { padding: 0 10px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; } .card-media { height: 108px; }
  .card .check { opacity: 1; } .card-more { opacity: 1; }
  .fab { display: grid; place-items: center; position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; width: 56px; height: 56px; border: 0; border-radius: 18px; background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px rgba(15, 21, 48, .35); }
  .tray { right: 8px; left: 8px; width: auto; bottom: 86px; }
  .table .check { opacity: 1; }
  .auth { grid-template-columns: 1fr; grid-template-rows: auto 1fr; } .auth-brand { padding: 28px 24px 34px; gap: 40px; } .auth-pitch h2 { font-size: 24px; } .auth-pitch p { font-size: 14.5px; } .wm-xl { font-size: 38px; }
  .set-row { grid-template-columns: 1fr; gap: 6px; } .ev { grid-template-columns: 1fr; gap: 0; }
  .pv-body { padding: 0 12px 16px; } .pv-nav { width: 40px; height: 40px; } .pv-left { left: 6px; } .pv-right { right: 6px; }
  .toolbar:has(.tb-sel) { flex-wrap: wrap; }
}
@media (hover: none) { .acts { opacity: 1; } .table .check { opacity: 1; } }

/* accounts */
.users { max-width: 980px; display: grid; gap: 18px; }
.users-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 4px 2px 6px; } .users-head p { max-width: 62ch; line-height: 1.55; }
.user-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.user-row { display: grid; grid-template-columns: 44px minmax(0, 1.2fr) minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); } .user-row:last-child { border-bottom: 0; }
.avatar-l { width: 44px; height: 44px; font-size: 19px; background: var(--accent-wash); color: var(--accent-text); }
.user-main { min-width: 0; display: grid; gap: 3px; } .user-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } .user-name strong { font-size: 15.5px; }
.user-store { display: grid; gap: 6px; font-size: 12.5px; } .user-store .meter { height: 6px; }
.user-acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.form-stack { display: grid; gap: 16px; } .form-stack small { font-weight: 400; }
.pw-row { display: flex; gap: 8px; } .pw-row .field { flex: 1; min-width: 0; }
.field-mono { font-family: var(--f-mono); font-size: 14.5px; letter-spacing: .02em; }
.check-row { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); cursor: pointer; }
.check-row input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; } .check-row span { display: grid; gap: 2px; font-size: 14px; } .check-row small { color: var(--ink-3); font-size: 13px; line-height: 1.4; }
.cred { display: grid; gap: 1px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 14px; background: var(--line); }
.cred-line { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 12px 14px; background: var(--surface-2); font-size: 13.5px; } .cred-line span { color: var(--ink-3); } .cred-line code { font-family: var(--f-mono); font-size: 14px; word-break: break-all; text-align: right; color: var(--ink); user-select: all; }
.cred-note { margin-top: 12px; font-size: 13px; }
.link-btn { justify-self: start; border: 0; background: transparent; color: var(--ink-3); font-size: 13.5px; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; } .link-btn:hover { color: var(--ink); }

/* qr-code */
.qr-wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; width: 100%; }
.qr { width: 188px; height: 188px; border-radius: 14px; border: 1px solid var(--line); display: block; }
.qr-steps { display: grid; gap: 10px; justify-items: start; font-size: 14px; line-height: 1.5; }
@media (max-width: 760px) { .user-row { grid-template-columns: 44px minmax(0, 1fr); } .user-store, .user-acts { grid-column: 1 / -1; justify-content: flex-start; } .users-head { flex-direction: column; } .qr-wrap { grid-template-columns: 1fr; justify-items: center; } .qr-steps { justify-items: stretch; } .pw-row { flex-wrap: wrap; } }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } @media (max-width: 560px) { .form-two { grid-template-columns: 1fr; } }
.auth-main.off { min-height: 100dvh; } .auth-main.off .wordmark { font-size: 34px; margin-bottom: 4px; }
