/* DiaryVault V15. Account surfaces only; no shared public homepage styles. */
body[data-companion-v37="true"] .dv-family-legacy.dv-auth-rail .dv-auth-account-card.dv15-account-link{display:flex!important;grid-template-columns:none!important;gap:10px!important;padding:11px 12px!important;min-height:44px!important}
body[data-companion-v37="true"] .dv-family-legacy .dv15-account-link .dv-auth-account-copy{flex:1;min-width:0;display:block}
body[data-companion-v37="true"] .dv-family-legacy .dv15-account-link .dv-auth-account-copy strong{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;font-size:13px!important;overflow-wrap:anywhere}
body[data-companion-v37="true"] .dv-family-legacy .dv-auth-rail-account{padding:12px!important;display:grid;gap:4px}
body[data-companion-v37="true"] .dv-family-legacy .dv-auth-rail-account .dv-auth-logout{display:flex;align-items:center;min-height:40px;padding:8px 12px;margin:0!important;font-size:13px;line-height:1.35;border:1px solid transparent;border-radius:10px;overflow-wrap:anywhere}
body[data-companion-v37="true"] .dv-family-legacy .dv-auth-rail-account .is-active{border-color:#ddc8b4!important;background:#f0e4d5!important;font-weight:650}
/* Strong, warm colors override the dark-theme remnants at their original specificity. */
html body[data-companion-v37="true"] :is(.dv15-settings,.dv15-subscription){--a-ink:#2b2218;--a-muted:#6b5c50;--a-accent:#79583d;--a-line:#e1d5c5;--a-panel:#fffdf9;color-scheme:light;box-sizing:border-box;overflow-wrap:anywhere}
html body[data-companion-v37="true"] .dv15-settings{width:100%;max-width:1140px!important;padding:clamp(24px,4vw,54px) clamp(16px,3.2vw,44px) 64px!important}
html body[data-companion-v37="true"] .dv15-settings .settings-top{align-items:flex-start;gap:16px;margin-bottom:24px}
html body[data-companion-v37="true"] .dv15-settings .settings-back{color:var(--a-accent)!important;background:#f0e6d9!important;border:1px solid var(--a-line)!important;flex:0 0 44px;min-height:44px}
html body[data-companion-v37="true"] .dv15-settings .dv-settings-identity{padding:18px 22px;gap:14px;border-radius:16px;margin-bottom:22px}
html body[data-companion-v37="true"] .dv15-settings .dv-settings-identity strong{color:var(--a-ink)!important;font-size:1rem}
html body[data-companion-v37="true"] .dv15-settings .dv-settings-identity span:not(.dv-settings-mark){color:var(--a-muted)!important;font-size:.87rem}
html body[data-companion-v37="true"] .dv15-settings .dv-settings-identity .dv-settings-mark{display:grid!important;place-items:center;flex:0 0 44px;height:44px;background:#f0e5d7;color:var(--a-accent)!important;border-radius:50%}
html body[data-companion-v37="true"] .dv15-settings .dv-settings-identity .dv-settings-mark svg{width:25px;height:25px}
html body[data-companion-v37="true"] .dv15-settings .dv-settings-grid{gap:20px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
html body[data-companion-v37="true"] .dv15-settings .dv-settings-column{gap:20px}
html body[data-companion-v37="true"] .dv15-settings :is(.card,.phase2n-account-card,.dv-settings-storage,.dv15-actions){min-width:0;background:var(--a-panel)!important;border:1px solid var(--a-line)!important;border-radius:16px!important;padding:clamp(20px,2.2vw,28px)!important;box-shadow:0 3px 16px #55402a06!important;margin:0!important}
html body[data-companion-v37="true"] .dv15-settings :is(h2.card-lbl,label.card-lbl,.dv15-actions h2){font:400 1.4rem/1.3 'DM Serif Display',Georgia,serif!important;text-transform:none;letter-spacing:-.015em;color:var(--a-ink)!important;margin:0 0 18px}
html body[data-companion-v37="true"] .dv15-settings :is(.fg label,.phase2n-delete-field span){font-size:.85rem;color:var(--a-muted)!important;font-weight:600}
html body[data-companion-v37="true"] .dv15-settings :is(.fi,.phase2n-delete-input){background:#fff!important;border:1px solid #cdbfae!important;color:var(--a-ink)!important;min-height:48px;border-radius:10px!important;max-width:100%;box-sizing:border-box}
html body[data-companion-v37="true"] .dv15-settings :is(.fi,.phase2n-delete-input):focus{outline:2px solid #79583d!important;outline-offset:2px;box-shadow:none!important}
html body[data-companion-v37="true"] .dv15-settings .btn-save{background:#79583d!important;color:white!important;border:0!important;border-radius:10px!important;box-shadow:none!important}
html body[data-companion-v37="true"] .dv15-settings .dv15-actions{display:grid;gap:0}
html body[data-companion-v37="true"] .dv15-settings .dv15-actions .link-item{min-height:52px;display:flex;gap:12px;border:0!important;border-bottom:1px solid #e8ded0!important;border-radius:0!important;padding:12px 0!important;margin:0!important;box-shadow:none!important;background:transparent!important;text-decoration:none}
html body[data-companion-v37="true"] .dv15-settings .dv15-actions .link-item:last-child{border-bottom:0!important}
html body[data-companion-v37="true"] .dv15-settings .dv15-actions a.link-item::after{content:'›';margin-left:auto;color:var(--a-accent);font-size:1.3rem;line-height:1}
html body[data-companion-v37="true"] .dv15-settings .dv15-actions :is(.link-item svg,.phase2n-account-action>span:last-child){color:var(--a-accent)!important}
html body[data-companion-v37="true"] .dv15-settings .dv15-actions a.link-item:hover,html body[data-companion-v37="true"] .dv15-settings .phase2n-account-action:hover{background:#f6efe5!important}
html body[data-companion-v37="true"] .dv15-settings .dv15-actions .link-item span{font-size:.88rem;color:var(--a-ink)!important}
html body[data-companion-v37="true"] .dv15-settings .dv15-sensitive :is(.link-item,.link-item span,.link-item svg){color:#963a31!important}
html body[data-companion-v37="true"] .dv15-settings .dv15-sensitive{padding-block:8px!important}
html body[data-companion-v37="true"] .dv15-settings .phase2n-delete-panel :is(p,span){color:#6e3029!important}
html body[data-companion-v37="true"] .dv15-settings .phase2n-delete-button.danger{background:#fce6df!important;border-color:#c69486!important;color:#963a31!important}
html body[data-companion-v37="true"] .dv15-settings .phase2n-delete-button.secondary{background:#fffdf9!important;color:var(--a-ink)!important;border-color:var(--a-line)!important}
html body[data-companion-v37="true"] .dv15-settings .phase2n-delete-status:not(.is-error){color:#245c3c!important;background:#e7f1e7!important}
html body[data-companion-v37="true"] .dv15-settings .phase2n-delete-status.is-error{color:#963a31!important;background:#fce6df!important}
html body[data-companion-v37="true"] .dv15-settings :is(p,span)[style*="color:#6b7280"],html body[data-companion-v37="true"] .dv15-settings span[style*="color:#9ca3af"]{color:var(--a-muted)!important}
html body[data-companion-v37="true"] .dv15-settings #lang-status{color:#276043!important}
/* Same server-backed usage card on Settings and Subscription. */
html body[data-companion-v37="true"] :is(.dv15-settings,.dv15-subscription) .dv-settings-storage{min-width:0;color:var(--a-ink)!important;background:var(--a-panel)!important;border:1px solid var(--a-line)!important;border-radius:16px!important;padding:clamp(20px,2.2vw,28px)!important;margin:0!important;box-sizing:border-box}
html body[data-companion-v37="true"] :is(.dv15-settings,.dv15-subscription) .dv-settings-storage [hidden]{display:none!important}
html body[data-companion-v37="true"] :is(.dv15-settings,.dv15-subscription) .dv-settings-storage-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}
html body[data-companion-v37="true"] :is(.dv15-settings,.dv15-subscription) .dv-settings-storage-heading h2{margin:0!important;font:400 1.4rem/1.3 'DM Serif Display',Georgia,serif!important;color:var(--a-ink)!important}
html body[data-companion-v37="true"] :is(.dv15-settings,.dv15-subscription) .dv-settings-refresh{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 12px;border:1px solid #d3c2ad!important;border-radius:9px;background:#f6efe5!important;color:#63442e!important;font:600 .8rem/1.4 'DM Sans',sans-serif;cursor:pointer}
html body[data-companion-v37="true"] :is(.dv15-settings,.dv15-subscription) .dv-settings-refresh svg{width:16px;height:16px}
html body[data-companion-v37="true"] :is(.dv15-settings,.dv15-subscription) .dv-settings-refresh:disabled{opacity:.7;cursor:wait}
html body[data-companion-v37="true"] :is(.dv15-settings,.dv15-subscription) .dv-settings-access{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 16px;padding:0 0 16px;border-bottom:1px solid var(--a-line)}
html body[data-companion-v37="true"] :is(.dv15-settings,.dv15-subscription) .dv-settings-plan{color:#63442e!important;background:#f0e5d6;padding:6px 12px;border-radius:7px;font-size:.88rem;font-weight:650}
html body[data-companion-v37="true"] :is(.dv15-settings,.dv15-subscription) :is(.dv-settings-eyebrow,.dv-settings-storage-detail,.dv-settings-policy-note,.dv-settings-storage-legend dt){color:var(--a-muted)!important;font-size:.8rem;line-height:1.5}
html body[data-companion-v37="true"] :is(.dv15-settings,.dv15-subscription) .dv-settings-storage-status{color:var(--a-muted)!important;font-size:.8rem;font-weight:500;margin:0 0 8px}
html body[data-companion-v37="true"] :is(.dv15-settings,.dv15-subscription) .dv-settings-usage{margin:10px 0 0}
html body[data-companion-v37="true"] :is(.dv15-settings,.dv15-subscription) .dv-settings-usage-amount{display:block;color:var(--a-ink)!important;font-size:clamp(1rem,1.7vw,1.3rem);font-weight:650;line-height:1.45;font-variant-numeric:tabular-nums}
html body[data-companion-v37="true"] :is(.dv15-settings,.dv15-subscription) .dv-settings-meter{display:flex;width:100%;height:10px;margin:13px 0 17px;background:#e9e0d4!important;overflow:hidden;border-radius:999px}
html body[data-companion-v37="true"] :is(.dv15-settings,.dv15-subscription) :is(.dv-settings-meter-saved,.dv-settings-meter-reserved){display:block;height:100%;flex:0 0 auto}
html body[data-companion-v37="true"] :is(.dv15-settings,.dv15-subscription) .dv-settings-meter-saved{background:#79583d!important}
html body[data-companion-v37="true"] :is(.dv15-settings,.dv15-subscription) .dv-settings-meter-reserved{background:#a8b1a3!important}
html body[data-companion-v37="true"] :is(.dv15-settings,.dv15-subscription) .dv-settings-storage-legend{display:flex;gap:14px 28px;flex-wrap:wrap;margin:0}
html body[data-companion-v37="true"] :is(.dv15-settings,.dv15-subscription) .dv-settings-storage-legend dd{margin:4px 0 0;color:var(--a-ink)!important;font-size:.88rem;font-weight:650}
html body[data-companion-v37="true"] :is(.dv15-settings,.dv15-subscription) .dv-settings-policy-note{margin:14px 0 0;padding:12px 0 0;border-top:1px solid var(--a-line)}
/* Subscription states: live plan data, then the server-authorized actions. */
html body[data-companion-v37="true"] .dv15-subscription{--dv-billing-ink:#2b2218;--dv-billing-muted:#6b5c50;--dv-billing-gold:#79583d;width:100%;max-width:1040px!important;padding:clamp(24px,4vw,54px) clamp(16px,3.2vw,44px) 64px!important}
html body[data-companion-v37="true"] .dv15-subscription .dv-subscription-heading{margin-bottom:24px}
html body[data-companion-v37="true"] .dv15-subscription .dv-subscription-back{color:var(--a-accent)!important;font-size:.9rem;margin-bottom:14px}
html body[data-companion-v37="true"] .dv15-subscription .dv15-billing-actions{margin-top:20px}
html body[data-companion-v37="true"] .dv15-subscription :is(.dv-subscription-plan,.dv-subscription-panel){padding:clamp(20px,2.5vw,30px)!important;border:1px solid var(--a-line)!important;border-radius:16px!important;background:var(--a-panel)!important}
html body[data-companion-v37="true"] .dv15-subscription .dv-subscription-plans{gap:16px}
html body[data-companion-v37="true"] .dv15-subscription .dv-subscription-plan h2{font-size:1.35rem}
html body[data-companion-v37="true"] .dv15-subscription .dv-subscription-price{color:var(--a-ink)!important;font-size:1.8rem!important;font-weight:650}
html body[data-companion-v37="true"] .dv15-subscription .dv-subscription-price span{color:var(--a-muted)!important;font-size:.85rem}
html body[data-companion-v37="true"] .dv15-subscription .dv-subscription-button{background:#79583d!important;border:1px solid #79583d!important;color:#fff!important;border-radius:10px!important;box-shadow:none!important}
html body[data-companion-v37="true"] .dv15-subscription .dv-subscription-button-secondary{background:#f2e8da!important;border-color:#d7c5b0!important;color:#63442e!important}
html body[data-companion-v37="true"] .dv15-subscription .dv-subscription-button:disabled{opacity:.65}
html body[data-companion-v37="true"] .dv15-subscription :is(.dv-subscription-detail,.dv-subscription-notice,.dv-subscription-terms){color:var(--a-muted)!important}
html body[data-companion-v37="true"] .dv15-subscription .dv-subscription-notice{background:#f6efe5;border-color:var(--a-line)!important}
html body[data-companion-v37="true"] .dv15-subscription .dv-subscription-feedback[data-error="true"]{color:#963a31!important}
html body[data-companion-v37="true"] .dv15-subscription .dv15-subscription-links{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap}
html body[data-companion-v37="true"] .dv15-subscription .dv15-help-link{color:var(--a-accent);font-size:.86rem;text-underline-offset:3px}
html body[data-companion-v37="true"] :is(.dv15-settings,.dv15-subscription) :is(a,button,input,select,textarea):focus-visible{outline:2px solid #79583d!important;outline-offset:3px}
@media(max-width:1059px){html body[data-companion-v37="true"] .dv15-settings{max-width:880px!important}}
@media(max-width:800px),(min-width:1060px) and (max-width:1199px){html body[data-companion-v37="true"] .dv15-settings .dv-settings-grid{grid-template-columns:1fr}html body[data-companion-v37="true"] .dv15-settings{max-width:700px!important}}
@media(max-width:640px){html body[data-companion-v37="true"] .dv15-subscription .dv-subscription-plans{grid-template-columns:1fr}html body[data-companion-v37="true"] :is(.dv15-settings,.dv15-subscription){padding-bottom:100px!important}}
/* Public account only. High-specificity rules win over retained V10 account presentation. */
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"]{max-width:1280px;margin:0 auto;min-height:0!important;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(36px,6vw,90px);padding:clamp(32px,5vw,64px) clamp(20px,5vw,68px) clamp(48px,6vw,80px)!important;align-items:center;color-scheme:light}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .dv-account-story{max-width:540px}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .dv-account-eyebrow{margin:0 0 12px;font-size:.72rem;letter-spacing:.13em}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .dv-account-story h2{font-size:clamp(2.4rem,3.6vw,3.6rem);max-width:17ch;margin:0 0 14px;line-height:1.08}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .dv-account-story>p:not(.dv-account-eyebrow){font-size:.96rem;line-height:1.65;margin:0 0 16px}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .dv15-story-photo{margin:22px 0 14px}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .dv15-story-photo img{width:100%;height:clamp(200px,23vw,310px);display:block;object-fit:cover;object-position:center 52%;border-radius:14px}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .dv15-story-photo figcaption{font-size:.69rem;line-height:1.55;color:#66594d;margin-top:8px}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .dv-account-benefits{display:flex;flex-wrap:wrap;gap:10px 18px;margin:18px 0}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .dv-account-benefits li{display:flex;gap:7px;font-size:.78rem;align-items:center}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .dv-account-trust{font-size:.8rem!important;margin:0!important;padding:14px 0 0;border-color:#ded2c1}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .dv-account-form-panel{max-width:470px;padding:clamp(24px,3vw,40px)!important;border:1px solid #ded2c1!important;border-radius:20px!important;background:#fffdf9!important;box-shadow:0 14px 48px #68543c10!important}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .dv-account-head{margin-bottom:22px}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .dv-account-head h1{font-size:clamp(2rem,3vw,2.65rem);margin-bottom:8px}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .fg{margin-bottom:16px}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .fg>label{font-weight:600;font-size:.86rem;margin-bottom:7px}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .fi{min-height:50px!important;border-radius:10px!important;border-color:#cdbfae!important}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .fi[aria-invalid="true"]{border-color:#b65044!important}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .field-err:empty{display:none}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .pw-toggle{color:#79583d!important;top:3px;bottom:3px}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .meta{margin:0 0 14px;gap:8px}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .btn-submit{min-height:50px!important;border-radius:10px!important;box-shadow:none!important;font-size:.95rem!important}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .divider{margin:20px 0 16px}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .social-btns{gap:9px}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .social-btn{border-radius:10px!important;min-height:46px;padding:11px 16px;font-size:.87rem}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .auth-foot{margin:20px 0 0}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .auth-support{margin:12px 0 0}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .dv15-message{margin:0 0 16px;padding:12px 14px;border-radius:10px;border:1px solid #d5c9b8;color:#514337;background:#f4eee4;font-size:.85rem;line-height:1.5;overflow-wrap:anywhere}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .dv15-message.is-success{background:#eaf3e8;color:#27593b;border-color:#b9cdb8}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .dv15-message.is-error{background:#fcece6;color:#963a31;border-color:#d3a195}
html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .dv15-message.is-warning{background:#fff3d9;color:#78551d;border-color:#ddc08a}
html body[data-public-theme="album-v10"] .dv-account-recovery .auth-card{border-radius:20px!important;background:#fffdf9!important;box-shadow:0 14px 48px #68543c10!important}
html body[data-public-theme="album-v10"] .dv-account-recovery input:not([type="hidden"]){border-radius:10px!important}
@media(max-width:900px){html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"]{grid-template-columns:minmax(0,1fr);padding:32px 18px 50px!important}html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .dv-account-story{display:none}html body[data-public-theme="album-v10"] .dv-account[data-account-design="15"] .dv-account-form-panel{padding:26px 22px!important}}
@media(forced-colors:active){html body :is(.dv15-settings,.dv15-subscription,.dv-account[data-account-design="15"]) :is(a,button,input,select,textarea){forced-color-adjust:auto}}
