
  /* ===== Konta PDFowo ===== */
  .account-actions-nav { display: inline-flex; align-items: center; gap: 8px; flex: none; }
  .account-nav-link {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 38px; padding: 7px 12px; border: 1px solid #45484e; border-radius: 10px;
    background: #292c31; color: #dfe1e5; text-decoration: none; font: inherit; font-size: .88rem; font-weight: 600;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .12s ease;
    white-space: nowrap; max-width: 180px;
  }
  .account-nav-link:hover, .account-nav-link:focus-visible { background: #32353b; border-color: #5a5d64; color: #fff; }
  .account-nav-link:active { transform: translateY(1px); }
  .account-nav-link .account-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
  .account-page { min-height: 62vh; display: grid; place-items: start center; }
  .account-container { width: 100%; max-width: 980px; }
  .account-center { max-width: 460px; margin: 36px auto 64px; }
  .account-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 26px; box-shadow: 0 12px 28px rgba(0,0,0,.08); }
  .account-card h1, .account-card .xh1 { margin: 0 0 7px; font-size: 1.7rem; line-height: 1.2; }
  .account-card .account-lead { margin: 0 0 22px; color: var(--muted); font-size: .95rem; line-height: 1.55; }
  .account-form { display: grid; gap: 15px; }
  .account-field { display: grid; gap: 7px; }
  .account-field > span { font-size: .9rem; font-weight: 600; }
  .account-field input {
    width: 100%; padding: 11px 12px; font: inherit; border: 1px solid #3c4047; border-radius: 8px;
    background: #1d2024; color: var(--text); transition: border-color .15s ease, box-shadow .15s ease;
  }
  .account-field input::placeholder { color: #777c85 !important; opacity: 1; }
  .account-field input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
  .account-password-wrap { position: relative; }
  .account-password-wrap input { padding-right: 46px; }
  .account-password-toggle {
    position: absolute; right: 7px; top: 50%; transform: translateY(-50%);
    width: 32px; height: 32px; display: grid; place-items: center;
    padding: 0 !important; margin: 0; border: 0 !important; border-radius: 7px;
    background: transparent !important; box-shadow: none !important;
    color: #dce2ea; cursor: pointer; appearance: none; -webkit-appearance: none;
  }
  .account-password-toggle:hover,
  .account-password-toggle:focus-visible,
  .account-password-toggle:active {
    background: transparent !important; border-color: transparent !important;
    box-shadow: none !important; color: var(--accent);
  }
  .account-password-toggle svg { width: 18px; height: 18px; display: block; stroke: #e9edf3 !important; }
  .account-password-toggle svg path,
  .account-password-toggle svg circle { stroke: #e9edf3 !important; }
  body.light-theme .account-password-toggle { color: #34363a; }
  body.light-theme .account-password-toggle svg,
  body.light-theme .account-password-toggle svg path,
  body.light-theme .account-password-toggle svg circle { stroke: #34363a !important; }
  body.light-theme .account-password-toggle:hover svg,
  body.light-theme .account-password-toggle:focus-visible svg,
  body.light-theme .account-password-toggle:active svg,
  body.light-theme .account-password-toggle:hover svg path,
  body.light-theme .account-password-toggle:focus-visible svg path,
  body.light-theme .account-password-toggle:active svg path,
  body.light-theme .account-password-toggle:hover svg circle,
  body.light-theme .account-password-toggle:focus-visible svg circle,
  body.light-theme .account-password-toggle:active svg circle { stroke: var(--accent) !important; }
  .account-submit { width: 100%; }
  .account-form button[type=submit] { width: 100%; padding: 12px 18px; }
  .google-login-btn {
    width: 100%; padding: 11px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--card); color: var(--text); border: 1px solid var(--border); box-shadow: none;
    font-weight: 600;
  }
  .google-login-btn:hover:not(:disabled) { background: color-mix(in srgb, var(--card) 88%, var(--bg)); border-color: color-mix(in srgb, var(--border) 70%, var(--text)); }
  .google-login-btn:active:not(:disabled) { transform: translateY(1px); }
  .google-login-btn svg { width: 18px; height: 18px; flex: none; }
  .auth-divider { display: flex; align-items: center; gap: 10px; margin: 1px 0; color: var(--muted); font-size: .78rem; }
  .auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: var(--border); flex: 1; }
  .account-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; font-size: .88rem; }
  .account-links a { color: var(--muted); text-decoration: none; }
  .account-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
  .account-status-msg { min-height: 1.4em; margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.45; }
  .account-status-msg.ok { color: var(--ok); }
  .account-status-msg.error { color: #ff3b30 !important; }
  .account-status-msg.info { color: var(--muted); }
  .auth-modal { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 20px; background: rgba(8,10,12,.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
  .auth-modal[hidden] { display: none; }
  .auth-modal-card { width: min(100%, 460px); background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 26px; box-shadow: 0 18px 50px rgba(0,0,0,.28); }
  .auth-modal-card h2 { margin: 0 0 10px; font-size: 1.35rem; line-height: 1.25; }
  .auth-modal-card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.6; }
  .auth-modal-actions { display: flex; justify-content: flex-end; margin-top: 22px; }
  .auth-modal-actions button { min-width: 110px; }
  #authGoogleDecisionPrimary, #authGoogleNicknameConfirm { min-width: 130px; }
  #authGoogleNickname { width: 100%; }
  body.modal-open { overflow: hidden; }
  .account-back { display: inline-flex; align-items: center; gap: 6px; margin: 28px 0 0; color: var(--muted); text-decoration: none; font-size: .9rem; }
  .account-back:hover { color: var(--text); }

  .account-profile-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
  .account-profile-head h1, .account-profile-head .xh1 { margin-bottom: 5px; }
  .account-badge { flex: none; padding: 6px 10px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: .78rem; font-weight: 700; }
  .account-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .account-info-box { padding: 14px 15px; border: 1px solid var(--border); border-radius: 9px; background: color-mix(in srgb, var(--card) 88%, var(--bg)); }
  .account-info-box span { display: block; color: var(--muted); font-size: .78rem; margin-bottom: 4px; }
  .account-info-box strong { display: block; font-size: .98rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .account-premium-box { margin-top: 14px; padding: 16px; border: 1px solid var(--border); border-radius: 10px; }
  .account-premium-box strong { display: block; margin-bottom: 4px; }
  .account-premium-box span { display: block; color: var(--muted); font-size: .88rem; line-height: 1.5; }
  .account-check { display: flex; align-items: center; gap: 9px; font-size: .92rem; cursor: pointer; user-select: none; margin: -2px 0 2px; }
  .account-check input { width: 17px; height: 17px; margin: 0; accent-color: var(--accent); cursor: pointer; }
  .account-perks { list-style: none; margin: -6px 0 18px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: color-mix(in srgb, var(--accent) 6%, var(--card)); display: grid; gap: 7px; font-size: .9rem; }
  .account-perks li { position: relative; padding-left: 24px; line-height: 1.4; }
  .account-perks li::before { content: ""; position: absolute; left: 2px; top: .2em; width: 14px; height: 14px; background: #f5b301; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
  .account-saved { margin-top: 14px; padding: 14px 15px; border: 1px solid var(--border); border-radius: 10px; }
  .account-saved > strong { display: block; margin-bottom: 8px; }
  .account-saved-list { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; font-size: .92rem; }
  .account-saved-list li { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
  .account-saved-list b { color: var(--text, inherit); font-weight: 700; }
  .account-saved .account-status-msg:empty { display: none; }
  .account-profile-actions { display: flex; gap: 10px; margin-top: 20px; }
  .account-profile-actions a, .account-profile-actions button { flex: 1; text-align: center; }
  .account-profile-actions a { text-decoration: none; }
  .account-setup-note { margin-top: 12px; color: var(--muted); font-size: .78rem; line-height: 1.45; }
  body.light-theme .account-nav-link { background: #fff; border-color: #ccd1da; color: #27303c; }
  body.light-theme .account-nav-link:hover, body.light-theme .account-nav-link:focus-visible { background: #f5f6f8; border-color: #aeb5c0; color: #171b21; }
  body.light-theme .account-field input { background: #fff; border-color: #cfd4dc; color: #1c2433; }
  body.light-theme .account-card { box-shadow: 0 12px 28px rgba(20,30,45,.08); }
  @media (max-width: 640px) {
    .account-actions-nav { gap: 6px; }
    .account-nav-link { padding: 7px 9px; max-width: 120px; font-size: .8rem; }
    .account-nav-link .account-dot { display: none; }
    .account-center { margin-top: 24px; padding: 0 2px; }
    .account-card { padding: 20px; }
    .account-grid { grid-template-columns: 1fr; }
    .account-profile-head { flex-direction: column; gap: 10px; }
    .account-profile-actions { flex-direction: column; }
    .account-links { flex-direction: column; }
  }
