.db-auth-wrap{min-height:calc(100vh - 170px);padding:58px 20px 90px;display:flex;align-items:flex-start;justify-content:center}
.db-auth-panel{width:min(100%,620px);background:var(--paper,#fffefa);border:1px solid var(--line,#deded5);border-radius:20px;padding:35px 39px 32px;box-shadow:0 16px 42px #23412a13}
.db-auth-admin{width:min(100%,850px)}.db-auth-eyebrow{color:var(--rose,#ba6d53);letter-spacing:.14em;font-size:10px;font-weight:800;margin-bottom:12px}
.db-auth-panel h1{font-size:clamp(1.8rem,4vw,2.65rem);margin:0 0 15px}.db-auth-panel h2{font-size:21px;margin:24px 0 17px}
.db-auth-panel p{font-size:14px;line-height:1.75;color:var(--muted,#687067)}.db-auth-panel label{display:flex;flex-direction:column;gap:8px;margin:17px 0;font-size:12px;font-weight:700;color:var(--green,#355d4c)}
.db-auth-panel label input{height:47px;width:100%;border:1px solid #c7d2c5;border-radius:11px;padding:0 14px;background:#fff;color:#222;font-size:14px;min-width:0}
.db-auth-panel label input:focus{outline:2px solid #a3bdab}.db-auth-panel form button{margin-top:6px}
.db-auth-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.db-auth-panel .button{font-size:13px}
.db-auth-hint{font-size:13px!important}.db-auth-footnote{font-size:12px!important;padding-top:20px;border-top:1px solid var(--line,#ddd);margin:29px 0 0}
#db-auth-status:not(:empty),#admin-status:not(:empty){padding:12px 14px;background:#f2f0e6;border-radius:9px;font-size:13px;white-space:pre-wrap}
#db-auth-status[data-error="true"],#admin-status[data-error="true"]{color:#922a24;background:#fff0ec}
.db-auth-account-email{font-size:16px!important;font-weight:700;color:var(--green)!important}
.db-auth-created{background:#edf3e9;border:1px solid #bacfba;border-radius:12px;margin:17px 0;padding:16px 20px}
.db-auth-created code{display:block;background:#fff;border:1px solid #d2e0d2;border-radius:8px;padding:12px;margin-top:8px;overflow:auto;font-size:15px;user-select:all}
.db-auth-panel hr{border:0;border-top:1px solid var(--line,#ddd);margin:27px 0}
.db-auth-users{width:100%;border-collapse:collapse;font-size:12px}.db-auth-users th,.db-auth-users td{padding:9px 7px;border-bottom:1px solid #dde2d8;text-align:left;word-break:break-word}
.db-auth-users button{border:1px solid #abbca8;background:#f5faf2;padding:6px 9px;border-radius:8px;cursor:pointer;color:#244537;font-size:12px;margin:2px}
.db-auth-users button:hover{background:#e3eee0}.db-auth-users th{font-weight:700;color:var(--green)}
@media(max-width:700px){.db-auth-wrap{padding:30px 12px 50px}.db-auth-panel{padding:26px 20px}.db-auth-users{font-size:11px}.db-auth-users th,.db-auth-users td{padding:7px 3px}.db-auth-users button{padding:5px}.nav-shell .nav-items{gap:13px;flex-wrap:wrap}}

/* DAILY_BALANCE_ACCESS_REQUESTS_STYLE_V1 */
.db-auth-sign-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0 0}
.db-auth-panel .db-auth-sign-actions .button{width:100%;min-height:48px;margin:0;white-space:nowrap}
#db-signup-form[hidden]{display:none!important}
#db-signup-form h2{font-size:21px;margin:8px 0 12px}
#db-signup-form .db-auth-sign-actions{margin:16px 0}
#db-signup-turnstile{min-height:67px;margin:19px 0 4px}
#db-signup-status:not(:empty){padding:12px 14px;margin:12px 0;background:#edf4ec;color:#193a2b;border-radius:9px;white-space:pre-wrap;font-size:13px}
#db-signup-status[data-error="true"]{background:#fff0ec;color:#8b261f}
.db-access-request{border:1px solid var(--line,#dde2d8);background:var(--paper,#fffefa);border-radius:12px;padding:15px 17px;margin:12px 0;color:var(--ink,#282b24)}
.db-access-request strong{font-size:14px;word-break:break-all}
.db-access-request p{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0;color:var(--ink,#282b24)}
.db-request-when{font-size:11px;color:var(--muted,#657366);margin-top:3px}
.db-access-request .db-auth-actions{margin:10px 0 0}
.db-access-request .button{min-height:41px}
@media(max-width:480px){.db-auth-sign-actions{gap:8px}.db-auth-panel .db-auth-sign-actions .button{padding:11px 12px}}

.db-auth-panel label textarea{display:block;min-height:95px;width:100%;border:1px solid #c7d2c5;border-radius:11px;padding:12px 14px;background:#fff;color:#222;font-size:14px;line-height:1.5;resize:vertical;font-family:inherit}
.db-auth-panel label textarea::placeholder{color:#536357;opacity:1}
.db-auth-panel label textarea:focus{outline:2px solid #a3bdab}

/* DAILY_BALANCE_MEMBER_CONTRAST_MIN9_20261123_V2
   Explicit readable foregrounds on pale surfaces in light and dark themes.
   Text only; does not change member authorization or store credentials. */
.db-auth-panel #db-auth-status:not(:empty),
.db-auth-panel #admin-status:not(:empty) {
    color: #203a2b !important;
    background: #edf2e9 !important;
    border: 1px solid #becfbe;
    color-scheme: light;
}
.db-auth-panel #db-auth-status[data-error="true"],
.db-auth-panel #admin-status[data-error="true"] {
    color: #84251c !important;
    background: #fff0ec !important;
    border-color: #e8b4aa;
}
.db-auth-panel .db-auth-created {
    background: #edf3e9 !important;
    border-color: #b5cbbb !important;
    color: #203a2b !important;
    color-scheme: light;
}
.db-auth-panel .db-auth-created p,
.db-auth-panel .db-auth-created strong,
.db-auth-panel #admin-created-email {
    color: #203a2b !important;
    opacity: 1 !important;
}
.db-auth-panel #admin-created-email { margin-top: 6px; overflow-wrap: anywhere; }
.db-auth-panel #admin-created-key {
    display: block;
    color: #172d22 !important;
    background: #fff !important;
    border: 1px solid #b7cebe;
    font-weight: 700;
    opacity: 1 !important;
    overflow-wrap: anywhere;
    word-break: break-all;
    user-select: all;
    -webkit-user-select: all;
}
.db-auth-panel label input,
.db-auth-panel label textarea { color-scheme: light; }
.db-auth-panel label input::placeholder,
.db-auth-panel label textarea::placeholder {
    color: #526255 !important;
    opacity: 1 !important;
}

/* DAILY_BALANCE_PREPARED_ACCESS_TYPES_STYLE_20261123_V1 */
.db-admin-language{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:700}
.db-admin-language select,.db-admin-plans select{color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:8px;max-width:100%;font:inherit}
.db-admin-plans{width:100%;table-layout:auto}.db-admin-plans td{vertical-align:middle}
.db-admin-plans select{min-width:180px;font-size:13px}.db-admin-plans button{min-height:34px}
#admin-plans-status[data-error="true"]{color:#b4483c}
@media(max-width:700px){.db-admin-plans{display:block;overflow-x:auto}.db-admin-plans select{min-width:155px}}
/* END DAILY_BALANCE_PREPARED_ACCESS_TYPES_STYLE_20261123_V1 */

/* LG_ACCOUNT_DELETE_V1 */
.lg-account-delete{margin-top:1rem;padding-top:.9rem;border-top:1px solid currentColor}.lg-account-delete summary{cursor:pointer;font-weight:600}.lg-account-delete p{font-size:.9rem;line-height:1.5}.lg-account-delete .lg-delete-check{display:flex;align-items:flex-start;gap:.6rem;font-size:.9rem}.lg-account-delete .lg-delete-check input{width:auto;flex:none;margin-top:.25em}.lg-account-delete #lg-delete-submit{margin-top:.5rem}.lg-account-delete #lg-delete-result{min-height:1em}

/* LG_DELETE_CHECKBOX_ROW_20261125_V1 */
.db-auth-panel .lg-account-delete label.lg-delete-check {
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  gap:.65rem;
  margin:.7rem 0;
  line-height:1.45;
  cursor:pointer;
}
.db-auth-panel .lg-account-delete label.lg-delete-check input[type="checkbox"] {
  flex:0 0 18px;
  width:18px;
  height:18px;
  min-width:18px;
  padding:0;
  margin:2px 0 0;
  color-scheme:inherit;
  cursor:pointer;
}
.db-auth-panel .lg-account-delete label.lg-delete-check span {min-width:0;}

/* LG_SUBSCRIPTION_ADMIN_LAYOUT_20261125_V1 */
#admin-plan-rows{max-width:100%;overflow-x:auto;}
#admin-plan-rows .db-admin-plans{display:table;width:100%;min-width:690px;table-layout:fixed;overflow:visible;}
#admin-plan-rows .db-admin-plans th,#admin-plan-rows .db-admin-plans td{box-sizing:border-box;word-break:normal;overflow-wrap:normal;}
#admin-plan-rows .db-admin-plans th:nth-child(1){width:30%;}
#admin-plan-rows .db-admin-plans th:nth-child(2){width:25%;}
#admin-plan-rows .db-admin-plans th:nth-child(3){width:12%;}
#admin-plan-rows .db-admin-plans th:nth-child(4){width:20%;}
#admin-plan-rows .db-admin-plans th:nth-child(5){width:13%;}
#admin-plan-rows .db-admin-plans td:nth-child(1),#admin-plan-rows .db-admin-plans td:nth-child(4){overflow-wrap:anywhere;}
#admin-plan-rows .db-admin-plans th:nth-child(3),#admin-plan-rows .db-admin-plans td:nth-child(3),#admin-plan-rows .db-admin-plans td:nth-child(5) button{white-space:nowrap;}
#admin-plan-rows .db-admin-plans select{width:100%;min-width:0;max-width:100%;}
#admin-plan-rows .db-admin-plans td:nth-child(5) button{padding:6px;margin:0;}
#admin-subscription-simulator{margin-top:16px;}
#admin-subscription-simulator summary{cursor:pointer;font-weight:700;}
#admin-subscription-simulator select{max-width:100%;min-width:0;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:8px;padding:8px;font:inherit;}
