:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #142c35;
  background: #f3f6f5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #142c35;
  --navy: #102832;
  --muted: #72858a;
  --line: #e1e9e7;
  --teal: #177b79;
  --mint: #71d2c1;
  --surface: #fff;
  --canvas: #f3f6f5;
  --shadow: 0 16px 40px rgba(20, 44, 53, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; min-height: 100vh; margin: 0; background: var(--canvas); }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.eyebrow { margin: 0 0 9px; color: #7c9294; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.brand-lockup { display: inline-flex; align-items: center; gap: 11px; color: inherit; font-size: 12px; font-weight: 850; letter-spacing: .17em; }
.brand-mark { width: 32px; height: 32px; padding: 7px; display: inline-flex; align-items: center; justify-content: center; gap: 2px; border-radius: 11px; background: #b7f0df; }
.brand-mark i { display: block; width: 2px; border-radius: 3px; background: #147673; }
.brand-mark i:nth-child(1), .brand-mark i:nth-child(5) { height: 7px; }
.brand-mark i:nth-child(2), .brand-mark i:nth-child(4) { height: 14px; }
.brand-mark i:nth-child(3) { height: 18px; }

/* Sign-in and first-time authenticator setup */
.auth-layout { display: grid; min-height: 100vh; grid-template-columns: minmax(300px, 42%) 1fr; background: #fff; }
.auth-brand { position: relative; display: flex; flex-direction: column; min-height: 100vh; overflow: hidden; padding: 42px clamp(28px, 5vw, 76px); color: #effbf7; background: radial-gradient(ellipse at 78% 76%, rgba(75, 190, 167, .2), transparent 37%), linear-gradient(145deg, #102d37 0%, #0e2732 58%, #132f37 100%); }
.auth-brand::after { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(rgba(199, 255, 239, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(199, 255, 239, .035) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, transparent, #000 52%, #000); content: ""; pointer-events: none; }
.auth-brand > * { position: relative; z-index: 1; }
.auth-brand .brand-mark { background: #7de0c8; }
.auth-brand .brand-mark i { background: #104c50; }
.auth-promise { max-width: 520px; margin: auto 0 30px; padding-bottom: 42px; }
.auth-promise .eyebrow { color: #8abbb4; }
.auth-promise h1 { margin: 0; font-size: clamp(36px, 5vw, 64px); font-weight: 700; letter-spacing: -.055em; line-height: 1.06; }
.auth-promise h1 em, .welcome-copy h2 em { color: #79d9c3; font-style: normal; }
.auth-promise > p:last-child { max-width: 370px; margin: 20px 0 0; color: #adc5c2; font-size: 15px; line-height: 1.7; }
.voice-art { height: 115px; display: flex; align-items: center; justify-content: space-between; gap: 6px; opacity: .88; }
.voice-art span { width: 3px; border-radius: 8px; background: linear-gradient(#72ddc5, #318b89); }
.voice-art span:nth-child(7n+1) { height: 18px; }.voice-art span:nth-child(7n+2) { height: 35px; }.voice-art span:nth-child(7n+3) { height: 63px; }.voice-art span:nth-child(7n+4) { height: 94px; }.voice-art span:nth-child(7n+5) { height: 57px; }.voice-art span:nth-child(7n+6) { height: 29px; }.voice-art span:nth-child(7n) { height: 75px; }
.auth-brand-foot { display: flex; align-items: center; gap: 9px; margin-top: 32px; color: #a5c4be; font-size: 12px; }
.status-dot { width: 8px; height: 8px; display: inline-block; flex: none; border-radius: 50%; background: #56c7a5; box-shadow: 0 0 0 4px rgba(86, 199, 165, .12); }
.auth-main { display: flex; flex-direction: column; justify-content: center; min-height: 100vh; padding: 40px clamp(24px, 7vw, 120px); }
.auth-panel { width: min(100%, 440px); margin: 0 auto; }
.mobile-brand { display: none; margin-bottom: 38px; color: var(--ink); }
.auth-title { margin: 0; color: var(--ink); font-size: 32px; font-weight: 720; letter-spacing: -.045em; line-height: 1.15; }
.auth-subtitle { margin: 12px 0 30px; color: #71858a; font-size: 14px; line-height: 1.65; }
.auth-form { display: grid; gap: 17px; }
.field-label { display: grid; gap: 8px; color: #2d454d; font-size: 12px; font-weight: 750; }
.field-input { width: 100%; min-height: 49px; padding: 12px 14px; border: 1px solid #dce6e3; border-radius: 12px; outline: none; color: var(--ink); background: #fbfdfc; transition: border-color .18s, box-shadow .18s, background .18s; }
.field-input:focus { border-color: #4da99b; background: #fff; box-shadow: 0 0 0 4px rgba(77, 169, 155, .12); }
.field-input::placeholder { color: #a6b4b5; }
.remember-row { display: flex; align-items: center; gap: 10px; color: #5d7277; font-size: 13px; cursor: pointer; }
.remember-row input { width: 17px; height: 17px; accent-color: var(--teal); }
.primary-button, .secondary-button { min-height: 48px; border: 0; border-radius: 12px; padding: 12px 17px; font-size: 13px; font-weight: 750; transition: transform .18s, filter .18s, background .18s; }
.primary-button { color: #f5fffb; background: linear-gradient(135deg, #167d78, #155b66); box-shadow: 0 8px 20px rgba(23, 123, 121, .19); }
.primary-button[href] { display: inline-flex; align-items: center; gap: 9px; color: #f5fffb; text-decoration: none; }
.primary-button:hover, .upload-button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.primary-button:disabled { cursor: wait; opacity: .65; transform: none; }
.install-app-button { position: fixed; right: 22px; bottom: 22px; z-index: 10; min-height: 46px; border: 0; border-radius: 999px; padding: 0 18px; color: #f5fffb; background: linear-gradient(135deg, #167d78, #155b66); box-shadow: 0 10px 28px rgba(12, 45, 50, .22); font-size: 12px; font-weight: 760; }
.install-app-button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.secondary-button { color: #28615e; background: #eaf5f1; }
.secondary-button:hover { background: #deeee8; }
.auth-message { min-height: 22px; margin: 14px 0 0; color: #a23b37; font-size: 12px; line-height: 1.5; }
.auth-message.success { color: #19776b; }
.auth-help { margin: 17px 0 0; color: #839497; font-size: 12px; line-height: 1.6; }
.auth-footer { width: min(100%, 440px); margin: auto auto 0; padding-top: 32px; color: #9aabad; font-size: 11px; text-align: center; }
.auth-footer span { padding: 0 7px; color: #55a69b; }
.totp-code { text-align: center; font-size: 22px; font-weight: 750; letter-spacing: .4em; }
.setup-layout { display: grid; grid-template-columns: 168px minmax(0, 1fr); align-items: center; gap: 20px; margin: 20px 0; padding: 16px; border: 1px solid #e2ebe8; border-radius: 14px; background: #f8fbfa; }
.setup-qr { width: 168px; height: 168px; padding: 8px; border-radius: 10px; background: #fff; }
.setup-secret { display: block; margin-top: 7px; overflow-wrap: anywhere; color: #25545a; font-size: 12px; }
.recovery-list { width: 100%; min-height: 148px; padding: 14px; border: 1px solid #dce6e3; border-radius: 12px; color: #1e484d; background: #f8fbfa; font: 700 13px/1.9 ui-monospace, SFMono-Regular, Menlo, monospace; resize: vertical; }

/* Main workspace */
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 3; width: 252px; display: flex; flex-direction: column; padding: 29px 18px 18px; color: #eff8f5; background: #102832; }
.sidebar-brand { margin: 0 10px 54px; color: #f4fbf8; }
.side-label { margin: 0 12px 11px; color: #66878a; font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.side-nav { display: grid; gap: 6px; }
.side-link { display: flex; align-items: center; gap: 12px; min-height: 44px; border-radius: 11px; padding: 0 12px; color: #a8bfbb; font-size: 12px; font-weight: 650; text-decoration: none; transition: background .18s, color .18s; }
.side-link:hover, .side-link.active { color: #edfffa; background: rgba(120, 219, 194, .12); }
.side-link.active { box-shadow: inset 3px 0 #70d7bd; }
.nav-icon { width: 18px; color: #8dd8c6; font-size: 18px; text-align: center; }
.nav-count, .small-count { min-width: 20px; margin-left: auto; border-radius: 20px; padding: 3px 6px; color: #bde7db; background: rgba(139, 212, 192, .14); font-size: 10px; text-align: center; }
.sidebar-bottom { display: grid; gap: 19px; margin-top: auto; }
.privacy-card { display: flex; align-items: center; gap: 10px; border: 1px solid rgba(185, 235, 218, .12); border-radius: 12px; padding: 13px 11px; background: rgba(255, 255, 255, .04); }
.privacy-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 9px; color: #9de7d0; background: rgba(100, 207, 176, .14); }
.privacy-card strong, .sidebar-user strong { display: block; color: #e2f1ed; font-size: 10px; }
.privacy-card small, .sidebar-user small { display: block; margin-top: 4px; color: #829f9d; font-size: 9px; }
.sidebar-user { display: flex; align-items: center; gap: 10px; border-top: 1px solid rgba(190, 226, 215, .12); padding: 18px 5px 3px; }
.avatar { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(138, 219, 192, .3); border-radius: 50%; color: #a9e9d5; background: rgba(103, 201, 173, .14); font-size: 11px; font-weight: 800; }
.main-content { max-width: 1660px; margin-left: 252px; padding: 34px clamp(22px, 4vw, 64px) 24px; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.topbar h1 { margin: 0; color: var(--ink); font-size: clamp(22px, 2.5vw, 30px); font-weight: 730; letter-spacing: -.045em; }
.topbar-actions { display: flex; align-items: center; gap: 17px; }
.local-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #dce9e3; border-radius: 50px; padding: 8px 11px; color: #45716b; background: #f8fcf9; font-size: 10px; font-weight: 700; }
.local-pill .status-dot { width: 6px; height: 6px; box-shadow: none; }
.logout-button { border: 0; padding: 8px 2px; color: #637a7e; background: transparent; font-size: 11px; font-weight: 700; }
.logout-button:hover { color: #b24540; }
.logout-button span { margin-left: 5px; color: #8ea1a2; }
.welcome-card { position: relative; min-height: 295px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; border-radius: 20px; padding: 36px clamp(26px, 4vw, 56px); color: #edf8f5; background: radial-gradient(circle at 89% 36%, rgba(91, 202, 175, .19), transparent 25%), linear-gradient(120deg, #153b43 0%, #174b52 55%, #1e5c5a 100%); box-shadow: 0 18px 35px rgba(19, 65, 68, .16); }
.welcome-card::before { position: absolute; inset: 0; opacity: .25; background-image: radial-gradient(rgba(213, 255, 242, .42) .75px, transparent .75px); background-size: 17px 17px; mask-image: linear-gradient(90deg, transparent, #000); content: ""; }
.welcome-copy { position: relative; z-index: 1; max-width: 570px; }
.welcome-copy .eyebrow { color: #91c7bb; }
.welcome-copy h2 { margin: 0; color: #f3fbf9; font-size: clamp(29px, 4vw, 45px); font-weight: 680; letter-spacing: -.05em; line-height: 1.12; }
.welcome-copy > p:not(.eyebrow) { max-width: 440px; margin: 14px 0 19px; color: #bdd4cf; font-size: 12px; line-height: 1.7; }
.upload-button { display: inline-flex; align-items: center; gap: 10px; min-height: 43px; border-radius: 10px; padding: 0 15px; color: #12393c; background: #b5f0dc; font-size: 11px; font-weight: 800; cursor: pointer; transition: transform .18s, filter .18s; }
.upload-icon { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 6px; color: #eafff8; background: #287a74; font-size: 15px; }
.file-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
.file-input:focus-visible + .selected-file { outline: 3px solid #9fe4d0; }
.selected-file { min-height: 17px; margin-top: 9px; color: #a8c9c2; font-size: 10px; }
.upload-submit { margin-top: 9px; border: 1px solid rgba(203, 246, 231, .4); border-radius: 9px; padding: 9px 12px; color: #edfff9; background: rgba(4, 35, 40, .18); font-size: 10px; font-weight: 750; }
.upload-submit:hover { background: rgba(4, 35, 40, .35); }
.welcome-art { position: relative; width: min(34%, 310px); height: 225px; flex: none; display: grid; place-items: center; }
.art-orbit { position: absolute; border: 1px solid rgba(154, 226, 207, .24); border-radius: 50%; transform: rotate(-26deg); }
.orbit-one { width: 214px; height: 116px; }.orbit-two { width: 280px; height: 166px; transform: rotate(37deg); }
.art-core { width: 92px; height: 92px; display: grid; place-items: center; border: 1px solid rgba(202, 247, 229, .48); border-radius: 28px; background: linear-gradient(145deg, rgba(144, 230, 200, .34), rgba(19, 80, 81, .46)); box-shadow: 0 0 38px rgba(132, 228, 199, .2), inset 0 1px rgba(255, 255, 255, .17); transform: rotate(-8deg); }
.art-core .brand-mark { width: 52px; height: 52px; gap: 4px; border-radius: 18px; background: #cbf8e8; }.art-core .brand-mark i { width: 3px; }.art-core .brand-mark i:nth-child(1), .art-core .brand-mark i:nth-child(5) { height: 12px; }.art-core .brand-mark i:nth-child(2), .art-core .brand-mark i:nth-child(4) { height: 22px; }.art-core .brand-mark i:nth-child(3) { height: 29px; }
.art-note { position: absolute; z-index: 1; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(218, 251, 237, .16); border-radius: 8px; padding: 9px 11px; color: #c8e7de; background: rgba(14, 48, 51, .75); font-size: 8px; font-weight: 750; letter-spacing: .1em; box-shadow: 0 8px 22px rgba(8, 26, 32, .14); }
.art-note b { color: #9ce6cc; font-size: 10px; }.note-one { top: 26px; left: -8px; }.note-two { right: -15px; bottom: 29px; }
.art-line { position: absolute; width: 270px; height: 1px; background: rgba(177, 232, 214, .17); transform: rotate(-32deg); }
.notice { min-height: 21px; margin: 8px 0 2px; color: #9e413a; font-size: 11px; }
.notice.success { color: #24796d; }
.stats-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-bottom: 38px; }
.stat-card { min-height: 78px; display: flex; align-items: center; gap: 12px; border: 1px solid #e5ece9; border-radius: 14px; padding: 15px 17px; background: #fff; box-shadow: 0 5px 15px rgba(24, 61, 64, .025); }
.stat-icon { width: 34px; height: 34px; display: grid; flex: none; place-items: center; border-radius: 11px; font-size: 17px; }.stat-icon.teal { color: #247e77; background: #e3f4ed; }.stat-icon.amber { color: #ad7b39; background: #fbf1df; }.stat-icon.violet { color: #7076ae; background: #efeffb; }
.stat-card small { display: block; margin-bottom: 5px; color: #86989a; font-size: 9px; font-weight: 650; }.stat-card strong { display: block; color: #203d43; font-size: 17px; font-weight: 760; letter-spacing: -.02em; }.stat-card:last-child strong { font-size: 11px; letter-spacing: 0; }
.library-section { scroll-margin-top: 25px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.section-heading .eyebrow { margin-bottom: 5px; }.section-heading h2 { margin: 0; color: #19363c; font-size: 21px; font-weight: 720; letter-spacing: -.04em; }.record-count { padding-bottom: 3px; color: #8b9a9c; font-size: 10px; }
.workspace-grid { display: grid; grid-template-columns: minmax(235px, 310px) minmax(0, 1fr); gap: 14px; align-items: start; }
.records-card, .detail-card { min-width: 0; border: 1px solid #e2eae7; border-radius: 15px; background: #fff; box-shadow: 0 7px 20px rgba(20, 55, 58, .035); }
.records-card { overflow: hidden; }.card-heading { display: flex; align-items: center; gap: 9px; border-bottom: 1px solid #edf1ef; padding: 15px 16px; }.card-heading h3 { margin: 0; color: #345158; font-size: 11px; font-weight: 760; }.small-count { min-width: 19px; margin-left: auto; color: #528780; background: #e8f4ef; }
.record-list { max-height: 560px; overflow: auto; padding: 5px 8px; }
.record { display: grid; gap: 5px; width: 100%; border: 0; border-bottom: 1px solid #f0f3f2; border-radius: 9px; padding: 12px 9px; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.record:hover, .record.selected { background: #f1f8f5; }.record strong { overflow: hidden; color: #29474d; font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }.record .status { color: #8a999a; font-size: 9px; }.record .record-badge { width: fit-content; border-radius: 20px; padding: 3px 7px; color: #52847b; background: #eaf5ef; font-size: 8px; font-weight: 750; }
.list-empty { padding: 22px 12px; color: #98a7a8; font-size: 10px; line-height: 1.6; text-align: center; }
.detail-card { min-height: 300px; padding: clamp(16px, 2.5vw, 27px); }
.empty-state { max-width: 360px; margin: 49px auto; color: #91a1a2; text-align: center; }.empty-mark { width: 46px; height: 46px; display: grid; place-items: center; margin: 0 auto 13px; border-radius: 16px; color: #37857b; background: #eaf5f0; font-size: 28px; }.empty-state h3 { margin: 0; color: #486269; font-size: 13px; }.empty-state p { margin: 9px 0 0; font-size: 10px; line-height: 1.6; }
.detail-title { margin: 0; color: #213f45; font-size: 17px; font-weight: 760; letter-spacing: -.025em; overflow-wrap: anywhere; }.detail-status { margin-top: 8px; color: #8a999a; font-size: 10px; line-height: 1.6; }.badge { display: inline-block; border-radius: 20px; padding: 4px 8px; color: #28766f; background: #e5f4ed; font-size: 9px; font-weight: 750; }
.detail-card audio { width: 100%; margin: 17px 0 8px; }.toolbar { display: flex; flex-wrap: wrap; gap: 7px; margin: 13px 0; }.toolbar button, .toolbar a, .speaker-tools button { min-height: 32px; display: inline-flex; align-items: center; border: 1px solid #dfe9e5; border-radius: 8px; padding: 6px 10px; color: #315a5c; background: #f7fbf8; font-size: 9px; font-weight: 750; text-decoration: none; }.toolbar button:hover, .toolbar a:hover, .speaker-tools button:hover { border-color: #a7cec0; background: #edf7f1; }.toolbar button:disabled { cursor: wait; opacity: .6; }
.speaker-tools { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 14px; }.summary { white-space: pre-wrap; border: 1px solid #e5eeea; border-radius: 11px; padding: 13px; color: #4e696c; background: #f8fbf9; font-size: 10px; line-height: 1.7; }
.segment { display: grid; grid-template-columns: 60px 130px minmax(0, 1fr); align-items: start; gap: 7px; border-bottom: 1px solid #eef2f0; padding: 8px 0; }.segment time { padding-top: 9px; color: #8e9e9f; font-size: 9px; font-variant-numeric: tabular-nums; }.segment input, .segment textarea { width: 100%; min-width: 0; border: 1px solid #e2e9e6; border-radius: 8px; padding: 8px; outline: none; color: #345157; background: #fff; font-size: 10px; }.segment input:focus, .segment textarea:focus { border-color: #61ac9e; box-shadow: 0 0 0 3px rgba(77, 169, 155, .1); }.segment textarea { min-height: 40px; resize: vertical; line-height: 1.55; }.error { border-radius: 9px; padding: 10px; color: #a23c38; background: #fff0ef; font-size: 10px; }
.page-footer { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #e4ebe8; margin-top: 34px; padding-top: 15px; color: #9aa8a8; font-size: 9px; }.page-footer span:first-child { color: #63817f; font-weight: 800; letter-spacing: .14em; }

@media (max-width: 1050px) {
  .sidebar { width: 214px; }.main-content { margin-left: 214px; }.welcome-card { min-height: 265px; }.welcome-art { width: 28%; transform: scale(.85); }
}
@media (max-width: 760px) {
  .auth-layout { grid-template-columns: 1fr; }.auth-brand { display: none; }.auth-main { min-height: 100vh; justify-content: center; padding: 24px; }.mobile-brand { display: inline-flex; }.auth-footer { margin-top: 40px; }
  .sidebar { position: static; width: auto; min-height: 0; flex-direction: row; align-items: center; justify-content: space-between; padding: 13px 17px; }.sidebar-brand { margin: 0; }.sidebar-brand .brand-mark { width: 29px; height: 29px; }.side-label, .side-nav, .sidebar-bottom { display: none; }
  .main-content { margin-left: 0; padding: 22px 16px 18px; }.topbar { align-items: flex-start; margin-bottom: 17px; }.topbar-actions { align-items: flex-end; flex-direction: column-reverse; gap: 5px; }.topbar h1 { max-width: 260px; font-size: 21px; }.local-pill { padding: 6px 8px; font-size: 9px; }
  .welcome-card { min-height: 280px; padding: 25px 21px; }.welcome-copy { max-width: 100%; }.welcome-copy h2 { font-size: 32px; }.welcome-copy > p:not(.eyebrow) { max-width: 310px; }.welcome-art { position: absolute; right: -28px; bottom: -40px; width: 190px; height: 160px; opacity: .35; transform: scale(.72); transform-origin: center; }.note-one, .note-two { display: none; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 28px; }.stat-card { min-height: 68px; gap: 9px; padding: 11px; }.stat-card:last-child { grid-column: 1/-1; }.stat-card strong { font-size: 15px; }.stat-card:last-child strong { font-size: 10px; }
  .workspace-grid { grid-template-columns: 1fr; }.records-card { order: 0; }.detail-card { order: 1; min-height: 250px; }.record-list { max-height: 270px; }.segment { grid-template-columns: 52px 1fr; }.segment textarea { grid-column: 1/-1; }.section-heading h2 { font-size: 19px; }.record-count { font-size: 9px; }
}
@media (max-width: 430px) {
  .auth-title { font-size: 28px; }.setup-layout { grid-template-columns: 1fr; justify-items: start; }.setup-qr { width: 156px; height: 156px; }.topbar h1 { max-width: 190px; font-size: 18px; }.welcome-copy h2 { font-size: 29px; }.local-pill { display: none; }.page-footer { flex-direction: column; }
}

/* Account, folder and sharing controls */
.topbar-actions { gap: 12px; }
.logout-button { border-radius: 8px; padding: 8px 10px; background: #fff; box-shadow: 0 2px 8px rgba(20, 55, 58, .04); }
.logout-button:hover { color: #176c69; background: #edf7f2; }
.folder-picker { display: flex; align-items: center; gap: 8px; margin-top: 7px; color: #b5d1cb; font-size: 10px; }
.folder-picker select { max-width: 250px; border: 1px solid rgba(203, 246, 231, .28); border-radius: 8px; padding: 7px 9px; color: #effcf8; background: rgba(7, 42, 44, .42); font-size: 10px; }
.folder-picker option { color: #173b40; background: #fff; }
.library-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 3px 0 17px; }
.library-tools label { display: flex; align-items: center; gap: 7px; color: #75888b; font-size: 10px; font-weight: 650; }
.library-tools select { min-height: 34px; max-width: 230px; border: 1px solid #dfe9e5; border-radius: 8px; padding: 6px 9px; color: #34575b; background: #fff; font-size: 10px; }
.library-tools button, .toolbar .access-note { min-height: 34px; border: 1px solid #dfe9e5; border-radius: 8px; padding: 7px 11px; color: #315a5c; background: #f7fbf8; font-size: 10px; font-weight: 750; }
.library-tools button:hover { border-color: #a7cec0; background: #edf7f1; }
.access-note { display: inline-flex; align-items: center; color: #829396 !important; background: #f6f8f7 !important; }
.segment input[readonly], .segment textarea[readonly] { color: #6d8184; background: #f7f9f8; }
.app-dialog { width: min(620px, calc(100vw - 28px)); max-height: min(84vh, 900px); border: 0; border-radius: 18px; padding: 0; color: var(--ink); background: transparent; box-shadow: 0 22px 70px rgba(8, 30, 37, .25); }
.app-dialog::backdrop { background: rgba(11, 31, 36, .52); backdrop-filter: blur(3px); }
.dialog-card { position: relative; max-height: min(84vh, 900px); overflow: auto; border: 1px solid #e0e9e5; border-radius: 18px; padding: 27px; background: #fff; }
.dialog-close { position: sticky; top: 0; float: right; width: 32px; height: 32px; margin: -12px -12px 0 0; border: 0; border-radius: 50%; color: #6d8285; background: #f0f5f2; font-size: 21px; line-height: 1; }
.dialog-title { margin: 0 0 18px; color: #193a41; font-size: 22px; letter-spacing: -.04em; }
.dialog-subtitle { margin: 22px 0 11px; color: #34575b; font-size: 13px; }
.dialog-form { display: grid; gap: 12px; margin: 12px 0; }
.dialog-form .field-label { font-size: 11px; }
.dialog-form .field-input { min-height: 42px; font-size: 12px; }
.dialog-form .primary-button, .dialog-form .secondary-button { justify-self: start; min-height: 39px; font-size: 11px; }
.dialog-message, .dialog-help { margin: 4px 0; color: #829396; font-size: 11px; line-height: 1.55; }
.dialog-card hr { height: 1px; border: 0; margin: 21px 0; background: #e9efec; }
.compact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; border: 1px solid #e6eeea; border-radius: 13px; padding: 14px; background: #f8fbf9; }
.compact-form .dialog-subtitle, .compact-form .dialog-message { grid-column: 1/-1; margin: 0; }
.compact-form button { grid-column: 1/-1; }
.user-list { display: grid; gap: 10px; }
.user-row { display: grid; gap: 10px; border: 1px solid #e4ece8; border-radius: 12px; padding: 13px; background: #fbfdfc; }
.user-row-head { display: flex; justify-content: space-between; gap: 12px; color: #33565b; font-size: 11px; }.user-row-head span, .user-row small { color: #8a9a9c; font-size: 10px; }
.user-row-options, .user-row-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.user-row-options > label:not(.remember-row) { display: flex; align-items: center; gap: 7px; color: #62777b; font-size: 10px; }
.user-row-options select { border: 1px solid #dfe9e5; border-radius: 8px; padding: 7px; color: #34575b; background: #fff; }
.user-row-actions button { min-height: 34px; padding: 8px 10px; font-size: 10px; }
.share-list { display: grid; gap: 8px; }
.share-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #e7eeeb; border-radius: 10px; padding: 10px 12px; }
.share-row strong, .share-row small { display: block; }.share-row strong { color: #34575b; font-size: 11px; }.share-row small { margin-top: 4px; color: #8a9a9c; font-size: 10px; }
.share-row button { min-height: 31px; padding: 6px 9px; font-size: 9px; }
@media (max-width: 760px) {
  .topbar-actions { flex-direction: row; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 5px; }
  .logout-button { font-size: 9px; padding: 6px 7px; }
  .library-tools { align-items: flex-start; }
  .library-tools label { align-items: flex-start; flex-direction: column; }
  .compact-form { grid-template-columns: 1fr; }
  .compact-form .dialog-subtitle, .compact-form .dialog-message, .compact-form button { grid-column: auto; }
  .dialog-card { padding: 22px 17px; }
}
