/* My Life Hub unified interface refresh v6.06 */
html body *:not(#life-no-gradient),
html body *:not(#life-no-gradient)::before,
html body *:not(#life-no-gradient)::after { background-image:none !important; }

body[data-theme] {
  background:var(--bg) !important;
  color:var(--text) !important;
}

body[data-theme] .auth-visual,
body[data-theme] .primary-button,
body[data-theme] .nav-item.active,
body[data-theme] .capture-fab span,
body[data-theme] .next-card {
  background:var(--primary) !important;
  color:#fff !important;
}
body[data-theme="spring"] .primary-button,
body[data-theme="spring"] .nav-item.active,
body[data-theme="spring"] .capture-fab span,
body[data-theme="neon"] .primary-button,
body[data-theme="neon"] .nav-item.active,
body[data-theme="neon"] .capture-fab span { color:#071b16 !important; }

body[data-theme] .page-heading h1,
body[data-theme] .auth-visual h1,
body[data-theme] .auth-brand strong {
  background:transparent !important;
  color:var(--text) !important;
  -webkit-text-fill-color:currentColor !important;
}

body[data-theme] .auth-visual h1,
body[data-theme] .auth-visual p,
body[data-theme] .auth-visual strong { color:#fff !important; }

body[data-theme] .secondary-button,
body[data-theme] input,
body[data-theme] select,
body[data-theme] textarea,
body[data-theme] .panel,
body[data-theme] .objective-card,
body[data-theme] .shopping-catalog-item {
  color:var(--text) !important;
}

.current-page-title {
  margin-inline:auto;
  color:var(--text);
  font-size:15px;
  font-weight:950;
}

.profile-accordion-toggle {
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;
  border:0;background:transparent;color:var(--text);padding:2px 0;font:inherit;cursor:pointer;
}
.profile-accordion-toggle strong{font-size:14px}.profile-accordion-toggle span{font-size:20px;transition:transform .2s}
.profile-accordion-toggle[aria-expanded="true"] span{transform:rotate(180deg)}
.profile-accordion-body{padding-top:14px}
.account-password-accordion,.account-notification-section{margin:14px 0;padding:16px;border:1px solid var(--line);border-radius:16px;background:var(--surface-soft)}
.account-password-accordion .account-password-section{margin:0 0 12px;padding:0;border:0}.account-password-accordion .account-password-section h3{display:none}

.planning-action-row{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap;margin-top:12px}
.planning-action-row .secondary-button{min-width:104px;min-height:40px;flex:1}
.vision-action-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.refresh-vision-card{padding:22px;margin-bottom:18px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow)}
.refresh-vision-title small{color:var(--muted);font-weight:900}.refresh-vision-title h2{margin:5px 0 7px}.refresh-vision-title p{margin:0;color:var(--muted)}
.refresh-objective-list{display:grid;gap:12px;margin-top:18px}.refresh-objective-card{margin:0}.planning-project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px;margin-top:12px}.planning-project-card{padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft)}

.daily-date-toolbar{display:grid;grid-template-columns:auto auto 1fr auto;align-items:center;gap:8px;margin-bottom:18px}.daily-date-toolbar strong{text-align:center}.daily-task-list{display:grid;gap:10px}.daily-task-card{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:10px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.daily-task-card>input{width:21px;height:21px;accent-color:var(--primary)}.daily-task-card div{display:grid;gap:4px}.daily-task-card small{color:var(--muted)}.completed-daily-tasks{margin-top:18px;border-top:1px solid var(--line);padding-top:14px}.completed-daily-tasks summary{cursor:pointer;font-weight:900}.completed-daily-tasks>div{display:grid;gap:10px;margin-top:12px}.completed-daily-tasks .daily-task-card{opacity:.72}

.shopping-page-heading{display:block}.shopping-page-heading .shopping-view-tabs{margin-top:14px;width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.shopping-view-tabs button{width:100%;min-height:43px}.shopping-shared-header{align-items:center;gap:12px;flex-wrap:wrap}.shopping-list-select{display:block!important;min-width:180px;margin:12px 0;border:1px solid var(--line);border-radius:12px;padding:11px;background:var(--surface);color:var(--text)}.shopping-list-actions{display:flex;gap:8px;flex-wrap:wrap}.shopping-category-actions{display:flex;gap:6px;margin-inline-start:auto}.shopping-catalog-category{transition:border-color .15s}.shopping-catalog-category:has(.shopping-catalog-item:active){border-color:var(--primary)}.shopping-catalog-item{touch-action:pan-y}.shopping-catalog-item[draggable="true"]{cursor:grab}

@media(max-width:760px){
  .current-page-title{font-size:13px}.topbar{gap:8px}.mobile-brand strong{display:none}
  .vision-action-row{grid-template-columns:repeat(2,minmax(0,1fr))}.planning-action-row .secondary-button{min-width:0}
  .daily-date-toolbar{grid-template-columns:1fr 1fr}.daily-date-toolbar strong{grid-column:1/-1;grid-row:1}.daily-task-card{grid-template-columns:auto 1fr}.daily-task-card button{width:100%}
  .shopping-page-heading .shopping-view-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.shopping-view-tabs button{padding:9px 5px;font-size:10px}
  .shopping-list-actions{width:100%}.shopping-list-actions button{flex:1}
}
