/* Lockbox: the ioskit's look in indigo on the system grouped grey, plus the drop zone, the strength meter, the made
   password, the file rows, the result sheets and previews. */
:root { --tint: #4743d8; --forest: #4743d8; --coral: #4743d8; --canvas: #f2f2f7; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --tint: #8e8cff; --forest: #8e8cff; --coral: #6f6cf2; --canvas: #000; } }
:root[data-theme="dark"] { --tint: #8e8cff; --forest: #8e8cff; --coral: #6f6cf2; --canvas: #000; }
.lbx-wide { max-width: 760px; margin: 0 auto; }
.starter { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 4px 4px; }
.starter h2 { font: 700 28px/1.12 var(--sys); letter-spacing: -0.02em; margin: 0; }
.starter p { color: var(--text2); font-size: 15px; line-height: 20px; margin: 0 0 6px; }
.seg-wrap { padding: 6px 0 2px; }
.drop { margin: 14px 0 0; padding: 22px 18px 18px; border-radius: 22px; border: 2px dashed color-mix(in srgb, var(--tint) 45%, transparent); background: color-mix(in srgb, var(--tint) 6%, var(--row));
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; transition: background .15s, border-color .15s; }
body.dragging .drop { background: color-mix(in srgb, var(--tint) 16%, var(--row)); border-color: var(--tint); }
.drop-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--tint); color: #fff; margin-bottom: 6px; }
.drop-ico .sf { width: 26px; height: 26px; }
.drop-t { font-weight: 700; font-size: 18px; }
.drop-s { color: var(--text2); font-size: 14px; line-height: 19px; max-width: 420px; }
.drop-btns { flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.fico { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--tint) 13%, transparent); color: var(--tint); }
.thumb { width: 36px; height: 36px; flex: none; border-radius: 8px; object-fit: cover; background: var(--fill2); }
.pro-tag { display: inline-block; margin-left: 8px; padding: 1px 6px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .04em; color: var(--tint); background: color-mix(in srgb, var(--tint) 14%, transparent); vertical-align: 2px; }
.meter { padding-top: 10px; padding-bottom: 10px; }
.meter-bar { height: 6px; border-radius: 3px; background: var(--fill); overflow: hidden; }
.meter-bar.big { height: 10px; border-radius: 5px; }
.meter-fill { display: block; height: 100%; width: 0; border-radius: inherit; transition: width .25s var(--ease), background .25s; }
.meter-w { line-height: 18px; }
.made { gap: 10px; align-items: center; }
.made-pw { display: block; font: 600 17px/1.35 ui-monospace, "SF Mono", Menlo, monospace; color: var(--text); overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.go-wrap { padding: 14px 4px 4px; }
.go-wrap .btn-primary:disabled { opacity: .55; }
.go-note { margin: 10px 4px 0; text-align: center; }
.prog { padding: 24px 6px; display: flex; flex-direction: column; gap: 12px; }
.done-hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 14px 4px 8px; }
.done-hero .btn-primary { margin-top: 12px; max-width: 420px; }
.done-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--tint); color: #fff; }
.done-ico .sf { width: 32px; height: 32px; }
.done-name { font-weight: 700; font-size: 19px; overflow-wrap: anywhere; }
.link-box { font: 13px/1.4 ui-monospace, "SF Mono", Menlo, monospace; word-break: break-all; }
.pv-wrap { min-height: 100%; display: flex; align-items: center; justify-content: center; background: var(--grouped); }
.pv-img { max-width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; display: block; margin: 12px auto; border-radius: 8px; }
.pv-pdf { width: 100%; height: calc(100dvh - 110px); border: 0; background: #fff; }
.pv-text { margin: 0; padding: 16px; width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; font: 14px/1.5 ui-monospace, "SF Mono", Menlo, monospace; }
a.about-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--text); text-decoration: none; min-height: 44px; }
a.about-row .label { display: inline-flex; align-items: center; gap: 12px; color: var(--tint); }
a.about-row .chev { color: var(--text3); }
