:root { --bg: #f3f5f8; --panel: #ffffff; --line: #d7dde6; --text: #0f172a; --muted: #667085; --primary: #2563eb; --primary-hover: #1d4ed8; --danger: #e11d48; --danger-hover: #be123c; --radius: 12px; } * { box-sizing: border-box; } html, body, #root { margin: 0; padding: 0; width: 100%; height: 100%; color: var(--text); background: var(--bg); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; } .loading-screen { height: 100%; display: grid; place-items: center; color: var(--muted); font-size: 18px; } .auth-page { min-height: 100%; display: grid; place-items: center; padding: 24px; background: #e9edf3; } .public-send-page { min-height: 80vh; align-items: center; justify-items: center; } .auth-card { width: 100%; background: #f5f7fb; border: 1px solid #d5dce7; border-radius: 16px; box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08); padding: 28px; } .auth-card h1 { margin: 0 0 4px 0; text-align: center; } .standalone-shell { width: min(640px, 100%); display: grid; gap: 12px; } .standalone-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; } .standalone-brand-outside { justify-content: center; width: 100%; margin-bottom: 2px; } .standalone-brand-logo { width: 56px; height: 56px; object-fit: contain; flex-shrink: 0; } .standalone-brand-title { font-size: 42px; font-weight: 800; line-height: 1; color: #1e293b; } .standalone-title { margin: 0 0 4px 0; text-align: left; font-size: 30px; line-height: 1.15; } .standalone-muted { text-align: left; } .jwt-warning-head { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 10px; color: #b45309; text-align: center; } .jwt-warning-box { border: 1px solid #f1d8a5; border-radius: 12px; background: #fffaf0; padding: 12px 14px; } .jwt-warning-label { font-size: 13px; font-weight: 700; color: #92400e; margin-bottom: 6px; } .jwt-warning-list { margin: 0; padding-left: 18px; color: #334155; line-height: 1.55; } .jwt-generator { margin-top: 14px; } .jwt-generator-actions { margin-top: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; } .jwt-copy-hint { color: #15803d; font-size: 13px; font-weight: 700; } .standalone-footer { width: 100%; text-align: center; font-size: 13px; color: #64748b; } .standalone-footer a { color: #1d4ed8; font-weight: 700; text-decoration: none; } .standalone-footer a:hover { text-decoration: underline; } .muted { margin: 0 0 16px 0; text-align: center; color: var(--muted); } .field { display: block; margin-bottom: 14px; } .field > span { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; } .input { width: 100%; height: 48px; border: 1px solid #3f5b9e; border-radius: 10px; padding: 10px 12px; font-size: 16px; outline: none; background: #fff; } select.input { appearance: none; -webkit-appearance: none; -moz-appearance: none; padding-right: 42px; background-image: linear-gradient(45deg, transparent 50%, #365fa8 50%), linear-gradient(135deg, #365fa8 50%, transparent 50%); background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px); background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; } input[type='file'].input { height: auto; min-height: 48px; padding: 8px 10px; font-size: 14px; line-height: 1.4; } input[type='file'].input::file-selector-button { height: 32px; border: 1px solid #3f5b9e; border-radius: 999px; padding: 0 12px; background: #eef4ff; color: #1f4ea0; font-weight: 700; cursor: pointer; margin-right: 10px; } input[type='file'].input::file-selector-button:hover { background: #dfeaff; border-color: #2f5fd8; } .textarea { min-height: 110px; height: auto; resize: vertical; } .input:focus { border-color: #2f5fd8; } .input-readonly { background: #eef2f7; color: #475569; } .input:disabled { background: #e2e8f0; border-color: #cbd5e1; color: #94a3b8; cursor: not-allowed; } .password-wrap { position: relative; } .password-wrap .input { padding-right: 44px; } .password-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: none; background: transparent; color: #275ac2; cursor: pointer; display: grid; place-items: center; } .eye-btn { position: absolute; right: 10px; bottom: 9px; width: 30px; height: 30px; border: none; background: transparent; cursor: pointer; display: grid; place-items: center; color: #334155; } .btn { height: 36px; border: 1px solid transparent; border-radius: 999px; padding: 0 16px; font-size: 15px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px; } .btn-icon { flex-shrink: 0; } .btn.full { width: 100%; height: 50px; font-size: 22px; margin: 10px 0; } .btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; } .btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); } .btn-secondary { background: #fff; border-color: var(--primary); color: var(--primary); } .btn-secondary:hover { background: #eff5ff; } .btn-danger { background: #fff; border-color: var(--danger); color: var(--danger); } .btn-danger:hover { background: #fff1f2; } .btn:disabled { background: #e2e8f0; border-color: #cbd5e1; color: #94a3b8; cursor: not-allowed; } .or { text-align: center; margin: 10px 0; color: #334155; } .app-page { min-height: 100%; padding: 20px; background: #e9edf3; } .app-shell { height: calc(100vh - 40px); max-width: 1600px; margin: 0 auto; background: #f5f7fb; border: 1px solid #d5dce7; border-radius: 18px; box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08); display: flex; flex-direction: column; overflow: hidden; } .topbar { height: 58px; background: #f8fafc; border-bottom: 1px solid #d9e0ea; color: #0f172a; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; } .brand { display: inline-flex; align-items: center; font-size: 34px; font-weight: 800; color: #1e293b; } .brand-name { display: inline; } .mobile-page-title { display: none; min-width: 0; max-width: min(58vw, 240px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 19px; line-height: 1.2; font-weight: 800; color: #0f172a; } .brand-logo { width: 57px; height: 57px; object-fit: contain; } .topbar-actions { display: flex; align-items: center; gap: 8px; } .mobile-tabbar { display: none; } .mobile-sidebar-toggle { display: none; } .mobile-lock-btn { display: none; } .topbar-actions .btn { height: 34px; border-radius: 10px; padding: 0 12px; font-size: 13px; font-weight: 600; } .user-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; border-radius: 999px; padding: 0 12px; border: 1px solid #d5deea; background: #fff; color: #334155; font-size: 14px; font-weight: 600; } .app-main { flex: 1; min-height: 0; display: grid; grid-template-columns: 200px 1fr; } .app-side { border-right: 1px solid #d9e0ea; background: #eef3f9; padding: 12px 10px; display: flex; flex-direction: column; gap: 6px; } .side-link { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 9px; color: #0f172a; text-decoration: none; border: 1px solid transparent; font-weight: 600; font-size: 14px; } .side-link:hover { background: #e4ecf8; } .side-link.active { background: #d7e6fb; border-color: #bcd3f6; color: #0f3f95; } .side-spacer { flex: 1; } .side-add-btn, .side-lock-btn { width: 100%; } .side-add-btn { justify-content: flex-start; margin-top: 8px; } .side-add-btn.btn-primary { background: #1e4f95; border-color: #1e4f95; } .side-add-btn.btn-primary:hover { background: #1b4888; border-color: #1b4888; } .content { min-height: 0; padding: 8px; overflow: auto; } .mobile-sidebar-mask { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.36); z-index: 54; } .mobile-sidebar-head { display: none; } .vault-grid { display: grid; grid-template-columns: 240px minmax(420px, 46%) minmax(575px, 1fr); gap: 12px; height: 100%; min-height: 0; padding: 2px; } .sidebar, .list-panel, .card { background: #fff; border: 1px solid #d8dee8; border-radius: 12px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05); } .sidebar { padding: 0; overflow: auto; border: none; box-shadow: none; background: transparent; } .sidebar-block { border: 1px solid #e1e6ef; border-radius: 10px; padding: 10px; margin-bottom: 8px; background: #fff; } .sidebar-title { font-size: 13px; font-weight: 700; color: #344054; margin-bottom: 8px; } .sidebar-title-row { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; } .sidebar-title-row .sidebar-title { margin-bottom: 0; } .folder-add-btn { border: none; background: transparent; color: #334155; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; line-height: 1; } .folder-add-btn:hover { color: #1d4ed8; } .search-input { width: 100%; height: 40px; border: 1px solid #c9d4e4; border-radius: 10px; padding: 0 12px; background: #fff; } .tree-btn { width: 100%; min-width: 0; border: none; background: transparent; text-align: left; border-radius: 8px; padding: 8px 10px; margin-bottom: 4px; cursor: pointer; display: flex; align-items: center; gap: 8px; } .tree-btn.active { background: #eef4ff; color: #175ddc; font-weight: 700; } .tree-icon { flex-shrink: 0; } .tree-label { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .folder-row { display: flex; align-items: center; gap: 6px; } .folder-row .tree-btn { margin-bottom: 0; } .folder-delete-btn { border: none; background: transparent; color: #64748b; width: 24px; height: 24px; padding: 0; cursor: pointer; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; } .folder-delete-btn:hover { color: #b91c1c; background: #fee2e2; } .list-col { display: flex; flex-direction: column; min-width: 0; min-height: 0; max-width: 540px; } .toolbar { margin: 0 0 8px 0; } .toolbar.actions { justify-content: flex-end; } .toolbar .btn.small { height: 30px; border-radius: 999px; font-size: 12px; } .list-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; } .list-head .search-input { flex: 1 1 auto; min-width: 0; height: 36px; } .list-head .btn { white-space: nowrap; } .list-icon-btn { white-space: nowrap; } .sort-menu-wrap { position: relative; flex: 0 0 auto; } .sort-trigger { min-width: 36px; width: 36px; padding: 0; justify-content: center; gap: 0; } .sort-trigger.active { background: linear-gradient(180deg, #e6f0ff, #d9e9ff); border-color: #9dbbec; color: #175ddc; } .sort-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 30; min-width: 156px; padding: 6px; border: 1px solid #d9e1ee; border-radius: 12px; background: #fff; box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14); } .sort-menu-item { width: 100%; border: none; background: transparent; border-radius: 10px; padding: 9px 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #0f172a; font-size: 13px; text-align: left; cursor: pointer; } .sort-menu-item:hover { background: #f8fbff; } .sort-menu-item.active { background: linear-gradient(180deg, #e6f0ff, #d9e9ff); color: #175ddc; font-weight: 700; } .sort-menu-check-placeholder { width: 14px; height: 14px; flex: 0 0 14px; } .list-panel { overflow: auto; min-height: 0; padding: 8px; } .list-item { width: 100%; background: #fff; border: 1px solid #e1e6ef; border-radius: 10px; padding: 10px 12px; display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; } .list-item:hover { background: #f8fbff; border-color: #cdd9ea; } .list-item.active { background: linear-gradient(180deg, #e6f0ff, #d9e9ff); border-color: #9dbbec; box-shadow: inset 0 0 0 1px rgba(52, 93, 171, 0.08); } .row-check { width: 16px; height: 16px; } .row-main { flex: 1; min-width: 0; border: none; background: transparent; padding: 0; display: flex; align-items: flex-start; gap: 10px; text-align: left; cursor: pointer; } .list-icon-wrap { width: 24px; height: 24px; display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; } .list-icon { width: 24px; height: 24px; border-radius: 6px; } .list-icon-fallback { display: grid; place-items: center; color: #64748b; } .list-icon-fallback svg { width: 24px; height: 24px; } .list-text { flex: 1; min-width: 0; overflow: hidden; } .list-title { display: block; color: #175ddc; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .list-sub { display: block; color: #5f6f85; margin-top: 2px; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .detail-col { overflow: auto; min-height: 0; } .mobile-panel-head { display: none; } .card { padding: 12px 14px; margin-bottom: 8px; } .card h4 { margin-top: 0; margin-bottom: 12px; } .detail-title { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .detail-sub { color: #667085; margin-top: 8px; } .kv-line { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid #ecf0f5; padding: 10px 0; } .kv-line:last-child { border-bottom: none; } .kv-line > span { color: #64748b; } .kv-row { display: grid; grid-template-columns: minmax(0px, 80px) minmax(0, 1fr) auto; align-items: center; gap: 10px; border-bottom: 1px solid #ecf0f5; padding: 10px 0; } .kv-row:last-child { border-bottom: none; } .kv-label { color: #64748b; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .kv-main { display: flex; align-items: center; gap: 10px; justify-content: flex-start; min-width: 0; } .kv-main > strong { min-width: 0; } .totp-inline { display: inline-flex; align-items: center; gap: 10px; min-width: 0; } .totp-timer { width: 30px; height: 30px; position: relative; display: inline-grid; place-items: center; flex-shrink: 0; } .totp-ring { width: 30px; height: 30px; transform: rotate(-90deg); } .totp-ring-track, .totp-ring-progress { fill: none; stroke-width: 3; } .totp-ring-track { stroke: #d9e2ef; } .totp-ring-progress { stroke: #2563eb; stroke-linecap: round; transition: stroke-dashoffset 260ms linear, stroke 200ms ease; } .totp-timer-value { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #0f172a; } .totp-codes-page { display: flex; flex-direction: column; min-height: 100%; } .totp-codes-list { display: grid; gap: 10px; grid-template-columns: repeat(var(--totp-columns, 1), minmax(320px, 1fr)); align-items: start; width: 100%; } .totp-code-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px; border: 1px solid #e2e8f0; border-radius: 12px; background: #f8fafc; width: 100%; min-width: 0; max-width: none; } .totp-code-info { display: flex; align-items: center; gap: 10px; min-width: 0; } .totp-code-main { display: flex; align-items: center; gap: 6px; min-width: 0; flex-shrink: 0; } .totp-code-main strong { font-size: 22px; line-height: 1; letter-spacing: 0.04em; white-space: nowrap; } .totp-code-meta { min-width: 0; } .totp-code-name, .totp-code-username { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .totp-code-name { font-size: 15px; font-weight: 700; color: #0f172a; } .totp-code-username { margin-top: 2px; font-size: 13px; color: #64748b; } .totp-copy-btn { min-width: 28px; width: 28px; height: 28px; padding: 0; border-radius: 999px; flex-shrink: 0; gap: 0; } .value-ellipsis { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .kv-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; flex-shrink: 0; } .attachment-list { display: grid; gap: 0; } .attachment-head { margin-bottom: 8px; } .attachment-head h4 { margin-bottom: 0; } .attachment-add-btn { min-width: 32px; padding: 0 8px; } .attachment-file-input { display: none; } .attachment-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid #ecf0f5; padding: 10px 0; } .attachment-row:last-child { border-bottom: none; } .attachment-main { display: flex; align-items: center; gap: 8px; min-width: 0; } .attachment-text { min-width: 0; display: grid; gap: 2px; } .attachment-text span { color: #64748b; font-size: 12px; } .attachment-row.is-removed { opacity: 0.6; } .attachment-row.is-removed .attachment-text strong { text-decoration: line-through; } .attachment-queue-title { font-size: 12px; color: #64748b; font-weight: 700; padding: 8px 0 2px; } .custom-field-row { grid-template-columns: minmax(110px, 220px) minmax(0, 1fr) auto; } .boolean-main { min-width: 0; gap: 8px; } .boolean-text { min-width: 0; } .notes { white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; color: #334155; min-height: 48px; } .empty { color: #667085; display: grid; place-items: center; min-height: 120px; } .stack { display: grid; gap: 12px; } .import-export-page { display: grid; gap: 12px; } .import-export-hero { margin-bottom: 0; } .import-export-hero h3 { margin: 0 0 8px 0; } .import-export-hero-sub { margin: 0; color: #5f6f85; line-height: 1.5; } .import-export-feature-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .import-export-feature-item { border: 1px solid #d9e4f2; border-radius: 10px; background: #f7faff; padding: 10px; display: flex; align-items: flex-start; gap: 10px; min-width: 0; } .import-export-feature-icon { width: 28px; height: 28px; border-radius: 8px; border: 1px solid #cbdcf7; background: #e9f1ff; color: #1d4ed8; display: inline-grid; place-items: center; flex-shrink: 0; } .import-export-feature-item strong { display: block; font-size: 14px; line-height: 1.35; } .import-export-feature-item p { margin: 4px 0 0 0; color: #64748b; font-size: 13px; line-height: 1.45; } .import-export-panels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; } .backup-panel { min-height: 100%; } .backup-list { margin: 12px 0 14px; padding-left: 18px; color: #475467; line-height: 1.55; } .backup-list li + li { margin-top: 6px; } .backup-file-meta { margin: -2px 0 12px; color: #64748b; font-size: 13px; line-height: 1.45; word-break: break-word; } .backup-inline-note { margin: 0 0 12px; color: #64748b; line-height: 1.5; } .import-export-panel h3 { margin: 0 0 6px 0; } .field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .field-span-2 { grid-column: 1 / -1; } .totp-grid { display: grid; grid-template-columns: 220px 1fr; gap: 14px; margin-bottom: 14px; } .totp-qr { border: 1px solid var(--line); border-radius: 10px; background: #fff; display: grid; place-items: center; min-height: 220px; padding: 8px; } .totp-qr svg { width: 180px; height: 180px; } .totp-qr img { width: 180px; height: 180px; } .section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; } .actions { display: flex; gap: 8px; flex-wrap: wrap; } .muted-inline { color: var(--muted); align-self: center; font-size: 14px; } .create-menu-wrap { position: relative; } .create-menu { position: absolute; left: 0; top: calc(100% + 6px); width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18); overflow: hidden; z-index: 20; } .create-menu-item { width: 100%; border: none; background: #fff; text-align: left; padding: 11px 12px; cursor: pointer; font-weight: 600; display: flex; align-items: center; gap: 8px; } .create-menu-item:hover { background: #f1f5f9; } .uri-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 8px; margin-bottom: 8px; } .website-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-bottom: 8px; } .website-row .btn { justify-self: start; width: auto; } .cf-check { margin-bottom: 0; } .cf-check.view { margin: 0; } .cf-check input[type='checkbox'] { width: 22px; height: 22px; } .field-type-pill { align-self: center; height: 34px; line-height: 34px; border-radius: 999px; background: #eef4ff; color: #175ddc; font-size: 12px; font-weight: 700; padding: 0 10px; } .star-on { background: #eef4ff; } .detail-actions { display: flex; justify-content: space-between; align-items: center; margin: 12px 0; } .detail-delete-btn { margin-left: auto; } .send-options { display: grid; gap: 8px; color: #3a4a64; } .send-options label { display: inline-flex; align-items: center; gap: 8px; } .local-error { margin-top: 10px; color: #b42318; font-weight: 600; } .status-ok { margin: 2px 0 10px 0; color: #0f766e; font-weight: 700; } .kv-line strong { overflow-wrap: anywhere; } .check-line { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: #334155; } .table { width: 100%; border-collapse: collapse; } .table th, .table td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; font-size: 14px; } .table td::before { display: none; } .table th { color: #667085; } .input.small { width: 120px; } .invite-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; } .invite-create-group { align-items: flex-end; } .invite-hours-field { margin: 0; } .invite-hours-field > span { margin-bottom: 6px; color: #5f6f85; font-size: 12px; font-weight: 600; } .trusted-cell { display: inline-flex; align-items: center; gap: 6px; } .dialog-mask { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.5); display: grid; place-items: center; z-index: 1200; padding: 20px; } .dialog-card { width: min(460px, 100%); background: #fff; border-radius: 20px; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2); padding: 20px; text-align: center; } .dialog-card .field { text-align: left; } .dialog-icon { font-size: 34px; color: #f59e0b; } .dialog-title { margin: 6px 0; font-size: 30px; } .dialog-message { color: #475467; margin-bottom: 10px; } .dialog-btn { width: 100%; height: 50px; font-size: 20px; margin-top: 8px; } .dialog-extra { margin-top: 8px; } .dialog-divider { height: 1px; background: var(--line); margin: 8px 0 10px; } .import-summary-dialog { max-width: 520px; text-align: left; position: relative; padding-top: 16px; } .import-summary-close { position: absolute; top: 10px; right: 10px; border: none; background: transparent; color: #64748b; font-size: 24px; line-height: 1; cursor: pointer; } .import-summary-close:hover { color: #0f172a; } .import-summary-table-wrap { margin-top: 8px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; } .import-summary-table { width: 100%; border-collapse: collapse; font-size: 14px; } .import-summary-table th, .import-summary-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); } .import-summary-table th { text-align: left; color: #475467; background: #f8fafc; } .import-summary-table td:last-child, .import-summary-table th:last-child { text-align: right; width: 96px; } .import-summary-table tbody tr:last-child td { border-bottom: none; } .import-summary-failed-list { margin-top: 10px; padding: 10px 12px; border: 1px solid #fecaca; border-radius: 10px; background: #fef2f2; color: #991b1b; font-size: 13px; } .import-summary-failed-title { font-weight: 700; margin-bottom: 6px; } .import-summary-failed-list ul { margin: 0; padding-left: 18px; } .import-summary-failed-list li + li { margin-top: 4px; } .settings-twofactor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .settings-subcard { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; } .settings-subcard h3 { margin-top: 0; margin-bottom: 10px; } .toast-stack { position: fixed; top: 16px; right: 16px; z-index: 1400; width: min(420px, calc(100vw - 20px)); list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; } .toast-item { position: relative; border-radius: 10px; border: 1px solid #bbdfc6; background: #dff4e5; color: #0f5132; padding: 12px 14px; box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12); overflow: hidden; display: flex; justify-content: space-between; align-items: center; } .toast-item.error { border-color: #f2b8c1; background: #fde7eb; color: #9f1239; } .toast-text { font-weight: 700; padding-right: 10px; } .toast-close { border: none; background: transparent; cursor: pointer; font-size: 20px; color: inherit; } .toast-progress { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: rgba(15, 23, 42, 0.2); animation: toast-life 4.5s linear forwards; } @keyframes toast-life { from { transform: scaleX(1); transform-origin: left center; } to { transform: scaleX(0); transform-origin: left center; } } @media (max-width: 1180px) { .app-page { padding: 8px; } .app-shell { height: calc(100vh - 16px); border-radius: 12px; } .app-main { grid-template-columns: 1fr; } .app-side { border-right: none; border-bottom: 1px solid #d9e0ea; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; align-self: start; height: fit-content; gap: 8px; } .app-side > .side-link { min-height: 0; } .side-spacer { display: none; } .side-add-btn, .side-lock-btn { grid-column: span 1; } .vault-grid { grid-template-columns: 1fr; height: auto; } .sidebar { max-height: 280px; } .totp-grid, .field-grid { grid-template-columns: 1fr; } .totp-copy-btn { justify-self: start; } .import-export-feature-grid, .import-export-panels { grid-template-columns: 1fr; } .uri-row { grid-template-columns: 1fr; } .settings-twofactor-grid { grid-template-columns: 1fr; } .standalone-title { font-size: 24px; } .standalone-brand-title { font-size: 32px; } .standalone-footer { font-size: 12px; line-height: 1.4; } } @media (max-width: 900px) { .auth-page { padding: 14px; align-items: start; } .standalone-shell { width: 100%; max-width: 460px; gap: 10px; padding-top: 12px; } .standalone-brand-outside { justify-content: flex-start; } .standalone-brand-logo { width: 44px; height: 44px; } .standalone-brand-title { font-size: 28px; } .standalone-title { font-size: 24px; } .auth-card { padding: 20px 16px; border-radius: 18px; } .btn.full { height: 48px; font-size: 18px; } .app-page { padding: 0; background: #f5f7fb; } .app-shell { --mobile-topbar-height: 58px; --mobile-tabbar-height: 70px; height: 100dvh; max-width: none; border: none; border-radius: 0; box-shadow: none; } .topbar { height: var(--mobile-topbar-height); padding: 0 12px; position: relative; z-index: 20; } .brand { min-width: 0; gap: 10px; font-size: 18px; } .brand-logo { width: 34px; height: 34px; } .brand-name { display: none; } .mobile-page-title { display: inline; } .topbar-actions .user-chip, .topbar-actions > .btn:not(.mobile-sidebar-toggle):not(.mobile-lock-btn) { display: none; } .mobile-sidebar-toggle, .mobile-lock-btn { display: inline-flex; width: 36px; min-width: 36px; height: 36px; padding: 0; justify-content: center; font-size: 0; gap: 0; } .mobile-sidebar-toggle .btn-icon, .mobile-lock-btn .btn-icon { margin: 0; } .app-main { display: flex; flex-direction: column; min-height: 0; } .app-side { display: none; } .content { flex: 1; min-height: 0; padding: 10px 10px calc(14px + var(--mobile-tabbar-height) + env(safe-area-inset-bottom)); overflow: auto; -webkit-overflow-scrolling: touch; } .mobile-tabbar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; gap: 6px; min-height: var(--mobile-tabbar-height); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); border-top: 1px solid #d9e0ea; background: rgba(248, 250, 252, 0.96); backdrop-filter: blur(18px); } .mobile-tab { display: grid; justify-items: center; gap: 4px; color: #64748b; text-decoration: none; font-size: 11px; font-weight: 700; padding: 6px 4px; border-radius: 12px; } .mobile-tab.active { color: #175ddc; background: #e8f0ff; } .vault-grid { gap: 10px; padding: 0; } .sidebar { display: none; } .mobile-sidebar-sheet.open { display: block; position: fixed; left: 10px; right: 10px; top: calc(var(--mobile-topbar-height) + 10px); bottom: auto; max-height: calc(100dvh - 145px); z-index: 55; overflow: auto; border: 1px solid #d8dee8; border-radius: 18px; background: #fff; padding: 12px; box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16); } .mobile-sidebar-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; } .mobile-sidebar-title { font-size: 16px; font-weight: 800; color: #0f172a; } .mobile-sidebar-close { width: 34px; height: 34px; border: 1px solid #d7dde6; border-radius: 999px; background: #fff; color: #0f172a; display: inline-grid; place-items: center; cursor: pointer; padding: 0; } .mobile-sidebar-sheet .sidebar-block { margin: 0; padding: 0; border: none; border-radius: 0; background: transparent; box-shadow: none; } .mobile-sidebar-sheet .tree-btn { margin-bottom: 2px; } .mobile-sidebar-sheet .folder-row { align-items: stretch; gap: 4px; } .mobile-sidebar-sheet .folder-row .tree-btn { min-height: 42px; } .mobile-sidebar-sheet .sidebar-title, .mobile-sidebar-sheet .sidebar-title-row { padding-bottom: 6px; margin-bottom: 0; } .mobile-sidebar-sheet .tree-btn { padding-left: 8px; padding-right: 8px; border-radius: 10px; } .mobile-sidebar-sheet .tree-btn.active { background: #eef4ff; } .mobile-sidebar-sheet .folder-delete-btn { width: 28px; height: 42px; border-radius: 8px; } .list-col { max-width: none; } .list-head { gap: 8px; } .list-head .search-input { height: 42px; border-radius: 14px; } .list-icon-btn { width: 38px; min-width: 38px; padding: 0; font-size: 0; gap: 0; } .list-icon-btn .btn-icon { margin: 0; } .toolbar.actions { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; } .toolbar.actions::-webkit-scrollbar { display: none; } .toolbar.actions .btn.small { height: 34px; font-size: 13px; } .mobile-fab-wrap { position: fixed; right: 14px; bottom: calc(14px + var(--mobile-tabbar-height) + env(safe-area-inset-bottom)); z-index: 45; } .mobile-fab-trigger { width: 36px; height: 56px; padding: 0; border-radius: 999px; font-size: 0; gap: 0; box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28); } .mobile-fab-trigger .btn-icon { margin: 0; width: 20px; height: 20px; } .mobile-fab-wrap .create-menu { left: auto; right: 0; top: auto; bottom: calc(100% + 10px); } .list-panel { padding: 6px; border-radius: 16px; overflow: visible; } .list-item { padding: 12px; border-radius: 14px; } .row-check { width: 18px; height: 18px; } .vault-grid.mobile-panel-detail .sidebar, .vault-grid.mobile-panel-detail .list-col, .vault-grid.mobile-panel-edit .sidebar, .vault-grid.mobile-panel-edit .list-col { display: none; } .mobile-detail-sheet { display: none; } .mobile-detail-sheet.open { display: block; position: fixed; left: 0; right: 0; top: var(--mobile-topbar-height); bottom: calc(var(--mobile-tabbar-height) + env(safe-area-inset-bottom)); z-index: 35; overflow: auto; background: #f5f7fb; padding: 10px 10px 18px; } .mobile-panel-head { display: flex; align-items: center; margin-bottom: 8px; } .mobile-panel-back { min-height: 38px; } .detail-col .card, .import-export-panel, .backup-panel, .settings-subcard { border-radius: 16px; } .card { padding: 14px 14px; } .section-head { align-items: flex-start; gap: 10px; flex-direction: column; } .detail-actions { flex-direction: column; align-items: stretch; gap: 10px; } .detail-actions .actions { width: 100%; } .detail-actions .actions .btn, .detail-delete-btn { width: 100%; } .kv-row { grid-template-columns: minmax(64px, 80px) minmax(0, 1fr) auto; align-items: center; } .kv-line { flex-direction: row; align-items: center; justify-content: space-between; } .kv-actions { width: auto; justify-content: flex-end; flex-wrap: nowrap; } .kv-actions .btn.small { width: 34px; min-width: 34px; height: 34px; padding: 0; font-size: 0; gap: 0; border-radius: 999px; } .kv-actions .btn.small .btn-icon { margin: 0; } .import-export-panels, .settings-twofactor-grid { gap: 10px; } .import-export-panel .actions .btn, .backup-panel .actions .btn, .settings-subcard .actions .btn, .section-head .actions .btn { width: 100%; } .totp-grid { gap: 10px; } .totp-qr { min-height: 180px; } .totp-qr svg, .totp-qr img { width: 160px; height: 160px; } .invite-toolbar { align-items: stretch; } .mobile-settings-card { min-height: calc(100dvh - 145px); display: flex; flex-direction: column; gap: 12px; } .mobile-settings-subhead { display: flex; align-items: center; } .mobile-settings-back { min-height: 38px; } .mobile-settings-links { display: grid; gap: 8px; align-content: start; } .mobile-settings-link { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 12px; border: 1px solid #dbe2ec; border-radius: 14px; background: #f8fafc; color: #0f172a; text-decoration: none; font-weight: 700; } .mobile-settings-link.active { background: #e8f0ff; border-color: #b9cff6; color: #175ddc; } .mobile-settings-logout { width: 100%; margin-top: auto; } .stack, .import-export-page, .totp-codes-page, .detail-col { min-height: auto; } .invite-create-group { align-items: stretch; width: 100%; } .input.small { width: 100%; } .table, .table tbody, .table tr, .table td { display: block; width: 100%; } .table thead { display: none; } .table tr { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 10px 12px; margin-bottom: 10px; } .table td { border-bottom: 1px solid #edf1f6; padding: 10px 0; } .table td:last-child { border-bottom: none; padding-bottom: 0; } .table td::before { display: block; content: attr(data-label); margin-bottom: 4px; color: #64748b; font-size: 12px; font-weight: 700; } .dialog-mask { align-items: center; justify-items: center; padding: 16px; } .dialog-card { width: 90%; max-width: 460px; max-height: calc(100dvh - 10px); overflow: auto; border-radius: 22px; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); } .dialog-title { font-size: 24px; } .dialog-btn { height: 46px; font-size: 16px; } .toast-stack { top: 10px; left: 10px; right: 10px; width: auto; } }